diff --git a/assets/js/binary.js b/assets/js/binary.js index 9d9fba2..c52efd5 100644 --- a/assets/js/binary.js +++ b/assets/js/binary.js @@ -1,5 +1,5 @@ -// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.0.1/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"4.2.0","target":"arcade","targetVersion":"1.0.1","repo":"microsoft/tileworld"} -// total=2583378 new=51.79% cached=43.04% other=5.17% +// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.0.2/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"4.2.1","target":"arcade","targetVersion":"1.0.2","repo":"microsoft/tileworld"} +// total=2585481 new=51.77% cached=43.06% other=5.18% (function (ectx) { 'use strict'; const runtime = ectx.runtime; @@ -653,7 +653,7 @@ const pxsim_pxtrt = pxsim.pxtrt; const pxsim_numops = pxsim.numops; -function _main___P58189(s) { +function _main___P41706(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -695,19 +695,19 @@ switch (step) { 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", _hex5227); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex20344); globals.font8___530 = (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", _hex5229); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex20346); globals.font12___532 = (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", _hex23806); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex26157); globals.font5___537 = (s.tmp_0); globals.__updated___544 = (false); r0 = pxsim.control.runInParallel(inline__P549); @@ -965,7 +965,7 @@ switch (step) { s.tmp_1.arg1 = 10; s.tmp_1.arg2 = 40; s.tmp_1.arg3 = 4000; - s.tmp_1.arg4 = inline__P5377; + s.tmp_1.arg4 = inline__P21174; s.callLocIdx = 37; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -975,7 +975,7 @@ switch (step) { s.tmp_1 = effects_ImageEffect_constructor__P1897_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 100; - s.tmp_1.arg2 = inline__P14513; + s.tmp_1.arg2 = inline__P24118; s.callLocIdx = 43; s.pc = 26; return s.tmp_1; case 26: r0 = s.retval; @@ -985,7 +985,7 @@ switch (step) { s.tmp_1 = effects_ImageEffect_constructor__P1897_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 125; - s.tmp_1.arg2 = inline__P5267; + s.tmp_1.arg2 = inline__P21066; s.callLocIdx = 46; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; @@ -1029,226 +1029,226 @@ switch (step) { r0 = s.retval; r0 = pxsim_String_.charCodeAt("0", 0); globals.zeroCode___3834 = (r0); - globals.ruleBuf___3874 = (null); - globals.bitIndex___3876 = (0); - globals.TileWorldVersion___3925 = ("4.0.0"); - globals.toHex___3967 = ("0123456789abcdef"); - globals.VersionKey___3972 = ("VersionS"); - globals.HelpKey___3973 = ("HelpN"); - globals.BackImgCntKey___3974 = ("BackN"); - globals.SpriteImgCntKey___3975 = ("SpriteN"); - globals.PlayerIndexKey___3976 = ("PlayerN"); - globals.WorldBackgroundsKey___3977 = ("WBackM"); - globals.WorldSpritesKey___3978 = ("WSpriteM"); - globals.BackImageKey___3979 = ("BackI"); - globals.SpriteImageKey___3980 = ("SpriteI"); - globals.RuleKey___3981 = ("RuleB"); - globals.HighScoreKey___3982 = ("HighN"); - r0 = pxsim.image.ofBuffer(_hex3987); - globals.map___3988 = (r0); - r0 = pxsim.image.ofBuffer(_hex3990); - globals.play___3991 = (r0); - r0 = pxsim.image.ofBuffer(_hex3993); - globals.debug___3994 = (r0); - r0 = pxsim.image.ofBuffer(_hex3996); - globals.code___3997 = (r0); - r0 = pxsim.image.ofBuffer(_hex3999); - globals.paint___4000 = (r0); - r0 = pxsim.image.ofBuffer(_hex4002); - globals.music___4003 = (r0); - r0 = pxsim.image.ofBuffer(_hex4005); - globals.garbageCan___4006 = (r0); - r0 = pxsim.image.ofBuffer(_hex4008); - globals.settingsIcon___4009 = (r0); - r0 = pxsim.image.ofBuffer(_hex4011); - globals.addRule___4012 = (r0); - r0 = pxsim.image.ofBuffer(_hex4014); - globals.emptyTile___4015 = (r0); - r0 = pxsim.image.ofBuffer(_hex4017); - globals.emptyDiagTile___4018 = (r0); - r0 = pxsim.image.ofBuffer(_hex4020); - globals.cursorIn___4021 = (r0); - r0 = pxsim.image.ofBuffer(_hex4023); - globals.cursorOut___4024 = (r0); - r0 = pxsim.image.ofBuffer(_hex4026); - globals.collisionSprite___4027 = (r0); - r0 = pxsim.image.ofBuffer(_hex4029); - globals.genericSprite___4030 = (r0); - r0 = pxsim.image.ofBuffer(_hex4032); - globals.exclude___4033 = (r0); - r0 = pxsim.image.ofBuffer(_hex4035); - globals.include___4036 = (r0); - r0 = pxsim.image.ofBuffer(_hex4038); - globals.include2___4039 = (r0); - r0 = pxsim.image.ofBuffer(_hex4041); - globals.ok___4042 = (r0); - r0 = pxsim.image.ofBuffer(_hex4044); - globals.anyOutline___4045 = (r0); - r0 = pxsim.image.ofBuffer(_hex4047); - globals.allFourOutline___4048 = (r0); - r0 = pxsim.image.ofBuffer(_hex4050); - globals.restingOutline___4051 = (r0); - r0 = pxsim.image.ofBuffer(_hex4053); - globals.downArrowOutline___4054 = (r0); - r0 = pxsim.image.ofBuffer(_hex4056); - globals.upArrowOutline___4057 = (r0); - r0 = pxsim.image.ofBuffer(_hex4059); - globals.rightArrowOutline___4060 = (r0); - r0 = pxsim.image.ofBuffer(_hex4062); - globals.leftArrowOutline___4063 = (r0); - r0 = pxsim.image.ofBuffer(_hex4065); - globals.leftButton___4066 = (r0); - r0 = pxsim.image.ofBuffer(_hex4068); - globals.rightButton___4069 = (r0); - r0 = pxsim.image.ofBuffer(_hex4071); - globals.downButton___4072 = (r0); - r0 = pxsim.image.ofBuffer(_hex4074); - globals.upButton___4075 = (r0); - r0 = pxsim.image.ofBuffer(_hex4077); - globals.AButton___4078 = (r0); - r0 = pxsim.image.ofBuffer(_hex4080); - globals.flipHoriz___4081 = (r0); - r0 = pxsim.image.ofBuffer(_hex4083); - globals.flipVert___4084 = (r0); - r0 = pxsim.image.ofBuffer(_hex4086); - globals.rotate3way___4087 = (r0); - r0 = pxsim.image.ofBuffer(_hex4089); - globals.leftRotate___4090 = (r0); - r0 = pxsim.image.ofBuffer(_hex4092); - globals.rightRotate___4093 = (r0); - r0 = pxsim.image.ofBuffer(_hex4095); - globals.allFour___4096 = (r0); - r0 = pxsim.image.ofBuffer(_hex4098); - globals.downArrow___4099 = (r0); - r0 = pxsim.image.ofBuffer(_hex4101); - globals.upArrow___4102 = (r0); - r0 = pxsim.image.ofBuffer(_hex4104); - globals.rightArrow___4105 = (r0); - r0 = pxsim.image.ofBuffer(_hex4107); - globals.leftArrow___4108 = (r0); - r0 = pxsim.image.ofBuffer(_hex4110); - globals.eat___4111 = (r0); - r0 = pxsim.image.ofBuffer(_hex4113); - globals.stopSign___4114 = (r0); - r0 = pxsim.image.ofBuffer(_hex4116); - globals.uTurn___4117 = (r0); - r0 = pxsim.image.ofBuffer(_hex4119); - globals.spawn___4120 = (r0); - r0 = pxsim.image.ofBuffer(_hex4122); - globals.smallPaint___4123 = (r0); - r0 = pxsim.image.ofBuffer(_hex4125); - globals.portal___4126 = (r0); - r0 = pxsim.image.ofBuffer(_hex4128); - globals.gameIcon___4129 = (r0); - r0 = pxsim.image.ofBuffer(_hex4131); - globals.trophyUp___4132 = (r0); - r0 = pxsim.image.ofBuffer(_hex4134); - globals.trophyDown___4135 = (r0); - r0 = pxsim.image.ofBuffer(_hex4137); - globals.scoreUp10___4138 = (r0); - r0 = pxsim.image.ofBuffer(_hex4140); - globals.diskIcon___4141 = (r0); - r0 = pxsim.image.ofBuffer(_hex4143); - globals.reset___4144 = (r0); - r0 = pxsim.image.ofBuffer(_hex4146); - globals.negate___4147 = (r0); - r0 = pxsim.image.ofBuffer(_hex4149); - globals.twCursor___4150 = (r0); - r0 = pxsim.image.ofBuffer(_hex4152); - globals.apple___4153 = (r0); - r0 = pxsim.image.ofBuffer(_hex4155); - globals.snakeHead___4156 = (r0); - r0 = pxsim.image.ofBuffer(_hex4158); - globals.snakeBody___4159 = (r0); - r0 = pxsim.image.ofBuffer(_hex4161); - globals.ship___4162 = (r0); - r0 = pxsim.image.ofBuffer(_hex4164); - globals.alien___4165 = (r0); - r0 = pxsim.image.ofBuffer(_hex4167); - globals.missile___4168 = (r0); - r0 = pxsim.image.ofBuffer(_hex4170); - globals.cat___4171 = (r0); - r0 = pxsim.image.ofBuffer(_hex4173); - globals.fish___4174 = (r0); - r0 = pxsim.image.ofBuffer(_hex4176); - globals.dog___4177 = (r0); - r0 = pxsim.image.ofBuffer(_hex4179); - globals.chimp___4180 = (r0); - r0 = pxsim.image.ofBuffer(_hex4182); - globals.player___4183 = (r0); - r0 = pxsim.image.ofBuffer(_hex4185); - globals.diamond___4186 = (r0); - r0 = pxsim.image.ofBuffer(_hex4188); - globals.boulder___4189 = (r0); - r0 = pxsim.image.ofBuffer(_hex4191); - globals.enemy___4192 = (r0); - r0 = pxsim.image.ofBuffer(_hex4194); - globals.brick___4195 = (r0); - r0 = pxsim.image.ofBuffer(_hex4197); - globals.grass___4198 = (r0); - r0 = pxsim.image.ofBuffer(_hex4200); - globals.water___4201 = (r0); - r0 = pxsim.image.ofBuffer(_hex4203); - globals.dirt2___4204 = (r0); - r0 = pxsim.image.ofBuffer(_hex4206); - globals.wall___4207 = (r0); - r0 = pxsim.image.ofBuffer(_hex4209); - globals.wall2___4210 = (r0); - r0 = pxsim.image.ofBuffer(_hex4212); - globals.dirt___4213 = (r0); - r0 = pxsim.image.ofBuffer(_hex4215); - globals.space___4216 = (r0); + globals.ruleBuf___4643 = (null); + globals.bitIndex___4645 = (0); + globals.TileWorldVersion___5977 = ("4.0.0"); + globals.toHex___6576 = ("0123456789abcdef"); + globals.VersionKey___6418 = ("VersionS"); + globals.HelpKey___6366 = ("HelpN"); + globals.BackImgCntKey___6437 = ("BackN"); + globals.SpriteImgCntKey___6446 = ("SpriteN"); + globals.PlayerIndexKey___6455 = ("PlayerN"); + globals.WorldBackgroundsKey___6341 = ("WBackM"); + globals.WorldSpritesKey___6355 = ("WSpriteM"); + globals.BackImageKey___6729 = ("BackI"); + globals.SpriteImageKey___6731 = ("SpriteI"); + globals.RuleKey___6323 = ("RuleB"); + globals.HighScoreKey___6382 = ("HighN"); + r0 = pxsim.image.ofBuffer(_hex7216); + globals.map___7217 = (r0); + r0 = pxsim.image.ofBuffer(_hex7219); + globals.play___7220 = (r0); + r0 = pxsim.image.ofBuffer(_hex7222); + globals.debug___7223 = (r0); + r0 = pxsim.image.ofBuffer(_hex7225); + globals.code___7226 = (r0); + r0 = pxsim.image.ofBuffer(_hex7228); + globals.paint___7229 = (r0); + r0 = pxsim.image.ofBuffer(_hex7231); + globals.music___7232 = (r0); + r0 = pxsim.image.ofBuffer(_hex7234); + globals.garbageCan___7235 = (r0); + r0 = pxsim.image.ofBuffer(_hex7237); + globals.settingsIcon___7238 = (r0); + r0 = pxsim.image.ofBuffer(_hex7240); + globals.addRule___7241 = (r0); + r0 = pxsim.image.ofBuffer(_hex7243); + globals.emptyTile___7244 = (r0); + r0 = pxsim.image.ofBuffer(_hex7246); + globals.emptyDiagTile___7247 = (r0); + r0 = pxsim.image.ofBuffer(_hex7249); + globals.cursorIn___7250 = (r0); + r0 = pxsim.image.ofBuffer(_hex7252); + globals.cursorOut___7253 = (r0); + r0 = pxsim.image.ofBuffer(_hex7255); + globals.collisionSprite___7256 = (r0); + r0 = pxsim.image.ofBuffer(_hex7258); + globals.genericSprite___7259 = (r0); + r0 = pxsim.image.ofBuffer(_hex7261); + globals.exclude___7262 = (r0); + r0 = pxsim.image.ofBuffer(_hex7264); + globals.include___7265 = (r0); + r0 = pxsim.image.ofBuffer(_hex7267); + globals.include2___7268 = (r0); + r0 = pxsim.image.ofBuffer(_hex7270); + globals.ok___7271 = (r0); + r0 = pxsim.image.ofBuffer(_hex7273); + globals.anyOutline___7274 = (r0); + r0 = pxsim.image.ofBuffer(_hex7276); + globals.allFourOutline___7277 = (r0); + r0 = pxsim.image.ofBuffer(_hex7279); + globals.restingOutline___7280 = (r0); + r0 = pxsim.image.ofBuffer(_hex7282); + globals.downArrowOutline___7283 = (r0); + r0 = pxsim.image.ofBuffer(_hex7285); + globals.upArrowOutline___7286 = (r0); + r0 = pxsim.image.ofBuffer(_hex7288); + globals.rightArrowOutline___7289 = (r0); + r0 = pxsim.image.ofBuffer(_hex7291); + globals.leftArrowOutline___7292 = (r0); + r0 = pxsim.image.ofBuffer(_hex7294); + globals.leftButton___7295 = (r0); + r0 = pxsim.image.ofBuffer(_hex7297); + globals.rightButton___7298 = (r0); + r0 = pxsim.image.ofBuffer(_hex7300); + globals.downButton___7301 = (r0); + r0 = pxsim.image.ofBuffer(_hex7303); + globals.upButton___7304 = (r0); + r0 = pxsim.image.ofBuffer(_hex7306); + globals.AButton___7307 = (r0); + r0 = pxsim.image.ofBuffer(_hex7309); + globals.flipHoriz___7310 = (r0); + r0 = pxsim.image.ofBuffer(_hex7312); + globals.flipVert___7313 = (r0); + r0 = pxsim.image.ofBuffer(_hex7315); + globals.rotate3way___7316 = (r0); + r0 = pxsim.image.ofBuffer(_hex7318); + globals.leftRotate___7319 = (r0); + r0 = pxsim.image.ofBuffer(_hex7321); + globals.rightRotate___7322 = (r0); + r0 = pxsim.image.ofBuffer(_hex7324); + globals.allFour___7325 = (r0); + r0 = pxsim.image.ofBuffer(_hex7327); + globals.downArrow___7328 = (r0); + r0 = pxsim.image.ofBuffer(_hex7330); + globals.upArrow___7331 = (r0); + r0 = pxsim.image.ofBuffer(_hex7333); + globals.rightArrow___7334 = (r0); + r0 = pxsim.image.ofBuffer(_hex7336); + globals.leftArrow___7337 = (r0); + r0 = pxsim.image.ofBuffer(_hex7339); + globals.eat___7340 = (r0); + r0 = pxsim.image.ofBuffer(_hex7342); + globals.stopSign___7343 = (r0); + r0 = pxsim.image.ofBuffer(_hex7345); + globals.uTurn___7346 = (r0); + r0 = pxsim.image.ofBuffer(_hex7348); + globals.spawn___7349 = (r0); + r0 = pxsim.image.ofBuffer(_hex7351); + globals.smallPaint___7352 = (r0); + r0 = pxsim.image.ofBuffer(_hex7354); + globals.portal___7355 = (r0); + r0 = pxsim.image.ofBuffer(_hex7357); + globals.gameIcon___7358 = (r0); + r0 = pxsim.image.ofBuffer(_hex7360); + globals.trophyUp___7361 = (r0); + r0 = pxsim.image.ofBuffer(_hex7363); + globals.trophyDown___7364 = (r0); + r0 = pxsim.image.ofBuffer(_hex7366); + globals.scoreUp10___7367 = (r0); + r0 = pxsim.image.ofBuffer(_hex7369); + globals.diskIcon___7370 = (r0); + r0 = pxsim.image.ofBuffer(_hex7372); + globals.reset___7373 = (r0); + r0 = pxsim.image.ofBuffer(_hex7375); + globals.negate___7376 = (r0); + r0 = pxsim.image.ofBuffer(_hex7378); + globals.twCursor___7379 = (r0); + r0 = pxsim.image.ofBuffer(_hex7381); + globals.apple___7382 = (r0); + r0 = pxsim.image.ofBuffer(_hex7384); + globals.snakeHead___7385 = (r0); + r0 = pxsim.image.ofBuffer(_hex7387); + globals.snakeBody___7388 = (r0); + r0 = pxsim.image.ofBuffer(_hex7390); + globals.ship___7391 = (r0); + r0 = pxsim.image.ofBuffer(_hex7393); + globals.alien___7394 = (r0); + r0 = pxsim.image.ofBuffer(_hex7396); + globals.missile___7397 = (r0); + r0 = pxsim.image.ofBuffer(_hex7399); + globals.cat___7400 = (r0); + r0 = pxsim.image.ofBuffer(_hex7402); + globals.fish___7403 = (r0); + r0 = pxsim.image.ofBuffer(_hex7405); + globals.dog___7406 = (r0); + r0 = pxsim.image.ofBuffer(_hex7408); + globals.chimp___7409 = (r0); + r0 = pxsim.image.ofBuffer(_hex7181); + globals.player___7180 = (r0); + r0 = pxsim.image.ofBuffer(_hex7412); + globals.diamond___7413 = (r0); + r0 = pxsim.image.ofBuffer(_hex7415); + globals.boulder___7416 = (r0); + r0 = pxsim.image.ofBuffer(_hex7418); + globals.enemy___7419 = (r0); + r0 = pxsim.image.ofBuffer(_hex7163); + globals.brick___7162 = (r0); + r0 = pxsim.image.ofBuffer(_hex7422); + globals.grass___7423 = (r0); + r0 = pxsim.image.ofBuffer(_hex7425); + globals.water___7426 = (r0); + r0 = pxsim.image.ofBuffer(_hex7428); + globals.dirt2___7429 = (r0); + r0 = pxsim.image.ofBuffer(_hex7431); + globals.wall___7432 = (r0); + r0 = pxsim.image.ofBuffer(_hex7434); + globals.wall2___7435 = (r0); + r0 = pxsim.image.ofBuffer(_hex7437); + globals.dirt___7438 = (r0); + r0 = pxsim.image.ofBuffer(_hex7440); + globals.space___7441 = (r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.player___4183); - r0 = pxsim_Array__push(s.tmp_0, globals.ship___4162); - r0 = pxsim_Array__push(s.tmp_0, globals.snakeHead___4156); - r0 = pxsim_Array__push(s.tmp_0, globals.diamond___4186); - r0 = pxsim_Array__push(s.tmp_0, globals.alien___4165); - r0 = pxsim_Array__push(s.tmp_0, globals.missile___4168); - r0 = pxsim_Array__push(s.tmp_0, globals.twCursor___4150); - r0 = pxsim_Array__push(s.tmp_0, globals.boulder___4189); - r0 = pxsim_Array__push(s.tmp_0, globals.enemy___4192); - r0 = pxsim_Array__push(s.tmp_0, globals.apple___4153); - r0 = pxsim_Array__push(s.tmp_0, globals.snakeBody___4159); - globals.gallerySprites___4219 = (s.tmp_0); + r0 = pxsim_Array__push(s.tmp_0, globals.player___7180); + r0 = pxsim_Array__push(s.tmp_0, globals.ship___7391); + r0 = pxsim_Array__push(s.tmp_0, globals.snakeHead___7385); + r0 = pxsim_Array__push(s.tmp_0, globals.diamond___7413); + r0 = pxsim_Array__push(s.tmp_0, globals.alien___7394); + r0 = pxsim_Array__push(s.tmp_0, globals.missile___7397); + r0 = pxsim_Array__push(s.tmp_0, globals.twCursor___7379); + r0 = pxsim_Array__push(s.tmp_0, globals.boulder___7416); + r0 = pxsim_Array__push(s.tmp_0, globals.enemy___7419); + r0 = pxsim_Array__push(s.tmp_0, globals.apple___7382); + r0 = pxsim_Array__push(s.tmp_0, globals.snakeBody___7388); + globals.gallerySprites___7178 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.brick___4195); - r0 = pxsim_Array__push(s.tmp_0, globals.grass___4198); - r0 = pxsim_Array__push(s.tmp_0, globals.water___4201); - r0 = pxsim_Array__push(s.tmp_0, globals.dirt___4213); - r0 = pxsim_Array__push(s.tmp_0, globals.dirt2___4204); - r0 = pxsim_Array__push(s.tmp_0, globals.space___4216); - r0 = pxsim_Array__push(s.tmp_0, globals.wall___4207); - globals.galleryTiles___4232 = (s.tmp_0); - r0 = pxsim.image.ofBuffer(_hex4304); - globals.colorOut___4305 = (r0); - r0 = pxsim.image.ofBuffer(_hex4307); - globals.colorIn___4308 = (r0); - r0 = pxsim.image.ofBuffer(_hex4310); - globals.paintOut___4311 = (r0); - r0 = pxsim.image.ofBuffer(_hex4313); - globals.paintIn___4314 = (r0); + r0 = pxsim_Array__push(s.tmp_0, globals.brick___7162); + r0 = pxsim_Array__push(s.tmp_0, globals.grass___7423); + r0 = pxsim_Array__push(s.tmp_0, globals.water___7426); + r0 = pxsim_Array__push(s.tmp_0, globals.dirt___7438); + r0 = pxsim_Array__push(s.tmp_0, globals.dirt2___7429); + r0 = pxsim_Array__push(s.tmp_0, globals.space___7441); + r0 = pxsim_Array__push(s.tmp_0, globals.wall___7432); + globals.galleryTiles___7160 = (s.tmp_0); + r0 = pxsim.image.ofBuffer(_hex10040); + globals.colorOut___10041 = (r0); + r0 = pxsim.image.ofBuffer(_hex10043); + globals.colorIn___10044 = (r0); + r0 = pxsim.image.ofBuffer(_hex10046); + globals.paintOut___10047 = (r0); + r0 = pxsim.image.ofBuffer(_hex10049); + globals.paintIn___10050 = (r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.leftArrow___4108); - r0 = pxsim_Array__push(s.tmp_0, globals.upArrow___4102); - r0 = pxsim_Array__push(s.tmp_0, globals.rightArrow___4105); - r0 = pxsim_Array__push(s.tmp_0, globals.downArrow___4099); - r0 = pxsim_Array__push(s.tmp_0, globals.stopSign___4114); - r0 = pxsim_Array__push(s.tmp_0, globals.uTurn___4117); - globals.moveImages___4350 = (s.tmp_0); + r0 = pxsim_Array__push(s.tmp_0, globals.leftArrow___7337); + r0 = pxsim_Array__push(s.tmp_0, globals.upArrow___7331); + r0 = pxsim_Array__push(s.tmp_0, globals.rightArrow___7334); + r0 = pxsim_Array__push(s.tmp_0, globals.downArrow___7328); + r0 = pxsim_Array__push(s.tmp_0, globals.stopSign___7343); + r0 = pxsim_Array__push(s.tmp_0, globals.uTurn___7346); + globals.moveImages___11219 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.leftArrowOutline___4063); - r0 = pxsim_Array__push(s.tmp_0, globals.upArrowOutline___4057); - r0 = pxsim_Array__push(s.tmp_0, globals.rightArrowOutline___4060); - r0 = pxsim_Array__push(s.tmp_0, globals.downArrowOutline___4054); - r0 = pxsim_Array__push(s.tmp_0, globals.restingOutline___4051); - r0 = pxsim_Array__push(s.tmp_0, globals.allFourOutline___4048); - r0 = pxsim_Array__push(s.tmp_0, globals.anyOutline___4045); - globals.movedImages___4358 = (s.tmp_0); + r0 = pxsim_Array__push(s.tmp_0, globals.leftArrowOutline___7292); + r0 = pxsim_Array__push(s.tmp_0, globals.upArrowOutline___7286); + r0 = pxsim_Array__push(s.tmp_0, globals.rightArrowOutline___7289); + r0 = pxsim_Array__push(s.tmp_0, globals.downArrowOutline___7283); + r0 = pxsim_Array__push(s.tmp_0, globals.restingOutline___7280); + r0 = pxsim_Array__push(s.tmp_0, globals.allFourOutline___7277); + r0 = pxsim_Array__push(s.tmp_0, globals.anyOutline___7274); + globals.movedImages___11227 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, "left"); @@ -1257,41 +1257,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___4366 = (s.tmp_0); + globals.moveText___11235 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.leftButton___4066); - r0 = pxsim_Array__push(s.tmp_0, globals.upButton___4075); - r0 = pxsim_Array__push(s.tmp_0, globals.rightButton___4069); - r0 = pxsim_Array__push(s.tmp_0, globals.downButton___4072); - r0 = pxsim_Array__push(s.tmp_0, globals.AButton___4078); - globals.buttonImages___4368 = (s.tmp_0); + r0 = pxsim_Array__push(s.tmp_0, globals.leftButton___7295); + r0 = pxsim_Array__push(s.tmp_0, globals.upButton___7304); + r0 = pxsim_Array__push(s.tmp_0, globals.rightButton___7298); + r0 = pxsim_Array__push(s.tmp_0, globals.downButton___7301); + r0 = pxsim_Array__push(s.tmp_0, globals.AButton___7307); + globals.buttonImages___11238 = (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___4382 = (s.tmp_0); + globals.attrValues___11248 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.include___4036); - r0 = pxsim_Array__push(s.tmp_0, globals.include2___4039); - r0 = pxsim_Array__push(s.tmp_0, globals.exclude___4033); - r0 = pxsim_Array__push(s.tmp_0, globals.ok___4042); - globals.attrImages___4384 = (s.tmp_0); + r0 = pxsim_Array__push(s.tmp_0, globals.include___7265); + r0 = pxsim_Array__push(s.tmp_0, globals.include2___7268); + r0 = pxsim_Array__push(s.tmp_0, globals.exclude___7262); + r0 = pxsim_Array__push(s.tmp_0, globals.ok___7271); + globals.attrImages___11251 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.trophyUp___4132); - r0 = pxsim_Array__push(s.tmp_0, globals.trophyDown___4135); - r0 = pxsim_Array__push(s.tmp_0, globals.scoreUp10___4138); - globals.gameImages___4390 = (s.tmp_0); + r0 = pxsim_Array__push(s.tmp_0, globals.trophyUp___7361); + r0 = pxsim_Array__push(s.tmp_0, globals.trophyDown___7364); + r0 = pxsim_Array__push(s.tmp_0, globals.scoreUp10___7367); + globals.gameImages___11257 = (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___4394 = (s.tmp_0); + globals.gameText___11261 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, 0); @@ -1300,28 +1300,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___4436 = (s.tmp_0); + globals.transformMap___12377 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.include2___4039); - r0 = pxsim_Array__push(s.tmp_0, globals.flipHoriz___4081); - r0 = pxsim_Array__push(s.tmp_0, globals.flipVert___4084); - r0 = pxsim_Array__push(s.tmp_0, globals.leftRotate___4090); - r0 = pxsim_Array__push(s.tmp_0, globals.rightRotate___4093); - r0 = pxsim_Array__push(s.tmp_0, globals.rotate3way___4087); - globals.transformImages___4438 = (s.tmp_0); - globals.helpStringTop___4453 = ("31any,21moved left,41moved right,30moved up,32moved down,22rested,42moved,61dpad left,81dpad right,70dpad up,72dpad down,71A button,"); - globals.helpStringBot___4454 = ("25collide left,34collide up,36collide down,45collide right,64never,"); + r0 = pxsim_Array__push(s.tmp_0, globals.include2___7268); + r0 = pxsim_Array__push(s.tmp_0, globals.flipHoriz___7310); + r0 = pxsim_Array__push(s.tmp_0, globals.flipVert___7313); + r0 = pxsim_Array__push(s.tmp_0, globals.leftRotate___7319); + r0 = pxsim_Array__push(s.tmp_0, globals.rightRotate___7322); + r0 = pxsim_Array__push(s.tmp_0, globals.rotate3way___7316); + globals.transformImages___12380 = (s.tmp_0); + globals.helpStringTop___12551 = ("31any,21moved left,41moved right,30moved up,32moved down,22rested,42moved,61dpad left,81dpad right,70dpad up,72dpad down,71A button,"); + globals.helpStringBot___12553 = ("25collide left,34collide up,36collide down,45collide right,64never,"); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.allFour___4096); - r0 = pxsim_Array__push(s.tmp_0, globals.paint___4000); - r0 = pxsim_Array__push(s.tmp_0, globals.spawn___4120); - r0 = pxsim_Array__push(s.tmp_0, globals.eat___4111); - r0 = pxsim_Array__push(s.tmp_0, globals.gameIcon___4129); - r0 = pxsim_Array__push(s.tmp_0, globals.portal___4126); - r0 = pxsim_Array__push(s.tmp_0, globals.exclude___4033); - globals.categoryImages___4476 = (s.tmp_0); + r0 = pxsim_Array__push(s.tmp_0, globals.allFour___7325); + r0 = pxsim_Array__push(s.tmp_0, globals.paint___7229); + r0 = pxsim_Array__push(s.tmp_0, globals.spawn___7349); + r0 = pxsim_Array__push(s.tmp_0, globals.eat___7340); + r0 = pxsim_Array__push(s.tmp_0, globals.gameIcon___7358); + r0 = pxsim_Array__push(s.tmp_0, globals.portal___7355); + r0 = pxsim_Array__push(s.tmp_0, globals.exclude___7262); + globals.categoryImages___13289 = (s.tmp_0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, "move"); @@ -1331,80 +1331,80 @@ 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___4484 = (s.tmp_0); - globals.menuHelpString___4485 = ("10map,20play,30debug,50generalize rule,60delete rule,80add rule,90next rule,70previous rule,"); - globals.attrHelpString___4486 = ("00include,10exclude,90reset,"); - r0 = pxsim.image.ofBuffer(_hex4525); - globals.paintOut___4526 = (r0); - r0 = pxsim.image.ofBuffer(_hex4528); - globals.paintIn___4529 = (r0); - globals.helpString___4554 = ("00map,10paint,20code,30play,90settings,"); + globals.categoryText___13297 = (s.tmp_0); + globals.menuHelpString___13299 = ("10map,20play,30debug,50generalize rule,60delete rule,80add rule,90next rule,70previous rule,"); + globals.attrHelpString___13301 = ("00include,10exclude,90reset,"); + r0 = pxsim.image.ofBuffer(_hex14744); + globals.paintOut___14745 = (r0); + r0 = pxsim.image.ofBuffer(_hex14747); + globals.paintIn___14748 = (r0); + globals.helpString___15710 = ("00map,10paint,20code,30play,90settings,"); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, globals.map___3988); - r0 = pxsim_Array__push(s.tmp_0, globals.paint___4000); - r0 = pxsim_Array__push(s.tmp_0, globals.code___3997); - r0 = pxsim_Array__push(s.tmp_0, globals.play___3991); - globals.commandImages___4556 = (s.tmp_0); - s.tmp_0 = createBejeweled__P51133_mk(s); + r0 = pxsim_Array__push(s.tmp_0, globals.map___7217); + r0 = pxsim_Array__push(s.tmp_0, globals.paint___7229); + r0 = pxsim_Array__push(s.tmp_0, globals.code___7226); + r0 = pxsim_Array__push(s.tmp_0, globals.play___7220); + globals.commandImages___15713 = (s.tmp_0); + s.tmp_0 = createBejeweled__P16393_mk(s); s.tmp_0.arg0 = "TW1-"; - s.callLocIdx = 1470; s.pc = 34; return s.tmp_0; + s.callLocIdx = 1473; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - s.tmp_0 = createSnake__P51135_mk(s); + s.tmp_0 = createSnake__P16395_mk(s); s.tmp_0.arg0 = "TW2-"; - s.callLocIdx = 1471; s.pc = 35; return s.tmp_0; + s.callLocIdx = 1474; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.tmp_0 = createBoulderDash__P51137_mk(s); + s.tmp_0 = createBoulderDash__P16397_mk(s); s.tmp_0.arg0 = "TW3-"; - s.callLocIdx = 1472; s.pc = 36; return s.tmp_0; + s.callLocIdx = 1475; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; - s.tmp_0 = createLeftHandRule__P51139_mk(s); + s.tmp_0 = createLeftHandRule__P16399_mk(s); s.tmp_0.arg0 = "TW4-"; - s.callLocIdx = 1473; s.pc = 37; return s.tmp_0; + s.callLocIdx = 1476; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.tmp_0 = createHelloWorld__P51141_mk(s); + s.tmp_0 = createHelloWorld__P16401_mk(s); s.tmp_0.arg0 = "TW5-"; - s.callLocIdx = 1474; s.pc = 38; return s.tmp_0; + s.callLocIdx = 1477; s.pc = 38; return s.tmp_0; case 38: r0 = s.retval; - s.tmp_0 = createSpaceInvaders__P51143_mk(s); + s.tmp_0 = createSpaceInvaders__P16403_mk(s); s.tmp_0.arg0 = "TW6-"; - s.callLocIdx = 1475; s.pc = 39; return s.tmp_0; + s.callLocIdx = 1478; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; - s.tmp_0 = createSokoban__P51145_mk(s); + s.tmp_0 = createSokoban__P16405_mk(s); s.tmp_0.arg0 = "TW7-"; - s.callLocIdx = 1476; s.pc = 40; return s.tmp_0; + s.callLocIdx = 1479; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; - s.tmp_0 = createPacMan__P51147_mk(s); + s.tmp_0 = createPacMan__P16407_mk(s); s.tmp_0.arg0 = "TW8-"; - s.callLocIdx = 1477; s.pc = 41; return s.tmp_0; + s.callLocIdx = 1480; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_LoadScreen__C4572_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_LoadScreen__C16011_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_LoadScreen_constructor__P4577_mk(s); + s.tmp_1 = tileworld_LoadScreen_constructor__P16016_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 1753; s.pc = 42; return s.tmp_1; + s.callLocIdx = 1756; s.pc = 42; return s.tmp_1; case 42: r0 = s.retval; - globals.TileWorld___4634 = (s.tmp_0); + globals.TileWorld___19032 = (s.tmp_0); r0 = undefined; return leave(s, r0) default: oops() } } } -_main___P58189.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"main.ts","functionName":"
","argumentNames":[]} -_main___P58189.continuations = [ ] +_main___P41706.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"main.ts","functionName":"
","argumentNames":[]} +_main___P41706.continuations = [ ] -function _main___P58189_mk(s) { +function _main___P41706_mk(s) { checkStack(s.depth); return { - parent: s, fn: _main___P58189, depth: s.depth + 1, + parent: s, fn: _main___P41706, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1414,9 +1414,9 @@ function _main___P58189_mk(s) { tmp_5: undefined, } } -const _hex5227 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") -const _hex5229 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") -const _hex23806 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") +const _hex20344 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") +const _hex20346 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") +const _hex26157 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") const _hex575 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") const _hex1615 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") const _hex1618 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") @@ -1429,89 +1429,89 @@ const _hex1636 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000 const _hex1639 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") const _hex1642 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") const _hex1645 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex3987 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000222202000000002022222202000000221221222202000022111122222200002211112222220000221111222222000022122122220200002022222202000000002222020000000000000000000000000000000000000000000000000000000000000000000000") -const _hex3990 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000070777777770000007077777777000000007777770700000000777777070000000070777700000000007077770000000000007707000000000000770700000000000070000000000000007000000000000000000000000000000000000000000000000000000000") -const _hex3993 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000002002200022000000000220000200000000e0eeee0e000000212e2222e2000010212e2f2f2f000022222e222222000022222e222222000010212e2f2f2f000000212e2222e200000000e0eeee0e000000000220000200000020022000220000000000000000000000000000000000") -const _hex3996 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000100000000000000001010000000000100010000000000001000001000000000000000000000000000090110000000000901100000000009011000000000090110000000000000000000000000000000100000100000000100010000000000000010100000000000010000000000000000000000000") -const _hex3999 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000004411d90d000000001111e90e000000004411e9dedddd00001111e9eeeeef00004411e9eeeeef00001111e9eeeeee00004411e90e000000001111e90e0000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4002 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000900900000000000099990000000000009999000000000000999900000000000099990090999999999909000099000000000000009009000000000000009900000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4005 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000b00000000000000bb00000000000000bbbbbbbb0b0000b0bbccccccbc0000bbbbbbbbbbbb00000bbbccccccbc00000bbbbbbbbbbb00000bbbccccccbc0000bbbbbbbbbbbb0000b0bbccccccbc000000bbbbbbbb0b000000bb000000000000000b00000000000000000000000000") -const _hex4008 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000010010000000000911001190000001011111111010000901191191109000000110990110000001191000019110000119100001911000000110990110000009011911911090000101111111101000000911001190000000000100100000000000000000000000000000000000000") -const _hex4011 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000007007000000000000700700000000000070070000000000007007000000007077777777070000707777777707000000007007000000000000700700000000000070070000000000007007000000000000000000000000000000000000000000000000000000") -const _hex4014 = pxsim.BufferMethods.createBufferFromHex("8704100010000000bbbbbbbbbbbbbbcbfbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcfcccccccccccccccc") -const _hex4017 = pxsim.BufferMethods.createBufferFromHex("8704100010000000bbbbbbbbbbbbbbcbfbffffffffffcfccfbffffffffffcccffbffffffffcffccffbffffffffccffcffbffffffcffcffcffbffffffccffffcffbffffcffcffffcffbffffccffffffcffbffcffcffffffcffbffccffffffffcffbcffcffffffffcffbccffffffffffcfcbfcffffffffffcfcbffffffffffffcfcccccccccccccccc") -const _hex4020 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000001111111111110010010000000010011000000000000001100000000000000110000000000000011000000000000001100000000000000110000000000000011000000000000001100000000000000110000000000000011000000000000001100100000000100100111111111111000000000000000000") -const _hex4023 = pxsim.BufferMethods.createBufferFromHex("87041000100000001011111111111101110000000000001101000000000000100100000000000010010000000000001001000000000000100100000000000010010000000000001001000000000000100100000000000010010000000000001001000000000000100100000000000010010000000000001011000000000000111011111111111101") -const _hex4026 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000ffff0000000000f022220f000000002f2222f2000000002f2222f2000000002f2222f2000000002f2222f200000000f022220f0000000000ffff0000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4029 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000ffff0000000000f0bbbb0f00000000bffffffb00000000bffffffb00000000bffffffb00000000bffffffb00000000f0bbbb0f0000000000ffff0000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4032 = pxsim.BufferMethods.createBufferFromHex("8704080008000000f022220f2ff22ff22222ff22f222f22ff22f222f22ff22222ff22ff2f022220f") -const _hex4035 = pxsim.BufferMethods.createBufferFromHex("8704080008000000007ff70000f0770f00007ff70000f07700f07ff7f07f770f7f77ff0077ff0000") -const _hex4038 = pxsim.BufferMethods.createBufferFromHex("870408000800000000ffff00f055550f5f5555f55f5555f55f5555f55f5555f5f055550f00ffff00") -const _hex4041 = pxsim.BufferMethods.createBufferFromHex("87040800080000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4044 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000f000f00000000f0f1f0f100000000001f1fff0f0000001f1111110f000000001f1fff0f000000f0f1f0f100000000000f000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4047 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000f0000000000000009f0f0000000000f099f90000000000f0f9f900000000f0fff9f9ff0000009f990090990f00f099ff00f09ff900009f990090990f0000f0fff9f9ff00000000f0f9f90000000000f099f90000000000009f0f000000000000f00000000000000000000000000000000000000000") -const _hex4050 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000f00f0000000000009ff90000000000f0f99f0f000000009ffffff9000000009ffffff900000000f0f99f0f00000000009ff9000000000000f00f0000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4053 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000000000000000000000000000ff0f0000000000009ff90000000000ff9f9f0f000000009f99fff9000000009fffff9f0f0000009fffff9f0f0000009f99fff900000000ff9f9f0f00000000009ff9000000000000ff0f0000000000000000000000000000000000000000000000000000") -const _hex4056 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000f0ff0000000000009ff90000000000f0f9f9ff000000009fff99f9000000f0f9fffff9000000f0f9fffff9000000009fff99f900000000f0f9f9ff00000000009ff9000000000000f0ff00000000000000000000000000000000000000000000000000000000") -const _hex4059 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f0ffff0f00000000f099990f000000f0fff99fff0f0000f099f99f990f0000f0f9ffff9f0f0000009ffffff900000000f0f99f0f00000000009ff9000000000000f00f0000000000000000000000") -const _hex4062 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000f00f0000000000009ff90000000000f0f99f0f000000009ffffff9000000f0f9ffff9f0f0000f099f99f990f0000f0fff99fff0f000000f099990f00000000f0ffff0f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4065 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066166166860000666671176666080066167777616608006671777717660800661671176166080066667117666608006666711766660800606611116686000060666666668600000060666686080000000000000000000000000000000000") -const _hex4068 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066111166860000666671176666080066667117666608006611711711660800667177771766080066167777616608006666711766660800606616616686000060666666668600000060666686080000000000000000000000000000000000") -const _hex4071 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066166166860000666616176666080066111177616608006671777717660800667177771766080066111177616608006666161766660800606616616686000060666666668600000060666686080000000000000000000000000000000000") -const _hex4074 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066166166860000666671616666080066167711116608006671777717660800667177771766080066167711116608006666716166660800606616616686000060666666668600000060666686080000000000000000000000000000000000") -const _hex4077 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066666666860000666611116166080066167777676608006671666766660800667766676666080066761117616608006666777767660800606666666686000060666666668600000060666686080000000000000000000000000000000000") -const _hex4080 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000bb0b00000000b0bbbb0b000000bbbb8bbb0b00b0bbbbbb88b80bb0bbbbbb8b88880bb0bbbbbbbb8bbb0b000000000080000000000000008000009099999999899909909999998988880900909999998898090000009999899909000000009099990900000000000099090000000000000000") -const _hex4083 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000000000000000009009b00b000000009009b00b000000009909b0bb000000009909b0bb000000009909b0bb000000909909b0bb0b0000909909b0bb0b0000909909b0bb0b0000998909b0b8bb0000998809b088bb00008988888888b80090998809b088bb0b90998909b0b8bb0b90999909b0bbbb0b0000000000000000") -const _hex4086 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000900000000000500099060000000050909969000000000000999606000000000090600900000000000000000000000000000000005500000000100100000000000000000090000000000000009909000090600990999900009996060096065090996900006069500099060000009600009000000000000000000000") -const _hex4089 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000900000000000090990000000000009999090060090000006900006009000000690000600900000090666696000000000099990900000000000000000000000000000000000000000000000000000000000000000000") -const _hex4092 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000909999000000000069666609000000900600009600000090000000960000909999000096000000990900000000000090000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4095 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000900000000000000099090000000000909999000000000000990900000000900099099000000099999999990900909999999999990000999999999909000090009909900000000000990900000000009099990000000000009909000000000000900000000000000000000000000000000000000000") -const _hex4098 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000000000000000000000000000f00f000000000000f0f900000000ffffff990f0000009f999999f90000009f999999990f00009f999999f9000000ffffff990f0000000000f0f9000000000000f00f00000000000000000000000000000000000000000000000000000000000000000000") -const _hex4101 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000f00f0000000000009f0f0000000000f099ffffff0000009f999999f90000f099999999f90000009f999999f9000000f099ffffff000000009f0f000000000000f00f000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4104 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000000000000000000000000000000000000000f0ffff0000000000f099f90000000000f099f90000000000f099f90000000000f099f900000000f0ff99f9ff000000f0999999f9000000009f99990f00000000f099f90000000000009f0f000000000000f0000000000000000000000000") -const _hex4107 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000f0000000000000009f0f0000000000f099f900000000009f99990f000000f0999999f9000000f0ff99f9ff00000000f099f90000000000f099f90000000000f099f90000000000f099f90000000000f0ffff0000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4110 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000f0000f0000000f0f500005f0f00005ff500005ff500f055550ff055550ff055550ff055550ff05555f55f55550ff05555555555550ff05555555555550ff05555555555550f005f55555555f50000f0555555550f0000005f5555f500000000f0ffff0f00000000000000000000") -const _hex4113 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000010111101000000002122221200000010222222220100002122222222120010221221222122011022211222122201102221122212220110222112221222011022211222122201102212221121220100212222222212000010222222220100000021222212000000001011110100000000000000000000") -const _hex4116 = pxsim.BufferMethods.createBufferFromHex("870410001000000000f0555555550f00005f5555f555f500f0555555f5ff550f5f55f5ffffff5ff55555ffffffff5f5555f5ff55f5ff555555ff5f55f555555555ff55555555555555ff55555555555555ff5f555555555555f5ff55555555555555ffffffff5f555f55f5ffffff5ff5f05555555555550f005f55555555f50000f0555555550f00") -const _hex4119 = pxsim.BufferMethods.createBufferFromHex("870410001000000000f0ff000000000000f0f7000000000000f0f70000000000fffff7ff0f0000007f7777770f000000fffff7ff0f00000000f0f7000000000000f0f7000000000000f0ff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4122 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000f0ffff0f00000000f04491ff0f000000f01191ee0f000000f04491ee0f000000f01191ff0f000000f0ffff0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4125 = pxsim.BufferMethods.createBufferFromHex("870410001000000000ffff0f00000000f05555f5000000005fffff5f0f0000005f5f555f0f0000005f5f5f5f0f0000005f5f555f0f0000005fff5f5f0f000000f05555ff0000000000ffff0f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4128 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000007f77770f000000f0777777f70000007077ff7f7700000070f7ffff7700000070f77fff7700000070f77fff77000000f0f77f77f755000000ffff770f0005050000000055555505000000005555550500000000555555050000000055555505000000000500050500000000505500000000000000000000") -const _hex4131 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000055050000000000040550000000000045050005000000005544444400400000555555550454000055655556455500005555556545550000555555654555000055655556455500005555555501510000551511110010000015050005000000000105500000000000005505000000000000000000000000") -const _hex4134 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000005055000000000000055010000000005000505100000100111151550000151055555555000055542555255500005554555552550000555455555255000055542555255500004540555555550000040044444455000000005000505400000000000550400000000000505500000000000000000000") -const _hex4137 = pxsim.BufferMethods.createBufferFromHex("870410001000000000ff0f0000000000009f0f0000000000ff9fff1f111111019f99991f11111101ff9fff1ff111f101009f0f10ffffff0100ff0f101111f1010000001011111101000000101111110100000010f1ff1f01000000101f11f101000000101f11f10100000010f1ff1f01000000101111110100000010111111010000000000000000") -const _hex4140 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000111111111101000061666666661100001111616666160000616661161111000061666116661600006166611666160000616661166616000061666116661600006166611611110000111161666616000061666666661600001111111111110000000000000000000000000000000000") -const _hex4143 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000010000000000000019000000000000001901000000001011111100000000919919019001000091001900900100009100010090010000910000009001000091000000900100009100000090010000109999991900000000111111010000000000000000000000000000000000000000000000000000") -const _hex4146 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000002022222200000000222222220200002022111121220000221211112222020022111121222102002211112212210200221121221121020022112212112102002221221111210200222212111122020020221111212200000022222222020000002022222200000000000000000000") -const _hex4149 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000000000000000000000000000000000f0ffffff000000005f5555550f0000f055555555f50000f055f5ff55f50000f0550f005ff50000f0550f005ff50000f0550f005ff50000f0550f005ff50000f055f5ff55f50000f055555555f50000005f5555550f000000f0ffffff000000000000000000000000000000000000") -const _hex4152 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000c0cccc0c000000c0eceeeeee020000eceeeeeeee2e0000eeee2222e2ee02e0ee2e222222e202e0ee22222222222ee0ee2e222222222ececc2c22222222e47c672c22222222e477ee2222222222e4e0e24422222242e2e02255242222420e002e54242222240e002e22222244e20000e02e2222e20e000000e0eeee0e0000") -const _hex4155 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000c0ff0000c0fc0f001c610f006c77f7c01711c6c0776c777f1711c16c77f6772c1211c17c7766777c7711c17c7766777c6716c17c77f6677cfc66c17c776cc767cf6cc16c777777c7cc66c6c0777777f66666c6006c77677f6766f600c0fcff7767c60f000000c077c6ff00000000007c0c000000000000c00c0000") -const _hex4158 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000ccff0000000000c07677cc000000007cc76cc1000000c07667fccc000000c0776766cf000000c0776766cf000000c07767fcc1000000c077c76ccc0000cccc767777c700c06c667c7777c600c07766cc7677cf007c776666ccffc6007cc7cc666666c6007c0cc06666660c006c0c00cc66660c00cc0000c0cccc00") -const _hex4161 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000000000cc000000000000c0cc000000000000cccc000000000000cfcc0000000000e0cfcc0000000000ecefcc00000000ee2cecee000000e02e2c2cee00000020442e2e2200000000ee4e2e220000000000ee2f220000000000e04f240000000000002e42000000000000ee22000000000000e0ee00000000000000ee00") -const _hex4164 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000c0b1000000ffff0f1ffb0000ffddbdfc1fb100f01b11ddbd1ffb00f01111bd1cccf1001f1111f11fbd0f001f1111d111fb00001f1111d111b100001f1111f11ffb0f00f01111bd1ccdb100f01b11ddbd1ffb0000ffddbdfc1fb1000000ffff0f1ffb000000000000cfb1000000000000000000") -const _hex4167 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000500050000000000045054505000000500454045400000040004000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex4170 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000e0ccfceeff000000e0bdb3ddbdffff0fe0dd3bfdddb2dd0f00dcdddddfd2fd0000f0ddddbdd2fd0000f0dbddbdd2fd0f00dcdddddfd2dd0fe0dd3bfdddd2fb00e0bdb3dd2ddbfd00e0ccfceeffbbdd0f0000000000bfff0f000000b0ffdf0f00000000f0ddbd0f00000000b0ffff00000000000000000000") -const _hex4173 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000ff0f0000000000c044f400000000004c44440f000000c04444440f0000004c44f444f40000c0dc444444fd0000cc44111111440f00cc4444c4c4440fc0cd4444c4444f0fc0cd444444ff4f0fc0cd4d444444c4cdc0dd1c4d44d4dccd00cccc1111fdbfcd000000ccf4ffcc0c0000c04444f400000000c0ccffff0000") -const _hex4176 = pxsim.BufferMethods.createBufferFromHex("87041000100000000040e400000000000054550e00000000405545eeff0000004055445545ffff0f405554f55546550f005e55555556f50000e05555f456f50000e05555f456f50f005e55555556550f405554f55556f400405544556554f500405545eeff44550f0054550e004fff0f0040e400f0550f00000000005ff50000000000f0ff000000") -const _hex4179 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000c0cc0000000000c0dccd0f00000000dfedcdfd000000f0fdefcdfdf0ff0fefddddcdfdefdefdefdddddcfdfebffdeffddfddfdfefffcefdeddddeeeedefdefeeeeeeeefebffdf0eeeeeeefeefefb00ffbdfbefeefefb00f0ddcdf0eeeefd0000cf0c00effeff000000f0ffff0f00000000efeefe0000000000ffff0f0000") -const _hex4182 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000f00f00000000f0fffffee0440000ffefefee4f4d00f0ff2effe4feff00f0eff2bfd12e42ffffe2f2fedf2442ff2fe3f24edd24520f2fe2f24edd24520fffe2f2fedf2442fff0eff2bfd12e42fff0ff2effe4feff0000ffeeefee4f4d0000f0fffffee04400000000f00f0000000000000000000000") -const _hex4185 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000088990900000000808899990000000088889999090000808888999999000080888899999909008098889999999900809989999999990980991919111111018099111911111100801111191111010080111119111100000010111911010000001011191100000000001119010000000000000000000000") -const _hex4188 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000cccc0000000000cccbcb0c00000000dcbbbccc000000ccdcbdbccc00c0ccbbbcddcccc00bcddbbcbddcbcc00dcddddbbdbcbcc0cdbddddbbdbcbbc0cdbddddbbdbbbbccbdbddddbddbdbbccbb0ddddbddbdbbccb00dbddbdbddbbccb00dbddbbbdbdbb0c00b0bbbbbbcdbb0c000000dbddcccb00000000b0cbbc0b00") -const _hex4191 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000007777070000000070007077ff0f0000000000771cfd0000ffffffffcb0f00ffddddbdfc11fdf01b1111ddfdcb0ff0111111bdbc1cfd1f111111f1dfff0f1f111111d1b1ff0f1f111111d111ff0f1f111111f1bfff0ff0111111bddcff0ff01b1111ddfdff0000ffddddbdfc00000000ffffffcf000000000000cffb0000") -const _hex4194 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddcddbddddcdbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbbbbdbbbbbbccccccabccccccabdbddddcddbddddbdbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbbbbdbbbbcbccccccabccccccab") -const _hex4197 = pxsim.BufferMethods.createBufferFromHex("87041000100000007577777777777777777777777777777775776777577777577777557677777777777757657777777777577577777777777777557777777777777777557777777777775765777775777777577677775577777777777757577777777777775576777777757777657777777777777777777777777777777777777777777777777755") -const _hex4200 = pxsim.BufferMethods.createBufferFromHex("87041000100000006766666666666666666666666666666667668666766666766666776866666666666676876666666666766766666666666666776666666666666666776666666666667687666667666666766866667766666666666676766666666666667768666666676666876666666666666666666666666666666666666666666666666677") -const _hex4203 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dddddddddd1dd1dddddddddddd1dd1dddddddbdddddddddd1dd1dddddddddddd1dd1dddddddddddddddddddddbdddddddddddddddddd1dddddddddddddddddddddddddddddddddddddddbbddddddddddddddbbdddddddddddddddddddddddddddddddddddddddbddbdddddddddddddddddddddddddddddbddddddddddddddddd") -const _hex4206 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dddddddddddddd8d6d668868868686866d866686868686866d688868868686868d86d888666686868d86dd8d666666868d86d888666666866d688868666666866d866686666666886d868686886886886d868686866886866d868686666886866d868686666886866d868686866886888d886888686666868888888888888888") -const _hex4209 = pxsim.BufferMethods.createBufferFromHex("8704100010000000cccccccccccccc8cbcbb88b88b8b8b8bbc8bbb8b8b8b8b8bbcb888b88b8b8b8b8c8b6888bbbb8b8b8c8b6686bbbbbb8b8c8b6888bbbbbb8bbcb888b8bbbbbb8bbc8bbb8bbbbbbb88bc8b8b8b88b88b88bc8b8b8b8bb88b8bbc8b8b8bbbb88b8bbc8b8b8bbbb88b8bbc8b8b8b8bb88b888c88b888b8bbbb8b8888888888888888") -const _hex4212 = pxsim.BufferMethods.createBufferFromHex("8704100010000000efeeeefefffeeffeee44e4feeeeefeee4e4444eeee44e4ef4e4444e44e4444feee4444e4444444e4ee4444e4444444e4ef4e44ee444444e4feeefefe4e4444fefeffefeeef44e4effeef4e44eeeefe4eeeef4444e4efef44e4ef4444e4fe4e44e4ef444444fe4e44e4ee444444feee44e4fe4e44eeeeee4eeeeeefeefeefefee") -const _hex4215 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ffffffffffffffffffccfcffffffffffcfccccffffccfcffcfccccfccfccccffffccccfcccccccfcffccccfcccccccfcffcfccffccccccfcffffffffcfccccffffffffffffccfcffffffcfccffffffcfffffccccfcffffccfcffccccfcffcfccfcffccccccffcfccfcffccccccffffccfcffcfccffffffcfffffffffffffffff") -const _hex4304 = pxsim.BufferMethods.createBufferFromHex("87040800080000001111111101000010010000100100001001000010010000100100001011111111") -const _hex4307 = pxsim.BufferMethods.createBufferFromHex("87040800080000000000000010111101100000011000000110000001100000011011110100000000") -const _hex4310 = pxsim.BufferMethods.createBufferFromHex("8704060006000000111111000100100001001000010010000100100011111100") -const _hex4313 = pxsim.BufferMethods.createBufferFromHex("8704060006000000000000001011010010000100100001001011010000000000") -const _hex4525 = pxsim.BufferMethods.createBufferFromHex("87040800080000005555555505000050050000500500005005000050050000500500005055555555") -const _hex4528 = pxsim.BufferMethods.createBufferFromHex("87040800080000000000000050555505500000055000000550000005500000055055550500000000") +const _hex7216 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000222202000000002022222202000000221221222202000022111122222200002211112222220000221111222222000022122122220200002022222202000000002222020000000000000000000000000000000000000000000000000000000000000000000000") +const _hex7219 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000070777777770000007077777777000000007777770700000000777777070000000070777700000000007077770000000000007707000000000000770700000000000070000000000000007000000000000000000000000000000000000000000000000000000000") +const _hex7222 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000002002200022000000000220000200000000e0eeee0e000000212e2222e2000010212e2f2f2f000022222e222222000022222e222222000010212e2f2f2f000000212e2222e200000000e0eeee0e000000000220000200000020022000220000000000000000000000000000000000") +const _hex7225 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000100000000000000001010000000000100010000000000001000001000000000000000000000000000090110000000000901100000000009011000000000090110000000000000000000000000000000100000100000000100010000000000000010100000000000010000000000000000000000000") +const _hex7228 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000004411d90d000000001111e90e000000004411e9dedddd00001111e9eeeeef00004411e9eeeeef00001111e9eeeeee00004411e90e000000001111e90e0000000000000000000000000000000000000000000000000000000000000000000000") +const _hex7231 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000900900000000000099990000000000009999000000000000999900000000000099990090999999999909000099000000000000009009000000000000009900000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex7234 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000b00000000000000bb00000000000000bbbbbbbb0b0000b0bbccccccbc0000bbbbbbbbbbbb00000bbbccccccbc00000bbbbbbbbbbb00000bbbccccccbc0000bbbbbbbbbbbb0000b0bbccccccbc000000bbbbbbbb0b000000bb000000000000000b00000000000000000000000000") +const _hex7237 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000010010000000000911001190000001011111111010000901191191109000000110990110000001191000019110000119100001911000000110990110000009011911911090000101111111101000000911001190000000000100100000000000000000000000000000000000000") +const _hex7240 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000007007000000000000700700000000000070070000000000007007000000007077777777070000707777777707000000007007000000000000700700000000000070070000000000007007000000000000000000000000000000000000000000000000000000") +const _hex7243 = pxsim.BufferMethods.createBufferFromHex("8704100010000000bbbbbbbbbbbbbbcbfbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcffbffffffffffffcfcccccccccccccccc") +const _hex7246 = pxsim.BufferMethods.createBufferFromHex("8704100010000000bbbbbbbbbbbbbbcbfbffffffffffcfccfbffffffffffcccffbffffffffcffccffbffffffffccffcffbffffffcffcffcffbffffffccffffcffbffffcffcffffcffbffffccffffffcffbffcffcffffffcffbffccffffffffcffbcffcffffffffcffbccffffffffffcfcbfcffffffffffcfcbffffffffffffcfcccccccccccccccc") +const _hex7249 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000001111111111110010010000000010011000000000000001100000000000000110000000000000011000000000000001100000000000000110000000000000011000000000000001100000000000000110000000000000011000000000000001100100000000100100111111111111000000000000000000") +const _hex7252 = pxsim.BufferMethods.createBufferFromHex("87041000100000001011111111111101110000000000001101000000000000100100000000000010010000000000001001000000000000100100000000000010010000000000001001000000000000100100000000000010010000000000001001000000000000100100000000000010010000000000001011000000000000111011111111111101") +const _hex7255 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000ffff0000000000f022220f000000002f2222f2000000002f2222f2000000002f2222f2000000002f2222f200000000f022220f0000000000ffff0000000000000000000000000000000000000000000000000000000000000000000000") +const _hex7258 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000ffff0000000000f0bbbb0f00000000bffffffb00000000bffffffb00000000bffffffb00000000bffffffb00000000f0bbbb0f0000000000ffff0000000000000000000000000000000000000000000000000000000000000000000000") +const _hex7261 = pxsim.BufferMethods.createBufferFromHex("8704080008000000f022220f2ff22ff22222ff22f222f22ff22f222f22ff22222ff22ff2f022220f") +const _hex7264 = pxsim.BufferMethods.createBufferFromHex("8704080008000000007ff70000f0770f00007ff70000f07700f07ff7f07f770f7f77ff0077ff0000") +const _hex7267 = pxsim.BufferMethods.createBufferFromHex("870408000800000000ffff00f055550f5f5555f55f5555f55f5555f55f5555f5f055550f00ffff00") +const _hex7270 = pxsim.BufferMethods.createBufferFromHex("87040800080000000000000000000000000000000000000000000000000000000000000000000000") +const _hex7273 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000f000f00000000f0f1f0f100000000001f1fff0f0000001f1111110f000000001f1fff0f000000f0f1f0f100000000000f000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex7276 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000f0000000000000009f0f0000000000f099f90000000000f0f9f900000000f0fff9f9ff0000009f990090990f00f099ff00f09ff900009f990090990f0000f0fff9f9ff00000000f0f9f90000000000f099f90000000000009f0f000000000000f00000000000000000000000000000000000000000") +const _hex7279 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000f00f0000000000009ff90000000000f0f99f0f000000009ffffff9000000009ffffff900000000f0f99f0f00000000009ff9000000000000f00f0000000000000000000000000000000000000000000000000000000000000000000000") +const _hex7282 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000000000000000000000000000ff0f0000000000009ff90000000000ff9f9f0f000000009f99fff9000000009fffff9f0f0000009fffff9f0f0000009f99fff900000000ff9f9f0f00000000009ff9000000000000ff0f0000000000000000000000000000000000000000000000000000") +const _hex7285 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000f0ff0000000000009ff90000000000f0f9f9ff000000009fff99f9000000f0f9fffff9000000f0f9fffff9000000009fff99f900000000f0f9f9ff00000000009ff9000000000000f0ff00000000000000000000000000000000000000000000000000000000") +const _hex7288 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f0ffff0f00000000f099990f000000f0fff99fff0f0000f099f99f990f0000f0f9ffff9f0f0000009ffffff900000000f0f99f0f00000000009ff9000000000000f00f0000000000000000000000") +const _hex7291 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000f00f0000000000009ff90000000000f0f99f0f000000009ffffff9000000f0f9ffff9f0f0000f099f99f990f0000f0fff99fff0f000000f099990f00000000f0ffff0f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex7294 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066166166860000666671176666080066167777616608006671777717660800661671176166080066667117666608006666711766660800606611116686000060666666668600000060666686080000000000000000000000000000000000") +const _hex7297 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066111166860000666671176666080066667117666608006611711711660800667177771766080066167777616608006666711766660800606616616686000060666666668600000060666686080000000000000000000000000000000000") +const _hex7300 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066166166860000666616176666080066111177616608006671777717660800667177771766080066111177616608006666161766660800606616616686000060666666668600000060666686080000000000000000000000000000000000") +const _hex7303 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066166166860000666671616666080066167711116608006671777717660800667177771766080066167711116608006666716166660800606616616686000060666666668600000060666686080000000000000000000000000000000000") +const _hex7306 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000006066668608000060666666668600006066666666860000666611116166080066167777676608006671666766660800667766676666080066761117616608006666777767660800606666666686000060666666668600000060666686080000000000000000000000000000000000") +const _hex7309 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000bb0b00000000b0bbbb0b000000bbbb8bbb0b00b0bbbbbb88b80bb0bbbbbb8b88880bb0bbbbbbbb8bbb0b000000000080000000000000008000009099999999899909909999998988880900909999998898090000009999899909000000009099990900000000000099090000000000000000") +const _hex7312 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000000000000000009009b00b000000009009b00b000000009909b0bb000000009909b0bb000000009909b0bb000000909909b0bb0b0000909909b0bb0b0000909909b0bb0b0000998909b0b8bb0000998809b088bb00008988888888b80090998809b088bb0b90998909b0b8bb0b90999909b0bbbb0b0000000000000000") +const _hex7315 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000900000000000500099060000000050909969000000000000999606000000000090600900000000000000000000000000000000005500000000100100000000000000000090000000000000009909000090600990999900009996060096065090996900006069500099060000009600009000000000000000000000") +const _hex7318 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000900000000000090990000000000009999090060090000006900006009000000690000600900000090666696000000000099990900000000000000000000000000000000000000000000000000000000000000000000") +const _hex7321 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000909999000000000069666609000000900600009600000090000000960000909999000096000000990900000000000090000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex7324 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000900000000000000099090000000000909999000000000000990900000000900099099000000099999999990900909999999999990000999999999909000090009909900000000000990900000000009099990000000000009909000000000000900000000000000000000000000000000000000000") +const _hex7327 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000000000000000000000000000f00f000000000000f0f900000000ffffff990f0000009f999999f90000009f999999990f00009f999999f9000000ffffff990f0000000000f0f9000000000000f00f00000000000000000000000000000000000000000000000000000000000000000000") +const _hex7330 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000f00f0000000000009f0f0000000000f099ffffff0000009f999999f90000f099999999f90000009f999999f9000000f099ffffff000000009f0f000000000000f00f000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex7333 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000000000000000000000000000000000000000f0ffff0000000000f099f90000000000f099f90000000000f099f90000000000f099f900000000f0ff99f9ff000000f0999999f9000000009f99990f00000000f099f90000000000009f0f000000000000f0000000000000000000000000") +const _hex7336 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000f0000000000000009f0f0000000000f099f900000000009f99990f000000f0999999f9000000f0ff99f9ff00000000f099f90000000000f099f90000000000f099f90000000000f099f90000000000f0ffff0000000000000000000000000000000000000000000000000000000000000000000000") +const _hex7339 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000f0000f0000000f0f500005f0f00005ff500005ff500f055550ff055550ff055550ff055550ff05555f55f55550ff05555555555550ff05555555555550ff05555555555550f005f55555555f50000f0555555550f0000005f5555f500000000f0ffff0f00000000000000000000") +const _hex7342 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000010111101000000002122221200000010222222220100002122222222120010221221222122011022211222122201102221122212220110222112221222011022211222122201102212221121220100212222222212000010222222220100000021222212000000001011110100000000000000000000") +const _hex7345 = pxsim.BufferMethods.createBufferFromHex("870410001000000000f0555555550f00005f5555f555f500f0555555f5ff550f5f55f5ffffff5ff55555ffffffff5f5555f5ff55f5ff555555ff5f55f555555555ff55555555555555ff55555555555555ff5f555555555555f5ff55555555555555ffffffff5f555f55f5ffffff5ff5f05555555555550f005f55555555f50000f0555555550f00") +const _hex7348 = pxsim.BufferMethods.createBufferFromHex("870410001000000000f0ff000000000000f0f7000000000000f0f70000000000fffff7ff0f0000007f7777770f000000fffff7ff0f00000000f0f7000000000000f0f7000000000000f0ff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex7351 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000f0ffff0f00000000f04491ff0f000000f01191ee0f000000f04491ee0f000000f01191ff0f000000f0ffff0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex7354 = pxsim.BufferMethods.createBufferFromHex("870410001000000000ffff0f00000000f05555f5000000005fffff5f0f0000005f5f555f0f0000005f5f5f5f0f0000005f5f555f0f0000005fff5f5f0f000000f05555ff0000000000ffff0f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex7357 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000007f77770f000000f0777777f70000007077ff7f7700000070f7ffff7700000070f77fff7700000070f77fff77000000f0f77f77f755000000ffff770f0005050000000055555505000000005555550500000000555555050000000055555505000000000500050500000000505500000000000000000000") +const _hex7360 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000055050000000000040550000000000045050005000000005544444400400000555555550454000055655556455500005555556545550000555555654555000055655556455500005555555501510000551511110010000015050005000000000105500000000000005505000000000000000000000000") +const _hex7363 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000005055000000000000055010000000005000505100000100111151550000151055555555000055542555255500005554555552550000555455555255000055542555255500004540555555550000040044444455000000005000505400000000000550400000000000505500000000000000000000") +const _hex7366 = pxsim.BufferMethods.createBufferFromHex("870410001000000000ff0f0000000000009f0f0000000000ff9fff1f111111019f99991f11111101ff9fff1ff111f101009f0f10ffffff0100ff0f101111f1010000001011111101000000101111110100000010f1ff1f01000000101f11f101000000101f11f10100000010f1ff1f01000000101111110100000010111111010000000000000000") +const _hex7369 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000111111111101000061666666661100001111616666160000616661161111000061666116661600006166611666160000616661166616000061666116661600006166611611110000111161666616000061666666661600001111111111110000000000000000000000000000000000") +const _hex7372 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000010000000000000019000000000000001901000000001011111100000000919919019001000091001900900100009100010090010000910000009001000091000000900100009100000090010000109999991900000000111111010000000000000000000000000000000000000000000000000000") +const _hex7375 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000002022222200000000222222220200002022111121220000221211112222020022111121222102002211112212210200221121221121020022112212112102002221221111210200222212111122020020221111212200000022222222020000002022222200000000000000000000") +const _hex7378 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000000000000000000000000000000000f0ffffff000000005f5555550f0000f055555555f50000f055f5ff55f50000f0550f005ff50000f0550f005ff50000f0550f005ff50000f0550f005ff50000f055f5ff55f50000f055555555f50000005f5555550f000000f0ffffff000000000000000000000000000000000000") +const _hex7381 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000c0cccc0c000000c0eceeeeee020000eceeeeeeee2e0000eeee2222e2ee02e0ee2e222222e202e0ee22222222222ee0ee2e222222222ececc2c22222222e47c672c22222222e477ee2222222222e4e0e24422222242e2e02255242222420e002e54242222240e002e22222244e20000e02e2222e20e000000e0eeee0e0000") +const _hex7384 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000c0ff0000c0fc0f001c610f006c77f7c01711c6c0776c777f1711c16c77f6772c1211c17c7766777c7711c17c7766777c6716c17c77f6677cfc66c17c776cc767cf6cc16c777777c7cc66c6c0777777f66666c6006c77677f6766f600c0fcff7767c60f000000c077c6ff00000000007c0c000000000000c00c0000") +const _hex7387 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000ccff0000000000c07677cc000000007cc76cc1000000c07667fccc000000c0776766cf000000c0776766cf000000c07767fcc1000000c077c76ccc0000cccc767777c700c06c667c7777c600c07766cc7677cf007c776666ccffc6007cc7cc666666c6007c0cc06666660c006c0c00cc66660c00cc0000c0cccc00") +const _hex7390 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000000000cc000000000000c0cc000000000000cccc000000000000cfcc0000000000e0cfcc0000000000ecefcc00000000ee2cecee000000e02e2c2cee00000020442e2e2200000000ee4e2e220000000000ee2f220000000000e04f240000000000002e42000000000000ee22000000000000e0ee00000000000000ee00") +const _hex7393 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000c0b1000000ffff0f1ffb0000ffddbdfc1fb100f01b11ddbd1ffb00f01111bd1cccf1001f1111f11fbd0f001f1111d111fb00001f1111d111b100001f1111f11ffb0f00f01111bd1ccdb100f01b11ddbd1ffb0000ffddbdfc1fb1000000ffff0f1ffb000000000000cfb1000000000000000000") +const _hex7396 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000500050000000000045054505000000500454045400000040004000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex7399 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000e0ccfceeff000000e0bdb3ddbdffff0fe0dd3bfdddb2dd0f00dcdddddfd2fd0000f0ddddbdd2fd0000f0dbddbdd2fd0f00dcdddddfd2dd0fe0dd3bfdddd2fb00e0bdb3dd2ddbfd00e0ccfceeffbbdd0f0000000000bfff0f000000b0ffdf0f00000000f0ddbd0f00000000b0ffff00000000000000000000") +const _hex7402 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000ff0f0000000000c044f400000000004c44440f000000c04444440f0000004c44f444f40000c0dc444444fd0000cc44111111440f00cc4444c4c4440fc0cd4444c4444f0fc0cd444444ff4f0fc0cd4d444444c4cdc0dd1c4d44d4dccd00cccc1111fdbfcd000000ccf4ffcc0c0000c04444f400000000c0ccffff0000") +const _hex7405 = pxsim.BufferMethods.createBufferFromHex("87041000100000000040e400000000000054550e00000000405545eeff0000004055445545ffff0f405554f55546550f005e55555556f50000e05555f456f50000e05555f456f50f005e55555556550f405554f55556f400405544556554f500405545eeff44550f0054550e004fff0f0040e400f0550f00000000005ff50000000000f0ff000000") +const _hex7408 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000c0cc0000000000c0dccd0f00000000dfedcdfd000000f0fdefcdfdf0ff0fefddddcdfdefdefdefdddddcfdfebffdeffddfddfdfefffcefdeddddeeeedefdefeeeeeeeefebffdf0eeeeeeefeefefb00ffbdfbefeefefb00f0ddcdf0eeeefd0000cf0c00effeff000000f0ffff0f00000000efeefe0000000000ffff0f0000") +const _hex7181 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000f00f00000000f0fffffee0440000ffefefee4f4d00f0ff2effe4feff00f0eff2bfd12e42ffffe2f2fedf2442ff2fe3f24edd24520f2fe2f24edd24520fffe2f2fedf2442fff0eff2bfd12e42fff0ff2effe4feff0000ffeeefee4f4d0000f0fffffee04400000000f00f0000000000000000000000") +const _hex7412 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000088990900000000808899990000000088889999090000808888999999000080888899999909008098889999999900809989999999990980991919111111018099111911111100801111191111010080111119111100000010111911010000001011191100000000001119010000000000000000000000") +const _hex7415 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000cccc0000000000cccbcb0c00000000dcbbbccc000000ccdcbdbccc00c0ccbbbcddcccc00bcddbbcbddcbcc00dcddddbbdbcbcc0cdbddddbbdbcbbc0cdbddddbbdbbbbccbdbddddbddbdbbccbb0ddddbddbdbbccb00dbddbdbddbbccb00dbddbbbdbdbb0c00b0bbbbbbcdbb0c000000dbddcccb00000000b0cbbc0b00") +const _hex7418 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000007777070000000070007077ff0f0000000000771cfd0000ffffffffcb0f00ffddddbdfc11fdf01b1111ddfdcb0ff0111111bdbc1cfd1f111111f1dfff0f1f111111d1b1ff0f1f111111d111ff0f1f111111f1bfff0ff0111111bddcff0ff01b1111ddfdff0000ffddddbdfc00000000ffffffcf000000000000cffb0000") +const _hex7163 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dbddddcddbddddcdbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbbbbdbbbbbbccccccabccccccabdbddddcddbddddbdbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbcbbdbbbbbbbdbbbbcbccccccabccccccab") +const _hex7422 = pxsim.BufferMethods.createBufferFromHex("87041000100000007577777777777777777777777777777775776777577777577777557677777777777757657777777777577577777777777777557777777777777777557777777777775765777775777777577677775577777777777757577777777777775576777777757777657777777777777777777777777777777777777777777777777755") +const _hex7425 = pxsim.BufferMethods.createBufferFromHex("87041000100000006766666666666666666666666666666667668666766666766666776866666666666676876666666666766766666666666666776666666666666666776666666666667687666667666666766866667766666666666676766666666666667768666666676666876666666666666666666666666666666666666666666666666677") +const _hex7428 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dddddddddd1dd1dddddddddddd1dd1dddddddbdddddddddd1dd1dddddddddddd1dd1dddddddddddddddddddddbdddddddddddddddddd1dddddddddddddddddddddddddddddddddddddddbbddddddddddddddbbdddddddddddddddddddddddddddddddddddddddbddbdddddddddddddddddddddddddddddbddddddddddddddddd") +const _hex7431 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dddddddddddddd8d6d668868868686866d866686868686866d688868868686868d86d888666686868d86dd8d666666868d86d888666666866d688868666666866d866686666666886d868686886886886d868686866886866d868686666886866d868686666886866d868686866886888d886888686666868888888888888888") +const _hex7434 = pxsim.BufferMethods.createBufferFromHex("8704100010000000cccccccccccccc8cbcbb88b88b8b8b8bbc8bbb8b8b8b8b8bbcb888b88b8b8b8b8c8b6888bbbb8b8b8c8b6686bbbbbb8b8c8b6888bbbbbb8bbcb888b8bbbbbb8bbc8bbb8bbbbbbb88bc8b8b8b88b88b88bc8b8b8b8bb88b8bbc8b8b8bbbb88b8bbc8b8b8bbbb88b8bbc8b8b8b8bb88b888c88b888b8bbbb8b8888888888888888") +const _hex7437 = pxsim.BufferMethods.createBufferFromHex("8704100010000000efeeeefefffeeffeee44e4feeeeefeee4e4444eeee44e4ef4e4444e44e4444feee4444e4444444e4ee4444e4444444e4ef4e44ee444444e4feeefefe4e4444fefeffefeeef44e4effeef4e44eeeefe4eeeef4444e4efef44e4ef4444e4fe4e44e4ef444444fe4e44e4ee444444feee44e4fe4e44eeeeee4eeeeeefeefeefefee") +const _hex7440 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ffffffffffffffffffccfcffffffffffcfccccffffccfcffcfccccfccfccccffffccccfcccccccfcffccccfcccccccfcffcfccffccccccfcffffffffcfccccffffffffffffccfcffffffcfccffffffcfffffccccfcffffccfcffccccfcffcfccfcffccccccffcfccfcffccccccffffccfcffcfccffffffcfffffffffffffffff") +const _hex10040 = pxsim.BufferMethods.createBufferFromHex("87040800080000001111111101000010010000100100001001000010010000100100001011111111") +const _hex10043 = pxsim.BufferMethods.createBufferFromHex("87040800080000000000000010111101100000011000000110000001100000011011110100000000") +const _hex10046 = pxsim.BufferMethods.createBufferFromHex("8704060006000000111111000100100001001000010010000100100011111100") +const _hex10049 = pxsim.BufferMethods.createBufferFromHex("8704060006000000000000001011010010000100100001001011010000000000") +const _hex14744 = pxsim.BufferMethods.createBufferFromHex("87040800080000005555555505000050050000500500005005000050050000500500005055555555") +const _hex14747 = pxsim.BufferMethods.createBufferFromHex("87040800080000000000000050555505500000055000000550000005500000055055550500000000") @@ -2219,7 +2219,7 @@ function inline__P2079_mk(s) { -function tileworld_LoadScreen_constructor__P4577(s) { +function tileworld_LoadScreen_constructor__P16016(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2234,33 +2234,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_LoadScreen__C4572_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_LoadScreen__C16011_VT)) failedCast(r0); r0 = (s.arg0).fields["lastDir"] = (-1); - s.tmp_0 = tileworld_RuleVisualsBase_constructor__P4348_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_constructor__P10857_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = null; - s.callLocIdx = 1416; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1419; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = controller_setRepeatDefault__P709_mk(s); s.tmp_0.arg0 = 500; s.tmp_0.arg1 = 80; - s.callLocIdx = 1417; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1420; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P4648); + r0 = pxsim_pxtcore_mkAction(1, inline__P16027); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.A___665; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1434; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1437; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.tmp_0 = tileworld_LoadScreen__C4572_v0_1_mk(s); + s.tmp_0 = tileworld_LoadScreen__C16011_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_LoadScreen__C4572_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_LoadScreen__C16011_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: @@ -2269,12 +2269,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_LoadScreen_constructor__P4577.info = {"start":163,"length":1211,"line":7,"column":8,"endLine":32,"endColumn":9,"fileName":"loadScreen.ts","functionName":"inline","argumentNames":["this"]} +tileworld_LoadScreen_constructor__P16016.info = {"start":163,"length":1211,"line":7,"column":8,"endLine":32,"endColumn":9,"fileName":"loadScreen.ts","functionName":"inline","argumentNames":["this"]} -function tileworld_LoadScreen_constructor__P4577_mk(s) { +function tileworld_LoadScreen_constructor__P16016_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_LoadScreen_constructor__P4577, depth: s.depth + 1, + parent: s, fn: tileworld_LoadScreen_constructor__P16016, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2285,7 +2285,7 @@ function tileworld_LoadScreen_constructor__P4577_mk(s) { -function inline__P4648(s) { +function inline__P16027(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2295,14 +2295,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.first___4649 = undefined; - s.second___4661 = undefined; - s.slot___4691 = undefined; - s.prefix___4701 = undefined; - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.first___16028 = undefined; + s.second___16040 = undefined; + s.slot___16070 = undefined; + s.prefix___16080 = undefined; + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 1418; s.pc = 21; return s.tmp_2; + s.callLocIdx = 1421; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; s.tmp_1 = r0; @@ -2313,10 +2313,10 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 1419; s.pc = 22; return s.tmp_4; + s.callLocIdx = 1422; s.pc = 22; return s.tmp_4; case 22: r0 = s.retval; s.tmp_3 = r0; @@ -2324,11 +2324,11 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_5 = r0; - s.first___4649 = (s.tmp_5); - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.first___16028 = (s.tmp_5); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 1420; s.pc = 23; return s.tmp_2; + s.callLocIdx = 1423; s.pc = 23; return s.tmp_2; case 23: r0 = s.retval; s.tmp_1 = r0; @@ -2339,10 +2339,10 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_4 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 1421; s.pc = 24; return s.tmp_4; + s.callLocIdx = 1424; s.pc = 24; return s.tmp_4; case 24: r0 = s.retval; s.tmp_3 = r0; @@ -2350,14 +2350,14 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.second___4661 = (s.tmp_5); - s.tmp_0 = r0 = s.first___4649; + s.second___16040 = (s.tmp_5); + s.tmp_0 = r0 = s.first___16028; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 5; continue; } r0 = s.tmp_0; { step = 6; continue; } case 5: - r0 = s.second___4661; + r0 = s.second___16040; case 6: // jmp value (already in r0) s.tmp_1 = r0; @@ -2366,10 +2366,10 @@ switch (step) { r0 = s.tmp_1; { step = 10; continue; } case 7: - s.tmp_4 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 1422; s.pc = 25; return s.tmp_4; + s.callLocIdx = 1425; s.pc = 25; return s.tmp_4; case 25: r0 = s.retval; s.tmp_3 = r0; @@ -2380,10 +2380,10 @@ switch (step) { r0 = s.tmp_2; { step = 9; continue; } case 8: - s.tmp_6 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_6 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_6.arg0 = s.caps[0]; s.tmp_6.arg1 = true; - s.callLocIdx = 1423; s.pc = 26; return s.tmp_6; + s.callLocIdx = 1426; s.pc = 26; return s.tmp_6; case 26: r0 = s.retval; s.tmp_5 = r0; @@ -2397,7 +2397,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___4649); + r0 = pxsim_numops_toBoolDecr(s.first___16028); if (!r0) { step = 11; continue; } r0 = 0; { step = 12; continue; } @@ -2406,18 +2406,18 @@ switch (step) { case 12: // jmp value (already in r0) s.tmp_9 = r0; - s.tmp_12 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_12 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_12.arg0 = s.caps[0]; s.tmp_12.arg1 = true; - s.callLocIdx = 1424; s.pc = 27; return s.tmp_12; + s.callLocIdx = 1427; 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___4691 = (r0); - r0 = pxsim_numops.toString(s.slot___4691); + s.slot___16070 = (r0); + r0 = pxsim_numops.toString(s.slot___16070); s.tmp_3 = r0; if ((s.tmp_3) && (s.tmp_3).vtable) { setupResume(s, 28); @@ -2440,19 +2440,19 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "-"); - s.prefix___4701 = (r0); + s.prefix___16080 = (r0); s.tmp_0 = r0 = s.caps[0]; - s.tmp_2 = tileworld_loadProject__P3984_mk(s); - s.tmp_2.arg0 = s.prefix___4701; + s.tmp_2 = tileworld_loadProject__P6784_mk(s); + s.tmp_2.arg0 = s.prefix___16080; s.tmp_2.arg1 = false; - s.callLocIdx = 1425; s.pc = 30; return s.tmp_2; + s.callLocIdx = 1428; 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__C4572_v0_1_mk(s); + s.tmp_0 = tileworld_LoadScreen__C16011_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, tileworld_LoadScreen__C4572_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_LoadScreen__C16011_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: @@ -2466,17 +2466,17 @@ 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__P3986_mk(s); - s.tmp_5.arg0 = s.prefix___4701; - s.callLocIdx = 1426; s.pc = 32; return s.tmp_5; + s.tmp_5 = tileworld_emptyProject__P7143_mk(s); + s.tmp_5.arg0 = s.prefix___16080; + s.callLocIdx = 1429; 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__P3962_mk(s); + s.tmp_0 = tileworld_Project_saveProject__P6127_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 1427; s.pc = 33; return s.tmp_0; + s.callLocIdx = 1430; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; case 13: @@ -2484,24 +2484,24 @@ switch (step) { r0 = (s.caps[0]).fields["lastDir"] = (-1); r0 = (s.caps[0]).fields["lastDir"] = (-1); s.tmp_0 = game_pushScene__P1292_mk(s); - s.callLocIdx = 1428; s.pc = 34; return s.tmp_0; + s.callLocIdx = 1431; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_GameHome__C4561_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_GameHome__C15718_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_GameHome_constructor__P4565_mk(s); + s.tmp_1 = tileworld_GameHome_constructor__P15722_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.caps[0].fields["p"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 1429; s.pc = 35; return s.tmp_1; + s.callLocIdx = 1432; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; { step = 20; continue; } case 15: - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 1430; s.pc = 36; return s.tmp_2; + s.callLocIdx = 1433; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; s.tmp_1 = r0; @@ -2512,10 +2512,10 @@ switch (step) { r0 = s.tmp_0; { step = 17; continue; } case 16: - s.tmp_4 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 1431; s.pc = 37; return s.tmp_4; + s.callLocIdx = 1434; s.pc = 37; return s.tmp_4; case 37: r0 = s.retval; s.tmp_3 = r0; @@ -2526,15 +2526,15 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 18; continue; } s.tmp_6 = game_pushScene__P1292_mk(s); - s.callLocIdx = 1432; s.pc = 38; return s.tmp_6; + s.callLocIdx = 1435; s.pc = 38; return s.tmp_6; case 38: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_ProjectSettings__C4550_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_ProjectSettings__C15482_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_ProjectSettings_constructor__P4553_mk(s); + s.tmp_1 = tileworld_ProjectSettings_constructor__P15485_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = null; - s.callLocIdx = 1433; s.pc = 39; return s.tmp_1; + s.callLocIdx = 1436; s.pc = 39; return s.tmp_1; case 39: r0 = s.retval; case 18: @@ -2544,12 +2544,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P4648.info = {"start":321,"length":1012,"line":10,"column":64,"endLine":30,"endColumn":13,"fileName":"loadScreen.ts","functionName":"inline","argumentNames":[]} +inline__P16027.info = {"start":321,"length":1012,"line":10,"column":64,"endLine":30,"endColumn":13,"fileName":"loadScreen.ts","functionName":"inline","argumentNames":[]} -function inline__P4648_mk(s) { +function inline__P16027_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P4648, depth: s.depth + 1, + parent: s, fn: inline__P16027, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2564,17 +2564,17 @@ function inline__P4648_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - first___4649: undefined, - second___4661: undefined, - slot___4691: undefined, - prefix___4701: undefined, + first___16028: undefined, + second___16040: undefined, + slot___16070: undefined, + prefix___16080: undefined, } } -function tileworld_ProjectSettings_constructor__P4553(s) { +function tileworld_ProjectSettings_constructor__P15485(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2590,56 +2590,56 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ProjectSettings__C4550_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ProjectSettings__C15482_VT)) failedCast(r0); r0 = (s.arg0).fields["askDeleteRule"] = (false); - s.tmp_0 = tileworld_RuleVisualsBase_constructor__P4348_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_constructor__P10857_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1311; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1314; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P4337_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P10846_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1312; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1315; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P4338_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P10847_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1313; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1316; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P4765); + r0 = pxsim_pxtcore_mkAction(1, inline__P15496); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.A___665; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1330; s.pc = 4; return s.tmp_1; + s.callLocIdx = 1333; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P4839); + r0 = pxsim_pxtcore_mkAction(1, inline__P15567); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.B___667; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1332; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1335; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ProjectSettings_constructor__P4553.info = {"start":176,"length":1688,"line":6,"column":8,"endLine":46,"endColumn":9,"fileName":"settings.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_ProjectSettings_constructor__P15485.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__P4553_mk(s) { +function tileworld_ProjectSettings_constructor__P15485_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ProjectSettings_constructor__P4553, depth: s.depth + 1, + parent: s, fn: tileworld_ProjectSettings_constructor__P15485, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2651,7 +2651,7 @@ function tileworld_ProjectSettings_constructor__P4553_mk(s) { -function inline__P4765(s) { +function inline__P15496(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2661,7 +2661,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.keys___4770 = undefined; + s.keys___15501 = undefined; r0 = s.caps[0].fields["askDeleteRule"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -2674,29 +2674,29 @@ switch (step) { r0 = s.caps[0].fields["p"]; r0 = r0.fields["prefix"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 1314; s.pc = 24; return s.tmp_2; + s.callLocIdx = 1317; s.pc = 24; return s.tmp_2; case 24: r0 = s.retval; - s.keys___4770 = (r0); + s.keys___15501 = (r0); s.tmp_0 = helpers_arrayForEach__P60_mk(s); - s.tmp_0.arg0 = s.keys___4770; - s.tmp_0.arg1 = inline__P4779; - s.callLocIdx = 1316; s.pc = 25; return s.tmp_0; + s.tmp_0.arg0 = s.keys___15501; + s.tmp_0.arg1 = inline__P15508; + s.callLocIdx = 1319; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; s.tmp_0 = game_popScene__P1293_mk(s); - s.callLocIdx = 1317; s.pc = 26; return s.tmp_0; + s.callLocIdx = 1320; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; { step = 2; continue; } case 1: s.tmp_0 = settings_clear__P610_mk(s); - s.callLocIdx = 1318; s.pc = 27; return s.tmp_0; + s.callLocIdx = 1321; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; case 2: s.tmp_0 = game_popScene__P1293_mk(s); - s.callLocIdx = 1319; s.pc = 28; return s.tmp_0; + s.callLocIdx = 1322; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; { step = 22; continue; } @@ -2705,10 +2705,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__P4339_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_3.arg0 = s.caps[0]; s.tmp_3.arg1 = true; - s.callLocIdx = 1320; s.pc = 29; return s.tmp_3; + s.callLocIdx = 1323; s.pc = 29; return s.tmp_3; case 29: r0 = s.retval; s.tmp_2 = r0; @@ -2719,10 +2719,10 @@ switch (step) { r0 = s.tmp_1; { step = 5; continue; } case 4: - s.tmp_5 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_5 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_5.arg0 = s.caps[0]; s.tmp_5.arg1 = true; - s.callLocIdx = 1321; s.pc = 30; return s.tmp_5; + s.callLocIdx = 1324; s.pc = 30; return s.tmp_5; case 30: r0 = s.retval; s.tmp_4 = r0; @@ -2742,18 +2742,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__P3959_mk(s); + s.tmp_0 = tileworld_Project_saveHelp__P6124_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 1322; s.pc = 31; return s.tmp_0; + s.callLocIdx = 1325; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; { step = 11; continue; } case 6: - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 1323; s.pc = 32; return s.tmp_2; + s.callLocIdx = 1326; s.pc = 32; return s.tmp_2; case 32: r0 = s.retval; s.tmp_1 = r0; @@ -2764,10 +2764,10 @@ switch (step) { r0 = s.tmp_0; { step = 8; continue; } case 7: - s.tmp_4 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 1324; s.pc = 33; return s.tmp_4; + s.callLocIdx = 1327; s.pc = 33; return s.tmp_4; case 33: r0 = s.retval; s.tmp_3 = r0; @@ -2777,21 +2777,21 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 9; continue; } - s.tmp_6 = tileworld_loadProject__P3984_mk(s); + s.tmp_6 = tileworld_loadProject__P6784_mk(s); r0 = s.caps[0].fields["p"]; r0 = r0.fields["prefix"]; s.tmp_6.arg0 = r0; s.tmp_6.arg1 = true; - s.callLocIdx = 1325; s.pc = 34; return s.tmp_6; + s.callLocIdx = 1328; s.pc = 34; return s.tmp_6; case 34: r0 = s.retval; case 9: case 10: case 11: - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 1326; s.pc = 35; return s.tmp_2; + s.callLocIdx = 1329; s.pc = 35; return s.tmp_2; case 35: r0 = s.retval; s.tmp_1 = r0; @@ -2802,10 +2802,10 @@ switch (step) { r0 = s.tmp_0; { step = 13; continue; } case 12: - s.tmp_4 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 1327; s.pc = 36; return s.tmp_4; + s.callLocIdx = 1330; s.pc = 36; return s.tmp_4; case 36: r0 = s.retval; s.tmp_3 = r0; @@ -2820,10 +2820,10 @@ switch (step) { case 15: { step = 21; continue; } case 16: - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 1328; s.pc = 37; return s.tmp_2; + s.callLocIdx = 1331; s.pc = 37; return s.tmp_2; case 37: r0 = s.retval; s.tmp_1 = r0; @@ -2834,10 +2834,10 @@ switch (step) { r0 = s.tmp_0; { step = 18; continue; } case 17: - s.tmp_4 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 1329; s.pc = 38; return s.tmp_4; + s.callLocIdx = 1332; s.pc = 38; return s.tmp_4; case 38: r0 = s.retval; s.tmp_3 = r0; @@ -2853,9 +2853,9 @@ switch (step) { case 20: case 21: case 22: - s.tmp_0 = tileworld_ProjectSettings__C4550_v0_1_mk(s); + s.tmp_0 = tileworld_ProjectSettings__C15482_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, tileworld_ProjectSettings__C4550_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_ProjectSettings__C15482_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: @@ -2865,12 +2865,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P4765.info = {"start":335,"length":1249,"line":9,"column":64,"endLine":37,"endColumn":13,"fileName":"settings.ts","functionName":"inline","argumentNames":[]} +inline__P15496.info = {"start":335,"length":1249,"line":9,"column":64,"endLine":37,"endColumn":13,"fileName":"settings.ts","functionName":"inline","argumentNames":[]} -function inline__P4765_mk(s) { +function inline__P15496_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P4765, depth: s.depth + 1, + parent: s, fn: inline__P15496, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2883,14 +2883,14 @@ function inline__P4765_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - keys___4770: undefined, + keys___15501: undefined, } } -function inline__P4779(s) { +function inline__P15508(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2906,19 +2906,19 @@ switch (step) { } s.tmp_0 = settings_remove__P620_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1315; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1318; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P4779.info = {"start":525,"length":26,"line":13,"column":37,"endLine":13,"endColumn":63,"fileName":"settings.ts","functionName":"inline","argumentNames":["k"]} +inline__P15508.info = {"start":525,"length":26,"line":13,"column":37,"endLine":13,"endColumn":63,"fileName":"settings.ts","functionName":"inline","argumentNames":["k"]} -function inline__P4779_mk(s) { +function inline__P15508_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P4779, depth: s.depth + 1, + parent: s, fn: inline__P15508, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -2928,7 +2928,7 @@ function inline__P4779_mk(s) { -function inline__P4839(s) { +function inline__P15567(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2946,7 +2946,7 @@ switch (step) { { step = 2; continue; } case 1: s.tmp_0 = game_popScene__P1293_mk(s); - s.callLocIdx = 1331; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1334; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 2: @@ -2954,12 +2954,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P4839.info = {"start":1654,"length":197,"line":39,"column":64,"endLine":45,"endColumn":13,"fileName":"settings.ts","functionName":"inline","argumentNames":[]} +inline__P15567.info = {"start":1654,"length":197,"line":39,"column":64,"endLine":45,"endColumn":13,"fileName":"settings.ts","functionName":"inline","argumentNames":[]} -function inline__P4839_mk(s) { +function inline__P15567_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P4839, depth: s.depth + 1, + parent: s, fn: inline__P15567, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -2968,7 +2968,7 @@ function inline__P4839_mk(s) { -function tileworld_ProjectSettings_update__P4552(s) { +function tileworld_ProjectSettings_update__P15484(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2978,13 +2978,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.worldY___4886 = undefined; + s.worldY___15605 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ProjectSettings__C4550_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ProjectSettings__C15482_VT)) failedCast(r0); r0 = pxsim_ImageMethods.fill(globals.screen___578, 0); s.tmp_0 = helpers_imageFillRect__P517_mk(s); s.tmp_0.arg0 = globals.screen___578; @@ -2993,10 +2993,10 @@ switch (step) { s.tmp_0.arg3 = 16; s.tmp_0.arg4 = 16; s.tmp_0.arg5 = 11; - s.callLocIdx = 1333; s.pc = 9; return s.tmp_0; + s.callLocIdx = 1336; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___578, globals.settingsIcon___4009, 0, 6); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___578, globals.settingsIcon___7238, 0, 6); r0 = s.arg0.fields["p"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -3009,15 +3009,15 @@ switch (step) { s.tmp_1.arg4 = undefined; s.tmp_1.arg5 = undefined; s.tmp_1.arg6 = undefined; - s.callLocIdx = 1334; s.pc = 10; return s.tmp_1; + s.callLocIdx = 1337; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 3; s.tmp_0.arg2 = 1; - s.tmp_0.arg3 = globals.emptyTile___4015; - s.callLocIdx = 1335; s.pc = 11; return s.tmp_0; + s.tmp_0.arg3 = globals.emptyTile___7244; + s.callLocIdx = 1338; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = s.arg0.fields["p"]; @@ -3025,31 +3025,31 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = globals.collisionSprite___4027; + r0 = globals.collisionSprite___7256; { step = 2; continue; } case 1: - r0 = globals.genericSprite___4030; + r0 = globals.genericSprite___7259; case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_drawImage__P10850_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 = 1336; s.pc = 12; return s.tmp_2; + s.callLocIdx = 1339; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - s.worldY___4886 = (44); + s.worldY___15605 = (44); s.tmp_0 = helpers_imagePrint__P541_mk(s); s.tmp_0.arg0 = globals.screen___578; s.tmp_0.arg1 = "World"; s.tmp_0.arg2 = 16; - s.tmp_0.arg3 = s.worldY___4886; + s.tmp_0.arg3 = s.worldY___15605; s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1337; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1340; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; s.tmp_0 = helpers_imagePrint__P541_mk(s); @@ -3063,22 +3063,22 @@ 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___4886; + s.tmp_0.arg3 = s.worldY___15605; s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1339; s.pc = 14; return s.tmp_0; + s.callLocIdx = 1342; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; s.tmp_0 = helpers_imagePrint__P541_mk(s); s.tmp_0.arg0 = globals.screen___578; s.tmp_0.arg1 = "by"; s.tmp_0.arg2 = 96; - s.tmp_0.arg3 = s.worldY___4886; + s.tmp_0.arg3 = s.worldY___15605; s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1340; s.pc = 15; return s.tmp_0; + s.callLocIdx = 1343; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; s.tmp_0 = helpers_imagePrint__P541_mk(s); @@ -3092,11 +3092,11 @@ 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___4886; + s.tmp_0.arg3 = s.worldY___15605; s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1342; s.pc = 16; return s.tmp_0; + s.callLocIdx = 1345; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; s.tmp_0 = helpers_imagePrint__P541_mk(s); @@ -3109,7 +3109,7 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1343; s.pc = 17; return s.tmp_0; + s.callLocIdx = 1346; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; s.tmp_0 = helpers_imagePrint__P541_mk(s); @@ -3120,15 +3120,15 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1344; s.pc = 18; return s.tmp_0; + s.callLocIdx = 1347; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 4; s.tmp_0.arg2 = 5; - s.tmp_0.arg3 = globals.diskIcon___4141; - s.callLocIdx = 1345; s.pc = 19; return s.tmp_0; + s.tmp_0.arg3 = globals.diskIcon___7370; + s.callLocIdx = 1348; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; s.tmp_0 = helpers_imagePrint__P541_mk(s); @@ -3139,27 +3139,27 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1346; s.pc = 20; return s.tmp_0; + s.callLocIdx = 1349; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 4; s.tmp_0.arg2 = 6; - s.tmp_0.arg3 = globals.garbageCan___4006; - s.callLocIdx = 1347; s.pc = 21; return s.tmp_0; + s.tmp_0.arg3 = globals.garbageCan___7235; + s.callLocIdx = 1350; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; { step = 4; continue; } case 3: s.tmp_0 = helpers_imagePrint__P541_mk(s); s.tmp_0.arg0 = globals.screen___578; - if ((globals.TileWorldVersion___3925) && (globals.TileWorldVersion___3925).vtable) { + if ((globals.TileWorldVersion___5977) && (globals.TileWorldVersion___5977).vtable) { setupResume(s, 23); - pxsim_String__stringConv(globals.TileWorldVersion___3925); + pxsim_String__stringConv(globals.TileWorldVersion___5977); checkResumeConsumed(); return; - } else { s.retval = (globals.TileWorldVersion___3925) + ""; } + } else { s.retval = (globals.TileWorldVersion___5977) + ""; } case 23: r0 = s.retval; s.tmp_1 = r0; @@ -3170,7 +3170,7 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1348; s.pc = 22; return s.tmp_0; + s.callLocIdx = 1351; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; s.tmp_0 = helpers_imagePrint__P541_mk(s); @@ -3181,15 +3181,15 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1349; s.pc = 24; return s.tmp_0; + s.callLocIdx = 1352; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 7; s.tmp_0.arg2 = 2; - s.tmp_0.arg3 = globals.garbageCan___4006; - s.callLocIdx = 1350; s.pc = 25; return s.tmp_0; + s.tmp_0.arg3 = globals.garbageCan___7235; + s.callLocIdx = 1353; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; case 4: @@ -3202,7 +3202,7 @@ switch (step) { s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 128; s.tmp_1.arg2 = true; - s.callLocIdx = 1351; s.pc = 26; return s.tmp_1; + s.callLocIdx = 1354; s.pc = 26; return s.tmp_1; case 26: r0 = s.retval; r0 = s.arg0.fields["p"]; @@ -3221,7 +3221,7 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = "A = OK, B = CANCEL"; - s.callLocIdx = 1352; s.pc = 27; return s.tmp_2; + s.callLocIdx = 1355; s.pc = 27; return s.tmp_2; case 27: r0 = s.retval; { step = 8; continue; } @@ -3231,7 +3231,7 @@ switch (step) { s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = false; - s.callLocIdx = 1353; s.pc = 28; return s.tmp_0; + s.callLocIdx = 1356; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; case 8: @@ -3239,18 +3239,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ProjectSettings_update__P4552.info = {"start":1876,"length":1553,"line":48,"column":8,"endLine":78,"endColumn":9,"fileName":"settings.ts","functionName":"update","argumentNames":["this"]} +tileworld_ProjectSettings_update__P15484.info = {"start":1876,"length":1553,"line":48,"column":8,"endLine":78,"endColumn":9,"fileName":"settings.ts","functionName":"update","argumentNames":["this"]} -function tileworld_ProjectSettings_update__P4552_mk(s) { +function tileworld_ProjectSettings_update__P15484_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ProjectSettings_update__P4552, depth: s.depth + 1, + parent: s, fn: tileworld_ProjectSettings_update__P15484, depth: s.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___4886: undefined, + worldY___15605: undefined, arg0: undefined, } } @@ -3268,13 +3268,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.titleFont___4999 = undefined; - s.subFont___5004 = undefined; - s.footerFont___5009 = undefined; - s.h___5014 = undefined; - s.top___5033 = undefined; - s.y___5037 = undefined; - s.footerTop___5075 = undefined; + s.titleFont___24240 = undefined; + s.subFont___24245 = undefined; + s.footerFont___24250 = undefined; + s.h___24255 = undefined; + s.top___24274 = undefined; + s.y___24278 = undefined; + s.footerTop___24316 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -3283,7 +3283,7 @@ switch (step) { } s.tmp_0 = game_init__P1291_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 865; 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; @@ -3298,10 +3298,10 @@ switch (step) { s.tmp_1 = r0; s.tmp_2 = image_getFontForText__P533_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.callLocIdx = 866; s.pc = 22; return s.tmp_2; + s.callLocIdx = 868; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; - s.titleFont___4999 = (r0); + s.titleFont___24240 = (r0); s.tmp_0 = r0 = s.arg1; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } @@ -3314,10 +3314,10 @@ switch (step) { s.tmp_1 = r0; s.tmp_2 = image_getFontForText__P533_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.callLocIdx = 867; s.pc = 23; return s.tmp_2; + s.callLocIdx = 869; s.pc = 23; return s.tmp_2; case 23: r0 = s.retval; - s.subFont___5004 = (r0); + s.subFont___24245 = (r0); s.tmp_0 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 5; continue; } @@ -3330,43 +3330,43 @@ switch (step) { s.tmp_1 = r0; s.tmp_2 = image_getFontForText__P533_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.callLocIdx = 868; s.pc = 24; return s.tmp_2; + s.callLocIdx = 870; s.pc = 24; return s.tmp_2; case 24: r0 = s.retval; - s.footerFont___5009 = (r0); - s.h___5014 = (8); + s.footerFont___24250 = (r0); + s.h___24255 = (8); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 7; continue; } - s.tmp_0 = r0 = s.h___5014; + s.tmp_0 = r0 = s.h___24255; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.titleFont___4999; + s.tmp_2.arg0 = s.titleFont___24240; 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 = 869; 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___5014 = (r0); + s.h___24255 = (r0); case 7: case 8: r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 9; continue; } - s.tmp_0 = r0 = s.h___5014; + s.tmp_0 = r0 = s.h___24255; s.tmp_3 = if_charHeight_1_mk(s); - s.tmp_3.arg0 = s.subFont___5004; + s.tmp_3.arg0 = s.subFont___24245; 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 = 870; s.pc = 26; return s.tmp_3; } + else { s.callLocIdx = 872; s.pc = 26; return s.tmp_3; } } case 26: r0 = s.retval; @@ -3374,20 +3374,20 @@ switch (step) { r0 = (2 + s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.h___5014 = (r0); + s.h___24255 = (r0); case 9: case 10: - r0 = (s.h___5014 + 8); - s.h___5014 = (r0); + r0 = (s.h___24255 + 8); + s.h___24255 = (r0); s.tmp_0 = game_showDialogBackground__P1294_mk(s); - s.tmp_0.arg0 = s.h___5014; + s.tmp_0.arg0 = s.h___24255; s.tmp_0.arg1 = 9; - s.callLocIdx = 871; s.pc = 27; return s.tmp_0; + s.callLocIdx = 873; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.top___5033 = (r0); - r0 = (s.top___5033 + 8); - s.y___5037 = (r0); + s.top___24274 = (r0); + r0 = (s.top___24274 + 8); + s.y___24278 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 13; continue; } r0 = pxsim_ImageMethods.isMono(globals.screen___578); @@ -3405,23 +3405,23 @@ switch (step) { s.tmp_2.arg0 = globals.screen___578; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = 8; - s.tmp_2.arg3 = s.y___5037; + s.tmp_2.arg3 = s.y___24278; s.tmp_2.arg4 = s.tmp_1; - s.tmp_2.arg5 = s.titleFont___4999; + s.tmp_2.arg5 = s.titleFont___24240; s.tmp_2.arg6 = undefined; - s.callLocIdx = 872; 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___5037; + s.tmp_0 = r0 = s.y___24278; s.tmp_3 = if_charHeight_1_mk(s); - s.tmp_3.arg0 = s.titleFont___4999; + s.tmp_3.arg0 = s.titleFont___24240; 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 = 873; s.pc = 29; return s.tmp_3; } + else { s.callLocIdx = 875; s.pc = 29; return s.tmp_3; } } case 29: r0 = s.retval; @@ -3429,7 +3429,7 @@ switch (step) { r0 = (s.tmp_2 + 2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.y___5037 = (r0); + s.y___24278 = (r0); case 13: case 14: r0 = pxsim_numops_toBoolDecr(s.arg1); @@ -3449,23 +3449,23 @@ switch (step) { s.tmp_2.arg0 = globals.screen___578; s.tmp_2.arg1 = s.arg1; s.tmp_2.arg2 = 8; - s.tmp_2.arg3 = s.y___5037; + s.tmp_2.arg3 = s.y___24278; s.tmp_2.arg4 = s.tmp_1; - s.tmp_2.arg5 = s.subFont___5004; + s.tmp_2.arg5 = s.subFont___24245; s.tmp_2.arg6 = undefined; - s.callLocIdx = 874; 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___5037; + s.tmp_0 = r0 = s.y___24278; s.tmp_3 = if_charHeight_1_mk(s); - s.tmp_3.arg0 = s.subFont___5004; + s.tmp_3.arg0 = s.subFont___24245; 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 = 875; s.pc = 31; return s.tmp_3; } + else { s.callLocIdx = 877; s.pc = 31; return s.tmp_3; } } case 31: r0 = s.retval; @@ -3473,7 +3473,7 @@ switch (step) { r0 = (s.tmp_2 + 2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.y___5037 = (r0); + s.y___24278 = (r0); case 17: case 18: r0 = pxsim_numops_toBoolDecr(s.arg2); @@ -3481,14 +3481,14 @@ switch (step) { r0 = pxsim_ImageMethods.height(globals.screen___578); s.tmp_1 = r0; s.tmp_3 = if_charHeight_1_mk(s); - s.tmp_3.arg0 = s.footerFont___5009; + s.tmp_3.arg0 = s.footerFont___24250; 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 = 876; s.pc = 32; return s.tmp_3; } + else { s.callLocIdx = 878; s.pc = 32; return s.tmp_3; } } case 32: r0 = s.retval; @@ -3496,22 +3496,22 @@ switch (step) { r0 = (s.tmp_1 - s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 - 4); - s.footerTop___5075 = (r0); + s.footerTop___24316 = (r0); s.tmp_0 = helpers_imageFillRect__P517_mk(s); s.tmp_0.arg0 = globals.screen___578; s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = s.footerTop___5075; + s.tmp_0.arg2 = s.footerTop___24316; r0 = pxsim_ImageMethods.width(globals.screen___578); s.tmp_0.arg3 = r0; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.footerFont___5009; + s.tmp_2.arg0 = s.footerFont___24250; 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 = 877; s.pc = 34; return s.tmp_2; } + else { s.callLocIdx = 879; s.pc = 34; return s.tmp_2; } } case 34: r0 = s.retval; @@ -3519,18 +3519,18 @@ switch (step) { r0 = (s.tmp_1 + 4); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 0; - s.callLocIdx = 878; 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__P519_mk(s); s.tmp_0.arg0 = globals.screen___578; s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = s.footerTop___5075; + s.tmp_0.arg2 = s.footerTop___24316; r0 = pxsim_ImageMethods.width(globals.screen___578); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = s.footerTop___5075; + s.tmp_0.arg4 = s.footerTop___24316; s.tmp_0.arg5 = 1; - s.callLocIdx = 879; 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__P541_mk(s); @@ -3541,14 +3541,14 @@ switch (step) { r0 = pxsim_String_.length(s.arg2); s.tmp_4 = r0; s.tmp_6 = if_charWidth_1_mk(s); - s.tmp_6.arg0 = s.footerFont___5009; + s.tmp_6.arg0 = s.footerFont___24250; 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 = 880; s.pc = 37; return s.tmp_6; } + else { s.callLocIdx = 882; s.pc = 37; return s.tmp_6; } } case 37: r0 = s.retval; @@ -3562,14 +3562,14 @@ switch (step) { r0 = pxsim_ImageMethods.height(globals.screen___578); s.tmp_8 = r0; s.tmp_10 = if_charHeight_1_mk(s); - s.tmp_10.arg0 = s.footerFont___5009; + s.tmp_10.arg0 = s.footerFont___24250; 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 = 881; s.pc = 38; return s.tmp_10; } + else { s.callLocIdx = 883; s.pc = 38; return s.tmp_10; } } case 38: r0 = s.retval; @@ -3579,9 +3579,9 @@ switch (step) { r0 = (s.tmp_7 - 2); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.footerFont___5009; + s.tmp_0.arg5 = s.footerFont___24250; s.tmp_0.arg6 = undefined; - s.callLocIdx = 882; s.pc = 36; return s.tmp_0; + s.callLocIdx = 884; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; case 19: @@ -3608,13 +3608,13 @@ function game_showDialog__P1295_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - titleFont___4999: undefined, - subFont___5004: undefined, - footerFont___5009: undefined, - h___5014: undefined, - top___5033: undefined, - y___5037: undefined, - footerTop___5075: undefined, + titleFont___24240: undefined, + subFont___24245: undefined, + footerFont___24250: undefined, + h___24255: undefined, + top___24274: undefined, + y___24278: undefined, + footerTop___24316: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -3634,7 +3634,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.top___5177 = undefined; + s.top___24360 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -3645,47 +3645,47 @@ switch (step) { r0 = (s.tmp_1 - s.arg0); s.tmp_0 = r0; r0 = (s.tmp_0 >> 1); - s.top___5177 = (r0); + s.top___24360 = (r0); s.tmp_0 = helpers_imageFillRect__P517_mk(s); s.tmp_0.arg0 = globals.screen___578; s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = s.top___5177; + s.tmp_0.arg2 = s.top___24360; r0 = pxsim_ImageMethods.width(globals.screen___578); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg0; s.tmp_0.arg5 = 0; - s.callLocIdx = 862; 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__P519_mk(s); s.tmp_0.arg0 = globals.screen___578; s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = s.top___5177; + s.tmp_0.arg2 = s.top___24360; r0 = pxsim_ImageMethods.width(globals.screen___578); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = s.top___5177; + s.tmp_0.arg4 = s.top___24360; s.tmp_0.arg5 = 1; - s.callLocIdx = 863; 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__P519_mk(s); s.tmp_0.arg0 = globals.screen___578; s.tmp_0.arg1 = 0; - r0 = (s.top___5177 + s.arg0); + r0 = (s.top___24360 + s.arg0); s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg2 = r0; r0 = pxsim_ImageMethods.width(globals.screen___578); s.tmp_0.arg3 = r0; - r0 = (s.top___5177 + s.arg0); + r0 = (s.top___24360 + s.arg0); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 1; - s.callLocIdx = 864; 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___5177; + r0 = s.top___24360; return leave(s, r0) default: oops() } } } @@ -3699,7 +3699,7 @@ function game_showDialogBackground__P1294_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - top___5177: undefined, + top___24360: undefined, arg0: undefined, arg1: undefined, } } @@ -3742,12 +3742,12 @@ switch (step) { s.tmp_4 = scene_Scene_constructor__P1203_mk(s); s.tmp_4.arg0 = s.tmp_3; s.tmp_5 = control_pushEventContext__P304_mk(s); - s.callLocIdx = 847; s.pc = 14; return s.tmp_5; + 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___1280; - s.callLocIdx = 848; s.pc = 13; return s.tmp_4; + s.callLocIdx = 850; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; globals._scene___1280 = (s.tmp_3); @@ -3755,7 +3755,7 @@ switch (step) { case 4: s.tmp_0 = scene_Scene_init__P1196_mk(s); s.tmp_0.arg0 = globals._scene___1280; - s.callLocIdx = 849; s.pc = 15; return s.tmp_0; + s.callLocIdx = 851; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(globals.winEffect___1273); @@ -3818,7 +3818,7 @@ function game_init__P1291_mk(s) { -function inline__P5267(s) { +function inline__P21066(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3828,11 +3828,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rounds___5270 = undefined; - s.j___5278 = undefined; - s.x___5283 = undefined; - s.y___5289 = undefined; - s.c___5295 = undefined; + s.rounds___21069 = undefined; + s.j___21077 = undefined; + s.x___21082 = undefined; + s.y___21088 = undefined; + s.c___21094 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -3845,10 +3845,10 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.rounds___5270 = (r0); - s.j___5278 = (0); + s.rounds___21069 = (r0); + s.j___21077 = (0); case 1: - r0 = (s.j___5278 < s.rounds___5270); + r0 = (s.j___21077 < s.rounds___21069); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } @@ -3862,7 +3862,7 @@ switch (step) { s.callLocIdx = 44; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___5283 = (r0); + s.x___21082 = (r0); s.tmp_0 = Math_FastRandom_randomRange__P1567_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; @@ -3873,42 +3873,42 @@ switch (step) { s.callLocIdx = 45; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___5289 = (r0); - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___5283, s.y___5289); - s.c___5295 = (r0); + s.y___21088 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___21082, s.y___21088); + s.c___21094 = (r0); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___5283; - r0 = (s.y___5289 + 1); + s.tmp_1 = r0 = s.x___21082; + r0 = (s.y___21088 + 1); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___5295); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___21094); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___5283; - r0 = (s.y___5289 + 2); + s.tmp_1 = r0 = s.x___21082; + r0 = (s.y___21088 + 2); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___5295); - r0 = (s.j___5278 + 1); - s.j___5278 = (r0); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___21094); + r0 = (s.j___21077 + 1); + s.j___21077 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P5267.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__P21066.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__P5267_mk(s) { +function inline__P21066_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P5267, depth: s.depth + 1, + parent: s, fn: inline__P21066, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rounds___5270: undefined, - j___5278: undefined, - x___5283: undefined, - y___5289: undefined, - c___5295: undefined, + rounds___21069: undefined, + j___21077: undefined, + x___21082: undefined, + y___21088: undefined, + c___21094: undefined, arg0: undefined, arg1: undefined, } } @@ -3941,7 +3941,7 @@ switch (step) { if (!r0) { step = 1; continue; } s.tmp_2 = Math_FastRandom_next__P1566_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 896; 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; @@ -4064,7 +4064,7 @@ switch (step) { s.tmp_1 = Math_FastRandom_constructor__P1572_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 1182; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1184; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = (s.arg0).fields["fastRandom"] = (s.tmp_0); @@ -4092,7 +4092,7 @@ function effects_ImageEffect_constructor__P1897_mk(s) { -function inline__P5377(s) { +function inline__P21174(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4102,7 +4102,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___5380 = undefined; + s.factory___21177 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4150,9 +4150,9 @@ switch (step) { s.callLocIdx = 34; s.pc = 5; return s.tmp_5; case 5: r0 = s.retval; - s.factory___5380 = (s.tmp_0); + s.factory___21177 = (s.tmp_0); s.tmp_0 = particles_SprayFactory_setSpeed__P1783_mk(s); - s.tmp_0.arg0 = s.factory___5380; + s.tmp_0.arg0 = s.factory___21177; s.tmp_0.arg1 = 30; s.callLocIdx = 35; s.pc = 6; return s.tmp_0; case 6: @@ -4163,7 +4163,7 @@ switch (step) { 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___5380; + s.tmp_1.arg3 = s.factory___21177; s.callLocIdx = 36; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; @@ -4171,12 +4171,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P5377.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__P21174.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__P5377_mk(s) { +function inline__P21174_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P5377, depth: s.depth + 1, + parent: s, fn: inline__P21174, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4184,7 +4184,7 @@ function inline__P5377_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - factory___5380: undefined, + factory___21177: undefined, arg0: undefined, arg1: undefined, } } @@ -4203,8 +4203,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___5402 = undefined; - s.removedSource___5411 = undefined; + s.sources___21199 = undefined; + s.removedSource___21208 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4217,39 +4217,39 @@ switch (step) { s.tmp_0 = sprites_BaseSprite_constructor__P647_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1058; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1060; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; s.tmp_0 = particles_init__P1737_mk(s); - s.callLocIdx = 1059; s.pc = 6; return s.tmp_0; + s.callLocIdx = 1061; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; s.tmp_0 = particles_particleSources__P1752_mk(s); - s.callLocIdx = 1060; s.pc = 7; return s.tmp_0; + s.callLocIdx = 1062; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.sources___5402 = (r0); - r0 = pxsim_Array__length(s.sources___5402); + s.sources___21199 = (r0); + r0 = pxsim_Array__length(s.sources___21199); s.tmp_1 = r0; r0 = (s.tmp_1 >= globals.MAX_SOURCES___1694); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_2 = particles_sortSources__P1740_mk(s); - s.tmp_2.arg0 = s.sources___5402; - s.callLocIdx = 1061; s.pc = 8; return s.tmp_2; + s.tmp_2.arg0 = s.sources___21199; + s.callLocIdx = 1063; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - r0 = pxsim_Array_.removeAt(s.sources___5402, 0); - s.removedSource___5411 = (r0); + r0 = pxsim_Array_.removeAt(s.sources___21199, 0); + s.removedSource___21208 = (r0); s.tmp_0 = particles_ParticleSource_clear__P1726_mk(s); - s.tmp_0.arg0 = s.removedSource___5411; - s.callLocIdx = 1063; s.pc = 9; return s.tmp_0; + s.tmp_0.arg0 = s.removedSource___21208; + s.callLocIdx = 1065; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; s.tmp_0 = particles_ParticleSource_destroy__P1725_mk(s); - s.tmp_0.arg0 = s.removedSource___5411; - s.callLocIdx = 1064; s.pc = 10; return s.tmp_0; + s.tmp_0.arg0 = s.removedSource___21208; + s.callLocIdx = 1066; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; case 1: @@ -4258,20 +4258,20 @@ switch (step) { s.tmp_0 = particles_ParticleSource_setRate__P1728_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; - s.callLocIdx = 1065; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1067; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; s.tmp_0 = particles_ParticleSource_setAcceleration__P1720_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - s.callLocIdx = 1066; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1068; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; s.tmp_0 = particles_ParticleSource_setAnchor__P1727_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1067; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1069; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = (s.arg0).fields["lifespan"] = (undefined); @@ -4290,14 +4290,14 @@ switch (step) { s.tmp_2 = particles_ParticleSource_setFactory__P1730_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 1068; s.pc = 14; return s.tmp_2; + s.callLocIdx = 1070; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; - r0 = pxsim_Array__push(s.sources___5402, s.arg0); + r0 = pxsim_Array__push(s.sources___21199, s.arg0); s.tmp_0 = particles_ParticleSource_enabled__P1724_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1069; s.pc = 15; return s.tmp_0; + s.callLocIdx = 1071; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; r0 = undefined; @@ -4314,8 +4314,8 @@ function particles_ParticleSource_constructor__P1733_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - sources___5402: undefined, - removedSource___5411: undefined, + sources___21199: undefined, + removedSource___21208: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4336,14 +4336,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___5852 = undefined; + s.sources___21529 = undefined; s.tmp_0 = game_currentScene__P961_mk(s); - s.callLocIdx = 1120; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1122; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["particleSources"]; - s.sources___5852 = (r0); - r0 = s.sources___5852; + s.sources___21529 = (r0); + r0 = s.sources___21529; return leave(s, r0) default: oops() } } } @@ -4355,7 +4355,7 @@ function particles_particleSources__P1752_mk(s) { parent: s, fn: particles_particleSources__P1752, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___5852: undefined, + sources___21529: undefined, } } @@ -4378,8 +4378,8 @@ switch (step) { } s.tmp_0 = helpers_arraySort__P56_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = inline__P5720; - s.callLocIdx = 1107; s.pc = 1; return s.tmp_0; + s.tmp_0.arg1 = inline__P21514; + s.callLocIdx = 1109; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; @@ -4401,7 +4401,7 @@ function particles_sortSources__P1740_mk(s) { -function inline__P5720(s) { +function inline__P21514(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4439,12 +4439,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P5720.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__P21514.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__P5720_mk(s) { +function inline__P21514_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P5720, depth: s.depth + 1, + parent: s, fn: inline__P21514, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4492,7 +4492,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.arg1 = (inline__P5744); + s.arg1 = (inline__P25468); case 3: case 4: s.tmp_0 = helpers_sortHelper__P55_mk(s); @@ -4523,7 +4523,7 @@ function helpers_arraySort__P56_mk(s) { -function inline__P5744(s) { +function inline__P25468(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4533,26 +4533,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.aIsUndef___5747 = undefined; - s.bIsUndef___5751 = undefined; - s.aIsNull___5762 = undefined; - s.bIsNull___5766 = undefined; + s.aIsUndef___25471 = undefined; + s.bIsUndef___25475 = undefined; + s.aIsNull___25486 = undefined; + s.bIsNull___25490 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = (s.arg0 === undefined); - s.aIsUndef___5747 = (r0); + s.aIsUndef___25471 = (r0); r0 = (s.arg1 === undefined); - s.bIsUndef___5751 = (r0); - s.tmp_0 = r0 = s.aIsUndef___5747; + s.bIsUndef___25475 = (r0); + s.tmp_0 = r0 = s.aIsUndef___25471; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.bIsUndef___5751; + r0 = s.bIsUndef___25475; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -4562,13 +4562,13 @@ switch (step) { { step = 17; continue; } { step = 8; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(s.aIsUndef___5747); + r0 = pxsim_numops_toBoolDecr(s.aIsUndef___25471); if (!r0) { step = 4; continue; } r0 = 1; { step = 17; continue; } { step = 7; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(s.bIsUndef___5751); + r0 = pxsim_numops_toBoolDecr(s.bIsUndef___25475); if (!r0) { step = 5; continue; } r0 = -1; { step = 17; continue; } @@ -4577,16 +4577,16 @@ switch (step) { case 7: case 8: r0 = (s.arg0 === null); - s.aIsNull___5762 = (r0); + s.aIsNull___25486 = (r0); r0 = (s.arg1 === null); - s.bIsNull___5766 = (r0); - s.tmp_0 = r0 = s.aIsNull___5762; + s.bIsNull___25490 = (r0); + s.tmp_0 = r0 = s.aIsNull___25486; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 9; continue; } r0 = s.tmp_0; { step = 10; continue; } case 9: - r0 = s.bIsNull___5766; + r0 = s.bIsNull___25490; case 10: // jmp value (already in r0) s.tmp_1 = r0; @@ -4596,13 +4596,13 @@ switch (step) { { step = 17; continue; } { step = 16; continue; } case 11: - r0 = pxsim_numops_toBoolDecr(s.aIsNull___5762); + r0 = pxsim_numops_toBoolDecr(s.aIsNull___25486); if (!r0) { step = 12; continue; } r0 = 1; { step = 17; continue; } { step = 15; continue; } case 12: - r0 = pxsim_numops_toBoolDecr(s.bIsNull___5766); + r0 = pxsim_numops_toBoolDecr(s.bIsNull___25490); if (!r0) { step = 13; continue; } r0 = -1; { step = 17; continue; } @@ -4641,12 +4641,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P5744.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__P25468.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__P5744_mk(s) { +function inline__P25468_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P5744, depth: s.depth + 1, + parent: s, fn: inline__P25468, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4656,10 +4656,10 @@ function inline__P5744_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - aIsUndef___5747: undefined, - bIsUndef___5751: undefined, - aIsNull___5762: undefined, - bIsNull___5766: undefined, + aIsUndef___25471: undefined, + bIsUndef___25475: undefined, + aIsNull___25486: undefined, + bIsNull___25490: undefined, arg0: undefined, arg1: undefined, } } @@ -4678,9 +4678,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___5802 = undefined; - s.i___5805 = undefined; - s.j___5811 = undefined; + s.len___25526 = undefined; + s.i___25529 = undefined; + s.j___25535 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4708,28 +4708,28 @@ switch (step) { case 3: case 4: r0 = pxsim_Array__length(s.arg0); - s.len___5802 = (r0); - s.i___5805 = (0); + s.len___25526 = (r0); + s.i___25529 = (0); case 5: - s.tmp_1 = r0 = s.i___5805; - r0 = (s.len___5802 - 1); + s.tmp_1 = r0 = s.i___25529; + r0 = (s.len___25526 - 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___5805 + 1); - s.j___5811 = (r0); + r0 = (s.i___25529 + 1); + s.j___25535 = (r0); case 6: - r0 = (s.j___5811 < s.len___5802); + r0 = (s.j___25535 < s.len___25526); 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___5805); + r0 = pxsim_Array__getAt(s.arg0, s.i___25529); s.tmp_3.arg0 = r0; - r0 = pxsim_Array__getAt(s.arg0, s.j___5811); + r0 = pxsim_Array__getAt(s.arg0, s.j___25535); s.tmp_3.arg1 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 1; s.pc = 12; return s.tmp_3; @@ -4742,19 +4742,19 @@ switch (step) { if (!r0) { step = 7; continue; } s.tmp_4 = helpers_swap__P54_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.i___5805; - s.tmp_4.arg2 = s.j___5811; + s.tmp_4.arg1 = s.i___25529; + s.tmp_4.arg2 = s.j___25535; s.callLocIdx = 2; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; case 7: case 8: - r0 = (s.j___5811 + 1); - s.j___5811 = (r0); + r0 = (s.j___25535 + 1); + s.j___25535 = (r0); { step = 6; continue; } case 9: - r0 = (s.i___5805 + 1); - s.i___5805 = (r0); + r0 = (s.i___25529 + 1); + s.i___25529 = (r0); { step = 5; continue; } case 10: r0 = s.arg0; @@ -4774,9 +4774,9 @@ function helpers_sortHelper__P55_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - len___5802: undefined, - i___5805: undefined, - j___5811: undefined, + len___25526: undefined, + i___25529: undefined, + j___25535: undefined, arg0: undefined, arg1: undefined, } } @@ -4795,7 +4795,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.temp___5840 = undefined; + s.temp___25564 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4803,13 +4803,13 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__getAt(s.arg0, s.arg1); - s.temp___5840 = (r0); + s.temp___25564 = (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___5840); + r0 = pxsim_Array_.setAt(s.arg0, s.arg2, s.temp___25564); r0 = undefined; return leave(s, r0) default: oops() @@ -4824,7 +4824,7 @@ function helpers_swap__P54_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - temp___5840: undefined, + temp___25564: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4844,20 +4844,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___5858 = undefined; + s.scene___21535 = undefined; s.tmp_0 = game_currentScene__P961_mk(s); - s.callLocIdx = 1097; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1099; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.scene___5858 = (r0); - r0 = s.scene___5858.fields["particleSources"]; + s.scene___21535 = (r0); + r0 = s.scene___21535.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___5858; + s.tmp_1 = r0 = s.scene___21535; r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = (s.tmp_1).fields["particleSources"] = (s.tmp_2); @@ -4865,13 +4865,13 @@ switch (step) { globals.lastUpdate___1712 = (r0); s.tmp_0 = game_onUpdate__P1300_mk(s); s.tmp_0.arg0 = particles_updateParticles__P1738; - s.callLocIdx = 1098; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1100; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; s.tmp_0 = game_onUpdateInterval__P1301_mk(s); s.tmp_0.arg0 = 250; s.tmp_0.arg1 = particles_pruneParticles__P1739; - s.callLocIdx = 1099; s.pc = 6; return s.tmp_0; + s.callLocIdx = 1101; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: @@ -4889,7 +4889,7 @@ function particles_init__P1737_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scene___5858: undefined, + scene___21535: undefined, } } @@ -4906,26 +4906,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___5873 = undefined; + s.sources___21550 = undefined; s.tmp_0 = particles_particleSources__P1752_mk(s); - s.callLocIdx = 1103; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1105; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___5873 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___5873); + s.sources___21550 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___21550); if (!r0) { step = 1; continue; } s.tmp_0 = helpers_arrayForEach__P60_mk(s); s.tmp_1 = helpers_arraySlice__P65_mk(s); - s.tmp_1.arg0 = s.sources___5873; + s.tmp_1.arg0 = s.sources___21550; s.tmp_1.arg1 = 0; - r0 = pxsim_Array__length(s.sources___5873); + r0 = pxsim_Array__length(s.sources___21550); s.tmp_1.arg2 = r0; - s.callLocIdx = 1104; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1106; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P5883; - s.callLocIdx = 1106; s.pc = 4; return s.tmp_0; + s.tmp_0.arg1 = inline__P21559; + s.callLocIdx = 1108; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 1: @@ -4943,14 +4943,14 @@ function particles_pruneParticles__P1739_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sources___5873: undefined, + sources___21550: undefined, } } -function inline__P5883(s) { +function inline__P21559(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4966,19 +4966,19 @@ switch (step) { } s.tmp_0 = particles_ParticleSource__prune__P1719_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1105; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1107; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P5883.info = {"start":9980,"length":15,"line":328,"column":62,"endLine":328,"endColumn":77,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P21559.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__P5883_mk(s) { +function inline__P21559_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P5883, depth: s.depth + 1, + parent: s, fn: inline__P21559, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -4998,9 +4998,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___5663 = undefined; - s.sources___5673 = undefined; - s.current___5687 = undefined; + s.scene___21460 = undefined; + s.sources___21468 = undefined; + s.current___21482 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -5050,35 +5050,35 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 13; continue; } s.tmp_5 = game_currentScene__P961_mk(s); - s.callLocIdx = 1078; s.pc = 21; return s.tmp_5; + s.callLocIdx = 1080; s.pc = 21; return s.tmp_5; case 21: r0 = s.retval; - s.scene___5663 = (r0); - r0 = pxsim_numops_toBoolDecr(s.scene___5663); + s.scene___21460 = (r0); + r0 = pxsim_numops_toBoolDecr(s.scene___21460); if (!r0) { step = 7; continue; } - r0 = s.scene___5663.fields["allSprites"]; + r0 = s.scene___21460.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); case 7: case 8: s.tmp_0 = particles_particleSources__P1752_mk(s); - s.callLocIdx = 1079; s.pc = 22; return s.tmp_0; + s.callLocIdx = 1081; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.sources___5673 = (r0); - s.tmp_0 = r0 = s.sources___5673; + s.sources___21468 = (r0); + s.tmp_0 = r0 = s.sources___21468; 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___5673); + r0 = pxsim_Array__length(s.sources___21468); 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___5673, s.arg0); + r0 = pxsim_Array_.removeElement(s.sources___21468, s.arg0); case 11: case 12: r0 = s.arg0.fields["anchor"]; @@ -5087,35 +5087,35 @@ switch (step) { case 13: case 14: r0 = s.arg0.fields["head"]; - s.current___5687 = (r0); + s.current___21482 = (r0); case 15: - s.tmp_0 = r0 = s.current___5687; + s.tmp_0 = r0 = s.current___21482; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 16; continue; } r0 = s.tmp_0; { step = 17; continue; } case 16: - r0 = s.current___5687.fields["next"]; + r0 = s.current___21482.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___5687.fields["next"]; + r0 = s.current___21482.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___5687.fields["next"]; + r0 = s.current___21482.fields["next"]; r0 = r0.fields["next"]; s.tmp_4 = r0; - r0 = (s.current___5687).fields["next"] = (s.tmp_4); + r0 = (s.current___21482).fields["next"] = (s.tmp_4); { step = 19; continue; } case 18: - r0 = s.current___5687.fields["next"]; - s.current___5687 = (r0); + r0 = s.current___21482.fields["next"]; + s.current___21482 = (r0); case 19: { step = 15; continue; } case 20: @@ -5136,9 +5136,9 @@ function particles_ParticleSource__prune__P1719_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___5663: undefined, - sources___5673: undefined, - current___5687: undefined, + scene___21460: undefined, + sources___21468: undefined, + current___21482: undefined, arg0: undefined, } } @@ -5156,9 +5156,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___5890 = undefined; - s.len___5892 = undefined; - s.i___5926 = undefined; + s.res___20819 = undefined; + s.len___20821 = undefined; + s.i___20855 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5166,9 +5166,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___5890 = (r0); + s.res___20819 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___5892 = (r0); + s.len___20821 = (r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -5181,7 +5181,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } s.tmp_1 = Math_max__P78_mk(s); - r0 = (s.len___5892 + s.arg1); + r0 = (s.len___20821 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 10; s.pc = 16; return s.tmp_1; @@ -5191,11 +5191,11 @@ switch (step) { case 2: case 3: case 4: - r0 = (s.arg1 > s.len___5892); + r0 = (s.arg1 > s.len___20821); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.res___5890; + r0 = s.res___20819; { step = 15; continue; } case 5: case 6: @@ -5203,40 +5203,40 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.arg2 = (s.len___5892); + s.arg2 = (s.len___20821); { 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___5892 + s.arg2); + r0 = (s.len___20821 + s.arg2); s.arg2 = (r0); case 8: case 9: case 10: - r0 = (s.arg2 > s.len___5892); + r0 = (s.arg2 > s.len___20821); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.arg2 = (s.len___5892); + s.arg2 = (s.len___20821); case 11: case 12: - s.i___5926 = (s.arg1); + s.i___20855 = (s.arg1); case 13: - r0 = (s.i___5926 < s.arg2); + r0 = (s.i___20855 < s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_1 = r0 = s.res___5890; - r0 = pxsim_Array__getAt(s.arg0, s.i___5926); + s.tmp_1 = r0 = s.res___20819; + r0 = pxsim_Array__getAt(s.arg0, s.i___20855); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___5926 + 1); - s.i___5926 = (r0); + r0 = (s.i___20855 + 1); + s.i___20855 = (r0); { step = 13; continue; } case 14: - r0 = s.res___5890; + r0 = s.res___20819; case 15: return leave(s, r0) default: oops() @@ -5251,9 +5251,9 @@ function helpers_arraySlice__P65_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - res___5890: undefined, - len___5892: undefined, - i___5926: undefined, + res___20819: undefined, + len___20821: undefined, + i___20855: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -5317,16 +5317,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___6417 = undefined; - s.time___6424 = undefined; - s.dt___6427 = undefined; - s.i___6433 = undefined; + s.sources___22033 = undefined; + s.time___22040 = undefined; + s.dt___22043 = undefined; + s.i___22049 = undefined; s.tmp_0 = particles_particleSources__P1752_mk(s); - s.callLocIdx = 1100; s.pc = 6; return s.tmp_0; + s.callLocIdx = 1102; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sources___6417 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___6417); + s.sources___22033 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___22033); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -5336,33 +5336,33 @@ switch (step) { case 1: case 2: s.tmp_2 = particles_sortSources__P1740_mk(s); - s.tmp_2.arg0 = s.sources___6417; - s.callLocIdx = 1101; s.pc = 7; return s.tmp_2; + s.tmp_2.arg0 = s.sources___22033; + s.callLocIdx = 1103; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = pxsim.control.millis(); - s.time___6424 = (r0); - r0 = (s.time___6424 - globals.lastUpdate___1712); - s.dt___6427 = (r0); - globals.lastUpdate___1712 = (s.time___6424); - s.i___6433 = (0); + s.time___22040 = (r0); + r0 = (s.time___22040 - globals.lastUpdate___1712); + s.dt___22043 = (r0); + globals.lastUpdate___1712 = (s.time___22040); + s.i___22049 = (0); case 3: - s.tmp_1 = r0 = s.i___6433; - r0 = pxsim_Array__length(s.sources___6417); + s.tmp_1 = r0 = s.i___22049; + r0 = pxsim_Array__length(s.sources___22033); 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__P1718_mk(s); - r0 = pxsim_Array__getAt(s.sources___6417, s.i___6433); + r0 = pxsim_Array__getAt(s.sources___22033, s.i___22049); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.dt___6427; - s.callLocIdx = 1102; s.pc = 8; return s.tmp_3; + s.tmp_3.arg1 = s.dt___22043; + s.callLocIdx = 1104; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___6433 + 1); - s.i___6433 = (r0); + r0 = (s.i___22049 + 1); + s.i___22049 = (r0); { step = 3; continue; } case 4: case 5: @@ -5381,10 +5381,10 @@ function particles_updateParticles__P1738_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - sources___6417: undefined, - time___6424: undefined, - dt___6427: undefined, - i___6433: undefined, + sources___22033: undefined, + time___22040: undefined, + dt___22043: undefined, + i___22049: undefined, } } @@ -5401,9 +5401,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___6497 = undefined; - s.current___6516 = undefined; - s.fixedDt___6524 = undefined; + s.p___22113 = undefined; + s.current___22132 = undefined; + s.fixedDt___22140 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5438,7 +5438,7 @@ switch (step) { r0 = (s.arg0).fields["lifespan"] = (undefined); s.tmp_0 = particles_ParticleSource_destroy__P1725_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1073; s.pc = 28; return s.tmp_0; + s.callLocIdx = 1075; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; case 1: @@ -5461,7 +5461,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 = 1074; s.pc = 29; return s.tmp_2; } + else { s.callLocIdx = 1076; s.pc = 29; return s.tmp_2; } } case 29: r0 = s.retval; @@ -5484,7 +5484,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 = 1075; s.pc = 30; return s.tmp_5; } + else { s.callLocIdx = 1077; s.pc = 30; return s.tmp_5; } } case 30: r0 = s.retval; @@ -5511,7 +5511,7 @@ switch (step) { case 12: s.tmp_2 = particles_ParticleSource_enabled__P1723_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 1076; s.pc = 31; return s.tmp_2; + s.callLocIdx = 1078; s.pc = 31; return s.tmp_2; case 31: r0 = s.retval; case 13: @@ -5537,8 +5537,8 @@ switch (step) { s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; - s.p___6497 = (r0); - r0 = pxsim_numops_toBoolDecr(s.p___6497); + s.p___22113 = (r0); + r0 = pxsim_numops_toBoolDecr(s.p___22113); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -5549,8 +5549,8 @@ switch (step) { case 15: r0 = s.arg0.fields["head"]; s.tmp_2 = r0; - r0 = (s.p___6497).fields["next"] = (s.tmp_2); - r0 = (s.arg0).fields["head"] = (s.p___6497); + r0 = (s.p___22113).fields["next"] = (s.tmp_2); + r0 = (s.arg0).fields["head"] = (s.p___22113); { step = 11; continue; } case 16: r0 = s.arg0.fields["head"]; @@ -5565,7 +5565,7 @@ switch (step) { case 17: case 18: r0 = s.arg0.fields["head"]; - s.current___6516 = (r0); + s.current___22132 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["_dt"]; s.tmp_2 = r0; @@ -5577,17 +5577,17 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.fixedDt___6524 = (r0); - r0 = pxsim_numops_toBoolDecr(s.fixedDt___6524); + s.fixedDt___22140 = (r0); + r0 = pxsim_numops_toBoolDecr(s.fixedDt___22140); if (!r0) { step = 23; continue; } case 19: - r0 = s.current___6516.fields["lifespan"]; + r0 = s.current___22132.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___6516; + s.tmp_2 = r0 = s.current___22132; r0 = s.tmp_2.fields["lifespan"]; s.tmp_4 = r0; r0 = (s.tmp_4 - s.arg1); @@ -5595,8 +5595,8 @@ switch (step) { r0 = (s.tmp_2).fields["lifespan"] = (s.tmp_3); s.tmp_0 = particles_ParticleSource__C1715_v4_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.current___6516; - s.tmp_0.arg2 = s.fixedDt___6524; + s.tmp_0.arg1 = s.current___22132; + s.tmp_0.arg2 = s.fixedDt___22140; if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C1715_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.updateParticle; s.pc = 33; return s.tmp_0; @@ -5604,9 +5604,9 @@ switch (step) { r0 = s.retval; case 20: case 21: - r0 = s.current___6516.fields["next"]; + r0 = s.current___22132.fields["next"]; s.tmp_0 = r0; - s.current___6516 = (r0); + s.current___22132 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } { step = 19; continue; } @@ -5615,15 +5615,15 @@ switch (step) { { step = 26; continue; } case 23: case 24: - s.tmp_0 = r0 = s.current___6516; + s.tmp_0 = r0 = s.current___22132; 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___6516.fields["next"]; + r0 = s.current___22132.fields["next"]; s.tmp_0 = r0; - s.current___6516 = (r0); + s.current___22132 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 25; continue; } { step = 24; continue; } @@ -5649,9 +5649,9 @@ function particles_ParticleSource__update__P1718_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - p___6497: undefined, - current___6516: undefined, - fixedDt___6524: undefined, + p___22113: undefined, + current___22132: undefined, + fixedDt___22140: undefined, arg0: undefined, arg1: undefined, } } @@ -5670,7 +5670,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___6625 = undefined; + s.p___22234 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5679,8 +5679,8 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, particles_ParticleFactory__C1775_VT)) failedCast(r0); r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C1713_VT); - s.p___6625 = (r0); - s.tmp_0 = r0 = s.p___6625; + s.p___22234 = (r0); + s.tmp_0 = r0 = s.p___22234; s.tmp_3 = if_x_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -5689,7 +5689,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 = 1127; s.pc = 1; return s.tmp_3; } + else { s.callLocIdx = 1129; s.pc = 1; return s.tmp_3; } } case 1: r0 = s.retval; @@ -5699,7 +5699,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___6625; + s.tmp_0 = r0 = s.p___22234; s.tmp_3 = if_y_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -5708,7 +5708,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 = 1129; s.pc = 2; return s.tmp_3; } + else { s.callLocIdx = 1131; s.pc = 2; return s.tmp_3; } } case 2: r0 = s.retval; @@ -5718,10 +5718,10 @@ switch (step) { r0 = (s.tmp_4 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = (s.p___6625).fields["vx"] = (0); - r0 = (s.p___6625).fields["vy"] = (0); - r0 = (s.p___6625).fields["lifespan"] = (500); - r0 = s.p___6625; + r0 = (s.p___22234).fields["vx"] = (0); + r0 = (s.p___22234).fields["vy"] = (0); + r0 = (s.p___22234).fields["lifespan"] = (500); + r0 = s.p___22234; return leave(s, r0) default: oops() } } } @@ -5737,7 +5737,7 @@ function particles_ParticleFactory_createParticle__P1776_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - p___6625: undefined, + p___22234: undefined, arg0: undefined, arg1: undefined, } } @@ -5955,7 +5955,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.timer___5950 = undefined; + s.timer___21572 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5963,7 +5963,7 @@ switch (step) { } s.tmp_0 = game_init__P1291_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 886; 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); @@ -5985,22 +5985,22 @@ switch (step) { case 3: case 4: r0 = pxsim_pxtrt.mklocRef(); - s.timer___5950 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.timer___5950, 0); - r0 = pxsim_pxtcore_mkAction(3, inline__P5954); + s.timer___21572 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.timer___21572, 0); + r0 = pxsim_pxtcore_mkAction(3, inline__P21576); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___5950); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___21572); 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__P293_mk(s); s.tmp_2 = game_eventContext__P1290_mk(s); - s.callLocIdx = 887; s.pc = 8; return s.tmp_2; + 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 = 891; s.pc = 7; return s.tmp_1; + s.callLocIdx = 893; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; case 5: @@ -6018,7 +6018,7 @@ function game_onUpdateInterval__P1301_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - timer___5950: undefined, + timer___21572: undefined, arg0: undefined, arg1: undefined, } } @@ -6027,7 +6027,7 @@ function game_onUpdateInterval__P1301_mk(s) { -function inline__P5954(s) { +function inline__P21576(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6037,28 +6037,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.time___5955 = undefined; + s.time___21577 = undefined; s.tmp_1 = game_currentScene__P961_mk(s); - s.callLocIdx = 888; s.pc = 3; return s.tmp_1; + 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___5955 = (r0); + s.time___21577 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.time___5955); + r0 = (s.tmp_1 <= s.time___21577); 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___5955 + s.caps[1]); + r0 = (s.time___21577 + 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 = 890; s.pc = 4; return s.tmp_0; + s.callLocIdx = 892; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 1: @@ -6067,18 +6067,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P5954.info = {"start":8161,"length":179,"line":260,"column":81,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} +inline__P21576.info = {"start":8161,"length":179,"line":260,"column":81,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} -function inline__P5954_mk(s) { +function inline__P21576_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P5954, depth: s.depth + 1, + parent: s, fn: inline__P21576, depth: s.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___5955: undefined, + time___21577: undefined, } } @@ -6129,8 +6129,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.fn___5982 = undefined; - s.i___5993 = undefined; + s.fn___21600 = undefined; + s.i___21611 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6159,12 +6159,12 @@ switch (step) { case 1: case 2: r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C281_VT); - s.fn___5982 = (r0); - r0 = (s.fn___5982).fields["order"] = (s.arg1); - r0 = (s.fn___5982).fields["handler"] = (s.arg2); - s.i___5993 = (0); + s.fn___21600 = (r0); + r0 = (s.fn___21600).fields["order"] = (s.arg1); + r0 = (s.fn___21600).fields["handler"] = (s.arg2); + s.i___21611 = (0); case 3: - s.tmp_1 = r0 = s.i___5993; + s.tmp_1 = r0 = s.i___21611; r0 = s.arg0.fields["frameCallbacks"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -6175,7 +6175,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___5993); + r0 = pxsim_Array__getAt(s.tmp_6, s.i___21611); r0 = r0.fields["order"]; s.tmp_5 = r0; r0 = (s.tmp_5 > s.arg1); @@ -6184,19 +6184,19 @@ 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___5993, s.fn___5982); - r0 = s.fn___5982; + r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___21611, s.fn___21600); + r0 = s.fn___21600; { step = 7; continue; } case 4: case 5: - r0 = (s.i___5993 + 1); - s.i___5993 = (r0); + r0 = (s.i___21611 + 1); + s.i___21611 = (r0); { step = 3; continue; } case 6: r0 = s.arg0.fields["frameCallbacks"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.fn___5982); - r0 = s.fn___5982; + r0 = pxsim_Array__push(s.tmp_0, s.fn___21600); + r0 = s.fn___21600; case 7: return leave(s, r0) default: oops() @@ -6216,8 +6216,8 @@ function control_EventContext_registerFrameHandler__P293_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - fn___5982: undefined, - i___5993: undefined, + fn___21600: undefined, + i___21611: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -6237,7 +6237,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.worker___6028 = undefined; + s.worker___21645 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -6256,11 +6256,11 @@ switch (step) { case 1: case 2: r0 = s.arg0.fields["frameWorker"]; - s.worker___6028 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P6034); + s.worker___21645 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P21651); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___6028); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___21645); r0 = pxsim.control.runInParallel(s.tmp_0); case 3: r0 = undefined; @@ -6277,7 +6277,7 @@ function control_EventContext_registerFrameCallbacks__P290_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - worker___6028: undefined, + worker___21645: undefined, arg0: undefined, } } @@ -6285,7 +6285,7 @@ function control_EventContext_registerFrameCallbacks__P290_mk(s) { -function inline__P6034(s) { +function inline__P21651(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6295,12 +6295,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___6065 = undefined; + s.delay___21681 = 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__P6040); + r0 = pxsim_pxtcore_mkAction(1, inline__P21657); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.caps[0]); s.tmp_2 = pauseUntil__P248_mk(s); @@ -6331,9 +6331,9 @@ switch (step) { s.callLocIdx = 58; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - s.delay___6065 = (r0); + s.delay___21681 = (r0); s.tmp_0 = pause__P309_mk(s); - s.tmp_0.arg0 = s.delay___6065; + s.tmp_0.arg0 = s.delay___21681; s.callLocIdx = 59; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -6344,24 +6344,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P6034.info = {"start":3540,"length":723,"line":106,"column":34,"endLine":125,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P21651.info = {"start":3540,"length":723,"line":106,"column":34,"endLine":125,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P6034_mk(s) { +function inline__P21651_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P6034, depth: s.depth + 1, + parent: s, fn: inline__P21651, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - delay___6065: undefined, + delay___21681: undefined, } } -function inline__P6040(s) { +function inline__P21657(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6379,12 +6379,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P6040.info = {"start":3771,"length":28,"line":110,"column":31,"endLine":110,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P21657.info = {"start":3771,"length":28,"line":110,"column":31,"endLine":110,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P6040_mk(s) { +function inline__P21657_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P6040, depth: s.depth + 1, + parent: s, fn: inline__P21657, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6404,13 +6404,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.loopStart___6074 = undefined; - s.f___6087 = undefined; + s.loopStart___21690 = undefined; + s.f___21703 = undefined; s.unnamed48___U2 = undefined; s.unnamed49___U3 = undefined; - s.runtime___6092 = undefined; - s.fps___6112 = undefined; - s.delay___6174 = undefined; + s.runtime___21708 = undefined; + s.fps___21728 = undefined; + s.delay___21790 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -6418,15 +6418,15 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, control_EventContext__C287_VT)) failedCast(r0); r0 = pxsim.control.millis(); - s.loopStart___6074 = (r0); + s.loopStart___21690 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["prevTimeMillis"]; s.tmp_2 = r0; - r0 = (s.loopStart___6074 - s.tmp_2); + r0 = (s.loopStart___21690 - s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["deltaTimeMillis"] = (s.tmp_1); - r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___6074); - s.f___6087 = (undefined); + r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___21690); + s.f___21703 = (undefined); r0 = s.arg0.fields["frameCallbacks"]; s.unnamed48___U2 = (r0); s.unnamed49___U3 = (0); @@ -6437,9 +6437,9 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } r0 = pxsim_Array__getAt(s.unnamed48___U2, s.unnamed49___U3); - s.f___6087 = (r0); + s.f___21703 = (r0); s.tmp_2 = if_handler_1_mk(s); - s.tmp_2.arg0 = s.f___6087; + s.tmp_2.arg0 = s.f___21703; 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; @@ -6458,12 +6458,12 @@ switch (step) { s.unnamed48___U2 = (undefined); r0 = pxsim.control.millis(); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.loopStart___6074); - s.runtime___6092 = (r0); + r0 = (s.tmp_0 - s.loopStart___21690); + s.runtime___21708 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timeInSample"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.runtime___6092); + r0 = (s.tmp_2 + s.runtime___21708); s.tmp_1 = r0; r0 = (s.tmp_0).fields["timeInSample"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; @@ -6496,8 +6496,8 @@ switch (step) { r0 = (s.tmp_6 / 1000); s.tmp_5 = r0; r0 = (s.tmp_4 / s.tmp_5); - s.fps___6112 = (r0); - r0 = pxsim.Math_.round(s.fps___6112); + s.fps___21728 = (r0); + r0 = pxsim.Math_.round(s.fps___21728); s.tmp_1 = r0; if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 14); @@ -6510,7 +6510,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_String__concat("fps:", s.tmp_0); globals.control_EventContext_lastStats___299 = (r0); - r0 = (s.fps___6112 < 99); + r0 = (s.fps___21728 < 99); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } @@ -6523,7 +6523,7 @@ switch (step) { case 15: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.fps___6112 * 10); + r0 = (s.fps___21728 * 10); s.tmp_7 = r0; r0 = pxsim.Math_.round(s.tmp_7); s.tmp_6 = r0; @@ -6573,7 +6573,7 @@ switch (step) { if (!r0) { step = 9; continue; } r0 = pxsim_String_.mkEmpty(); s.tmp_8 = r0; - r0 = (s.fps___6112 * 100); + r0 = (s.fps___21728 * 100); s.tmp_11 = r0; r0 = (s.tmp_11 | 0); s.tmp_10 = r0; @@ -6616,13 +6616,13 @@ switch (step) { case 12: s.tmp_0 = Math_max__P78_mk(s); s.tmp_0.arg0 = 1; - r0 = (20 - s.runtime___6092); + r0 = (20 - s.runtime___21708); s.tmp_0.arg1 = r0; s.callLocIdx = 56; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.delay___6174 = (r0); - r0 = s.delay___6174; + s.delay___21790 = (r0); + r0 = s.delay___21790; return leave(s, r0) default: oops() } } } @@ -6647,13 +6647,13 @@ function control_EventContext_runCallbacks__P289_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - loopStart___6074: undefined, - f___6087: undefined, + loopStart___21690: undefined, + f___21703: undefined, unnamed48___U2: undefined, unnamed49___U3: undefined, - runtime___6092: undefined, - fps___6112: undefined, - delay___6174: undefined, + runtime___21708: undefined, + fps___21728: undefined, + delay___21790: undefined, arg0: undefined, } } @@ -6751,7 +6751,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ev___6196 = undefined; + s.ev___21812 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6776,7 +6776,7 @@ switch (step) { s.callLocIdx = 32; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.ev___6196 = (s.tmp_0); + s.ev___21812 = (s.tmp_0); r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___245); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -6785,19 +6785,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___6196); + r0 = pxsim_Array__push(s.tmp_2, s.ev___21812); globals._pollEventQueue___245 = (s.tmp_2); r0 = pxsim.control.runInParallel(control_pollEvents__P246); { step = 2; continue; } case 1: - r0 = pxsim_Array__push(globals._pollEventQueue___245, s.ev___6196); + r0 = pxsim_Array__push(globals._pollEventQueue___245, s.ev___21812); case 2: r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 3; continue; } s.tmp_0 = control_onEvent__P280_mk(s); - r0 = s.ev___6196.fields["eid"]; + r0 = s.ev___21812.fields["eid"]; s.tmp_0.arg0 = r0; - r0 = s.ev___6196.fields["vid"]; + r0 = s.ev___21812.fields["vid"]; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = 16; @@ -6806,9 +6806,9 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = s.ev___6196.fields["eid"]; + r0 = s.ev___21812.fields["eid"]; s.tmp_0 = r0; - r0 = s.ev___6196.fields["vid"]; + r0 = s.ev___21812.fields["vid"]; s.tmp_1 = r0; setupResume(s, 7); pxsim.control.waitForEvent(s.tmp_0, s.tmp_1); @@ -6831,7 +6831,7 @@ function control___queuePollEvent__P247_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ev___6196: undefined, + ev___21812: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -6851,7 +6851,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___6238 = undefined; + s.ctx___21854 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6863,8 +6863,8 @@ switch (step) { s.callLocIdx = 51; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.ctx___6238 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___6238); + s.ctx___21854 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___21854); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -6874,7 +6874,7 @@ switch (step) { { step = 2; continue; } case 1: s.tmp_0 = control_EventContext_registerHandler__P295_mk(s); - s.tmp_0.arg0 = s.ctx___6238; + s.tmp_0.arg0 = s.ctx___21854; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg2; @@ -6896,7 +6896,7 @@ function control_onEvent__P280_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___6238: undefined, + ctx___21854: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -6962,10 +6962,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___6261 = undefined; + s.h___21877 = undefined; s.unnamed54___U1 = undefined; s.unnamed55___U2 = undefined; - s.hn___6284 = undefined; + s.hn___21900 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6976,7 +6976,7 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, control_EventContext__C287_VT)) failedCast(r0); - s.h___6261 = (undefined); + s.h___21877 = (undefined); r0 = s.arg0.fields["handlers"]; s.unnamed54___U1 = (r0); s.unnamed55___U2 = (0); @@ -6987,8 +6987,8 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } r0 = pxsim_Array__getAt(s.unnamed54___U1, s.unnamed55___U2); - s.h___6261 = (r0); - r0 = s.h___6261.fields["src"]; + s.h___21877 = (r0); + r0 = s.h___21877.fields["src"]; s.tmp_3 = r0; r0 = (s.tmp_3 == s.arg1); s.tmp_2 = r0; @@ -6997,7 +6997,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = s.h___6261.fields["value"]; + r0 = s.h___21877.fields["value"]; s.tmp_4 = r0; r0 = (s.tmp_4 == s.arg2); case 3: @@ -7005,8 +7005,8 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 4; continue; } - r0 = (s.h___6261).fields["flags"] = (s.arg4); - r0 = (s.h___6261).fields["handler"] = (s.arg3); + r0 = (s.h___21877).fields["flags"] = (s.arg4); + r0 = (s.h___21877).fields["handler"] = (s.arg3); { step = 7; continue; } case 4: case 5: @@ -7026,12 +7026,12 @@ switch (step) { s.callLocIdx = 64; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.hn___6284 = (s.tmp_0); + s.hn___21900 = (s.tmp_0); r0 = s.arg0.fields["handlers"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.hn___6284); + r0 = pxsim_Array__push(s.tmp_0, s.hn___21900); s.tmp_0 = control_EventHandler_register__P283_mk(s); - s.tmp_0.arg0 = s.hn___6284; + s.tmp_0.arg0 = s.hn___21900; s.callLocIdx = 65; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; @@ -7053,10 +7053,10 @@ function control_EventContext_registerHandler__P295_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - h___6261: undefined, + h___21877: undefined, unnamed54___U1: undefined, unnamed55___U2: undefined, - hn___6284: undefined, + hn___21900: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7130,7 +7130,7 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, control_EventHandler__C282_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P6305); + r0 = pxsim_pxtcore_mkAction(1, inline__P21921); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["src"]; @@ -7162,7 +7162,7 @@ function control_EventHandler_register__P283_mk(s) { -function inline__P6305(s) { +function inline__P21921(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7195,12 +7195,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P6305.info = {"start":1032,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P21921.info = {"start":1032,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P6305_mk(s) { +function inline__P21921_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P6305, depth: s.depth + 1, + parent: s, fn: inline__P21921, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7220,9 +7220,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.now___6322 = undefined; - s.i___6325 = undefined; - s.ev___6331 = undefined; + s.now___21938 = undefined; + s.i___21941 = undefined; + s.ev___21947 = undefined; case 1: r0 = pxsim_Array__length(globals._pollEventQueue___245); s.tmp_1 = r0; @@ -7231,20 +7231,20 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } r0 = pxsim.control.millis(); - s.now___6322 = (r0); - s.i___6325 = (0); + s.now___21938 = (r0); + s.i___21941 = (0); case 2: - s.tmp_1 = r0 = s.i___6325; + s.tmp_1 = r0 = s.i___21941; r0 = pxsim_Array__length(globals._pollEventQueue___245); 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___245, s.i___6325); - s.ev___6331 = (r0); + r0 = pxsim_Array__getAt(globals._pollEventQueue___245, s.i___21941); + s.ev___21947 = (r0); s.tmp_1 = if_condition_1_mk(s); - s.tmp_1.arg0 = s.ev___6331; + s.tmp_1.arg0 = s.ev___21947; 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; @@ -7262,7 +7262,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 3: - r0 = s.ev___6331.fields["timeOut"]; + r0 = s.ev___21947.fields["timeOut"]; s.tmp_3 = r0; r0 = (s.tmp_3 > 0); s.tmp_2 = r0; @@ -7271,11 +7271,11 @@ switch (step) { r0 = s.tmp_2; { step = 5; continue; } case 4: - r0 = s.ev___6331.fields["start"]; + r0 = s.ev___21947.fields["start"]; s.tmp_5 = r0; - r0 = (s.now___6322 - s.tmp_5); + r0 = (s.now___21938 - s.tmp_5); s.tmp_4 = r0; - r0 = s.ev___6331.fields["timeOut"]; + r0 = s.ev___21947.fields["timeOut"]; s.tmp_6 = r0; r0 = (s.tmp_4 > s.tmp_6); case 5: @@ -7287,30 +7287,30 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 9; continue; } - r0 = s.ev___6331.fields["eid"]; + r0 = s.ev___21947.fields["eid"]; s.tmp_9 = r0; - r0 = s.ev___6331.fields["vid"]; + r0 = s.ev___21947.fields["vid"]; s.tmp_10 = r0; r0 = pxsim.control.raiseEvent(s.tmp_9, s.tmp_10); - r0 = s.ev___6331.fields["once"]; + r0 = s.ev___21947.fields["once"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } s.tmp_1 = helpers_arraySplice__P49_mk(s); s.tmp_1.arg0 = globals._pollEventQueue___245; - s.tmp_1.arg1 = s.i___6325; + s.tmp_1.arg1 = s.i___21941; s.tmp_1.arg2 = 1; s.callLocIdx = 30; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = (s.i___6325 - 1); - s.i___6325 = (r0); + r0 = (s.i___21941 - 1); + s.i___21941 = (r0); case 7: case 8: case 9: case 10: - r0 = (s.i___6325 + 1); - s.i___6325 = (r0); + r0 = (s.i___21941 + 1); + s.i___21941 = (r0); { step = 2; continue; } case 11: s.tmp_0 = pause__P309_mk(s); @@ -7343,9 +7343,9 @@ function control_pollEvents__P246_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - now___6322: undefined, - i___6325: undefined, - ev___6331: undefined, + now___21938: undefined, + i___21941: undefined, + ev___21947: undefined, } } @@ -7362,7 +7362,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___6380 = undefined; + s.i___21996 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7376,15 +7376,15 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.i___6380 = (0); + s.i___21996 = (0); case 3: - r0 = (s.i___6380 < s.arg2); + r0 = (s.i___21996 < 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___6380 + 1); - s.i___6380 = (r0); + r0 = (s.i___21996 + 1); + s.i___21996 = (r0); { step = 3; continue; } case 4: case 5: @@ -7400,7 +7400,7 @@ function helpers_arraySplice__P49_mk(s) { parent: s, fn: helpers_arraySplice__P49, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - i___6380: undefined, + i___21996: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7478,7 +7478,7 @@ switch (step) { } s.tmp_0 = game_init__P1291_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 883; 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); @@ -7492,13 +7492,13 @@ switch (step) { case 2: s.tmp_2 = control_EventContext_registerFrameHandler__P293_mk(s); s.tmp_3 = game_eventContext__P1290_mk(s); - s.callLocIdx = 884; s.pc = 6; return s.tmp_3; + 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 = 885; s.pc = 5; return s.tmp_2; + s.callLocIdx = 887; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 3: @@ -7545,20 +7545,20 @@ switch (step) { if (!checkSubtype(r0, particles_SprayFactory__C1779_VT)) failedCast(r0); r0 = undefined; s.tmp_0 = particles_initTrig__P1767_mk(s); - s.callLocIdx = 1134; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1136; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = particles_SprayFactory_setSpeed__P1783_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1135; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1137; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; s.tmp_0 = particles_SprayFactory_setDirection__P1784_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; - s.callLocIdx = 1136; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1138; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; @@ -7608,7 +7608,7 @@ switch (step) { s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4.arg0 = r0; - s.callLocIdx = 1144; s.pc = 1; return s.tmp_4; + s.callLocIdx = 1146; s.pc = 1; return s.tmp_4; case 1: r0 = s.retval; s.tmp_3 = r0; @@ -7620,7 +7620,7 @@ switch (step) { s.tmp_0 = r0 = s.arg0; s.tmp_4 = particles_toRadians__P1774_mk(s); s.tmp_4.arg0 = s.arg2; - s.callLocIdx = 1145; s.pc = 2; return s.tmp_4; + s.callLocIdx = 1147; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; @@ -7676,7 +7676,7 @@ switch (step) { if (!r0) { step = 1; continue; } s.tmp_3 = Math_abs__P76_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1126; s.pc = 3; return s.tmp_3; + s.callLocIdx = 1128; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; @@ -7763,13 +7763,13 @@ switch (step) { if (!r0) { step = 1; continue; } s.tmp_2 = particles_cacheSin__P1768_mk(s); s.tmp_2.arg0 = 100; - s.callLocIdx = 1122; s.pc = 3; return s.tmp_2; + s.callLocIdx = 1124; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; globals.cachedSin___1753 = (r0); s.tmp_0 = particles_cacheCos__P1769_mk(s); s.tmp_0.arg0 = 100; - s.callLocIdx = 1123; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1125; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; globals.cachedCos___1754 = (r0); @@ -7805,25 +7805,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cos___5538 = undefined; - s.anglePerSlice___5540 = undefined; - s.i___5546 = undefined; + s.cos___21335 = undefined; + s.anglePerSlice___21337 = undefined; + s.i___21343 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.cos___5538 = (r0); + s.cos___21335 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___5540 = (r0); - s.i___5546 = (0); + s.anglePerSlice___21337 = (r0); + s.i___21343 = (0); case 1: - r0 = (s.i___5546 < s.arg0); + r0 = (s.i___21343 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.cos___5538; - r0 = (s.i___5546 * s.anglePerSlice___5540); + s.tmp_1 = r0 = s.cos___21335; + r0 = (s.i___21343 * s.anglePerSlice___21337); s.tmp_4 = r0; r0 = pxsim.Math_.cos(s.tmp_4); s.tmp_3 = r0; @@ -7832,11 +7832,11 @@ switch (step) { r0 = (s.tmp_5 | 0); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___5546 + 1); - s.i___5546 = (r0); + r0 = (s.i___21343 + 1); + s.i___21343 = (r0); { step = 1; continue; } case 2: - r0 = s.cos___5538; + r0 = s.cos___21335; return leave(s, r0) default: oops() } } } @@ -7853,9 +7853,9 @@ function particles_cacheCos__P1769_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - cos___5538: undefined, - anglePerSlice___5540: undefined, - i___5546: undefined, + cos___21335: undefined, + anglePerSlice___21337: undefined, + i___21343: undefined, arg0: undefined, } } @@ -7873,25 +7873,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sin___5564 = undefined; - s.anglePerSlice___5566 = undefined; - s.i___5572 = undefined; + s.sin___21361 = undefined; + s.anglePerSlice___21363 = undefined; + s.i___21369 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.sin___5564 = (r0); + s.sin___21361 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___5566 = (r0); - s.i___5572 = (0); + s.anglePerSlice___21363 = (r0); + s.i___21369 = (0); case 1: - r0 = (s.i___5572 < s.arg0); + r0 = (s.i___21369 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.sin___5564; - r0 = (s.i___5572 * s.anglePerSlice___5566); + s.tmp_1 = r0 = s.sin___21361; + r0 = (s.i___21369 * s.anglePerSlice___21363); s.tmp_4 = r0; r0 = pxsim.Math_.sin(s.tmp_4); s.tmp_3 = r0; @@ -7900,11 +7900,11 @@ switch (step) { r0 = (s.tmp_5 | 0); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___5572 + 1); - s.i___5572 = (r0); + r0 = (s.i___21369 + 1); + s.i___21369 = (r0); { step = 1; continue; } case 2: - r0 = s.sin___5564; + r0 = s.sin___21361; return leave(s, r0) default: oops() } } } @@ -7921,9 +7921,9 @@ function particles_cacheSin__P1768_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - sin___5564: undefined, - anglePerSlice___5566: undefined, - i___5572: undefined, + sin___21361: undefined, + anglePerSlice___21363: undefined, + i___21369: undefined, arg0: undefined, } } @@ -8109,7 +8109,7 @@ switch (step) { s.tmp_0 = particles_ParticleSource_enabled__P1724_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; - s.callLocIdx = 1083; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1085; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -8120,7 +8120,7 @@ switch (step) { r0 = (s.tmp_0).fields["pFlags"] = (s.tmp_1); s.tmp_0 = particles_ParticleSource__prune__P1719_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1084; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1086; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; @@ -8164,7 +8164,7 @@ switch (step) { s.tmp_1 = r0 = s.arg1; s.tmp_3 = particles_ParticleSource_enabled__P1723_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1082; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1084; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_2 = r0; @@ -8407,7 +8407,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 = 833; s.pc = 1; return s.tmp_3; } + else { s.callLocIdx = 835; s.pc = 1; return s.tmp_3; } } case 1: r0 = s.retval; @@ -8615,8 +8615,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.confetti___6709 = undefined; - s.i___6725 = undefined; + s.confetti___22268 = undefined; + s.i___22284 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8627,35 +8627,35 @@ switch (step) { if (!checkSubtype(r0, particles_ConfettiFactory__C1802_VT)) failedCast(r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim.image.ofBuffer(_hex6712); + r0 = pxsim.image.ofBuffer(_hex22271); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim.image.ofBuffer(_hex6714); + r0 = pxsim.image.ofBuffer(_hex22273); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_2); - r0 = pxsim.image.ofBuffer(_hex6716); + r0 = pxsim.image.ofBuffer(_hex22275); s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_3); - r0 = pxsim.image.ofBuffer(_hex6718); + r0 = pxsim.image.ofBuffer(_hex22277); s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_4); - r0 = pxsim.image.ofBuffer(_hex6720); + r0 = pxsim.image.ofBuffer(_hex22279); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_5); - s.confetti___6709 = (s.tmp_0); + s.confetti___22268 = (s.tmp_0); s.tmp_0 = particles_ShapeFactory_constructor__P1801_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___6709, 0); + r0 = pxsim_Array__getAt(s.confetti___22268, 0); s.tmp_0.arg3 = r0; - s.callLocIdx = 1168; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1170; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.i___6725 = (1); + s.i___22284 = (1); case 1: - s.tmp_1 = r0 = s.i___6725; - r0 = pxsim_Array__length(s.confetti___6709); + s.tmp_1 = r0 = s.i___22284; + r0 = pxsim_Array__length(s.confetti___22268); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; @@ -8663,13 +8663,13 @@ switch (step) { if (!r0) { step = 2; continue; } s.tmp_3 = particles_ShapeFactory_addShape__P1798_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.confetti___6709, s.i___6725); + r0 = pxsim_Array__getAt(s.confetti___22268, s.i___22284); s.tmp_3.arg1 = r0; - s.callLocIdx = 1169; s.pc = 4; return s.tmp_3; + s.callLocIdx = 1171; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - r0 = (s.i___6725 + 1); - s.i___6725 = (r0); + r0 = (s.i___22284 + 1); + s.i___22284 = (r0); { step = 1; continue; } case 2: r0 = (s.arg0).fields["minLifespan"] = (1000); @@ -8691,18 +8691,18 @@ function particles_ConfettiFactory_constructor__P1804_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - confetti___6709: undefined, - i___6725: undefined, + confetti___22268: undefined, + i___22284: undefined, arg0: undefined, arg1: undefined, arg2: undefined, } } -const _hex6712 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") -const _hex6714 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") -const _hex6716 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") -const _hex6718 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") -const _hex6720 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") +const _hex22271 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") +const _hex22273 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") +const _hex22275 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") +const _hex22277 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") +const _hex22279 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") @@ -8732,7 +8732,7 @@ switch (step) { s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = undefined; s.tmp_0.arg4 = undefined; - s.callLocIdx = 1158; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1160; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim_Array__mk(); @@ -8810,7 +8810,7 @@ switch (step) { s.tmp_0.arg1 = 40; s.tmp_0.arg2 = 0; s.tmp_0.arg3 = 90; - s.callLocIdx = 1146; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1148; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = (s.arg0).fields["xRange"] = (s.arg1); @@ -8840,7 +8840,7 @@ switch (step) { s.tmp_1 = Math_FastRandom_constructor__P1572_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 1147; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1149; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; r0 = (s.arg0).fields["galois"] = (s.tmp_0); @@ -8937,7 +8937,7 @@ switch (step) { s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; s.tmp_0.arg3 = s.arg4; - s.callLocIdx = 1175; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1177; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = (s.arg0).fields["sceneDefaultRate"] = (s.arg2); @@ -9035,7 +9035,7 @@ switch (step) { s.tmp_1.arg1 = 500; s.tmp_1.arg2 = 2; s.tmp_1.arg3 = 4; - s.callLocIdx = 812; s.pc = 1; return s.tmp_1; + s.callLocIdx = 814; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = (s.arg0).fields["physicsEngine"] = (s.tmp_0); @@ -9043,7 +9043,7 @@ switch (step) { s.tmp_0 = r0; s.tmp_1 = scene_Camera_constructor__P1140_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 813; s.pc = 2; return s.tmp_1; + s.callLocIdx = 815; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; r0 = (s.arg0).fields["camera"] = (s.tmp_0); @@ -9053,7 +9053,7 @@ switch (step) { s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["camera"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 814; s.pc = 3; return s.tmp_1; + s.callLocIdx = 816; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = (s.arg0).fields["background"] = (s.tmp_0); @@ -9708,7 +9708,7 @@ switch (step) { case 1: case 2: s.tmp_1 = power_poke__P497_mk(s); - s.callLocIdx = 815; s.pc = 4; return s.tmp_1; + s.callLocIdx = 817; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -9716,7 +9716,7 @@ 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__P6849); + r0 = pxsim_pxtcore_mkAction(1, inline__P22408); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = control_EventContext_registerFrameHandler__P293_mk(s); @@ -9724,7 +9724,7 @@ switch (step) { s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 8; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 818; s.pc = 5; return s.tmp_1; + s.callLocIdx = 820; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0 = control_EventContext_registerFrameHandler__P293_mk(s); @@ -9732,10 +9732,10 @@ switch (step) { s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 13; s.tmp_0.arg2 = controller__moveSprites__P716; - s.callLocIdx = 819; s.pc = 6; return s.tmp_0; + s.callLocIdx = 821; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P6872); + r0 = pxsim_pxtcore_mkAction(1, inline__P22431); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = control_EventContext_registerFrameHandler__P293_mk(s); @@ -9743,10 +9743,10 @@ switch (step) { 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 = 825; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P6902); + r0 = pxsim_pxtcore_mkAction(1, inline__P22459); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = control_EventContext_registerFrameHandler__P293_mk(s); @@ -9754,10 +9754,10 @@ switch (step) { s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 90; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 825; s.pc = 8; return s.tmp_1; + s.callLocIdx = 827; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P6910); + r0 = pxsim_pxtcore_mkAction(1, inline__P22467); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = control_EventContext_registerFrameHandler__P293_mk(s); @@ -9765,7 +9765,7 @@ switch (step) { s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 150; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 829; s.pc = 9; return s.tmp_1; + s.callLocIdx = 831; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.tmp_0 = control_EventContext_registerFrameHandler__P293_mk(s); @@ -9773,16 +9773,16 @@ switch (step) { s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 200; s.tmp_0.arg2 = control___screen_update__P545; - s.callLocIdx = 830; s.pc = 10; return s.tmp_0; + s.callLocIdx = 832; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P6939); + r0 = pxsim_pxtcore_mkAction(1, inline__P22496); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = helpers_arrayForEach__P60_mk(s); s.tmp_1.arg0 = globals.scene_Scene_initializers___1202; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 832; s.pc = 11; return s.tmp_1; + s.callLocIdx = 834; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; case 3: @@ -9806,7 +9806,7 @@ function scene_Scene_init__P1196_mk(s) { -function inline__P6849(s) { +function inline__P22408(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9832,19 +9832,19 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); s.tmp_0.arg0 = r0; - s.callLocIdx = 817; s.pc = 1; return s.tmp_0; + s.callLocIdx = 819; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P6849.info = {"start":4408,"length":217,"line":128,"column":72,"endLine":132,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P22408.info = {"start":4408,"length":217,"line":128,"column":72,"endLine":132,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P6849_mk(s) { +function inline__P22408_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P6849, depth: s.depth + 1, + parent: s, fn: inline__P22408, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9856,7 +9856,7 @@ function inline__P6849_mk(s) { -function inline__P6872(s) { +function inline__P22431(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9866,8 +9866,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dt___6875 = undefined; - s.s___6889 = undefined; + s.dt___22434 = undefined; + s.s___22446 = undefined; s.unnamed74___U2 = undefined; s.unnamed75___U3 = undefined; r0 = s.caps[0].fields["eventContext"]; @@ -9875,11 +9875,11 @@ switch (step) { r0 = s.tmp_0.fields["deltaTimeMillis"]; s.tmp_1 = r0; r0 = (s.tmp_1 / 1000); - s.dt___6875 = (r0); + s.dt___22434 = (r0); s.tmp_0 = PhysicsEngine__C880_v4_2_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.dt___6875; + s.tmp_0.arg1 = s.dt___22434; if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C880_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.move; s.pc = 3; return s.tmp_0; @@ -9888,10 +9888,10 @@ switch (step) { s.tmp_0 = scene_Camera_update__P1139_mk(s); r0 = s.caps[0].fields["camera"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 821; s.pc = 4; return s.tmp_0; + s.callLocIdx = 823; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.s___6889 = (undefined); + s.s___22446 = (undefined); r0 = s.caps[0].fields["allSprites"]; s.unnamed74___U2 = (r0); s.unnamed75___U3 = (0); @@ -9902,20 +9902,20 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } r0 = pxsim_Array__getAt(s.unnamed74___U2, s.unnamed75___U3); - s.s___6889 = (r0); + s.s___22446 = (r0); s.tmp_2 = if___update_3_mk(s); - s.tmp_2.arg0 = s.s___6889; + s.tmp_2.arg0 = s.s___22446; r0 = s.caps[0].fields["camera"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.dt___6875; + s.tmp_2.arg2 = s.dt___22434; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "__update"), 3); - s.callLocIdx = 822; s.pc = 5; return s.tmp_2; + s.callLocIdx = 824; s.pc = 5; 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 = 822; s.pc = 5; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 822; s.pc = 5; return s.tmp_2;; } - else { s.callLocIdx = 822; s.pc = 5; 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 = 5; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 824; s.pc = 5; return s.tmp_2;; } + else { s.callLocIdx = 824; s.pc = 5; return s.tmp_2; } } case 5: r0 = s.retval; @@ -9928,18 +9928,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P6872.info = {"start":4920,"length":328,"line":137,"column":69,"endLine":146,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P22431.info = {"start":4920,"length":328,"line":137,"column":69,"endLine":146,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P6872_mk(s) { +function inline__P22431_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P6872, depth: s.depth + 1, + parent: s, fn: inline__P22431, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dt___6875: undefined, - s___6889: undefined, + dt___22434: undefined, + s___22446: undefined, unnamed74___U2: undefined, unnamed75___U3: undefined, } } @@ -9948,7 +9948,7 @@ function inline__P6872_mk(s) { -function inline__P6902(s) { +function inline__P22459(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9960,19 +9960,19 @@ switch (step) { s.tmp_0 = scene_Scene_render__P1201_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 824; 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__P6902.info = {"start":5423,"length":109,"line":152,"column":76,"endLine":155,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P22459.info = {"start":5423,"length":109,"line":152,"column":76,"endLine":155,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P6902_mk(s) { +function inline__P22459_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P6902, depth: s.depth + 1, + parent: s, fn: inline__P22459, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -9981,7 +9981,7 @@ function inline__P6902_mk(s) { -function inline__P6910(s) { +function inline__P22467(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10041,7 +10041,7 @@ 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 = 826; s.pc = 7; return s.tmp_2; + s.callLocIdx = 828; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; case 3: @@ -10059,23 +10059,23 @@ switch (step) { case 5: case 6: s.tmp_0 = game_consoleOverlay_draw__P1690_mk(s); - s.callLocIdx = 827; s.pc = 12; return s.tmp_0; + s.callLocIdx = 829; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; s.tmp_0 = power_checkDeepSleep__P498_mk(s); - s.callLocIdx = 828; s.pc = 13; return s.tmp_0; + s.callLocIdx = 830; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P6910.info = {"start":5649,"length":504,"line":157,"column":80,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P22467.info = {"start":5649,"length":504,"line":157,"column":80,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P6910_mk(s) { +function inline__P22467_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P6910, depth: s.depth + 1, + parent: s, fn: inline__P22467, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10092,7 +10092,7 @@ function inline__P6910_mk(s) { -function inline__P6939(s) { +function inline__P22496(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10110,19 +10110,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 = 831; 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__P6939.info = {"start":6371,"length":12,"line":173,"column":39,"endLine":173,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} +inline__P22496.info = {"start":6371,"length":12,"line":173,"column":39,"endLine":173,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} -function inline__P6939_mk(s) { +function inline__P22496_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P6939, depth: s.depth + 1, + parent: s, fn: inline__P22496, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10142,15 +10142,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.height___6989 = undefined; - s.top___6994 = undefined; - s.i___7000 = undefined; - s.t___7014 = undefined; - s.tOff___7022 = undefined; - s.tab___7024 = undefined; + s.height___22546 = undefined; + s.top___22551 = undefined; + s.i___22557 = undefined; + s.t___22570 = undefined; + s.tOff___22577 = undefined; + s.tab___22579 = undefined; s.unnamed78___U6 = undefined; s.unnamed79___U7 = undefined; - s.padding___7026 = undefined; + s.padding___22581 = undefined; r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___1650); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -10183,16 +10183,16 @@ switch (step) { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["charHeight"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["charHeight"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 1051; s.pc = 14; return s.tmp_7; } + else { s.callLocIdx = 1053; s.pc = 14; return s.tmp_7; } } case 14: r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 + 2); - s.height___6989 = (r0); + s.height___22546 = (r0); r0 = pxsim_numops_toBoolDecr(globals.stats___1271); if (!r0) { step = 5; continue; } - r0 = s.height___6989; + r0 = s.height___22546; { step = 6; continue; } case 5: r0 = 0; @@ -10200,17 +10200,17 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (2 + s.tmp_0); - s.top___6994 = (r0); - s.i___7000 = (0); + s.top___22551 = (r0); + s.i___22557 = (0); case 7: - s.tmp_1 = r0 = s.i___7000; + s.tmp_1 = r0 = s.i___22557; r0 = pxsim_Array__length(globals.consoleStrings___1650); 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___1650, s.i___7000); + r0 = pxsim_Array__getAt(globals.consoleStrings___1650, s.i___22557); s.tmp_5 = r0; r0 = pxsim_String_.indexOf(s.tmp_5, "\t", undefined); s.tmp_4 = r0; @@ -10219,17 +10219,17 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } s.tmp_6 = helpers_stringSplit__P70_mk(s); - r0 = pxsim_Array__getAt(globals.consoleStrings___1650, s.i___7000); + r0 = pxsim_Array__getAt(globals.consoleStrings___1650, s.i___22557); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = "\t"; s.tmp_6.arg2 = undefined; - s.callLocIdx = 1052; s.pc = 15; return s.tmp_6; + s.callLocIdx = 1054; s.pc = 15; return s.tmp_6; case 15: r0 = s.retval; - s.t___7014 = (r0); - s.tOff___7022 = (0); - s.tab___7024 = (undefined); - s.unnamed78___U6 = (s.t___7014); + s.t___22570 = (r0); + s.tOff___22577 = (0); + s.tab___22579 = (undefined); + s.unnamed78___U6 = (s.t___22570); s.unnamed79___U7 = (0); case 8: s.tmp_0 = r0 = s.unnamed79___U7; @@ -10238,21 +10238,21 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 9; continue; } r0 = pxsim_Array__getAt(s.unnamed78___U6, s.unnamed79___U7); - s.tab___7024 = (r0); + s.tab___22579 = (r0); s.tmp_2 = r0 = globals.tabSize___1652; - s.tmp_5 = r0 = s.tOff___7022; - r0 = pxsim_String_.length(s.tab___7024); + s.tmp_5 = r0 = s.tOff___22577; + r0 = pxsim_String_.length(s.tab___22579); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; r0 = (s.tmp_4 % globals.tabSize___1652); s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.padding___7026 = (r0); + s.padding___22581 = (r0); s.tmp_0 = helpers_imagePrint__P541_mk(s); s.tmp_0.arg0 = globals.screen___578; - s.tmp_0.arg1 = s.tab___7024; - s.tmp_2 = r0 = s.tOff___7022; + s.tmp_0.arg1 = s.tab___22579; + s.tmp_2 = r0 = s.tOff___22577; s.tmp_4 = if_charWidth_1_mk(s); s.tmp_4.arg0 = globals.consoleFont___1658; if (!s.tmp_4.arg0.vtable.iface) { @@ -10261,7 +10261,7 @@ switch (step) { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["charWidth"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["charWidth"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 1053; s.pc = 17; return s.tmp_4; } + else { s.callLocIdx = 1055; s.pc = 17; return s.tmp_4; } } case 17: r0 = s.retval; @@ -10270,24 +10270,24 @@ switch (step) { s.tmp_1 = r0; r0 = (4 + s.tmp_1); s.tmp_0.arg2 = r0; - s.tmp_5 = r0 = s.top___6994; - r0 = (s.i___7000 * s.height___6989); + s.tmp_5 = r0 = s.top___22551; + r0 = (s.i___22557 * s.height___22546); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = globals.consoleColor___1649; s.tmp_0.arg5 = globals.consoleFont___1658; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1054; s.pc = 16; return s.tmp_0; + s.callLocIdx = 1056; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.tOff___7022; - r0 = pxsim_String_.length(s.tab___7024); + s.tmp_0 = r0 = s.tOff___22577; + r0 = pxsim_String_.length(s.tab___22579); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.padding___7026); + r0 = (s.tmp_2 + s.padding___22581); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.tOff___7022 = (r0); + s.tOff___22577 = (r0); r0 = (s.unnamed79___U7 + 1); s.unnamed79___U7 = (r0); { step = 8; continue; } @@ -10297,23 +10297,23 @@ switch (step) { case 10: s.tmp_0 = helpers_imagePrint__P541_mk(s); s.tmp_0.arg0 = globals.screen___578; - r0 = pxsim_Array__getAt(globals.consoleStrings___1650, s.i___7000); + r0 = pxsim_Array__getAt(globals.consoleStrings___1650, s.i___22557); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 4; - s.tmp_1 = r0 = s.top___6994; - r0 = (s.i___7000 * s.height___6989); + s.tmp_1 = r0 = s.top___22551; + r0 = (s.i___22557 * s.height___22546); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = globals.consoleColor___1649; s.tmp_0.arg5 = globals.consoleFont___1658; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1055; s.pc = 18; return s.tmp_0; + s.callLocIdx = 1057; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 11: - r0 = (s.i___7000 + 1); - s.i___7000 = (r0); + r0 = (s.i___22557 + 1); + s.i___22557 = (r0); { step = 7; continue; } case 12: case 13: @@ -10336,15 +10336,15 @@ function game_consoleOverlay_draw__P1690_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - height___6989: undefined, - top___6994: undefined, - i___7000: undefined, - t___7014: undefined, - tOff___7022: undefined, - tab___7024: undefined, + height___22546: undefined, + top___22551: undefined, + i___22557: undefined, + t___22570: undefined, + tOff___22577: undefined, + tab___22579: undefined, unnamed78___U6: undefined, unnamed79___U7: undefined, - padding___7026: undefined, + padding___22581: undefined, } } @@ -10397,15 +10397,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___7080 = undefined; - s.lim___7082 = undefined; - s.s___7098 = undefined; - s.p___7101 = undefined; - s.R___7102 = undefined; - s.z___7116 = undefined; - s.T___7129 = undefined; - s.q___7130 = undefined; - s.e___7136 = undefined; + s.A___20873 = undefined; + s.lim___20875 = undefined; + s.s___20891 = undefined; + s.p___20894 = undefined; + s.R___20895 = undefined; + s.z___20909 = undefined; + s.T___20922 = undefined; + s.q___20923 = undefined; + s.e___20929 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -10413,36 +10413,36 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.A___7080 = (r0); - s.lim___7082 = (0); + s.A___20873 = (r0); + s.lim___20875 = (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___7082 = (r0); + s.lim___20875 = (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___7082 = (0); + s.lim___20875 = (0); { step = 3; continue; } case 2: r0 = (s.arg2 | 0); - s.lim___7082 = (r0); + s.lim___20875 = (r0); case 3: case 4: r0 = pxsim_String_.length(s.arg0); - s.s___7098 = (r0); - s.p___7101 = (0); - s.R___7102 = (s.arg1); - r0 = (s.lim___7082 == 0); + s.s___20891 = (r0); + s.p___20894 = (0); + s.R___20895 = (s.arg1); + r0 = (s.lim___20875 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.A___7080; + r0 = s.A___20873; { step = 21; continue; } case 5: case 6: @@ -10450,101 +10450,101 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - r0 = pxsim_Array_.setAt(s.A___7080, 0, s.arg0); - r0 = s.A___7080; + r0 = pxsim_Array_.setAt(s.A___20873, 0, s.arg0); + r0 = s.A___20873; { step = 21; continue; } case 7: case 8: - r0 = (s.s___7098 == 0); + r0 = (s.s___20891 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } s.tmp_1 = helpers_splitMatch__P71_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = s.R___7102; + s.tmp_1.arg2 = s.R___20895; s.callLocIdx = 12; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - s.z___7116 = (r0); - r0 = (s.z___7116 > -1); + s.z___20909 = (r0); + r0 = (s.z___20909 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = s.A___7080; + r0 = s.A___20873; { step = 21; continue; } case 9: case 10: - r0 = pxsim_Array_.setAt(s.A___7080, 0, s.arg0); - r0 = s.A___7080; + r0 = pxsim_Array_.setAt(s.A___20873, 0, s.arg0); + r0 = s.A___20873; { step = 21; continue; } case 11: case 12: - s.q___7130 = (s.p___7101); + s.q___20923 = (s.p___20894); case 13: - r0 = (s.q___7130 != s.s___7098); + r0 = (s.q___20923 != s.s___20891); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } s.tmp_1 = helpers_splitMatch__P71_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.q___7130; - s.tmp_1.arg2 = s.R___7102; + s.tmp_1.arg1 = s.q___20923; + s.tmp_1.arg2 = s.R___20895; s.callLocIdx = 13; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.e___7136 = (r0); - r0 = (s.e___7136 < 0); + s.e___20929 = (r0); + r0 = (s.e___20929 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.q___7130 + 1); - s.q___7130 = (r0); + r0 = (s.q___20923 + 1); + s.q___20923 = (r0); { step = 19; continue; } case 14: - r0 = (s.e___7136 == s.p___7101); + r0 = (s.e___20929 == s.p___20894); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = (s.q___7130 + 1); - s.q___7130 = (r0); + r0 = (s.q___20923 + 1); + s.q___20923 = (r0); { step = 18; continue; } case 15: s.tmp_0 = helpers_stringSlice__P68_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___7101; - s.tmp_0.arg2 = s.q___7130; + s.tmp_0.arg1 = s.p___20894; + s.tmp_0.arg2 = s.q___20923; s.callLocIdx = 14; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.T___7129 = (r0); - r0 = pxsim_Array__push(s.A___7080, s.T___7129); - r0 = pxsim_Array__length(s.A___7080); + s.T___20922 = (r0); + r0 = pxsim_Array__push(s.A___20873, s.T___20922); + r0 = pxsim_Array__length(s.A___20873); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.lim___7082); + r0 = (s.tmp_1 == s.lim___20875); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = s.A___7080; + r0 = s.A___20873; { step = 21; continue; } case 16: case 17: - s.p___7101 = (s.e___7136); - s.q___7130 = (s.p___7101); + s.p___20894 = (s.e___20929); + s.q___20923 = (s.p___20894); case 18: case 19: { step = 13; continue; } case 20: s.tmp_0 = helpers_stringSlice__P68_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___7101; - s.tmp_0.arg2 = s.q___7130; + s.tmp_0.arg1 = s.p___20894; + s.tmp_0.arg2 = s.q___20923; s.callLocIdx = 15; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.T___7129 = (r0); - r0 = pxsim_Array__push(s.A___7080, s.T___7129); - r0 = s.A___7080; + s.T___20922 = (r0); + r0 = pxsim_Array__push(s.A___20873, s.T___20922); + r0 = s.A___20873; case 21: return leave(s, r0) default: oops() @@ -10558,15 +10558,15 @@ function helpers_stringSplit__P70_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - A___7080: undefined, - lim___7082: undefined, - s___7098: undefined, - p___7101: undefined, - R___7102: undefined, - z___7116: undefined, - T___7129: undefined, - q___7130: undefined, - e___7136: undefined, + A___20873: undefined, + lim___20875: undefined, + s___20891: undefined, + p___20894: undefined, + R___20895: undefined, + z___20909: undefined, + T___20922: undefined, + q___20923: undefined, + e___20929: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -10586,9 +10586,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___7213 = undefined; - s.s___7216 = undefined; - s.i___7226 = undefined; + s.r___20974 = undefined; + s.s___20977 = undefined; + s.i___20987 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -10596,12 +10596,12 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg2); - s.r___7213 = (r0); + s.r___20974 = (r0); r0 = pxsim_String_.length(s.arg0); - s.s___7216 = (r0); - r0 = (s.arg1 + s.r___7213); + s.s___20977 = (r0); + r0 = (s.arg1 + s.r___20974); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.s___7216); + r0 = (s.tmp_1 > s.s___20977); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -10609,18 +10609,18 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.i___7226 = (0); + s.i___20987 = (0); case 3: - r0 = (s.i___7226 < s.r___7213); + r0 = (s.i___20987 < s.r___20974); 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___7226); + r0 = (s.arg1 + s.i___20987); 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___7226); + r0 = pxsim_String_.charAt(s.arg2, s.i___20987); s.tmp_5 = r0; r0 = (s.tmp_2 != s.tmp_5); s.tmp_1 = r0; @@ -10630,11 +10630,11 @@ switch (step) { { step = 7; continue; } case 4: case 5: - r0 = (s.i___7226 + 1); - s.i___7226 = (r0); + r0 = (s.i___20987 + 1); + s.i___20987 = (r0); { step = 3; continue; } case 6: - r0 = (s.arg1 + s.r___7213); + r0 = (s.arg1 + s.r___20974); case 7: return leave(s, r0) default: oops() @@ -10652,9 +10652,9 @@ function helpers_splitMatch__P71_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - r___7213: undefined, - s___7216: undefined, - i___7226: undefined, + r___20974: undefined, + s___20977: undefined, + i___20987: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -10674,7 +10674,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___7181 = undefined; + s.len___20629 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -10682,13 +10682,13 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg0); - s.len___7181 = (r0); + s.len___20629 = (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__P78_mk(s); - r0 = (s.len___7181 + s.arg1); + r0 = (s.len___20629 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 11; s.pc = 7; return s.tmp_1; @@ -10701,14 +10701,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.arg2 = (s.len___7181); + s.arg2 = (s.len___20629); 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___7181 + s.arg2); + r0 = (s.len___20629 + s.arg2); s.arg2 = (r0); case 5: case 6: @@ -10730,7 +10730,7 @@ function helpers_stringSlice__P68_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___7181: undefined, + len___20629: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -10750,7 +10750,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___7314 = undefined; + s.s___22699 = undefined; s.unnamed76___U1 = undefined; s.unnamed77___U2 = undefined; if (s.lambdaArgs) { @@ -10792,7 +10792,7 @@ switch (step) { s.tmp_3 = scene_Scene_render__P1201_mk(s); r0 = s.arg0.fields["previousScene"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 834; 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; } @@ -10800,7 +10800,7 @@ switch (step) { s.tmp_0 = scene_Background_draw__P1049_mk(s); r0 = s.arg0.fields["background"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 835; s.pc = 13; return s.tmp_0; + s.callLocIdx = 837; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 6: @@ -10813,8 +10813,8 @@ switch (step) { s.tmp_2 = helpers_arraySort__P56_mk(s); r0 = s.arg0.fields["allSprites"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = inline__P7290; - s.callLocIdx = 840; s.pc = 14; return s.tmp_2; + s.tmp_2.arg1 = inline__P22675; + s.callLocIdx = 842; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -10825,7 +10825,7 @@ switch (step) { r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); case 7: case 8: - s.s___7314 = (undefined); + s.s___22699 = (undefined); r0 = s.arg0.fields["allSprites"]; s.unnamed76___U1 = (r0); s.unnamed77___U2 = (0); @@ -10836,19 +10836,19 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } r0 = pxsim_Array__getAt(s.unnamed76___U1, s.unnamed77___U2); - s.s___7314 = (r0); + s.s___22699 = (r0); s.tmp_2 = if___draw_2_mk(s); - s.tmp_2.arg0 = s.s___7314; + s.tmp_2.arg0 = s.s___22699; 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 = 841; 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 = 841; s.pc = 15; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 841; s.pc = 15; return s.tmp_2;; } - else { s.callLocIdx = 841; 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; @@ -10880,7 +10880,7 @@ function scene_Scene_render__P1201_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - s___7314: undefined, + s___22699: undefined, unnamed76___U1: undefined, unnamed77___U2: undefined, arg0: undefined, @@ -10890,7 +10890,7 @@ function scene_Scene_render__P1201_mk(s) { -function inline__P7290(s) { +function inline__P22675(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10913,7 +10913,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 = 836; s.pc = 3; return s.tmp_2; } + else { s.callLocIdx = 838; s.pc = 3; return s.tmp_2; } } case 3: r0 = s.retval; @@ -10926,7 +10926,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 = 837; s.pc = 4; return s.tmp_4; } + else { s.callLocIdx = 839; s.pc = 4; return s.tmp_4; } } case 4: r0 = s.retval; @@ -10946,7 +10946,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 = 838; s.pc = 5; return s.tmp_6; } + else { s.callLocIdx = 840; s.pc = 5; return s.tmp_6; } } case 5: r0 = s.retval; @@ -10959,7 +10959,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 = 839; s.pc = 6; return s.tmp_8; } + else { s.callLocIdx = 841; s.pc = 6; return s.tmp_8; } } case 6: r0 = s.retval; @@ -10972,12 +10972,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P7290.info = {"start":8172,"length":52,"line":229,"column":37,"endLine":229,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} +inline__P22675.info = {"start":8172,"length":52,"line":229,"column":37,"endLine":229,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} -function inline__P7290_mk(s) { +function inline__P22675_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P7290, depth: s.depth + 1, + parent: s, fn: inline__P22675, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11029,7 +11029,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P7349); + r0 = pxsim_pxtcore_mkAction(1, inline__P22734); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); s.tmp_2 = helpers_arrayForEach__P60_mk(s); @@ -11062,7 +11062,7 @@ function scene_Background_draw__P1049_mk(s) { -function inline__P7349(s) { +function inline__P22734(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11072,8 +11072,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___7351 = undefined; - s.oy___7365 = undefined; + s.ox___22736 = undefined; + s.oy___22749 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -11088,7 +11088,7 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.ox___7351 = (r0); + s.ox___22736 = (r0); r0 = s.caps[0].fields["camera"]; r0 = r0.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -11099,11 +11099,11 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.oy___7365 = (r0); + s.oy___22749 = (r0); s.tmp_0 = scene_BackgroundLayer_draw__P1052_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ox___7351; - s.tmp_0.arg2 = s.oy___7365; + s.tmp_0.arg1 = s.ox___22736; + s.tmp_0.arg2 = s.oy___22749; s.callLocIdx = 723; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -11111,19 +11111,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P7349.info = {"start":1373,"length":312,"line":53,"column":37,"endLine":58,"endColumn":17,"fileName":"pxt_modules/game/background.ts","functionName":"inline","argumentNames":["layer"]} +inline__P22734.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__P7349_mk(s) { +function inline__P22734_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P7349, depth: s.depth + 1, + parent: s, fn: inline__P22734, depth: s.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___7351: undefined, - oy___7365: undefined, + ox___22736: undefined, + oy___22749: undefined, arg0: undefined, } } @@ -11141,19 +11141,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___7384 = undefined; - s.h___7387 = undefined; - s.pw___7390 = undefined; - s.ph___7395 = undefined; - s.rx___7404 = undefined; - s.ry___7407 = undefined; - s.y___7481 = undefined; - s.py___7482 = undefined; - s.dh___7491 = undefined; - s.x___7499 = undefined; - s.rxl___7500 = undefined; - s.px___7506 = undefined; - s.dw___7510 = undefined; + s.w___22767 = undefined; + s.h___22770 = undefined; + s.pw___22773 = undefined; + s.ph___22778 = undefined; + s.rx___22787 = undefined; + s.ry___22790 = undefined; + s.y___22864 = undefined; + s.py___22865 = undefined; + s.dh___22874 = undefined; + s.x___22882 = undefined; + s.rxl___22883 = undefined; + s.px___22889 = undefined; + s.dw___22893 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -11163,18 +11163,18 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, scene_BackgroundLayer__C1051_VT)) failedCast(r0); r0 = pxsim_ImageMethods.width(globals.screen___578); - s.w___7384 = (r0); + s.w___22767 = (r0); r0 = pxsim_ImageMethods.height(globals.screen___578); - s.h___7387 = (r0); + s.h___22770 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); - s.pw___7390 = (r0); + s.pw___22773 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); - s.ph___7395 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pw___7390); + s.ph___22778 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pw___22773); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -11183,7 +11183,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(s.ph___7395); + r0 = pxsim_numops_toBoolDecr(s.ph___22778); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 2: @@ -11195,9 +11195,9 @@ switch (step) { case 3: case 4: r0 = (0 - s.arg1); - s.rx___7404 = (r0); + s.rx___22787 = (r0); r0 = (0 - s.arg2); - s.ry___7407 = (r0); + s.ry___22790 = (r0); r0 = s.arg0.fields["alignX"]; s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); @@ -11207,20 +11207,20 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 5: - s.tmp_1 = r0 = s.rx___7404; - r0 = (s.w___7384 + s.pw___7390); + s.tmp_1 = r0 = s.rx___22787; + r0 = (s.w___22767 + s.pw___22773); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.rx___7404 = (r0); + s.rx___22787 = (r0); { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.rx___7404; - r0 = (s.w___7384 + s.pw___7390); + s.tmp_0 = r0 = s.rx___22787; + r0 = (s.w___22767 + s.pw___22773); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.rx___7404 = (r0); + s.rx___22787 = (r0); case 7: r0 = s.arg0.fields["alignY"]; s.tmp_0 = r0; @@ -11231,120 +11231,120 @@ switch (step) { r0 = s.tmp_0; { step = 10; continue; } case 8: - s.tmp_1 = r0 = s.ry___7407; - r0 = (s.h___7387 + s.ph___7395); + s.tmp_1 = r0 = s.ry___22790; + r0 = (s.h___22770 + s.ph___22778); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.ry___7407 = (r0); + s.ry___22790 = (r0); { step = 10; continue; } case 9: - s.tmp_0 = r0 = s.ry___7407; - r0 = (s.h___7387 + s.ph___7395); + s.tmp_0 = r0 = s.ry___22790; + r0 = (s.h___22770 + s.ph___22778); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.ry___7407 = (r0); + s.ry___22790 = (r0); case 10: - r0 = (s.rx___7404 % s.w___7384); - s.rx___7404 = (r0); - r0 = (s.rx___7404 < 0); + r0 = (s.rx___22787 % s.w___22767); + s.rx___22787 = (r0); + r0 = (s.rx___22787 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.rx___7404 + s.w___7384); - s.rx___7404 = (r0); + r0 = (s.rx___22787 + s.w___22767); + s.rx___22787 = (r0); case 11: case 12: - r0 = (s.ry___7407 % s.h___7387); - s.ry___7407 = (r0); - r0 = (s.ry___7407 < 0); + r0 = (s.ry___22790 % s.h___22770); + s.ry___22790 = (r0); + r0 = (s.ry___22790 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (s.ry___7407 + s.h___7387); - s.ry___7407 = (r0); + r0 = (s.ry___22790 + s.h___22770); + s.ry___22790 = (r0); case 13: case 14: - r0 = pxsim.Math_.floor(s.rx___7404); - s.rx___7404 = (r0); - r0 = pxsim.Math_.floor(s.ry___7407); - s.ry___7407 = (r0); - s.y___7481 = (0); - s.py___7482 = (0); + r0 = pxsim.Math_.floor(s.rx___22787); + s.rx___22787 = (r0); + r0 = pxsim.Math_.floor(s.ry___22790); + s.ry___22790 = (r0); + s.y___22864 = (0); + s.py___22865 = (0); case 15: - r0 = (s.y___7481 < s.h___7387); + r0 = (s.y___22864 < s.h___22770); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.y___7481 % s.ph___7395); - s.py___7482 = (r0); + r0 = (s.y___22864 % s.ph___22778); + s.py___22865 = (r0); s.tmp_0 = Math_min__P79_mk(s); - r0 = (s.ph___7395 - s.py___7482); + r0 = (s.ph___22778 - s.py___22865); s.tmp_0.arg0 = r0; - r0 = (s.h___7387 - s.ry___7407); + r0 = (s.h___22770 - s.ry___22790); s.tmp_0.arg1 = r0; s.callLocIdx = 726; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.dh___7491 = (r0); - s.x___7499 = (0); - s.rxl___7500 = (s.rx___7404); + s.dh___22874 = (r0); + s.x___22882 = (0); + s.rxl___22883 = (s.rx___22787); case 16: - r0 = (s.x___7499 < s.w___7384); + r0 = (s.x___22882 < s.w___22767); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - r0 = (s.x___7499 % s.pw___7390); - s.px___7506 = (r0); + r0 = (s.x___22882 % s.pw___22773); + s.px___22889 = (r0); s.tmp_0 = Math_min__P79_mk(s); - r0 = (s.pw___7390 - s.px___7506); + r0 = (s.pw___22773 - s.px___22889); s.tmp_0.arg0 = r0; - r0 = (s.w___7384 - s.rxl___7500); + r0 = (s.w___22767 - s.rxl___22883); s.tmp_0.arg1 = r0; s.callLocIdx = 727; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.dw___7510 = (r0); + s.dw___22893 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawImage(globals.screen___578, s.tmp_0, s.rxl___7500, s.ry___7407); - r0 = (s.rxl___7500 + s.dw___7510); + r0 = pxsim_ImageMethods.drawImage(globals.screen___578, s.tmp_0, s.rxl___22883, s.ry___22790); + r0 = (s.rxl___22883 + s.dw___22893); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.w___7384); - s.rxl___7500 = (r0); + r0 = (s.tmp_0 % s.w___22767); + s.rxl___22883 = (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___7510; + r0 = s.dw___22893; { step = 18; continue; } case 17: - r0 = s.w___7384; + r0 = s.w___22767; case 18: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___7499 + s.tmp_1); - s.x___7499 = (r0); + r0 = (s.x___22882 + s.tmp_1); + s.x___22882 = (r0); { step = 16; continue; } case 19: - r0 = (s.ry___7407 + s.dh___7491); + r0 = (s.ry___22790 + s.dh___22874); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.h___7387); - s.ry___7407 = (r0); + r0 = (s.tmp_0 % s.h___22770); + s.ry___22790 = (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___7491; + r0 = s.dh___22874; { step = 21; continue; } case 20: - r0 = s.h___7387; + r0 = s.h___22770; case 21: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.y___7481 + s.tmp_1); - s.y___7481 = (r0); + r0 = (s.y___22864 + s.tmp_1); + s.y___22864 = (r0); { step = 15; continue; } case 22: case 23: @@ -11363,19 +11363,19 @@ function scene_BackgroundLayer_draw__P1052_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - w___7384: undefined, - h___7387: undefined, - pw___7390: undefined, - ph___7395: undefined, - rx___7404: undefined, - ry___7407: undefined, - y___7481: undefined, - py___7482: undefined, - dh___7491: undefined, - x___7499: undefined, - rxl___7500: undefined, - px___7506: undefined, - dw___7510: undefined, + w___22767: undefined, + h___22770: undefined, + pw___22773: undefined, + ph___22778: undefined, + rx___22787: undefined, + ry___22790: undefined, + y___22864: undefined, + py___22865: undefined, + dh___22874: undefined, + x___22882: undefined, + rxl___22883: undefined, + px___22889: undefined, + dw___22893: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -11439,12 +11439,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.elapsed___7595 = undefined; - s.percentComplete___7609 = undefined; - s.damp___7616 = undefined; - s.f___7625 = undefined; - s.x___7631 = undefined; - s.y___7638 = undefined; + s.elapsed___22977 = undefined; + s.percentComplete___22991 = undefined; + s.damp___22998 = undefined; + s.f___23007 = undefined; + s.x___23013 = undefined; + s.y___23020 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -11460,7 +11460,7 @@ switch (step) { s.tmp_3 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 797; s.pc = 10; return s.tmp_3; + s.callLocIdx = 799; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; s.tmp_2 = r0; @@ -11470,7 +11470,7 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg1 = r0; - s.callLocIdx = 798; s.pc = 9; return s.tmp_1; + s.callLocIdx = 800; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.tmp_0 = scene_Camera_offsetY__P1131_mk(s); @@ -11478,7 +11478,7 @@ switch (step) { s.tmp_2 = Sprite_y__P772_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 799; s.pc = 12; return s.tmp_2; + s.callLocIdx = 801; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_1 = r0; @@ -11488,7 +11488,7 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_1 - s.tmp_3); s.tmp_0.arg1 = r0; - s.callLocIdx = 800; s.pc = 11; return s.tmp_0; + s.callLocIdx = 802; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; case 1: @@ -11500,7 +11500,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_0.arg1 = r0; - s.callLocIdx = 802; s.pc = 13; return s.tmp_0; + s.callLocIdx = 804; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; s.tmp_0 = scene_Camera_offsetY__P1131_mk(s); @@ -11510,7 +11510,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_0.arg1 = r0; - s.callLocIdx = 804; s.pc = 14; return s.tmp_0; + s.callLocIdx = 806; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -11532,10 +11532,10 @@ switch (step) { r0 = s.arg0.fields["shakeStartTime"]; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.elapsed___7595 = (r0); + s.elapsed___22977 = (r0); r0 = s.arg0.fields["shakeDuration"]; s.tmp_1 = r0; - r0 = (s.elapsed___7595 >= s.tmp_1); + r0 = (s.elapsed___22977 >= s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -11544,49 +11544,49 @@ switch (step) { case 3: r0 = s.arg0.fields["shakeDuration"]; s.tmp_0 = r0; - r0 = (s.elapsed___7595 / s.tmp_0); - s.percentComplete___7609 = (r0); - s.damp___7616 = (1); - r0 = (s.percentComplete___7609 >= 0.75); + r0 = (s.elapsed___22977 / s.tmp_0); + s.percentComplete___22991 = (r0); + s.damp___22998 = (1); + r0 = (s.percentComplete___22991 >= 0.75); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } s.tmp_1 = Math_max__P78_mk(s); s.tmp_1.arg0 = 0; - r0 = (1 - s.percentComplete___7609); + r0 = (1 - s.percentComplete___22991); s.tmp_1.arg1 = r0; - s.callLocIdx = 807; s.pc = 15; return s.tmp_1; + s.callLocIdx = 809; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.damp___7616 = (r0); + s.damp___22998 = (r0); case 4: case 5: r0 = s.arg0.fields["shakeAmplitude"]; s.tmp_0 = r0; - r0 = (s.tmp_0 * s.damp___7616); - s.f___7625 = (r0); + r0 = (s.tmp_0 * s.damp___22998); + s.f___23007 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___7625); + r0 = (s.tmp_1 * s.f___23007); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.x___7631 = (r0); + s.x___23013 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___7625); + r0 = (s.tmp_1 * s.f___23007); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.y___7638 = (r0); + s.y___23020 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["drawOffsetX"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.x___7631); + r0 = (s.tmp_2 + s.x___23013); 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___7638); + r0 = (s.tmp_2 + s.y___23020); s.tmp_1 = r0; r0 = (s.tmp_0).fields["drawOffsetY"] = (s.tmp_1); case 6: @@ -11609,12 +11609,12 @@ function scene_Camera_update__P1139_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - elapsed___7595: undefined, - percentComplete___7609: undefined, - damp___7616: undefined, - f___7625: undefined, - x___7631: undefined, - y___7638: undefined, + elapsed___22977: undefined, + percentComplete___22991: undefined, + damp___22998: undefined, + f___23007: undefined, + x___23013: undefined, + y___23020: undefined, arg0: undefined, } } @@ -11632,7 +11632,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___7674 = undefined; + s.scene___23039 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -11641,11 +11641,11 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, scene_Camera__C1127_VT)) failedCast(r0); s.tmp_0 = game_currentScene__P961_mk(s); - s.callLocIdx = 796; s.pc = 5; return s.tmp_0; + s.callLocIdx = 798; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___7674 = (r0); - r0 = s.scene___7674.fields["tileMap"]; + s.scene___23039 = (r0); + r0 = s.scene___23039.fields["tileMap"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } @@ -11653,7 +11653,7 @@ switch (step) { { step = 2; continue; } case 1: s.tmp_1 = tiles_TileMap__C1086_v6_1_mk(s); - r0 = s.scene___7674.fields["tileMap"]; + r0 = s.scene___23039.fields["tileMap"]; s.tmp_1.arg0 = r0; if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C1086_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.enabled; @@ -11667,7 +11667,7 @@ switch (step) { if (!r0) { step = 3; continue; } s.tmp_3 = r0 = s.arg0; s.tmp_5 = tiles_TileMap__C1086_v2_2_mk(s); - r0 = s.scene___7674.fields["tileMap"]; + r0 = s.scene___23039.fields["tileMap"]; s.tmp_5.arg0 = r0; s.tmp_5.arg1 = s.arg1; if (!checkSubtype(s.tmp_5.arg0, tiles_TileMap__C1086_VT)) failedCast(s.tmp_5.arg0); @@ -11698,7 +11698,7 @@ function scene_Camera_offsetY__P1131_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___7674: undefined, + scene___23039: undefined, arg0: undefined, arg1: undefined, } } @@ -11787,12 +11787,12 @@ switch (step) { 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 = 745; 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 = 746; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) @@ -12038,7 +12038,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___7743 = undefined; + s.scene___23077 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -12047,11 +12047,11 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, scene_Camera__C1127_VT)) failedCast(r0); s.tmp_0 = game_currentScene__P961_mk(s); - s.callLocIdx = 795; s.pc = 5; return s.tmp_0; + s.callLocIdx = 797; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___7743 = (r0); - r0 = s.scene___7743.fields["tileMap"]; + s.scene___23077 = (r0); + r0 = s.scene___23077.fields["tileMap"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } @@ -12059,7 +12059,7 @@ switch (step) { { step = 2; continue; } case 1: s.tmp_1 = tiles_TileMap__C1086_v6_1_mk(s); - r0 = s.scene___7743.fields["tileMap"]; + r0 = s.scene___23077.fields["tileMap"]; s.tmp_1.arg0 = r0; if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C1086_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.enabled; @@ -12073,7 +12073,7 @@ switch (step) { if (!r0) { step = 3; continue; } s.tmp_3 = r0 = s.arg0; s.tmp_5 = tiles_TileMap__C1086_v1_2_mk(s); - r0 = s.scene___7743.fields["tileMap"]; + r0 = s.scene___23077.fields["tileMap"]; s.tmp_5.arg0 = r0; s.tmp_5.arg1 = s.arg1; if (!checkSubtype(s.tmp_5.arg0, tiles_TileMap__C1086_VT)) failedCast(s.tmp_5.arg0); @@ -12104,7 +12104,7 @@ function scene_Camera_offsetX__P1129_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___7743: undefined, + scene___23077: undefined, arg0: undefined, arg1: undefined, } } @@ -12146,12 +12146,12 @@ switch (step) { r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; - s.callLocIdx = 741; 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 = 742; 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) @@ -12515,7 +12515,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtms___8161 = undefined; + s.dtms___23439 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -12523,10 +12523,10 @@ switch (step) { r0 = (s.arg0 * 1000); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.dtms___8161 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P8168); + s.dtms___23439 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P23446); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___8161); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___23439); s.tmp_1 = helpers_arrayForEach__P60_mk(s); s.tmp_2 = controller_players__P713_mk(s); s.callLocIdx = 201; s.pc = 2; return s.tmp_2; @@ -12551,7 +12551,7 @@ function controller___update__P742_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dtms___8161: undefined, + dtms___23439: undefined, arg0: undefined, } } @@ -12559,7 +12559,7 @@ function controller___update__P742_mk(s) { -function inline__P8168(s) { +function inline__P23446(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12583,12 +12583,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P8168.info = {"start":18063,"length":27,"line":552,"column":26,"endLine":552,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P23446.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__P8168_mk(s) { +function inline__P23446_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P8168, depth: s.depth + 1, + parent: s, fn: inline__P23446, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12625,7 +12625,7 @@ 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__P8181); + r0 = pxsim_pxtcore_mkAction(1, inline__P23459); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); s.tmp_1 = helpers_arrayForEach__P60_mk(s); @@ -12658,7 +12658,7 @@ function controller_Controller___update__P739_mk(s) { -function inline__P8181(s) { +function inline__P23459(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12683,12 +12683,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P8181.info = {"start":17526,"length":25,"line":534,"column":33,"endLine":534,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} +inline__P23459.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__P8181_mk(s) { +function inline__P23459_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P8181, depth: s.depth + 1, + parent: s, fn: inline__P23459, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12708,9 +12708,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___8197 = undefined; - s.interval___8207 = undefined; - s.count___8221 = undefined; + s.delay___23475 = undefined; + s.interval___23485 = undefined; + s.count___23499 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -12748,7 +12748,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.delay___8197 = (s.tmp_2); + s.delay___23475 = (s.tmp_2); r0 = s.arg0.fields["repeatInterval"]; s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); @@ -12762,10 +12762,10 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.interval___8207 = (s.tmp_2); + s.interval___23485 = (s.tmp_2); r0 = s.arg0.fields["_pressedElasped"]; s.tmp_1 = r0; - r0 = (s.tmp_1 < s.delay___8197); + r0 = (s.tmp_1 < s.delay___23475); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } @@ -12774,17 +12774,17 @@ switch (step) { case 8: r0 = s.arg0.fields["_pressedElasped"]; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.delay___8197); + r0 = (s.tmp_5 - s.delay___23475); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.interval___8207); + r0 = (s.tmp_4 - s.interval___23485); s.tmp_3 = r0; - r0 = (s.tmp_3 / s.interval___8207); + r0 = (s.tmp_3 / s.interval___23485); s.tmp_2 = r0; r0 = pxsim.Math_.floor(s.tmp_2); - s.count___8221 = (r0); + s.count___23499 = (r0); r0 = s.arg0.fields["_repeatCount"]; s.tmp_1 = r0; - r0 = (s.count___8221 != s.tmp_1); + r0 = (s.count___23499 != s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } @@ -12793,7 +12793,7 @@ switch (step) { s.callLocIdx = 157; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - r0 = (s.arg0).fields["_repeatCount"] = (s.count___8221); + r0 = (s.arg0).fields["_repeatCount"] = (s.count___23499); case 9: case 10: case 11: @@ -12814,9 +12814,9 @@ function controller_Button___update__P704_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - delay___8197: undefined, - interval___8207: undefined, - count___8221: undefined, + delay___23475: undefined, + interval___23485: undefined, + count___23499: undefined, arg0: undefined, arg1: undefined, } } @@ -12887,7 +12887,7 @@ switch (step) { r0 = s.retval; s.tmp_0 = helpers_arrayFilter__P61_mk(s); s.tmp_0.arg0 = globals._players___710; - s.tmp_0.arg1 = inline__P8038; + s.tmp_0.arg1 = inline__P23336; s.callLocIdx = 161; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -12908,7 +12908,7 @@ function controller_players__P713_mk(s) { -function inline__P8038(s) { +function inline__P23336(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12932,12 +12932,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P8038.info = {"start":7162,"length":14,"line":222,"column":31,"endLine":222,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P23336.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__P8038_mk(s) { +function inline__P23336_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P8038, depth: s.depth + 1, + parent: s, fn: inline__P23336, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13033,9 +13033,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.leftId___8102 = undefined; - s.i___8110 = undefined; - s.i___8128 = undefined; + s.leftId___23384 = undefined; + s.i___23392 = undefined; + s.i___23410 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -13067,10 +13067,10 @@ switch (step) { r0 = (s.tmp_1 * 7); s.tmp_0 = r0; r0 = (1 + s.tmp_0); - s.leftId___8102 = (r0); - s.i___8110 = (0); + s.leftId___23384 = (r0); + s.i___23392 = (0); case 2: - r0 = (s.i___8110 < 7); + r0 = (s.i___23392 < 7); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -13078,7 +13078,7 @@ switch (step) { s.tmp_1 = r0; s.tmp_2 = controller_Button_constructor__P705_mk(s); s.tmp_2.arg0 = s.tmp_1; - r0 = (s.leftId___8102 + s.i___8110); + r0 = (s.leftId___23384 + s.i___23392); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = -1; s.callLocIdx = 165; s.pc = 7; return s.tmp_2; @@ -13087,14 +13087,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___8110 + 1); - s.i___8110 = (r0); + r0 = (s.i___23392 + 1); + s.i___23392 = (r0); { step = 2; continue; } case 3: case 4: - s.i___8128 = (0); + s.i___23410 = (0); case 5: - s.tmp_1 = r0 = s.i___8128; + s.tmp_1 = r0 = s.i___23410; r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -13105,11 +13105,11 @@ 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___8128); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___23410); s.tmp_4 = r0; r0 = (s.tmp_4).fields["_owner"] = (s.arg0); - r0 = (s.i___8128 + 1); - s.i___8128 = (r0); + r0 = (s.i___23410 + 1); + s.i___23410 = (r0); { step = 5; continue; } case 6: s.tmp_0 = controller_addController__P711_mk(s); @@ -13134,9 +13134,9 @@ function controller_Controller_constructor__P741_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - leftId___8102: undefined, - i___8110: undefined, - i___8128: undefined, + leftId___23384: undefined, + i___23392: undefined, + i___23410: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -13207,31 +13207,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___7949 = undefined; - s.len___7951 = undefined; - s.i___7954 = undefined; - s.v___7959 = undefined; + s.res___25811 = undefined; + s.len___25813 = undefined; + s.i___25816 = undefined; + s.v___25821 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___7949 = (r0); + s.res___25811 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___7951 = (r0); - s.i___7954 = (0); + s.len___25813 = (r0); + s.i___25816 = (0); case 1: - r0 = (s.i___7954 < s.len___7951); + r0 = (s.i___25816 < s.len___25813); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___7954); - s.v___7959 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___25816); + s.v___25821 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___7959; - s.tmp_1.arg1 = s.i___7954; + s.tmp_1.arg0 = s.v___25821; + s.tmp_1.arg1 = s.i___25816; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 7; s.pc = 5; return s.tmp_1; case 5: @@ -13239,14 +13239,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__push(s.res___7949, s.v___7959); + r0 = pxsim_Array__push(s.res___25811, s.v___25821); case 2: case 3: - r0 = (s.i___7954 + 1); - s.i___7954 = (r0); + r0 = (s.i___25816 + 1); + s.i___25816 = (r0); { step = 1; continue; } case 4: - r0 = s.res___7949; + r0 = s.res___25811; return leave(s, r0) default: oops() } } } @@ -13259,10 +13259,10 @@ function helpers_arrayFilter__P61_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - res___7949: undefined, - len___7951: undefined, - i___7954: undefined, - v___7959: undefined, + res___25811: undefined, + len___25813: undefined, + i___25816: undefined, + v___25821: undefined, arg0: undefined, arg1: undefined, } } @@ -13287,7 +13287,7 @@ switch (step) { case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P7793; + s.tmp_0.arg1 = inline__P23119; s.callLocIdx = 164; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -13310,7 +13310,7 @@ function controller__moveSprites__P716_mk(s) { -function inline__P7793(s) { +function inline__P23119(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13333,12 +13333,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P7793.info = {"start":7548,"length":26,"line":237,"column":26,"endLine":237,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P23119.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__P7793_mk(s) { +function inline__P23119_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P7793, depth: s.depth + 1, + parent: s, fn: inline__P23119, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13358,13 +13358,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.deadSprites___7800 = undefined; - s.svx___7801 = undefined; - s.svy___7802 = undefined; - s.svxInCricle___7838 = undefined; - s.svyInCircle___7840 = undefined; - s.sq___7842 = undefined; - s.scale___7857 = undefined; + s.deadSprites___23126 = undefined; + s.svx___23127 = undefined; + s.svy___23128 = undefined; + s.svxInCricle___23164 = undefined; + s.svyInCircle___23166 = undefined; + s.sq___23168 = undefined; + s.scale___23183 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -13387,19 +13387,19 @@ switch (step) { case 1: case 2: r0 = pxsim_pxtrt.mklocRef(); - s.deadSprites___7800 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.deadSprites___7800, false); + s.deadSprites___23126 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.deadSprites___23126, false); r0 = pxsim_pxtrt.mklocRef(); - s.svx___7801 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svx___7801, 0); + s.svx___23127 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svx___23127, 0); r0 = pxsim_pxtrt.mklocRef(); - s.svy___7802 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svy___7802, 0); + s.svy___23128 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svy___23128, 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___7801; + s.tmp_1 = r0 = s.svx___23127; s.tmp_5 = controller_Button_pressureLevel__P702_mk(s); s.tmp_6 = controller_Controller_right__P723_mk(s); s.tmp_6.arg0 = s.arg0; @@ -13427,7 +13427,7 @@ 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___7802; + s.tmp_0 = r0 = s.svy___23128; s.tmp_4 = controller_Button_pressureLevel__P702_mk(s); s.tmp_5 = controller_Controller_down__P725_mk(s); s.tmp_5.arg0 = s.arg0; @@ -13501,7 +13501,7 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svx___7801; + s.tmp_8 = r0 = s.svx___23127; r0 = (s.tmp_3 - s.tmp_7); s.tmp_9 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_8, s.tmp_9); @@ -13549,57 +13549,57 @@ switch (step) { case 11: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svy___7802; + s.tmp_8 = r0 = s.svy___23128; 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___7838 = (r0); - s.tmp_0 = r0 = s.svxInCricle___7838; - r0 = pxsim_pxtrt_ldlocRef(s.svx___7801); + s.svxInCricle___23164 = (r0); + s.tmp_0 = r0 = s.svxInCricle___23164; + r0 = pxsim_pxtrt_ldlocRef(s.svx___23127); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.svyInCircle___7840 = (r0); - s.tmp_0 = r0 = s.svyInCircle___7840; - r0 = pxsim_pxtrt_ldlocRef(s.svy___7802); + s.svyInCircle___23166 = (r0); + s.tmp_0 = r0 = s.svyInCircle___23166; + r0 = pxsim_pxtrt_ldlocRef(s.svy___23128); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.svx___7801); + r0 = pxsim_pxtrt_ldlocRef(s.svx___23127); s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svx___7801); + r0 = pxsim_pxtrt_ldlocRef(s.svx___23127); s.tmp_2 = r0; r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___7802); + r0 = pxsim_pxtrt_ldlocRef(s.svy___23128); s.tmp_4 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___7802); + r0 = pxsim_pxtrt_ldlocRef(s.svy___23128); s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; r0 = (s.tmp_0 + s.tmp_3); - s.sq___7842 = (r0); - r0 = (s.sq___7842 > 65536); + s.sq___23168 = (r0); + r0 = (s.sq___23168 > 65536); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (65536 / s.sq___7842); + r0 = (65536 / s.sq___23168); s.tmp_1 = r0; r0 = pxsim.Math_.sqrt(s.tmp_1); - s.scale___7857 = (r0); - s.tmp_0 = r0 = s.svxInCricle___7838; - s.tmp_3 = r0 = s.scale___7857; - r0 = pxsim_pxtrt_ldlocRef(s.svx___7801); + s.scale___23183 = (r0); + s.tmp_0 = r0 = s.svxInCricle___23164; + s.tmp_3 = r0 = s.scale___23183; + r0 = pxsim_pxtrt_ldlocRef(s.svx___23127); 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___7840; - s.tmp_3 = r0 = s.scale___7857; - r0 = pxsim_pxtrt_ldlocRef(s.svy___7802); + s.tmp_0 = r0 = s.svyInCircle___23166; + s.tmp_3 = r0 = s.scale___23183; + r0 = pxsim_pxtrt_ldlocRef(s.svy___23128); s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; @@ -13608,13 +13608,13 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); case 13: case 14: - r0 = pxsim_pxtcore_mkAction(5, inline__P7875); + r0 = pxsim_pxtcore_mkAction(5, inline__P23201); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___7800); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___7801); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___7802); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___7838); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___7840); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___23126); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___23127); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___23128); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___23164); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___23166); s.tmp_1 = helpers_arrayForEach__P60_mk(s); s.tmp_2 = controller_Controller__controlledSprites__P718_mk(s); s.tmp_2.arg0 = s.arg0; @@ -13626,7 +13626,7 @@ switch (step) { s.callLocIdx = 195; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___7800); + r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___23126); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } @@ -13639,7 +13639,7 @@ switch (step) { case 39: r0 = s.retval; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = inline__P7937; + s.tmp_2.arg1 = inline__P23261; s.callLocIdx = 197; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; @@ -13671,13 +13671,13 @@ function controller_Controller___preUpdate__P738_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - deadSprites___7800: undefined, - svx___7801: undefined, - svy___7802: undefined, - svxInCricle___7838: undefined, - svyInCircle___7840: undefined, - sq___7842: undefined, - scale___7857: undefined, + deadSprites___23126: undefined, + svx___23127: undefined, + svy___23128: undefined, + svxInCricle___23164: undefined, + svyInCircle___23166: undefined, + sq___23168: undefined, + scale___23183: undefined, arg0: undefined, } } @@ -13685,7 +13685,7 @@ function controller_Controller___preUpdate__P738_mk(s) { -function inline__P7875(s) { +function inline__P23201(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13695,9 +13695,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___7878 = undefined; - s.vx___7879 = undefined; - s.vy___7880 = undefined; + s.s___23204 = undefined; + s.vx___23205 = undefined; + s.vy___23206 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -13715,7 +13715,7 @@ switch (step) { } case 22: r0 = s.retval; - s.s___7878 = (r0); + s.s___23204 = (r0); s.tmp_2 = if_vx_1_mk(s); s.tmp_2.arg0 = s.tmp_1; if (!s.tmp_2.arg0.vtable.iface) { @@ -13728,7 +13728,7 @@ switch (step) { } case 23: r0 = s.retval; - s.vx___7879 = (r0); + s.vx___23205 = (r0); s.tmp_3 = if_vy_1_mk(s); s.tmp_3.arg0 = s.tmp_1; if (!s.tmp_3.arg0.vtable.iface) { @@ -13741,8 +13741,8 @@ switch (step) { } case 24: r0 = s.retval; - s.vy___7880 = (r0); - r0 = s.s___7878.fields["flags"]; + s.vy___23206 = (r0); + r0 = s.s___23204.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); s.tmp_0 = r0; @@ -13756,14 +13756,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___7879); + r0 = pxsim_numops_toBoolDecr(s.vx___23205); if (!r0) { step = 3; continue; } - r0 = (s.s___7878).fields["_vx"] = (0); + r0 = (s.s___23204).fields["_vx"] = (0); case 3: case 4: - r0 = pxsim_numops_toBoolDecr(s.vy___7880); + r0 = pxsim_numops_toBoolDecr(s.vy___23206); if (!r0) { step = 5; continue; } - r0 = (s.s___7878).fields["_vy"] = (0); + r0 = (s.s___23204).fields["_vy"] = (0); case 5: case 6: case 7: @@ -13781,48 +13781,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___7879; + s.tmp_2 = r0 = s.vx___23205; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 11; continue; } r0 = s.tmp_2; { step = 12; continue; } case 11: - r0 = s.vy___7880; + r0 = s.vy___23206; 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___7878; + s.tmp_4 = r0 = s.s___23204; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); s.tmp_6 = r0; - r0 = pxsim.Math_.imul(s.tmp_6, s.vx___7879); + r0 = pxsim.Math_.imul(s.tmp_6, s.vx___23205); s.tmp_5 = r0; r0 = (s.tmp_4).fields["_vx"] = (s.tmp_5); - s.tmp_0 = r0 = s.s___7878; + s.tmp_0 = r0 = s.s___23204; r0 = pxsim_pxtrt_ldlocRef(s.caps[4]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___7880); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___23206); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); { step = 18; continue; } case 13: - r0 = pxsim_numops_toBoolDecr(s.vx___7879); + r0 = pxsim_numops_toBoolDecr(s.vx___23205); if (!r0) { step = 14; continue; } - s.tmp_0 = r0 = s.s___7878; + s.tmp_0 = r0 = s.s___23204; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vx___7879); + r0 = pxsim.Math_.imul(s.tmp_2, s.vx___23205); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); { step = 17; continue; } case 14: - r0 = pxsim_numops_toBoolDecr(s.vy___7880); + r0 = pxsim_numops_toBoolDecr(s.vy___23206); if (!r0) { step = 15; continue; } - s.tmp_0 = r0 = s.s___7878; + s.tmp_0 = r0 = s.s___23204; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___7880); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___23206); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); case 15: @@ -13839,12 +13839,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P7875.info = {"start":16077,"length":1171,"line":497,"column":44,"endLine":525,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} +inline__P23201.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__P7875_mk(s) { +function inline__P23201_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P7875, depth: s.depth + 1, + parent: s, fn: inline__P23201, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13853,9 +13853,9 @@ function inline__P7875_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - s___7878: undefined, - vx___7879: undefined, - vy___7880: undefined, + s___23204: undefined, + vx___23205: undefined, + vy___23206: undefined, arg0: undefined, } } @@ -13863,7 +13863,7 @@ function inline__P7875_mk(s) { -function inline__P7937(s) { +function inline__P23261(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13888,12 +13888,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P7937.info = {"start":17375,"length":42,"line":529,"column":28,"endLine":529,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} +inline__P23261.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__P7937_mk(s) { +function inline__P23261_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P7937, depth: s.depth + 1, + parent: s, fn: inline__P23261, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14356,8 +14356,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___6943 = undefined; - s.to___6946 = undefined; + s.p___22500 = undefined; + s.to___22503 = undefined; s.tmp_0 = power_init__P500_mk(s); s.callLocIdx = 86; s.pc = 11; return s.tmp_0; case 11: @@ -14372,7 +14372,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.p___6943 = (s.tmp_1); + s.p___22500 = (s.tmp_1); s.tmp_0 = r0 = globals._timeout___495; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } @@ -14383,8 +14383,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.to___6946 = (s.tmp_1); - r0 = (s.to___6946 > 0); + s.to___22503 = (s.tmp_1); + r0 = (s.to___22503 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } @@ -14393,9 +14393,9 @@ switch (step) { case 5: r0 = pxsim.control.millis(); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.p___6943); + r0 = (s.tmp_2 - s.p___22500); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.to___6946); + r0 = (s.tmp_1 > s.to___22503); case 6: // jmp value (already in r0) s.tmp_3 = r0; @@ -14435,8 +14435,8 @@ function power_checkDeepSleep__P498_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - p___6943: undefined, - to___6946: undefined, + p___22500: undefined, + to___22503: undefined, } } @@ -14619,8 +14619,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___8262 = undefined; - s.n___8268 = undefined; + s.ctx___23540 = undefined; + s.n___23546 = undefined; r0 = pxsim_numops_toBoolDecr(globals.eventContexts___302); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -14635,11 +14635,11 @@ switch (step) { s.callLocIdx = 66; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.ctx___8262 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___8262); + s.ctx___23540 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___23540); if (!r0) { step = 3; continue; } s.tmp_0 = control_EventContext_unregister__P292_mk(s); - s.tmp_0.arg0 = s.ctx___8262; + s.tmp_0.arg0 = s.ctx___23540; s.callLocIdx = 67; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -14652,9 +14652,9 @@ switch (step) { s.callLocIdx = 68; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.n___8268 = (s.tmp_0); - r0 = pxsim_Array__push(globals.eventContexts___302, s.n___8268); - r0 = s.n___8268; + s.n___23546 = (s.tmp_0); + r0 = pxsim_Array__push(globals.eventContexts___302, s.n___23546); + r0 = s.n___23546; return leave(s, r0) default: oops() } } } @@ -14667,8 +14667,8 @@ function control_pushEventContext__P304_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___8262: undefined, - n___8268: undefined, + ctx___23540: undefined, + n___23546: undefined, } } @@ -14730,7 +14730,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___8294 = undefined; + s.h___23572 = undefined; s.unnamed52___U1 = undefined; s.unnamed53___U2 = undefined; if (s.lambdaArgs) { @@ -14739,7 +14739,7 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, control_EventContext__C287_VT)) failedCast(r0); - s.h___8294 = (undefined); + s.h___23572 = (undefined); r0 = s.arg0.fields["handlers"]; s.unnamed52___U1 = (r0); s.unnamed53___U2 = (0); @@ -14750,9 +14750,9 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } r0 = pxsim_Array__getAt(s.unnamed52___U1, s.unnamed53___U2); - s.h___8294 = (r0); + s.h___23572 = (r0); s.tmp_2 = control_EventHandler_unregister__P284_mk(s); - s.tmp_2.arg0 = s.h___8294; + s.tmp_2.arg0 = s.h___23572; s.callLocIdx = 62; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; @@ -14781,7 +14781,7 @@ function control_EventContext_unregister__P292_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___8294: undefined, + h___23572: undefined, unnamed52___U1: undefined, unnamed53___U2: undefined, arg0: undefined, @@ -14872,21 +14872,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___5210 = undefined; + s.i___20327 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___5210 = (0); + s.i___20327 = (0); case 1: - s.tmp_1 = r0 = s.i___5210; + s.tmp_1 = r0 = s.i___20327; 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___5210); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___20327); s.tmp_4 = r0; r0 = (s.tmp_4 > 8192); s.tmp_3 = r0; @@ -14896,8 +14896,8 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.i___5210 + 1); - s.i___5210 = (r0); + r0 = (s.i___20327 + 1); + s.i___20327 = (r0); { step = 1; continue; } case 4: r0 = globals.font8___530; @@ -14917,7 +14917,7 @@ function image_getFontForText__P533_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - i___5210: undefined, + i___20327: undefined, arg0: undefined, } } @@ -15137,7 +15137,7 @@ function Sprite_setFlag__P813_mk(s) { -function tileworld_Project_getWorldBackgrounds__P3943(s) { +function tileworld_Project_getWorldBackgrounds__P6116(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15152,17 +15152,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C3937_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); r0 = s.arg0.fields["_backgrounds"]; return leave(s, r0) default: oops() } } } -tileworld_Project_getWorldBackgrounds__P3943.info = {"start":2871,"length":78,"line":83,"column":8,"endLine":85,"endColumn":9,"fileName":"project.ts","functionName":"getWorldBackgrounds","argumentNames":["this"]} +tileworld_Project_getWorldBackgrounds__P6116.info = {"start":2871,"length":78,"line":83,"column":8,"endLine":85,"endColumn":9,"fileName":"project.ts","functionName":"getWorldBackgrounds","argumentNames":["this"]} -function tileworld_Project_getWorldBackgrounds__P3943_mk(s) { +function tileworld_Project_getWorldBackgrounds__P6116_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getWorldBackgrounds__P3943, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getWorldBackgrounds__P6116, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -15171,7 +15171,7 @@ function tileworld_Project_getWorldBackgrounds__P3943_mk(s) { -function tileworld_RuleVisualsBase_drawImage__P4341(s) { +function tileworld_RuleVisualsBase_drawImage__P10850(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15189,7 +15189,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C4330_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C10839_VT)) failedCast(r0); s.tmp_0 = r0 = globals.screen___578; s.tmp_1 = r0 = s.arg3; r0 = (s.arg1 << 4); @@ -15203,12 +15203,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_drawImage__P4341.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__P10850.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__P4341_mk(s) { +function tileworld_RuleVisualsBase_drawImage__P10850_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_drawImage__P4341, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_drawImage__P10850, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15235,31 +15235,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x0___8541 = undefined; - s.cp___8543 = undefined; - s.mult___8544 = undefined; - s.dataW___8550 = undefined; - s.dataH___8556 = undefined; - s.byteHeight___8562 = undefined; - s.charSize___8568 = undefined; - s.dataSize___8572 = undefined; - s.fontdata___8576 = undefined; - s.lastchar___8580 = undefined; - s.imgBuf___8588 = undefined; - s.xOffset___8612 = undefined; - s.yOffset___8613 = undefined; - s.ch___8629 = undefined; - s.l___8648 = undefined; - s.r___8649 = undefined; - s.off___8651 = undefined; - s.guess___8652 = undefined; - s.m___8673 = undefined; - s.v___8682 = undefined; - s.i___8741 = undefined; - s.j___8746 = undefined; - s.mask___8747 = undefined; - s.c___8748 = undefined; - s.n___8765 = undefined; + s.x0___24844 = undefined; + s.cp___24846 = undefined; + s.mult___24847 = undefined; + s.dataW___24853 = undefined; + s.dataH___24859 = undefined; + s.byteHeight___24865 = undefined; + s.charSize___24871 = undefined; + s.dataSize___24875 = undefined; + s.fontdata___24879 = undefined; + s.lastchar___24883 = undefined; + s.imgBuf___24890 = undefined; + s.xOffset___24914 = undefined; + s.yOffset___24915 = undefined; + s.ch___24931 = undefined; + s.l___24950 = undefined; + s.r___24951 = undefined; + s.off___24953 = undefined; + s.guess___24954 = undefined; + s.m___24974 = undefined; + s.v___24983 = undefined; + s.i___25041 = undefined; + s.j___25046 = undefined; + s.mask___25047 = undefined; + s.c___25048 = undefined; + s.n___25065 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -15297,8 +15297,8 @@ switch (step) { s.arg4 = (1); case 3: case 4: - s.x0___8541 = (s.arg2); - s.cp___8543 = (0); + s.x0___24844 = (s.arg2); + s.cp___24846 = (0); s.tmp_1 = if_multiplier_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -15332,7 +15332,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.mult___8544 = (s.tmp_3); + s.mult___24847 = (s.tmp_3); s.tmp_1 = if_charWidth_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -15346,8 +15346,8 @@ switch (step) { case 42: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___8544); - s.dataW___8550 = (r0); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___24847); + s.dataW___24853 = (r0); s.tmp_1 = if_charHeight_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -15361,16 +15361,16 @@ switch (step) { case 43: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___8544); - s.dataH___8556 = (r0); - r0 = (s.dataH___8556 + 7); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___24847); + s.dataH___24859 = (r0); + r0 = (s.dataH___24859 + 7); s.tmp_0 = r0; r0 = (s.tmp_0 >> 3); - s.byteHeight___8562 = (r0); - r0 = (s.byteHeight___8562 * s.dataW___8550); - s.charSize___8568 = (r0); - r0 = (2 + s.charSize___8568); - s.dataSize___8572 = (r0); + s.byteHeight___24865 = (r0); + r0 = (s.byteHeight___24865 * s.dataW___24853); + s.charSize___24871 = (r0); + r0 = (2 + s.charSize___24871); + s.dataSize___24875 = (r0); s.tmp_0 = if_data_1_mk(s); s.tmp_0.arg0 = s.arg5; if (!s.tmp_0.arg0.vtable.iface) { @@ -15383,44 +15383,44 @@ switch (step) { } case 44: r0 = s.retval; - s.fontdata___8576 = (r0); - r0 = pxsim.BufferMethods.length(s.fontdata___8576); + s.fontdata___24879 = (r0); + r0 = pxsim.BufferMethods.length(s.fontdata___24879); s.tmp_1 = r0; - r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___8572); + r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___24875); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.lastchar___8580 = (r0); - r0 = (s.mult___8544 == 1); + s.lastchar___24883 = (r0); + r0 = (s.mult___24847 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (8 + s.charSize___8568); + r0 = (8 + s.charSize___24871); s.tmp_1 = r0; r0 = pxsim.control.createBuffer(s.tmp_1); - s.imgBuf___8588 = (r0); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___8588, 0, 135); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___8588, 1, 1); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___8588, 2, s.dataW___8550); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___8588, 4, s.dataH___8556); + s.imgBuf___24890 = (r0); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___24890, 0, 135); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___24890, 1, 1); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___24890, 2, s.dataW___24853); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___24890, 4, s.dataH___24859); case 7: case 8: case 9: - s.tmp_1 = r0 = s.cp___8543; + s.tmp_1 = r0 = s.cp___24846; 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___8612 = (0); - s.yOffset___8613 = (0); + s.xOffset___24914 = (0); + s.yOffset___24915 = (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___8543; + s.tmp_1 = r0 = s.cp___24846; r0 = pxsim_Array__length(s.arg6); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -15430,7 +15430,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___8543); + r0 = pxsim_Array__getAt(s.arg6, s.cp___24846); s.tmp_4.arg0 = r0; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "xOffset"); @@ -15442,9 +15442,9 @@ switch (step) { } case 45: r0 = s.retval; - s.xOffset___8612 = (r0); + s.xOffset___24914 = (r0); s.tmp_0 = if_yOffset_1_mk(s); - r0 = pxsim_Array__getAt(s.arg6, s.cp___8543); + r0 = pxsim_Array__getAt(s.arg6, s.cp___24846); s.tmp_0.arg0 = r0; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "yOffset"); @@ -15456,15 +15456,15 @@ switch (step) { } case 46: r0 = s.retval; - s.yOffset___8613 = (r0); + s.yOffset___24915 = (r0); case 12: case 13: - s.tmp_0 = r0 = s.cp___8543; + s.tmp_0 = r0 = s.cp___24846; r0 = (s.tmp_0 + 1); - s.cp___8543 = (r0); + s.cp___24846 = (r0); r0 = pxsim_String_.charCodeAt(s.arg1, s.tmp_0); - s.ch___8629 = (r0); - r0 = (s.ch___8629 == 10); + s.ch___24931 = (r0); + r0 = (s.ch___24931 == 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } @@ -15486,89 +15486,89 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.arg3 = (r0); - s.arg2 = (s.x0___8541); + s.arg2 = (s.x0___24844); case 14: case 15: - r0 = (s.ch___8629 < 32); + r0 = (s.ch___24931 < 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___8648 = (0); - s.r___8649 = (s.lastchar___8580); - s.off___8651 = (0); - r0 = (s.ch___8629 - 32); + s.l___24950 = (0); + s.r___24951 = (s.lastchar___24883); + s.off___24953 = (0); + r0 = (s.ch___24931 - 32); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.dataSize___8572); - s.guess___8652 = (r0); - r0 = pxsim.BufferMethods.getNumber(s.fontdata___8576, 4, s.guess___8652); + r0 = (s.tmp_0 * s.dataSize___24875); + s.guess___24954 = (r0); + r0 = pxsim.BufferMethods.getNumber(s.fontdata___24879, 4, s.guess___24954); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.ch___8629); + r0 = (s.tmp_1 == s.ch___24931); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.off___8651 = (s.guess___8652); + s.off___24953 = (s.guess___24954); { step = 25; continue; } case 18: case 19: - r0 = (s.l___8648 <= s.r___8649); + r0 = (s.l___24950 <= s.r___24951); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - s.tmp_1 = r0 = s.l___8648; - r0 = (s.r___8649 - s.l___8648); + s.tmp_1 = r0 = s.l___24950; + r0 = (s.r___24951 - s.l___24950); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.m___8673 = (r0); - s.tmp_0 = r0 = s.fontdata___8576; - r0 = (s.m___8673 * s.dataSize___8572); + s.m___24974 = (r0); + s.tmp_0 = r0 = s.fontdata___24879; + r0 = (s.m___24974 * s.dataSize___24875); s.tmp_1 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_0, 4, s.tmp_1); - s.v___8682 = (r0); - r0 = (s.v___8682 == s.ch___8629); + s.v___24983 = (r0); + r0 = (s.v___24983 == s.ch___24931); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.m___8673 * s.dataSize___8572); - s.off___8651 = (r0); + r0 = (s.m___24974 * s.dataSize___24875); + s.off___24953 = (r0); { step = 24; continue; } case 20: case 21: - r0 = (s.v___8682 < s.ch___8629); + r0 = (s.v___24983 < s.ch___24931); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.m___8673 + 1); - s.l___8648 = (r0); + r0 = (s.m___24974 + 1); + s.l___24950 = (r0); { step = 23; continue; } case 22: - r0 = (s.m___8673 - 1); - s.r___8649 = (r0); + r0 = (s.m___24974 - 1); + s.r___24951 = (r0); case 23: { step = 19; continue; } case 24: case 25: - r0 = (s.mult___8544 == 1); + r0 = (s.mult___24847 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_1 = r0 = s.imgBuf___8588; - s.tmp_3 = r0 = s.fontdata___8576; - r0 = (s.off___8651 + 2); + s.tmp_1 = r0 = s.imgBuf___24890; + s.tmp_3 = r0 = s.fontdata___24879; + r0 = (s.off___24953 + 2); s.tmp_4 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___8568); + r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___24871); s.tmp_2 = r0; r0 = pxsim.BufferMethods.write(s.tmp_1, 8, s.tmp_2); s.tmp_0 = helpers_imageDrawIcon__P516_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.imgBuf___8588; - r0 = (s.arg2 + s.xOffset___8612); + s.tmp_0.arg1 = s.imgBuf___24890; + r0 = (s.arg2 + s.xOffset___24914); s.tmp_0.arg2 = r0; - r0 = (s.arg3 + s.yOffset___8613); + r0 = (s.arg3 + s.yOffset___24915); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg4; s.callLocIdx = 117; s.pc = 48; return s.tmp_0; @@ -15592,88 +15592,88 @@ switch (step) { s.arg2 = (r0); { step = 37; continue; } case 26: - r0 = (s.off___8651 + 2); - s.off___8651 = (r0); - s.i___8741 = (0); + r0 = (s.off___24953 + 2); + s.off___24953 = (r0); + s.i___25041 = (0); case 27: - r0 = (s.i___8741 < s.dataW___8550); + r0 = (s.i___25041 < s.dataW___24853); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 36; continue; } - s.j___8746 = (0); - s.mask___8747 = (1); - s.tmp_0 = r0 = s.off___8651; + s.j___25046 = (0); + s.mask___25047 = (1); + s.tmp_0 = r0 = s.off___24953; r0 = (s.tmp_0 + 1); - s.off___8651 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___8576, s.tmp_0); - s.c___8748 = (r0); + s.off___24953 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___24879, s.tmp_0); + s.c___25048 = (r0); case 28: - r0 = (s.j___8746 < s.dataH___8556); + r0 = (s.j___25046 < s.dataH___24859); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 35; continue; } - r0 = (s.mask___8747 == 256); + r0 = (s.mask___25047 == 256); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 29; continue; } - s.tmp_2 = r0 = s.off___8651; + s.tmp_2 = r0 = s.off___24953; r0 = (s.tmp_2 + 1); - s.off___8651 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___8576, s.tmp_2); - s.c___8748 = (r0); - s.mask___8747 = (1); + s.off___24953 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___24879, s.tmp_2); + s.c___25048 = (r0); + s.mask___25047 = (1); case 29: case 30: - s.n___8765 = (0); + s.n___25065 = (0); case 31: - r0 = (s.c___8748 & s.mask___8747); + r0 = (s.c___25048 & s.mask___25047); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = (s.n___8765 + 1); - s.n___8765 = (r0); - r0 = (s.mask___8747 << 1); - s.mask___8747 = (r0); + r0 = (s.n___25065 + 1); + s.n___25065 = (r0); + r0 = (s.mask___25047 << 1); + s.mask___25047 = (r0); { step = 31; continue; } case 32: - r0 = pxsim_numops_toBoolDecr(s.n___8765); + r0 = pxsim_numops_toBoolDecr(s.n___25065); if (!r0) { step = 33; continue; } s.tmp_0 = helpers_imageFillRect__P517_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg2; - r0 = (s.xOffset___8612 * s.mult___8544); + r0 = (s.xOffset___24914 * s.mult___24847); 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___8746 + s.yOffset___8613); + r0 = (s.j___25046 + s.yOffset___24915); s.tmp_5 = r0; - r0 = (s.tmp_5 * s.mult___8544); + r0 = (s.tmp_5 * s.mult___24847); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.mult___8544; - r0 = (s.mult___8544 * s.n___8765); + s.tmp_0.arg3 = s.mult___24847; + r0 = (s.mult___24847 * s.n___25065); 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___8746 + s.n___8765); - s.j___8746 = (r0); + r0 = (s.j___25046 + s.n___25065); + s.j___25046 = (r0); { step = 34; continue; } case 33: - r0 = (s.mask___8747 << 1); - s.mask___8747 = (r0); - r0 = (s.j___8746 + 1); - s.j___8746 = (r0); + r0 = (s.mask___25047 << 1); + s.mask___25047 = (r0); + r0 = (s.j___25046 + 1); + s.j___25046 = (r0); case 34: { step = 28; continue; } case 35: - r0 = (s.arg2 + s.mult___8544); + r0 = (s.arg2 + s.mult___24847); s.arg2 = (r0); - r0 = (s.i___8741 + 1); - s.i___8741 = (r0); + r0 = (s.i___25041 + 1); + s.i___25041 = (r0); { step = 27; continue; } case 36: case 37: @@ -15696,31 +15696,31 @@ function helpers_imagePrint__P541_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - x0___8541: undefined, - cp___8543: undefined, - mult___8544: undefined, - dataW___8550: undefined, - dataH___8556: undefined, - byteHeight___8562: undefined, - charSize___8568: undefined, - dataSize___8572: undefined, - fontdata___8576: undefined, - lastchar___8580: undefined, - imgBuf___8588: undefined, - xOffset___8612: undefined, - yOffset___8613: undefined, - ch___8629: undefined, - l___8648: undefined, - r___8649: undefined, - off___8651: undefined, - guess___8652: undefined, - m___8673: undefined, - v___8682: undefined, - i___8741: undefined, - j___8746: undefined, - mask___8747: undefined, - c___8748: undefined, - n___8765: undefined, + x0___24844: undefined, + cp___24846: undefined, + mult___24847: undefined, + dataW___24853: undefined, + dataH___24859: undefined, + byteHeight___24865: undefined, + charSize___24871: undefined, + dataSize___24875: undefined, + fontdata___24879: undefined, + lastchar___24883: undefined, + imgBuf___24890: undefined, + xOffset___24914: undefined, + yOffset___24915: undefined, + ch___24931: undefined, + l___24950: undefined, + r___24951: undefined, + off___24953: undefined, + guess___24954: undefined, + m___24974: undefined, + v___24983: undefined, + i___25041: undefined, + j___25046: undefined, + mask___25047: undefined, + c___25048: undefined, + n___25065: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -15851,7 +15851,7 @@ function helpers_imageFillRect__P517_mk(s) { -function tileworld_Project_saveHelp__P3959(s) { +function tileworld_Project_saveHelp__P6124(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15866,7 +15866,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C3937_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); r0 = s.arg0.fields["help"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -15890,12 +15890,12 @@ switch (step) { case 4: r0 = s.retval; s.tmp_3 = r0; - if ((globals.HelpKey___3973) && (globals.HelpKey___3973).vtable) { + if ((globals.HelpKey___6366) && (globals.HelpKey___6366).vtable) { setupResume(s, 5); - pxsim_String__stringConv(globals.HelpKey___3973); + pxsim_String__stringConv(globals.HelpKey___6366); checkResumeConsumed(); return; - } else { s.retval = (globals.HelpKey___3973) + ""; } + } else { s.retval = (globals.HelpKey___6366) + ""; } case 5: r0 = s.retval; s.tmp_5 = r0; @@ -15909,12 +15909,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_saveHelp__P3959.info = {"start":5396,"length":103,"line":153,"column":8,"endLine":155,"endColumn":9,"fileName":"project.ts","functionName":"saveHelp","argumentNames":["this"]} +tileworld_Project_saveHelp__P6124.info = {"start":5396,"length":103,"line":153,"column":8,"endLine":155,"endColumn":9,"fileName":"project.ts","functionName":"saveHelp","argumentNames":["this"]} -function tileworld_Project_saveHelp__P3959_mk(s) { +function tileworld_Project_saveHelp__P6124_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_saveHelp__P3959, depth: s.depth + 1, + parent: s, fn: tileworld_Project_saveHelp__P6124, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16033,20 +16033,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.off___8860 = undefined; - s.n___8862 = undefined; + s.off___25591 = undefined; + s.n___25593 = undefined; s.unnamed44___U2 = undefined; s.unnamed45___U3 = undefined; - s.buf___8872 = undefined; - s.n___8878 = undefined; + s.buf___25603 = undefined; + s.n___25609 = undefined; s.unnamed46___U6 = undefined; s.unnamed47___U7 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.off___8860 = (0); - s.n___8862 = (undefined); + s.off___25591 = (0); + s.n___25593 = (undefined); s.unnamed44___U2 = (s.arg0); s.unnamed45___U3 = (0); case 1: @@ -16056,27 +16056,27 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } r0 = pxsim_Array__getAt(s.unnamed44___U2, s.unnamed45___U3); - s.n___8862 = (r0); - s.tmp_2 = r0 = s.off___8860; + s.n___25593 = (r0); + s.tmp_2 = r0 = s.off___25591; s.tmp_4 = msgpack_packNumberCore__P137_mk(s); s.tmp_4.arg0 = null; - s.tmp_4.arg1 = s.off___8860; - s.tmp_4.arg2 = s.n___8862; + s.tmp_4.arg1 = s.off___25591; + s.tmp_4.arg2 = s.n___25593; 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___8860 = (r0); + s.off___25591 = (r0); r0 = (s.unnamed45___U3 + 1); s.unnamed45___U3 = (r0); { step = 1; continue; } case 2: s.unnamed44___U2 = (undefined); - r0 = pxsim.control.createBuffer(s.off___8860); - s.buf___8872 = (r0); - s.off___8860 = (0); - s.n___8878 = (undefined); + r0 = pxsim.control.createBuffer(s.off___25591); + s.buf___25603 = (r0); + s.off___25591 = (0); + s.n___25609 = (undefined); s.unnamed46___U6 = (s.arg0); s.unnamed47___U7 = (0); case 3: @@ -16086,24 +16086,24 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } r0 = pxsim_Array__getAt(s.unnamed46___U6, s.unnamed47___U7); - s.n___8878 = (r0); - s.tmp_2 = r0 = s.off___8860; + s.n___25609 = (r0); + s.tmp_2 = r0 = s.off___25591; s.tmp_4 = msgpack_packNumberCore__P137_mk(s); - s.tmp_4.arg0 = s.buf___8872; - s.tmp_4.arg1 = s.off___8860; - s.tmp_4.arg2 = s.n___8878; + s.tmp_4.arg0 = s.buf___25603; + s.tmp_4.arg1 = s.off___25591; + s.tmp_4.arg2 = s.n___25609; 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___8860 = (r0); + s.off___25591 = (r0); r0 = (s.unnamed47___U7 + 1); s.unnamed47___U7 = (r0); { step = 3; continue; } case 4: s.unnamed46___U6 = (undefined); - r0 = s.buf___8872; + r0 = s.buf___25603; return leave(s, r0) default: oops() } } } @@ -16119,12 +16119,12 @@ function msgpack_packNumberArray__P139_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - off___8860: undefined, - n___8862: undefined, + off___25591: undefined, + n___25593: undefined, unnamed44___U2: undefined, unnamed45___U3: undefined, - buf___8872: undefined, - n___8878: undefined, + buf___25603: undefined, + n___25609: undefined, unnamed46___U6: undefined, unnamed47___U7: undefined, arg0: undefined, @@ -16144,15 +16144,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tag___8892 = undefined; - s.fmt___8935 = undefined; + s.tag___25623 = undefined; + s.fmt___25666 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tag___8892 = (203); + s.tag___25623 = (203); s.tmp_1 = r0 = s.arg2; r0 = (s.arg2 << 0); s.tmp_2 = r0; @@ -16202,17 +16202,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } - s.tag___8892 = (204); + s.tag___25623 = (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___8892 = (205); + s.tag___25623 = (205); { step = 10; continue; } case 9: - s.tag___8892 = (206); + s.tag___25623 = (206); case 10: case 11: { step = 17; continue; } @@ -16221,17 +16221,17 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tag___8892 = (208); + s.tag___25623 = (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___8892 = (209); + s.tag___25623 = (209); { step = 15; continue; } case 14: - s.tag___8892 = (210); + s.tag___25623 = (210); case 15: case 16: case 17: @@ -16239,23 +16239,23 @@ switch (step) { case 19: case 20: s.tmp_0 = msgpack_tagFormat__P136_mk(s); - s.tmp_0.arg0 = s.tag___8892; + s.tmp_0.arg0 = s.tag___25623; s.callLocIdx = 19; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.fmt___8935 = (r0); + s.fmt___25666 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 21; continue; } - r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___8892); + r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___25623); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.fmt___8935; + s.tmp_1 = r0 = s.fmt___25666; 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__P129_mk(s); - s.tmp_1.arg0 = s.fmt___8935; + s.tmp_1.arg0 = s.fmt___25666; s.callLocIdx = 20; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -16280,8 +16280,8 @@ function msgpack_packNumberCore__P137_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - tag___8892: undefined, - fmt___8935: undefined, + tag___25623: undefined, + fmt___25666: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -16535,12 +16535,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___9017 = undefined; + s.oldScene___23875 = undefined; s.tmp_0 = game_currentScene__P961_mk(s); - s.callLocIdx = 856; s.pc = 11; return s.tmp_0; + s.callLocIdx = 858; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.oldScene___9017 = (r0); + s.oldScene___23875 = (r0); s.tmp_0 = r0 = globals._sceneStack___1281; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } @@ -16556,7 +16556,7 @@ switch (step) { r0 = pxsim_Array_.pop(globals._sceneStack___1281); globals._scene___1280 = (r0); s.tmp_0 = control_popEventContext__P305_mk(s); - s.callLocIdx = 857; s.pc = 12; return s.tmp_0; + s.callLocIdx = 859; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 6; continue; } @@ -16564,7 +16564,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(globals._scene___1280); if (!r0) { step = 4; continue; } s.tmp_0 = control_popEventContext__P305_mk(s); - s.callLocIdx = 858; s.pc = 13; return s.tmp_0; + s.callLocIdx = 860; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; globals._scene___1280 = (undefined); @@ -16574,20 +16574,20 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(globals._scene___1280); if (!r0) { step = 7; continue; } s.tmp_0 = particles_enableAll__P1751_mk(s); - s.callLocIdx = 859; s.pc = 14; return s.tmp_0; + 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___1283); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P9038); + r0 = pxsim_pxtcore_mkAction(1, inline__P23896); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___9017); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___23875); s.tmp_1 = helpers_arrayForEach__P60_mk(s); s.tmp_1.arg0 = globals._scenePopHandlers___1283; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 861; s.pc = 15; return s.tmp_1; + s.callLocIdx = 863; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; case 9: @@ -16605,14 +16605,14 @@ function game_popScene__P1293_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___9017: undefined, + oldScene___23875: undefined, } } -function inline__P9038(s) { +function inline__P23896(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16630,19 +16630,19 @@ switch (step) { s.tmp_0.argL = s.arg0; s.tmp_0.arg0 = s.caps[0]; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 860; s.pc = 1; return s.tmp_0; + s.callLocIdx = 862; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P9038.info = {"start":2545,"length":18,"line":91,"column":38,"endLine":91,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +inline__P23896.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__P9038_mk(s) { +function inline__P23896_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P9038, 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, arg0: undefined, @@ -16662,22 +16662,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___9042 = undefined; + s.sources___23900 = undefined; s.tmp_0 = particles_particleSources__P1752_mk(s); - s.callLocIdx = 1116; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1118; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___9042 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___9042); + s.sources___23900 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___23900); if (!r0) { step = 1; continue; } s.tmp_0 = helpers_arrayForEach__P60_mk(s); - s.tmp_0.arg0 = s.sources___9042; - s.tmp_0.arg1 = inline__P9048; - s.callLocIdx = 1118; s.pc = 4; return s.tmp_0; + s.tmp_0.arg0 = s.sources___23900; + s.tmp_0.arg1 = inline__P23906; + s.callLocIdx = 1120; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; s.tmp_0 = particles_pruneParticles__P1739_mk(s); - s.callLocIdx = 1119; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1121; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -16694,14 +16694,14 @@ function particles_enableAll__P1751_mk(s) { parent: s, fn: particles_enableAll__P1751, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___9042: undefined, + sources___23900: undefined, } } -function inline__P9048(s) { +function inline__P23906(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16718,19 +16718,19 @@ switch (step) { s.tmp_0 = particles_ParticleSource_enabled__P1724_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1117; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1119; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = true; return leave(s, r0) default: oops() } } } -inline__P9048.info = {"start":12756,"length":21,"line":415,"column":28,"endLine":415,"endColumn":49,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P23906.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__P9048_mk(s) { +function inline__P23906_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P9048, depth: s.depth + 1, + parent: s, fn: inline__P23906, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16750,8 +16750,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___9055 = undefined; - s.context___9063 = undefined; + s.ctx___23913 = undefined; + s.context___23921 = undefined; r0 = pxsim_numops_toBoolDecr(globals.eventContexts___302); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -16762,8 +16762,8 @@ switch (step) { case 1: case 2: r0 = pxsim_Array_.pop(globals.eventContexts___302); - s.ctx___9055 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___9055); + s.ctx___23913 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___23913); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -16773,7 +16773,7 @@ switch (step) { case 3: case 4: s.tmp_2 = control_EventContext_unregister__P292_mk(s); - s.tmp_2.arg0 = s.ctx___9055; + s.tmp_2.arg0 = s.ctx___23913; s.callLocIdx = 69; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; @@ -16783,11 +16783,11 @@ switch (step) { r0 = (s.tmp_2 - 1); s.tmp_1 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_1); - s.context___9063 = (r0); - r0 = pxsim_numops_toBoolDecr(s.context___9063); + s.context___23921 = (r0); + r0 = pxsim_numops_toBoolDecr(s.context___23921); if (!r0) { step = 5; continue; } s.tmp_0 = control_EventContext_register__P291_mk(s); - s.tmp_0.arg0 = s.context___9063; + s.tmp_0.arg0 = s.context___23921; s.callLocIdx = 70; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; @@ -16810,8 +16810,8 @@ function control_popEventContext__P305_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ctx___9055: undefined, - context___9063: undefined, + ctx___23913: undefined, + context___23921: undefined, } } @@ -16828,7 +16828,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___9076 = undefined; + s.h___23934 = undefined; s.unnamed50___U1 = undefined; s.unnamed51___U2 = undefined; if (s.lambdaArgs) { @@ -16837,7 +16837,7 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, control_EventContext__C287_VT)) failedCast(r0); - s.h___9076 = (undefined); + s.h___23934 = (undefined); r0 = s.arg0.fields["handlers"]; s.unnamed50___U1 = (r0); s.unnamed51___U2 = (0); @@ -16848,9 +16848,9 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } r0 = pxsim_Array__getAt(s.unnamed50___U1, s.unnamed51___U2); - s.h___9076 = (r0); + s.h___23934 = (r0); s.tmp_2 = control_EventHandler_register__P283_mk(s); - s.tmp_2.arg0 = s.h___9076; + s.tmp_2.arg0 = s.h___23934; s.callLocIdx = 60; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; @@ -16878,7 +16878,7 @@ function control_EventContext_register__P291_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___9076: undefined, + h___23934: undefined, unnamed50___U1: undefined, unnamed51___U2: undefined, arg0: undefined, @@ -16931,32 +16931,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___9088 = undefined; - s.i___9091 = undefined; + s.len___25794 = undefined; + s.i___25797 = 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___9088 = (r0); - s.i___9091 = (0); + s.len___25794 = (r0); + s.i___25797 = (0); case 1: - r0 = (s.i___9091 < s.len___9088); + r0 = (s.i___25797 < s.len___25794); 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___9091); + r0 = pxsim_Array__getAt(s.arg0, s.i___25797); s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___9091; + s.tmp_1.arg1 = s.i___25797; 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___9091 + 1); - s.i___9091 = (r0); + r0 = (s.i___25797 + 1); + s.i___25797 = (r0); { step = 1; continue; } case 2: r0 = undefined; @@ -16972,8 +16972,8 @@ function helpers_arrayForEach__P60_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___9088: undefined, - i___9091: undefined, + len___25794: undefined, + i___25797: undefined, arg0: undefined, arg1: undefined, } } @@ -17026,7 +17026,7 @@ function settings_list__P619_mk(s) { -function tileworld_RuleVisualsBase_setRow__P4338(s) { +function tileworld_RuleVisualsBase_setRow__P10847(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17042,7 +17042,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C4330_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C10839_VT)) failedCast(r0); s.tmp_0 = Sprite_y__P773_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; @@ -17052,19 +17052,19 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 6); s.tmp_0.arg1 = r0; - s.callLocIdx = 676; s.pc = 1; return s.tmp_0; + s.callLocIdx = 679; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_setRow__P4338.info = {"start":3985,"length":92,"line":100,"column":8,"endLine":102,"endColumn":9,"fileName":"rulesBase.ts","functionName":"setRow","argumentNames":["this","row"]} +tileworld_RuleVisualsBase_setRow__P10847.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__P4338_mk(s) { +function tileworld_RuleVisualsBase_setRow__P10847_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_setRow__P4338, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_setRow__P10847, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17142,7 +17142,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___9133 = undefined; + s.physics___24528 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -17155,9 +17155,9 @@ switch (step) { case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___9133 = (r0); + s.physics___24528 = (r0); s.tmp_0 = PhysicsEngine__C880_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___9133; + s.tmp_0.arg0 = s.physics___24528; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = 0; r0 = (s.arg1 * 256); @@ -17188,7 +17188,7 @@ function Sprite_top__P801_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - physics___9133: undefined, + physics___24528: undefined, arg0: undefined, arg1: undefined, } } @@ -17309,7 +17309,7 @@ function Sprite_top__P800_mk(s) { -function tileworld_RuleVisualsBase_setCol__P4337(s) { +function tileworld_RuleVisualsBase_setCol__P10846(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17325,7 +17325,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C4330_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C10839_VT)) failedCast(r0); s.tmp_0 = Sprite_x__P771_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; @@ -17333,19 +17333,19 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 8); s.tmp_0.arg1 = r0; - s.callLocIdx = 675; s.pc = 1; return s.tmp_0; + s.callLocIdx = 678; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_setCol__P4337.info = {"start":3890,"length":85,"line":96,"column":8,"endLine":98,"endColumn":9,"fileName":"rulesBase.ts","functionName":"setCol","argumentNames":["this","col"]} +tileworld_RuleVisualsBase_setCol__P10846.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__P4337_mk(s) { +function tileworld_RuleVisualsBase_setCol__P10846_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_setCol__P4337, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_setCol__P10846, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17422,7 +17422,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___9180 = undefined; + s.physics___20041 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -17435,9 +17435,9 @@ switch (step) { case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___9180 = (r0); + s.physics___20041 = (r0); s.tmp_0 = PhysicsEngine__C880_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___9180; + s.tmp_0.arg0 = s.physics___20041; s.tmp_0.arg1 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -17468,7 +17468,7 @@ function Sprite_left__P797_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - physics___9180: undefined, + physics___20041: undefined, arg0: undefined, arg1: undefined, } } @@ -17515,7 +17515,7 @@ function Sprite_left__P796_mk(s) { -function tileworld_GameHome_constructor__P4565(s) { +function tileworld_GameHome_constructor__P15722(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17531,52 +17531,52 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_GameHome__C4561_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleVisualsBase_constructor__P4348_mk(s); + if (!checkSubtype(r0, tileworld_GameHome__C15718_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleVisualsBase_constructor__P10857_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1354; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1357; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P4337_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P10846_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1355; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1358; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P4338_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P10847_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1356; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1359; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P9205); + r0 = pxsim_pxtcore_mkAction(1, inline__P15732); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.A___665; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1384; s.pc = 4; return s.tmp_1; + s.callLocIdx = 1387; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0 = controller_Button_onEvent__P699_mk(s); s.tmp_0.arg0 = globals.B___667; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = inline__P9309; - s.callLocIdx = 1386; s.pc = 5; return s.tmp_0; + s.tmp_0.arg2 = inline__P15835; + s.callLocIdx = 1389; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_GameHome_constructor__P4565.info = {"start":222,"length":2063,"line":6,"column":8,"endLine":56,"endColumn":9,"fileName":"home.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_GameHome_constructor__P15722.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__P4565_mk(s) { +function tileworld_GameHome_constructor__P15722_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_GameHome_constructor__P4565, depth: s.depth + 1, + parent: s, fn: tileworld_GameHome_constructor__P15722, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17588,7 +17588,7 @@ function tileworld_GameHome_constructor__P4565_mk(s) { -function inline__P9205(s) { +function inline__P15732(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17598,60 +17598,60 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___9206 = undefined; - s.command___9237 = undefined; - s.rules___9244 = undefined; - s.g___9252 = undefined; + s.index___15733 = undefined; + s.command___15763 = undefined; + s.rules___15770 = undefined; + s.g___15778 = undefined; r0 = s.caps[0].fields["dirMap"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 1357; s.pc = 22; return s.tmp_2; + s.callLocIdx = 1360; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 1358; s.pc = 23; return s.tmp_4; + s.callLocIdx = 1361; 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___9206 = (r0); - r0 = (s.index___9206 != 15); + s.index___15733 = (r0); + r0 = (s.index___15733 != 15); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } s.tmp_1 = game_pushScene__P1292_mk(s); - s.callLocIdx = 1359; s.pc = 24; return s.tmp_1; + s.callLocIdx = 1362; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_Gallery__C4546_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_Gallery__C15344_VT); s.tmp_0 = r0; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_SwitchExport__C3926_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_SwitchExport__C5978_VT); s.tmp_1 = r0; - s.tmp_2 = tileworld_SwitchExport_constructor__P3930_mk(s); + s.tmp_2 = tileworld_SwitchExport_constructor__P5982_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__P4340_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 1360; s.pc = 26; return s.tmp_4; + s.callLocIdx = 1363; 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 = 1361; s.pc = 25; return s.tmp_2; + s.callLocIdx = 1364; s.pc = 25; return s.tmp_2; case 25: r0 = s.retval; - s.tmp_7 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_7 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_7.arg0 = s.caps[0]; s.tmp_7.arg1 = true; - s.callLocIdx = 1362; s.pc = 27; return s.tmp_7; + s.callLocIdx = 1365; s.pc = 27; return s.tmp_7; case 27: r0 = s.retval; s.tmp_6 = r0; @@ -17659,30 +17659,30 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 1; continue; } - r0 = globals.galleryTiles___4232; + r0 = globals.galleryTiles___7160; { step = 2; continue; } case 1: - r0 = globals.gallerySprites___4219; + r0 = globals.gallerySprites___7178; case 2: // jmp value (already in r0) s.tmp_8 = r0; - s.tmp_9 = tileworld_Gallery_constructor__P4549_mk(s); + s.tmp_9 = tileworld_Gallery_constructor__P15347_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___9206; + s.tmp_9.arg2 = s.index___15733; s.tmp_9.arg3 = s.tmp_1; s.tmp_9.arg4 = s.tmp_8; - s.callLocIdx = 1363; s.pc = 28; return s.tmp_9; + s.callLocIdx = 1366; 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__P4340_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 1364; s.pc = 29; return s.tmp_2; + s.callLocIdx = 1367; s.pc = 29; return s.tmp_2; case 29: r0 = s.retval; s.tmp_1 = r0; @@ -17693,48 +17693,48 @@ switch (step) { { step = 21; continue; } case 5: case 6: - s.tmp_3 = r0 = globals.commandImages___4556; - s.tmp_5 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_3 = r0 = globals.commandImages___15713; + s.tmp_5 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_5.arg0 = s.caps[0]; s.tmp_5.arg1 = true; - s.callLocIdx = 1365; s.pc = 30; return s.tmp_5; + s.callLocIdx = 1368; 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___9237 = (r0); - r0 = (s.command___9237 == globals.play___3991); + s.command___15763 = (r0); + r0 = (s.command___15763 == globals.play___7220); 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___9244 = (r0); - r0 = pxsim_Array__length(s.rules___9244); + s.rules___15770 = (r0); + r0 = pxsim_Array__length(s.rules___15770); 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__P1292_mk(s); - s.callLocIdx = 1367; s.pc = 31; return s.tmp_2; + s.callLocIdx = 1370; s.pc = 31; return s.tmp_2; case 31: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RunGame__C4279_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RunGame__C9491_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_RunGame_constructor__P4289_mk(s); + s.tmp_1 = tileworld_RunGame_constructor__P9501_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___9244; + s.tmp_1.arg2 = s.rules___15770; s.tmp_1.arg3 = false; - s.callLocIdx = 1368; s.pc = 32; return s.tmp_1; + s.callLocIdx = 1371; s.pc = 32; return s.tmp_1; case 32: r0 = s.retval; - s.g___9252 = (s.tmp_0); - s.tmp_0 = tileworld_RunGame_setWorld__P4283_mk(s); - s.tmp_0.arg0 = s.g___9252; + s.g___15778 = (s.tmp_0); + s.tmp_0 = tileworld_RunGame_setWorld__P9495_mk(s); + s.tmp_0.arg0 = s.g___15778; r0 = s.caps[0].fields["p"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_backgrounds"]; @@ -17743,87 +17743,87 @@ switch (step) { s.tmp_2 = r0; r0 = s.tmp_2.fields["_sprites"]; s.tmp_0.arg2 = r0; - s.callLocIdx = 1371; s.pc = 33; return s.tmp_0; + s.callLocIdx = 1374; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.tmp_0 = tileworld_RunGame_start__P4285_mk(s); - s.tmp_0.arg0 = s.g___9252; - s.callLocIdx = 1372; s.pc = 34; return s.tmp_0; + s.tmp_0 = tileworld_RunGame_start__P9497_mk(s); + s.tmp_0.arg0 = s.g___15778; + s.callLocIdx = 1375; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; case 7: case 8: { step = 20; continue; } case 9: - r0 = (s.command___9237 == globals.map___3988); + r0 = (s.command___15763 == globals.map___7217); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } s.tmp_1 = game_pushScene__P1292_mk(s); - s.callLocIdx = 1373; s.pc = 35; return s.tmp_1; + s.callLocIdx = 1376; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_MapEditor__C4531_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_MapEditor__C13477_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_MapEditor_constructor__P4545_mk(s); + s.tmp_1 = tileworld_MapEditor_constructor__P13492_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.caps[0].fields["p"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 1374; s.pc = 36; return s.tmp_1; + s.callLocIdx = 1377; s.pc = 36; return s.tmp_1; case 36: r0 = s.retval; { step = 19; continue; } case 10: - r0 = (s.command___9237 == globals.paint___4000); + r0 = (s.command___15763 == globals.paint___7229); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } s.tmp_1 = game_pushScene__P1292_mk(s); - s.callLocIdx = 1375; s.pc = 37; return s.tmp_1; + s.callLocIdx = 1378; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_ImageEditor__C4316_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_ImageEditor__C10052_VT); s.tmp_0 = r0; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_AllExport__C3931_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_AllExport__C6025_VT); s.tmp_1 = r0; - s.tmp_2 = tileworld_AllExport_constructor__P3936_mk(s); + s.tmp_2 = tileworld_AllExport_constructor__P6030_mk(s); s.tmp_2.arg0 = s.tmp_1; r0 = s.caps[0].fields["p"]; s.tmp_2.arg1 = r0; - s.callLocIdx = 1376; s.pc = 38; return s.tmp_2; + s.callLocIdx = 1379; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; - s.tmp_3 = tileworld_ImageEditor_constructor__P4326_mk(s); + s.tmp_3 = tileworld_ImageEditor_constructor__P10062_mk(s); s.tmp_3.arg0 = s.tmp_0; s.tmp_3.arg1 = s.tmp_1; - s.callLocIdx = 1377; s.pc = 39; return s.tmp_3; + s.callLocIdx = 1380; s.pc = 39; return s.tmp_3; case 39: r0 = s.retval; { step = 18; continue; } case 11: - r0 = (s.command___9237 == globals.code___3997); + r0 = (s.command___15763 == globals.code___7226); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } s.tmp_1 = game_pushScene__P1292_mk(s); - s.callLocIdx = 1378; s.pc = 40; return s.tmp_1; + s.callLocIdx = 1381; s.pc = 40; return s.tmp_1; case 40: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_ruleediting_RuleRoom__C4455_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_ruleediting_RuleRoom__C12555_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_ruleediting_RuleRoom_constructor__P4465_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleRoom_constructor__P12565_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.caps[0].fields["p"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 1379; s.pc = 41; return s.tmp_1; + s.callLocIdx = 1382; s.pc = 41; return s.tmp_1; case 41: r0 = s.retval; { step = 17; continue; } case 12: - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 1380; s.pc = 42; return s.tmp_2; + s.callLocIdx = 1383; s.pc = 42; return s.tmp_2; case 42: r0 = s.retval; s.tmp_1 = r0; @@ -17834,10 +17834,10 @@ switch (step) { r0 = s.tmp_0; { step = 14; continue; } case 13: - s.tmp_4 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 1381; s.pc = 43; return s.tmp_4; + s.callLocIdx = 1384; s.pc = 43; return s.tmp_4; case 43: r0 = s.retval; s.tmp_3 = r0; @@ -17848,16 +17848,16 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 15; continue; } s.tmp_6 = game_pushScene__P1292_mk(s); - s.callLocIdx = 1382; s.pc = 44; return s.tmp_6; + s.callLocIdx = 1385; s.pc = 44; return s.tmp_6; case 44: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_ProjectSettings__C4550_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_ProjectSettings__C15482_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_ProjectSettings_constructor__P4553_mk(s); + s.tmp_1 = tileworld_ProjectSettings_constructor__P15485_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.caps[0].fields["p"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 1383; s.pc = 45; return s.tmp_1; + s.callLocIdx = 1386; s.pc = 45; return s.tmp_1; case 45: r0 = s.retval; case 15: @@ -17871,12 +17871,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P9205.info = {"start":392,"length":1759,"line":12,"column":64,"endLine":51,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":[]} +inline__P15732.info = {"start":392,"length":1759,"line":12,"column":64,"endLine":51,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":[]} -function inline__P9205_mk(s) { +function inline__P15732_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P9205, depth: s.depth + 1, + parent: s, fn: inline__P15732, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17888,17 +17888,17 @@ function inline__P9205_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - index___9206: undefined, - command___9237: undefined, - rules___9244: undefined, - g___9252: undefined, + index___15733: undefined, + command___15763: undefined, + rules___15770: undefined, + g___15778: undefined, } } -function inline__P9309(s) { +function inline__P15835(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17909,19 +17909,19 @@ switch (step) { case 0: s.tmp_0 = game_popScene__P1293_mk(s); - s.callLocIdx = 1385; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1388; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P9309.info = {"start":2219,"length":54,"line":53,"column":64,"endLine":55,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":[]} +inline__P15835.info = {"start":2219,"length":54,"line":53,"column":64,"endLine":55,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":[]} -function inline__P9309_mk(s) { +function inline__P15835_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P9309, depth: s.depth + 1, + parent: s, fn: inline__P15835, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -17930,7 +17930,7 @@ function inline__P9309_mk(s) { -function tileworld_ruleediting_RuleRoom_constructor__P4465(s) { +function tileworld_ruleediting_RuleRoom_constructor__P12565(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17946,46 +17946,46 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C4455_VT)) failedCast(r0); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_constructor__P4423_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C12555_VT)) failedCast(r0); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_constructor__P11291_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = null; - s.callLocIdx = 829; s.pc = 1; return s.tmp_0; + s.callLocIdx = 832; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = (s.arg0).fields["kind"] = (0); - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P4337_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P10846_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 830; s.pc = 2; return s.tmp_0; + s.callLocIdx = 833; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P4338_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P10847_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 = 831; s.pc = 3; return s.tmp_0; + s.callLocIdx = 834; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P4345_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P10854_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 832; s.pc = 4; return s.tmp_0; + s.callLocIdx = 835; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P4338_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P10847_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 833; s.pc = 5; return s.tmp_0; + s.callLocIdx = 836; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; s.tmp_0 = r0 = s.arg0; s.tmp_2 = sprites_create__P763_mk(s); - s.tmp_2.arg0 = globals.cursorIn___4021; + s.tmp_2.arg0 = globals.cursorIn___7250; s.tmp_2.arg1 = undefined; - s.callLocIdx = 834; s.pc = 6; return s.tmp_2; + s.callLocIdx = 837; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_1 = r0; @@ -17995,57 +17995,57 @@ switch (step) { s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = true; - s.callLocIdx = 835; s.pc = 7; return s.tmp_0; + s.callLocIdx = 838; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; s.tmp_0 = Sprite_x__P771_mk(s); r0 = s.arg0.fields["moreHelp"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 84; - s.callLocIdx = 836; s.pc = 8; return s.tmp_0; + s.callLocIdx = 839; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; s.tmp_0 = Sprite_y__P773_mk(s); r0 = s.arg0.fields["moreHelp"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 77; - s.callLocIdx = 837; s.pc = 9; return s.tmp_0; + s.callLocIdx = 840; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom__C4455_v0_1_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom__C12555_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_ruleediting_RuleRoom__C4455_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_ruleediting_RuleRoom__C12555_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__P9352); + r0 = pxsim_pxtcore_mkAction(1, inline__P12607); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.A___665; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 853; s.pc = 11; return s.tmp_1; + s.callLocIdx = 856; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = controller_Button_onEvent__P699_mk(s); s.tmp_0.arg0 = globals.B___667; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = inline__P9426; - s.callLocIdx = 855; s.pc = 12; return s.tmp_0; + s.tmp_0.arg2 = inline__P12710; + s.callLocIdx = 858; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleRoom_constructor__P4465.info = {"start":444,"length":1639,"line":9,"column":8,"endLine":45,"endColumn":9,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_ruleediting_RuleRoom_constructor__P12565.info = {"start":444,"length":1639,"line":9,"column":8,"endLine":45,"endColumn":9,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":["this","p"]} -function tileworld_ruleediting_RuleRoom_constructor__P4465_mk(s) { +function tileworld_ruleediting_RuleRoom_constructor__P12565_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleRoom_constructor__P4465, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleRoom_constructor__P12565, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18058,7 +18058,7 @@ function tileworld_ruleediting_RuleRoom_constructor__P4465_mk(s) { -function inline__P9352(s) { +function inline__P12607(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18068,14 +18068,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rt___9374 = undefined; - s.dir___9382 = undefined; - s.rules___9391 = undefined; - s.filteredRules___9397 = undefined; - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.rt___12629 = undefined; + s.dir___12636 = undefined; + s.rules___12645 = undefined; + s.filteredRules___12651 = undefined; + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 838; s.pc = 11; return s.tmp_2; + s.callLocIdx = 841; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; s.tmp_1 = r0; @@ -18086,10 +18086,10 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 839; s.pc = 12; return s.tmp_4; + s.callLocIdx = 842; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; s.tmp_3 = r0; @@ -18102,10 +18102,10 @@ switch (step) { r0 = s.tmp_5; { step = 4; continue; } case 3: - s.tmp_7 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_7 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_7.arg0 = s.caps[0]; s.tmp_7.arg1 = true; - s.callLocIdx = 840; s.pc = 13; return s.tmp_7; + s.callLocIdx = 843; s.pc = 13; return s.tmp_7; case 13: r0 = s.retval; s.tmp_6 = r0; @@ -18122,24 +18122,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__P4340_mk(s); + s.tmp_15 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_15.arg0 = s.caps[0]; s.tmp_15.arg1 = true; - s.callLocIdx = 842; s.pc = 14; return s.tmp_15; + s.callLocIdx = 845; 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__P4345_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P10854_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 843; s.pc = 15; return s.tmp_0; + s.callLocIdx = 846; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom__C4455_v0_1_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom__C12555_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, tileworld_ruleediting_RuleRoom__C4455_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_ruleediting_RuleRoom__C12555_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: @@ -18148,77 +18148,77 @@ switch (step) { case 5: r0 = s.caps[0].fields["ruleTypeMap"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 844; s.pc = 17; return s.tmp_2; + s.callLocIdx = 847; s.pc = 17; return s.tmp_2; case 17: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 845; s.pc = 18; return s.tmp_4; + s.callLocIdx = 848; 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___9374 = (r0); + s.rt___12629 = (r0); r0 = s.caps[0].fields["dirMap"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 846; s.pc = 19; return s.tmp_2; + s.callLocIdx = 849; s.pc = 19; return s.tmp_2; case 19: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 847; s.pc = 20; return s.tmp_4; + s.callLocIdx = 850; 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___9382 = (r0); - r0 = (s.rt___9374 != 15); + s.dir___12636 = (r0); + r0 = (s.rt___12629 != 15); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.tmp_1 = tileworld_Project_getRulesForSpriteKind__P3965_mk(s); + s.tmp_1 = tileworld_Project_getRulesForSpriteKind__P6130_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 = 848; s.pc = 21; return s.tmp_1; + s.callLocIdx = 851; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - s.rules___9391 = (r0); - s.tmp_0 = tileworld_RuleVisualsBase_getRulesForTypeDir__P4336_mk(s); + s.rules___12645 = (r0); + s.tmp_0 = tileworld_RuleVisualsBase_getRulesForTypeDir__P10845_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_0.arg1 = s.rules___9391; - s.tmp_0.arg2 = s.rt___9374; - s.tmp_0.arg3 = s.dir___9382; - s.callLocIdx = 849; s.pc = 22; return s.tmp_0; + s.tmp_0.arg1 = s.rules___12645; + s.tmp_0.arg2 = s.rt___12629; + s.tmp_0.arg3 = s.dir___12636; + s.callLocIdx = 852; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.filteredRules___9397 = (r0); - r0 = pxsim_Array__length(s.filteredRules___9397); + s.filteredRules___12651 = (r0); + r0 = pxsim_Array__length(s.filteredRules___12651); 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___9397; - s.tmp_4 = tileworld_Project_makeRule__P3956_mk(s); + s.tmp_2 = r0 = s.filteredRules___12651; + s.tmp_4 = tileworld_Project_makeRule__P6121_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.rt___9374; - s.tmp_4.arg2 = s.dir___9382; + s.tmp_4.arg1 = s.rt___12629; + s.tmp_4.arg2 = s.dir___12636; r0 = s.caps[0].fields["kind"]; s.tmp_4.arg3 = r0; - s.callLocIdx = 850; s.pc = 23; return s.tmp_4; + s.callLocIdx = 853; s.pc = 23; return s.tmp_4; case 23: r0 = s.retval; s.tmp_3 = r0; @@ -18226,20 +18226,20 @@ switch (step) { case 6: case 7: s.tmp_0 = game_pushScene__P1292_mk(s); - s.callLocIdx = 851; s.pc = 24; return s.tmp_0; + s.callLocIdx = 854; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_ruleediting_RuleEditor__C4487_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_ruleediting_RuleEditor__C12671_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_ruleediting_RuleEditor_constructor__P4516_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleEditor_constructor__P12701_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___9397, 0); + r0 = pxsim_Array__getAt(s.filteredRules___12651, 0); s.tmp_1.arg2 = r0; r0 = s.caps[0].fields["kind"]; s.tmp_1.arg3 = r0; - s.callLocIdx = 852; s.pc = 25; return s.tmp_1; + s.callLocIdx = 855; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; case 8: @@ -18249,12 +18249,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P9352.info = {"start":982,"length":964,"line":23,"column":64,"endLine":41,"endColumn":13,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":[]} +inline__P12607.info = {"start":982,"length":964,"line":23,"column":64,"endLine":41,"endColumn":13,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":[]} -function inline__P9352_mk(s) { +function inline__P12607_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P9352, depth: s.depth + 1, + parent: s, fn: inline__P12607, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18272,17 +18272,17 @@ function inline__P9352_mk(s) { tmp_13: undefined, tmp_14: undefined, tmp_15: undefined, - rt___9374: undefined, - dir___9382: undefined, - rules___9391: undefined, - filteredRules___9397: undefined, + rt___12629: undefined, + dir___12636: undefined, + rules___12645: undefined, + filteredRules___12651: undefined, } } -function inline__P9426(s) { +function inline__P12710(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18293,19 +18293,19 @@ switch (step) { case 0: s.tmp_0 = game_popScene__P1293_mk(s); - s.callLocIdx = 854; s.pc = 1; return s.tmp_0; + s.callLocIdx = 857; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P9426.info = {"start":2014,"length":56,"line":42,"column":64,"endLine":44,"endColumn":13,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":[]} +inline__P12710.info = {"start":2014,"length":56,"line":42,"column":64,"endLine":44,"endColumn":13,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":[]} -function inline__P9426_mk(s) { +function inline__P12710_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P9426, depth: s.depth + 1, + parent: s, fn: inline__P12710, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -18314,7 +18314,7 @@ function inline__P9426_mk(s) { -function tileworld_ruleediting_RuleEditor_constructor__P4516(s) { +function tileworld_ruleediting_RuleEditor_constructor__P12701(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18332,34 +18332,34 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); r0 = (s.arg0).fields["kind"] = (s.arg3); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_constructor__P4423_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_constructor__P11291_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.callLocIdx = 925; s.pc = 1; return s.tmp_0; + s.callLocIdx = 928; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P4337_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P10846_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 926; s.pc = 2; return s.tmp_0; + s.callLocIdx = 929; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P4338_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P10847_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 927; s.pc = 3; return s.tmp_0; + s.callLocIdx = 930; 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__P4489_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleEditor_mainMenu__P12674_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 928; s.pc = 4; return s.tmp_0; + s.callLocIdx = 931; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(2, inline__P9444); + r0 = pxsim_pxtcore_mkAction(2, inline__P13319); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg1); @@ -18367,29 +18367,29 @@ switch (step) { s.tmp_1.arg0 = globals.A___665; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 999; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1002; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P9739); + r0 = pxsim_pxtcore_mkAction(1, inline__P13625); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.B___667; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1006; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1009; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_constructor__P4516.info = {"start":1161,"length":5971,"line":26,"column":8,"endLine":138,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["this","p","rule","kind"]} +tileworld_ruleediting_RuleEditor_constructor__P12701.info = {"start":1161,"length":5971,"line":26,"column":8,"endLine":138,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["this","p","rule","kind"]} -function tileworld_ruleediting_RuleEditor_constructor__P4516_mk(s) { +function tileworld_ruleediting_RuleEditor_constructor__P12701_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_constructor__P4516, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_constructor__P12701, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18403,7 +18403,7 @@ function tileworld_ruleediting_RuleEditor_constructor__P4516_mk(s) { -function inline__P9444(s) { +function inline__P13319(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18413,14 +18413,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___9453 = undefined; - s.rules___9468 = undefined; - s.rules___9547 = undefined; - s.index___9549 = undefined; - s.rules___9621 = undefined; - s.g___9625 = undefined; - s.col___9682 = undefined; - s.row___9688 = undefined; + s.index___13327 = undefined; + s.rules___13340 = undefined; + s.rules___13419 = undefined; + s.index___13421 = undefined; + s.rules___13508 = undefined; + s.g___13512 = undefined; + s.col___13569 = undefined; + s.row___13575 = undefined; s.tmp_0 = Sprite_say__P808_mk(s); r0 = s.caps[0].fields["helpCursor"]; s.tmp_0.arg0 = r0; @@ -18428,106 +18428,106 @@ switch (step) { s.tmp_0.arg2 = undefined; s.tmp_0.arg3 = 15; s.tmp_0.arg4 = 1; - s.callLocIdx = 929; s.pc = 70; return s.tmp_0; + s.callLocIdx = 932; s.pc = 70; return s.tmp_0; case 70: 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__P4495_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleEditor_currentRules__P12680_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.callLocIdx = 930; s.pc = 71; return s.tmp_2; + s.callLocIdx = 933; s.pc = 71; return s.tmp_2; case 71: 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___9453 = (r0); - s.tmp_0 = tileworld_Project_removeRule__P3957_mk(s); + s.index___13327 = (r0); + s.tmp_0 = tileworld_Project_removeRule__P6122_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 = 932; s.pc = 72; return s.tmp_0; + s.callLocIdx = 935; s.pc = 72; return s.tmp_0; case 72: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleEditor_currentRules__P4495_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleEditor_currentRules__P12680_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 933; s.pc = 73; return s.tmp_0; + s.callLocIdx = 936; s.pc = 73; return s.tmp_0; case 73: r0 = s.retval; - s.rules___9468 = (r0); - r0 = pxsim_Array__length(s.rules___9468); + s.rules___13340 = (r0); + r0 = pxsim_Array__length(s.rules___13340); 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__P1293_mk(s); - s.callLocIdx = 934; s.pc = 74; return s.tmp_2; + s.callLocIdx = 937; s.pc = 74; return s.tmp_2; case 74: r0 = s.retval; { step = 69; continue; } { step = 4; continue; } case 1: - s.tmp_1 = r0 = s.index___9453; - r0 = pxsim_Array__length(s.rules___9468); + s.tmp_1 = r0 = s.index___13327; + r0 = pxsim_Array__length(s.rules___13340); 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___9468, s.index___9453); + r0 = pxsim_Array__getAt(s.rules___13340, s.index___13327); { step = 3; continue; } case 2: - s.tmp_3 = r0 = s.rules___9468; - r0 = (s.index___9453 - 1); + s.tmp_3 = r0 = s.rules___13340; + r0 = (s.index___13327 - 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__P4493_mk(s); + s.tmp_6 = tileworld_ruleediting_RuleEditor_resetRule__P12678_mk(s); s.tmp_6.arg0 = s.caps[0]; s.tmp_6.arg1 = s.tmp_5; - s.callLocIdx = 935; s.pc = 75; return s.tmp_6; + s.callLocIdx = 938; s.pc = 75; return s.tmp_6; case 75: r0 = s.retval; case 4: r0 = (s.caps[0]).fields["askDeleteRule"] = (false); { step = 68; continue; } case 5: - s.tmp_1 = tileworld_ruleediting_RuleEditor_inWhenPredicate__P4497_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleEditor_inWhenPredicate__P12682_mk(s); s.tmp_1.arg0 = s.caps[0]; - s.callLocIdx = 936; s.pc = 76; return s.tmp_1; + s.callLocIdx = 939; s.pc = 76; return s.tmp_1; case 76: 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__P4410_mk(s); + s.tmp_3 = tileworld_ruleediting_RuleDisplay_active__P11278_mk(s); s.tmp_3.arg0 = s.caps[0]; - s.tmp_4 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 937; s.pc = 78; return s.tmp_4; + s.callLocIdx = 940; s.pc = 78; return s.tmp_4; case 78: r0 = s.retval; s.tmp_3.arg1 = r0; - s.tmp_6 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_6 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_6.arg0 = s.caps[0]; s.tmp_6.arg1 = true; - s.callLocIdx = 938; s.pc = 79; return s.tmp_6; + s.callLocIdx = 941; s.pc = 79; return s.tmp_6; case 79: r0 = s.retval; s.tmp_5 = r0; r0 = (s.tmp_5 - 2); s.tmp_3.arg2 = r0; - s.callLocIdx = 939; s.pc = 77; return s.tmp_3; + s.callLocIdx = 942; s.pc = 77; return s.tmp_3; case 77: r0 = s.retval; s.tmp_2 = r0; @@ -18540,21 +18540,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__P4345_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P10854_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 940; s.pc = 80; return s.tmp_0; + s.callLocIdx = 943; s.pc = 80; return s.tmp_0; case 80: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P4337_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P10846_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; - s.callLocIdx = 941; s.pc = 81; return s.tmp_0; + s.callLocIdx = 944; s.pc = 81; return s.tmp_0; case 81: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P4338_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P10847_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 1; - s.callLocIdx = 942; s.pc = 82; return s.tmp_0; + s.callLocIdx = 945; s.pc = 82; return s.tmp_0; case 82: r0 = s.retval; { step = 9; continue; } @@ -18565,9 +18565,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__P4489_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleEditor_mainMenu__P12674_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.callLocIdx = 943; s.pc = 83; return s.tmp_2; + s.callLocIdx = 946; s.pc = 83; return s.tmp_2; case 83: r0 = s.retval; case 7: @@ -18586,10 +18586,10 @@ switch (step) { r0 = s.tmp_0; { step = 14; continue; } case 13: - s.tmp_3 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_3.arg0 = s.caps[0]; s.tmp_3.arg1 = true; - s.callLocIdx = 944; s.pc = 84; return s.tmp_3; + s.callLocIdx = 947; s.pc = 84; return s.tmp_3; case 84: r0 = s.retval; s.tmp_2 = r0; @@ -18599,9 +18599,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__P4512_mk(s); + s.tmp_5 = tileworld_ruleediting_RuleEditor_attrUpdate__P12697_mk(s); s.tmp_5.arg0 = s.caps[0]; - s.callLocIdx = 945; s.pc = 85; return s.tmp_5; + s.callLocIdx = 948; s.pc = 85; return s.tmp_5; case 85: r0 = s.retval; { step = 66; continue; } @@ -18612,10 +18612,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__P4507_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleEditor_commandUpdate__P12692_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = false; - s.callLocIdx = 946; s.pc = 86; return s.tmp_2; + s.callLocIdx = 949; s.pc = 86; return s.tmp_2; case 86: r0 = s.retval; { step = 65; continue; } @@ -18626,9 +18626,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__P4515_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleEditor_dirExprUpdate__P12700_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.callLocIdx = 947; s.pc = 87; return s.tmp_2; + s.callLocIdx = 950; s.pc = 87; return s.tmp_2; case 87: r0 = s.retval; { step = 64; continue; } @@ -18639,10 +18639,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 62; continue; } - s.tmp_4 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 948; s.pc = 88; return s.tmp_4; + s.callLocIdx = 951; s.pc = 88; return s.tmp_4; case 88: r0 = s.retval; s.tmp_3 = r0; @@ -18650,10 +18650,10 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 44; continue; } - s.tmp_7 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_7 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_7.arg0 = s.caps[0]; s.tmp_7.arg1 = true; - s.callLocIdx = 949; s.pc = 89; return s.tmp_7; + s.callLocIdx = 952; s.pc = 89; return s.tmp_7; case 89: r0 = s.retval; s.tmp_6 = r0; @@ -18664,10 +18664,10 @@ switch (step) { r0 = s.tmp_5; { step = 19; continue; } case 18: - s.tmp_9 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_9 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_9.arg0 = s.caps[0]; s.tmp_9.arg1 = true; - s.callLocIdx = 950; s.pc = 90; return s.tmp_9; + s.callLocIdx = 953; s.pc = 90; return s.tmp_9; case 90: r0 = s.retval; s.tmp_8 = r0; @@ -18677,20 +18677,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__P4495_mk(s); + s.tmp_11 = tileworld_ruleediting_RuleEditor_currentRules__P12680_mk(s); s.tmp_11.arg0 = s.caps[0]; - s.callLocIdx = 951; s.pc = 91; return s.tmp_11; + s.callLocIdx = 954; s.pc = 91; return s.tmp_11; case 91: r0 = s.retval; - s.rules___9547 = (r0); + s.rules___13419 = (r0); r0 = s.caps[0].fields["rule"]; s.tmp_0 = r0; - r0 = pxsim_Array_.indexOf(s.rules___9547, s.tmp_0, undefined); - s.index___9549 = (r0); - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + r0 = pxsim_Array_.indexOf(s.rules___13419, s.tmp_0, undefined); + s.index___13421 = (r0); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 952; s.pc = 92; return s.tmp_2; + s.callLocIdx = 955; s.pc = 92; return s.tmp_2; case 92: r0 = s.retval; s.tmp_1 = r0; @@ -18701,28 +18701,28 @@ switch (step) { r0 = s.tmp_0; { step = 21; continue; } case 20: - r0 = (s.index___9549 > 0); + r0 = (s.index___13421 > 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__P4492_mk(s); + s.tmp_4 = tileworld_ruleediting_RuleEditor_changeRule__P12677_mk(s); s.tmp_4.arg0 = s.caps[0]; - s.tmp_5 = r0 = s.rules___9547; - r0 = (s.index___9549 - 1); + s.tmp_5 = r0 = s.rules___13419; + r0 = (s.index___13421 - 1); s.tmp_6 = r0; r0 = pxsim_Array__getAt(s.tmp_5, s.tmp_6); s.tmp_4.arg1 = r0; - s.callLocIdx = 953; s.pc = 93; return s.tmp_4; + s.callLocIdx = 956; s.pc = 93; return s.tmp_4; case 93: r0 = s.retval; { step = 31; continue; } case 22: - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 954; s.pc = 94; return s.tmp_2; + s.callLocIdx = 957; s.pc = 94; return s.tmp_2; case 94: r0 = s.retval; s.tmp_1 = r0; @@ -18733,8 +18733,8 @@ switch (step) { r0 = s.tmp_0; { step = 24; continue; } case 23: - s.tmp_3 = r0 = s.index___9549; - r0 = pxsim_Array__length(s.rules___9547); + s.tmp_3 = r0 = s.index___13421; + r0 = pxsim_Array__length(s.rules___13419); s.tmp_5 = r0; r0 = (s.tmp_5 - 1); s.tmp_4 = r0; @@ -18744,22 +18744,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__P4492_mk(s); + s.tmp_7 = tileworld_ruleediting_RuleEditor_changeRule__P12677_mk(s); s.tmp_7.arg0 = s.caps[0]; - s.tmp_8 = r0 = s.rules___9547; - r0 = (s.index___9549 + 1); + s.tmp_8 = r0 = s.rules___13419; + r0 = (s.index___13421 + 1); s.tmp_9 = r0; r0 = pxsim_Array__getAt(s.tmp_8, s.tmp_9); s.tmp_7.arg1 = r0; - s.callLocIdx = 955; s.pc = 95; return s.tmp_7; + s.callLocIdx = 958; s.pc = 95; return s.tmp_7; case 95: r0 = s.retval; { step = 30; continue; } case 25: - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 956; s.pc = 96; return s.tmp_2; + s.callLocIdx = 959; s.pc = 96; return s.tmp_2; case 96: r0 = s.retval; s.tmp_1 = r0; @@ -18770,9 +18770,9 @@ switch (step) { r0 = s.tmp_0; { step = 27; continue; } case 26: - s.tmp_4 = tileworld_ruleediting_RuleDisplay_getType__P4400_mk(s); + s.tmp_4 = tileworld_ruleediting_RuleDisplay_getType__P11268_mk(s); s.tmp_4.arg0 = s.caps[0]; - s.callLocIdx = 957; s.pc = 97; return s.tmp_4; + s.callLocIdx = 960; s.pc = 97; return s.tmp_4; case 97: r0 = s.retval; s.tmp_3 = r0; @@ -18782,33 +18782,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__P4492_mk(s); + s.tmp_6 = tileworld_ruleediting_RuleEditor_changeRule__P12677_mk(s); s.tmp_6.arg0 = s.caps[0]; - s.tmp_7 = tileworld_Project_makeRule__P3956_mk(s); + s.tmp_7 = tileworld_Project_makeRule__P6121_mk(s); s.tmp_7.arg0 = s.caps[1]; - s.tmp_8 = tileworld_ruleediting_RuleDisplay_getType__P4400_mk(s); + s.tmp_8 = tileworld_ruleediting_RuleDisplay_getType__P11268_mk(s); s.tmp_8.arg0 = s.caps[0]; - s.callLocIdx = 958; s.pc = 100; return s.tmp_8; + s.callLocIdx = 961; s.pc = 100; return s.tmp_8; case 100: r0 = s.retval; s.tmp_7.arg1 = r0; - s.tmp_9 = tileworld_ruleediting_RuleDisplay_getDir__P4399_mk(s); + s.tmp_9 = tileworld_ruleediting_RuleDisplay_getDir__P11267_mk(s); s.tmp_9.arg0 = s.caps[0]; - s.callLocIdx = 959; s.pc = 101; return s.tmp_9; + s.callLocIdx = 962; s.pc = 101; return s.tmp_9; case 101: r0 = s.retval; s.tmp_7.arg2 = r0; - s.tmp_10 = tileworld_ruleediting_RuleDisplay_getKind__P4401_mk(s); + s.tmp_10 = tileworld_ruleediting_RuleDisplay_getKind__P11269_mk(s); s.tmp_10.arg0 = s.caps[0]; - s.callLocIdx = 960; s.pc = 102; return s.tmp_10; + s.callLocIdx = 963; s.pc = 102; return s.tmp_10; case 102: r0 = s.retval; s.tmp_7.arg3 = r0; - s.callLocIdx = 961; s.pc = 99; return s.tmp_7; + s.callLocIdx = 964; s.pc = 99; return s.tmp_7; case 99: r0 = s.retval; s.tmp_6.arg1 = r0; - s.callLocIdx = 962; s.pc = 98; return s.tmp_6; + s.callLocIdx = 965; s.pc = 98; return s.tmp_6; case 98: r0 = s.retval; case 28: @@ -18817,10 +18817,10 @@ switch (step) { case 31: { step = 43; continue; } case 32: - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 963; s.pc = 103; return s.tmp_2; + s.callLocIdx = 966; s.pc = 103; return s.tmp_2; case 103: r0 = s.retval; s.tmp_1 = r0; @@ -18828,34 +18828,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__P3955_mk(s); + s.tmp_3 = tileworld_Project_saveRule__P6120_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 = 964; s.pc = 104; return s.tmp_3; + s.callLocIdx = 967; s.pc = 104; return s.tmp_3; case 104: r0 = s.retval; s.tmp_0 = game_pushScene__P1292_mk(s); - s.callLocIdx = 965; s.pc = 105; return s.tmp_0; + s.callLocIdx = 968; s.pc = 105; return s.tmp_0; case 105: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_MapEditor__C4531_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_MapEditor__C13477_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_MapEditor_constructor__P4545_mk(s); + s.tmp_1 = tileworld_MapEditor_constructor__P13492_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.caps[0].fields["p"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 966; s.pc = 106; return s.tmp_1; + s.callLocIdx = 969; s.pc = 106; return s.tmp_1; case 106: r0 = s.retval; { step = 69; continue; } { step = 42; continue; } case 33: - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 967; s.pc = 107; return s.tmp_2; + s.callLocIdx = 970; s.pc = 107; return s.tmp_2; case 107: r0 = s.retval; s.tmp_1 = r0; @@ -18866,10 +18866,10 @@ switch (step) { r0 = s.tmp_0; { step = 35; continue; } case 34: - s.tmp_4 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 968; s.pc = 108; return s.tmp_4; + s.callLocIdx = 971; s.pc = 108; return s.tmp_4; case 108: r0 = s.retval; s.tmp_3 = r0; @@ -18879,44 +18879,44 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 36; continue; } - s.tmp_6 = tileworld_Project_saveRule__P3955_mk(s); + s.tmp_6 = tileworld_Project_saveRule__P6120_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_6.arg0 = r0; r0 = s.caps[0].fields["rule"]; s.tmp_6.arg1 = r0; - s.callLocIdx = 969; s.pc = 109; return s.tmp_6; + s.callLocIdx = 972; s.pc = 109; return s.tmp_6; case 109: r0 = s.retval; s.tmp_0 = game_pushScene__P1292_mk(s); - s.callLocIdx = 970; s.pc = 110; return s.tmp_0; + s.callLocIdx = 973; s.pc = 110; return s.tmp_0; case 110: r0 = s.retval; r0 = s.caps[0].fields["p"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["rules"]; - s.rules___9621 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RunGame__C4279_VT); + s.rules___13508 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RunGame__C9491_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_RunGame_constructor__P4289_mk(s); + s.tmp_1 = tileworld_RunGame_constructor__P9501_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___9621; - s.tmp_3 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_1.arg2 = s.rules___13508; + s.tmp_3 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_3.arg0 = s.caps[0]; s.tmp_3.arg1 = true; - s.callLocIdx = 972; s.pc = 112; return s.tmp_3; + s.callLocIdx = 975; s.pc = 112; return s.tmp_3; case 112: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_2 == 3); s.tmp_1.arg3 = r0; - s.callLocIdx = 973; s.pc = 111; return s.tmp_1; + s.callLocIdx = 976; s.pc = 111; return s.tmp_1; case 111: r0 = s.retval; - s.g___9625 = (s.tmp_0); - s.tmp_0 = tileworld_RunGame_setWorld__P4283_mk(s); - s.tmp_0.arg0 = s.g___9625; + s.g___13512 = (s.tmp_0); + s.tmp_0 = tileworld_RunGame_setWorld__P9495_mk(s); + s.tmp_0.arg0 = s.g___13512; r0 = s.caps[0].fields["p"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_backgrounds"]; @@ -18925,21 +18925,21 @@ switch (step) { s.tmp_2 = r0; r0 = s.tmp_2.fields["_sprites"]; s.tmp_0.arg2 = r0; - s.callLocIdx = 976; s.pc = 113; return s.tmp_0; + s.callLocIdx = 979; s.pc = 113; return s.tmp_0; case 113: r0 = s.retval; - s.tmp_0 = tileworld_RunGame_start__P4285_mk(s); - s.tmp_0.arg0 = s.g___9625; - s.callLocIdx = 977; s.pc = 114; return s.tmp_0; + s.tmp_0 = tileworld_RunGame_start__P9497_mk(s); + s.tmp_0.arg0 = s.g___13512; + s.callLocIdx = 980; s.pc = 114; return s.tmp_0; case 114: r0 = s.retval; { step = 69; continue; } { step = 41; continue; } case 36: - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 978; s.pc = 115; return s.tmp_2; + s.callLocIdx = 981; s.pc = 115; return s.tmp_2; case 115: r0 = s.retval; s.tmp_1 = r0; @@ -18950,10 +18950,10 @@ switch (step) { r0 = (s.caps[0]).fields["askDeleteRule"] = (true); { step = 40; continue; } case 37: - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 979; s.pc = 116; return s.tmp_2; + s.callLocIdx = 982; s.pc = 116; return s.tmp_2; case 116: r0 = s.retval; s.tmp_1 = r0; @@ -18961,27 +18961,27 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 38; continue; } - s.tmp_3 = tileworld_Project_saveRule__P3955_mk(s); + s.tmp_3 = tileworld_Project_saveRule__P6120_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 = 980; s.pc = 117; return s.tmp_3; + s.callLocIdx = 983; s.pc = 117; return s.tmp_3; case 117: r0 = s.retval; s.tmp_0 = game_pushScene__P1292_mk(s); - s.callLocIdx = 981; s.pc = 118; return s.tmp_0; + s.callLocIdx = 984; s.pc = 118; return s.tmp_0; case 118: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_ruleediting_RuleViewDisplay__C4445_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_ruleediting_RuleViewDisplay__C12387_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_ruleediting_RuleViewDisplay_constructor__P4450_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleViewDisplay_constructor__P12392_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 = 982; s.pc = 119; return s.tmp_1; + s.callLocIdx = 985; s.pc = 119; return s.tmp_1; case 119: r0 = s.retval; { step = 69; continue; } @@ -18993,10 +18993,10 @@ switch (step) { case 43: { step = 61; continue; } case 44: - s.tmp_2 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 983; s.pc = 120; return s.tmp_2; + s.callLocIdx = 986; s.pc = 120; return s.tmp_2; case 120: r0 = s.retval; s.tmp_1 = r0; @@ -19004,10 +19004,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 59; continue; } - s.tmp_5 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_5 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_5.arg0 = s.caps[0]; s.tmp_5.arg1 = true; - s.callLocIdx = 984; s.pc = 121; return s.tmp_5; + s.callLocIdx = 987; s.pc = 121; return s.tmp_5; case 121: r0 = s.retval; s.tmp_4 = r0; @@ -19015,17 +19015,17 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 45; continue; } - s.tmp_6 = tileworld_ruleediting_RuleEditor_tryEditCommand__P4500_mk(s); + s.tmp_6 = tileworld_ruleediting_RuleEditor_tryEditCommand__P12685_mk(s); s.tmp_6.arg0 = s.caps[0]; - s.callLocIdx = 985; s.pc = 122; return s.tmp_6; + s.callLocIdx = 988; s.pc = 122; return s.tmp_6; case 122: r0 = s.retval; { step = 58; continue; } case 45: - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 986; s.pc = 123; return s.tmp_2; + s.callLocIdx = 989; s.pc = 123; return s.tmp_2; case 123: r0 = s.retval; s.tmp_1 = r0; @@ -19036,10 +19036,10 @@ switch (step) { r0 = s.tmp_0; { step = 47; continue; } case 46: - s.tmp_4 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 987; s.pc = 124; return s.tmp_4; + s.callLocIdx = 990; s.pc = 124; return s.tmp_4; case 124: r0 = s.retval; s.tmp_3 = r0; @@ -19049,43 +19049,43 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 56; continue; } - s.tmp_6 = tileworld_ruleediting_RuleDisplay_rowToColCoord__P4411_mk(s); + s.tmp_6 = tileworld_ruleediting_RuleDisplay_rowToColCoord__P11279_mk(s); s.tmp_6.arg0 = s.caps[0]; - s.tmp_8 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_8 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_8.arg0 = s.caps[0]; s.tmp_8.arg1 = true; - s.callLocIdx = 988; s.pc = 126; return s.tmp_8; + s.callLocIdx = 991; s.pc = 126; return s.tmp_8; case 126: r0 = s.retval; s.tmp_7 = r0; r0 = (s.tmp_7 - 2); s.tmp_6.arg1 = r0; - s.callLocIdx = 989; s.pc = 125; return s.tmp_6; + s.callLocIdx = 992; s.pc = 125; return s.tmp_6; case 125: r0 = s.retval; - s.col___9682 = (r0); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_rowToRowCoord__P4412_mk(s); + s.col___13569 = (r0); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_rowToRowCoord__P11280_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_2 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 990; s.pc = 128; return s.tmp_2; + s.callLocIdx = 993; s.pc = 128; return s.tmp_2; case 128: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_1 - 2); s.tmp_0.arg1 = r0; - s.callLocIdx = 991; s.pc = 127; return s.tmp_0; + s.callLocIdx = 994; s.pc = 127; return s.tmp_0; case 127: r0 = s.retval; - s.row___9688 = (r0); - s.tmp_2 = tileworld_RuleView_findWitnessColRow__P3907_mk(s); + s.row___13575 = (r0); + s.tmp_2 = tileworld_RuleView_findWitnessColRow__P4997_mk(s); r0 = s.caps[0].fields["rule"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.col___9682; - s.tmp_2.arg2 = s.row___9688; + s.tmp_2.arg1 = s.col___13569; + s.tmp_2.arg2 = s.row___13575; s.tmp_2.arg3 = true; - s.callLocIdx = 992; s.pc = 129; return s.tmp_2; + s.callLocIdx = 995; s.pc = 129; return s.tmp_2; case 129: r0 = s.retval; s.tmp_1 = r0; @@ -19108,7 +19108,7 @@ switch (step) { r0 = s.tmp_3; { step = 50; continue; } case 49: - r0 = (s.col___9682 != 2); + r0 = (s.col___13569 != 2); case 50: // jmp value (already in r0) s.tmp_6 = r0; @@ -19117,7 +19117,7 @@ switch (step) { r0 = s.tmp_6; { step = 52; continue; } case 51: - r0 = (s.row___9688 != 2); + r0 = (s.row___13575 != 2); case 52: // jmp value (already in r0) s.tmp_7 = r0; @@ -19129,39 +19129,39 @@ switch (step) { if (!r0) { step = 54; continue; } r0 = (s.caps[0]).fields["menu"] = (2); s.tmp_0 = r0 = s.caps[0]; - s.tmp_2 = tileworld_RuleView_getWhenDo__P3897_mk(s); + s.tmp_2 = tileworld_RuleView_getWhenDo__P4608_mk(s); r0 = s.caps[0].fields["rule"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.col___9682; - s.tmp_2.arg2 = s.row___9688; - s.callLocIdx = 994; s.pc = 130; return s.tmp_2; + s.tmp_2.arg1 = s.col___13569; + s.tmp_2.arg2 = s.row___13575; + s.callLocIdx = 997; s.pc = 130; return s.tmp_2; case 130: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["whenDo"] = (s.tmp_1); - s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P4345_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P10854_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 995; s.pc = 131; return s.tmp_0; + s.callLocIdx = 998; s.pc = 131; return s.tmp_0; case 131: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P4337_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P10846_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = tileworld_RuleView_getWitnessDirection__P3908_mk(s); + s.tmp_1 = tileworld_RuleView_getWitnessDirection__P4998_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 = 996; s.pc = 133; return s.tmp_1; + s.callLocIdx = 999; s.pc = 133; return s.tmp_1; case 133: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 997; s.pc = 132; return s.tmp_0; + s.callLocIdx = 1000; s.pc = 132; return s.tmp_0; case 132: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P4338_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P10847_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; - s.callLocIdx = 998; s.pc = 134; return s.tmp_0; + s.callLocIdx = 1001; s.pc = 134; return s.tmp_0; case 134: r0 = s.retval; case 54: @@ -19184,12 +19184,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P9444.info = {"start":1593,"length":4842,"line":35,"column":64,"endLine":119,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":[]} +inline__P13319.info = {"start":1593,"length":4842,"line":35,"column":64,"endLine":119,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P9444_mk(s) { +function inline__P13319_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P9444, depth: s.depth + 1, + parent: s, fn: inline__P13319, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19203,21 +19203,21 @@ function inline__P9444_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - index___9453: undefined, - rules___9468: undefined, - rules___9547: undefined, - index___9549: undefined, - rules___9621: undefined, - g___9625: undefined, - col___9682: undefined, - row___9688: undefined, + index___13327: undefined, + rules___13340: undefined, + rules___13419: undefined, + index___13421: undefined, + rules___13508: undefined, + g___13512: undefined, + col___13569: undefined, + row___13575: undefined, } } -function inline__P9739(s) { +function inline__P13625(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19240,17 +19240,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__P4489_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleEditor_mainMenu__P12674_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.callLocIdx = 1000; s.pc = 8; return s.tmp_2; + s.callLocIdx = 1003; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; { step = 5; continue; } case 2: - s.tmp_2 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 1001; s.pc = 9; return s.tmp_2; + s.callLocIdx = 1004; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; s.tmp_1 = r0; @@ -19258,37 +19258,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__P4345_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_setTileSaved__P10854_mk(s); s.tmp_3.arg0 = s.caps[0]; - s.callLocIdx = 1002; s.pc = 10; return s.tmp_3; + s.callLocIdx = 1005; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P4337_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P10846_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 2; - s.callLocIdx = 1003; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1006; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P4338_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P10847_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; - s.callLocIdx = 1004; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1007; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = tileworld_ruleediting_RuleEditor_saveAndPop__P4494_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleEditor_saveAndPop__P12679_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1005; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1008; 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__C4487_v0_1_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleEditor__C12671_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_ruleediting_RuleEditor__C12671_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: @@ -19298,12 +19298,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P9739.info = {"start":6502,"length":618,"line":121,"column":64,"endLine":137,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":[]} +inline__P13625.info = {"start":6502,"length":618,"line":121,"column":64,"endLine":137,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P9739_mk(s) { +function inline__P13625_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P9739, depth: s.depth + 1, + parent: s, fn: inline__P13625, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19315,7 +19315,7 @@ function inline__P9739_mk(s) { -function tileworld_ruleediting_RuleEditor_update__P4498(s) { +function tileworld_ruleediting_RuleEditor_update__P12683(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19325,16 +19325,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___9776 = undefined; + s.len___13897 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_update__P4408_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_update__P11276_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1056; s.pc = 25; return s.tmp_0; + s.callLocIdx = 1059; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; r0 = s.arg0.fields["p"]; @@ -19356,10 +19356,10 @@ switch (step) { r0 = s.tmp_2; { step = 4; continue; } case 3: - s.tmp_4 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1057; s.pc = 26; return s.tmp_4; + s.callLocIdx = 1060; s.pc = 26; return s.tmp_4; case 26: r0 = s.retval; s.tmp_3 = r0; @@ -19372,10 +19372,10 @@ switch (step) { r0 = s.tmp_5; { step = 6; continue; } case 5: - s.tmp_7 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_7 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = true; - s.callLocIdx = 1058; s.pc = 27; return s.tmp_7; + s.callLocIdx = 1061; s.pc = 27; return s.tmp_7; case 27: r0 = s.retval; s.tmp_6 = r0; @@ -19387,49 +19387,49 @@ switch (step) { if (!r0) { step = 13; continue; } r0 = s.arg0.fields["commandLengths"]; s.tmp_9 = r0; - s.tmp_12 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_12 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_12.arg0 = s.arg0; s.tmp_12.arg1 = true; - s.callLocIdx = 1059; s.pc = 28; return s.tmp_12; + s.callLocIdx = 1062; 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___9776 = (r0); - r0 = (s.len___9776 != -1); + s.len___13897 = (r0); + r0 = (s.len___13897 != -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__P4339_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = true; - s.callLocIdx = 1060; s.pc = 29; return s.tmp_3; + s.callLocIdx = 1063; 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___9776); + r0 = (s.tmp_1 < s.len___13897); 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__P4339_mk(s); + s.tmp_8 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_8.arg0 = s.arg0; s.tmp_8.arg1 = true; - s.callLocIdx = 1061; s.pc = 30; return s.tmp_8; + s.callLocIdx = 1064; 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___9776 - 1); + r0 = (s.len___13897 - 1); s.tmp_9 = r0; r0 = (s.tmp_6 == s.tmp_9); s.tmp_5 = r0; @@ -19449,7 +19449,7 @@ switch (step) { s.tmp_11.arg2 = undefined; s.tmp_11.arg3 = 15; s.tmp_11.arg4 = 1; - s.callLocIdx = 1062; s.pc = 31; return s.tmp_11; + s.callLocIdx = 1065; s.pc = 31; return s.tmp_11; case 31: r0 = s.retval; case 11: @@ -19462,9 +19462,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__P4499_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleEditor_showMainMenu__P12684_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 1063; s.pc = 32; return s.tmp_2; + s.callLocIdx = 1066; s.pc = 32; return s.tmp_2; case 32: r0 = s.retval; { step = 22; continue; } @@ -19478,25 +19478,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__P4510_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleEditor_attrMenu__P12695_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = false; - s.callLocIdx = 1064; s.pc = 34; return s.tmp_1; + s.callLocIdx = 1067; s.pc = 34; return s.tmp_1; case 34: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_3 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = false; - s.callLocIdx = 1065; s.pc = 35; return s.tmp_3; + s.callLocIdx = 1068; 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 = 1066; s.pc = 33; return s.tmp_0; + s.callLocIdx = 1069; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; { step = 21; continue; } @@ -19507,10 +19507,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__P4502_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleEditor_modifyCommandMenu__P12687_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = false; - s.callLocIdx = 1067; s.pc = 36; return s.tmp_2; + s.callLocIdx = 1070; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; { step = 20; continue; } @@ -19521,9 +19521,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__P4514_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleEditor_dirExprMenu__P12699_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 1068; s.pc = 37; return s.tmp_2; + s.callLocIdx = 1071; s.pc = 37; return s.tmp_2; case 37: r0 = s.retval; case 18: @@ -19540,7 +19540,7 @@ switch (step) { s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 128; s.tmp_1.arg2 = true; - s.callLocIdx = 1069; s.pc = 38; return s.tmp_1; + s.callLocIdx = 1072; s.pc = 38; return s.tmp_1; case 38: r0 = s.retval; s.tmp_0 = game_showDialog__P1295_mk(s); @@ -19548,7 +19548,7 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = "A = OK, B = CANCEL"; - s.callLocIdx = 1070; s.pc = 39; return s.tmp_0; + s.callLocIdx = 1073; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; { step = 24; continue; } @@ -19558,7 +19558,7 @@ switch (step) { s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = false; - s.callLocIdx = 1071; s.pc = 40; return s.tmp_0; + s.callLocIdx = 1074; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; case 24: @@ -19566,12 +19566,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_update__P4498.info = {"start":10406,"length":1240,"line":223,"column":8,"endLine":248,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"update","argumentNames":["this"]} +tileworld_ruleediting_RuleEditor_update__P12683.info = {"start":10406,"length":1240,"line":223,"column":8,"endLine":248,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"update","argumentNames":["this"]} -function tileworld_ruleediting_RuleEditor_update__P4498_mk(s) { +function tileworld_ruleediting_RuleEditor_update__P12683_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_update__P4498, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_update__P12683, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19586,7 +19586,7 @@ function tileworld_ruleediting_RuleEditor_update__P4498_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - len___9776: undefined, + len___13897: undefined, arg0: undefined, } } @@ -19594,7 +19594,7 @@ function tileworld_ruleediting_RuleEditor_update__P4498_mk(s) { -function tileworld_ruleediting_RuleEditor_dirExprMenu__P4514(s) { +function tileworld_ruleediting_RuleEditor_dirExprMenu__P12699(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19609,42 +19609,42 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P9848); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P14690); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = helpers_arrayForEach__P60_mk(s); - s.tmp_1.arg0 = globals.movedImages___4358; + s.tmp_1.arg0 = globals.movedImages___11227; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1185; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1188; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = tileworld_RuleView_getWitnessDirection__P3908_mk(s); + s.tmp_1 = tileworld_RuleView_getWitnessDirection__P4998_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["whenDo"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 1186; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1189; 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___4024; - s.callLocIdx = 1187; s.pc = 2; return s.tmp_0; + s.tmp_0.arg3 = globals.cursorOut___7253; + s.callLocIdx = 1190; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_dirExprMenu__P4514.info = {"start":22088,"length":326,"line":502,"column":8,"endLine":509,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"dirExprMenu","argumentNames":["this"]} +tileworld_ruleediting_RuleEditor_dirExprMenu__P12699.info = {"start":22088,"length":326,"line":502,"column":8,"endLine":509,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"dirExprMenu","argumentNames":["this"]} -function tileworld_ruleediting_RuleEditor_dirExprMenu__P4514_mk(s) { +function tileworld_ruleediting_RuleEditor_dirExprMenu__P12699_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_dirExprMenu__P4514, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_dirExprMenu__P12699, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19655,7 +19655,7 @@ function tileworld_ruleediting_RuleEditor_dirExprMenu__P4514_mk(s) { -function inline__P9848(s) { +function inline__P14690(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19691,12 +19691,12 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P10850_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 = 1184; s.pc = 6; return s.tmp_4; + s.callLocIdx = 1187; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; case 5: @@ -19704,12 +19704,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P9848.info = {"start":22144,"length":172,"line":503,"column":32,"endLine":507,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P14690.info = {"start":22144,"length":172,"line":503,"column":32,"endLine":507,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P9848_mk(s) { +function inline__P14690_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P9848, depth: s.depth + 1, + parent: s, fn: inline__P14690, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19724,7 +19724,7 @@ function inline__P9848_mk(s) { -function tileworld_ruleediting_RuleEditor_modifyCommandMenu__P4502(s) { +function tileworld_ruleediting_RuleEditor_modifyCommandMenu__P12687(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19734,37 +19734,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.inst___9872 = undefined; - s.arg___9881 = undefined; + s.inst___14163 = undefined; + s.arg___14171 = 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__C4487_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getCmdInst__P3911_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getCmdInst__P5000_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 = 1107; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1110; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.inst___9872 = (r0); - s.tmp_0 = tileworld_RuleView_getCmdArg__P3912_mk(s); + s.inst___14163 = (r0); + s.tmp_0 = tileworld_RuleView_getCmdArg__P5001_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 = 1108; s.pc = 6; return s.tmp_0; + s.callLocIdx = 1111; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.arg___9881 = (r0); + s.arg___14171 = (r0); r0 = s.arg0.fields["tokens"]; s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); @@ -19773,31 +19773,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__P4501_mk(s); + s.tmp_3 = tileworld_ruleediting_RuleEditor_makeCommandMenu__P12686_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.inst___9872; - s.tmp_3.arg2 = s.arg___9881; + s.tmp_3.arg1 = s.inst___14163; + s.tmp_3.arg2 = s.arg___14171; s.tmp_3.arg3 = s.arg1; - s.callLocIdx = 1109; s.pc = 7; return s.tmp_3; + s.callLocIdx = 1112; s.pc = 7; return s.tmp_3; case 7: r0 = s.retval; { step = 4; continue; } case 1: - r0 = (s.inst___9872 != 255); + r0 = (s.inst___14163 != 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___9872); + r0 = pxsim_Array__push(s.tmp_1, s.inst___14163); r0 = pxsim_Array__push(s.tmp_1, 100); r0 = (s.arg0).fields["tokens"] = (s.tmp_1); - s.tmp_0 = tileworld_ruleediting_RuleEditor_makeCommandMenu__P4501_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleEditor_makeCommandMenu__P12686_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.inst___9872; - s.tmp_0.arg2 = s.arg___9881; + s.tmp_0.arg1 = s.inst___14163; + s.tmp_0.arg2 = s.arg___14171; s.tmp_0.arg3 = s.arg1; - s.callLocIdx = 1110; s.pc = 8; return s.tmp_0; + s.callLocIdx = 1113; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 2: @@ -19807,19 +19807,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_modifyCommandMenu__P4502.info = {"start":14827,"length":488,"line":326,"column":8,"endLine":335,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"modifyCommandMenu","argumentNames":["this","inEdit"]} +tileworld_ruleediting_RuleEditor_modifyCommandMenu__P12687.info = {"start":14827,"length":488,"line":326,"column":8,"endLine":335,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"modifyCommandMenu","argumentNames":["this","inEdit"]} -function tileworld_ruleediting_RuleEditor_modifyCommandMenu__P4502_mk(s) { +function tileworld_ruleediting_RuleEditor_modifyCommandMenu__P12687_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_modifyCommandMenu__P4502, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_modifyCommandMenu__P12687, depth: s.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___9872: undefined, - arg___9881: undefined, + inst___14163: undefined, + arg___14171: undefined, arg0: undefined, arg1: undefined, } } @@ -19828,7 +19828,7 @@ function tileworld_ruleediting_RuleEditor_modifyCommandMenu__P4502_mk(s) { -function tileworld_ruleediting_RuleEditor_makeCommandMenu__P4501(s) { +function tileworld_ruleediting_RuleEditor_makeCommandMenu__P12686(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19838,8 +19838,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___9914 = undefined; - s.row___9915 = undefined; + s.col___14114 = undefined; + s.row___14115 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -19848,35 +19848,35 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); - s.col___9914 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.col___9914, 3); - s.row___9915 = (0); - r0 = pxsim_pxtcore_mkAction(5, inline__P9919); + s.col___14114 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.col___14114, 3); + s.row___14115 = (0); + r0 = pxsim_pxtcore_mkAction(5, inline__P14119); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.col___9914); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.row___9915); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.col___14114); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.row___14115); 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__P60_mk(s); r0 = s.arg0.fields["tokens"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1105; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1108; 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__P4506_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleEditor_makeArgMenu__P12691_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 = 1106; s.pc = 4; return s.tmp_1; + s.callLocIdx = 1109; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; case 1: @@ -19885,17 +19885,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_makeCommandMenu__P4501.info = {"start":13969,"length":848,"line":303,"column":8,"endLine":324,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"makeCommandMenu","argumentNames":["this","inst","arg","inEdit"]} +tileworld_ruleediting_RuleEditor_makeCommandMenu__P12686.info = {"start":13969,"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__P4501_mk(s) { +function tileworld_ruleediting_RuleEditor_makeCommandMenu__P12686_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_makeCommandMenu__P4501, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_makeCommandMenu__P12686, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - col___9914: undefined, - row___9915: undefined, + col___14114: undefined, + row___14115: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -19906,7 +19906,7 @@ function tileworld_ruleediting_RuleEditor_makeCommandMenu__P4501_mk(s) { -function inline__P9919(s) { +function inline__P14119(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19924,57 +19924,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___4476, s.arg0); + r0 = pxsim_Array__getAt(globals.categoryImages___13289, s.arg0); { step = 2; continue; } case 1: - r0 = globals.garbageCan___4006; + r0 = globals.garbageCan___7235; case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_drawImage__P10850_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 = 1100; s.pc = 7; return s.tmp_2; + s.callLocIdx = 1103; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P4343_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P10852_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 = 1101; s.pc = 8; return s.tmp_0; + s.callLocIdx = 1104; 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__P4341_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P10850_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___4024; - s.callLocIdx = 1102; s.pc = 9; return s.tmp_1; + s.tmp_1.arg3 = globals.cursorOut___7253; + s.callLocIdx = 1105; 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__P4337_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P10846_mk(s); s.tmp_0.arg0 = s.caps[0]; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg1 = r0; - s.callLocIdx = 1103; s.pc = 10; return s.tmp_0; + s.callLocIdx = 1106; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P4338_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P10847_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.caps[2]; - s.callLocIdx = 1104; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1107; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; case 3: @@ -19996,12 +19996,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P9919.info = {"start":14212,"length":494,"line":308,"column":32,"endLine":320,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["ct"]} +inline__P14119.info = {"start":14212,"length":494,"line":308,"column":32,"endLine":320,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["ct"]} -function inline__P9919_mk(s) { +function inline__P14119_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P9919, depth: s.depth + 1, + parent: s, fn: inline__P14119, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20013,7 +20013,7 @@ function inline__P9919_mk(s) { -function tileworld_ruleediting_RuleEditor_makeArgMenu__P4506(s) { +function tileworld_ruleediting_RuleEditor_makeArgMenu__P12691(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20023,10 +20023,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___9965 = undefined; - s.row___9966 = undefined; - s.last___9971 = undefined; - s.i___9979 = undefined; + s.col___14242 = undefined; + s.row___14243 = undefined; + s.last___14248 = undefined; + s.i___14256 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -20035,87 +20035,87 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); - s.col___9965 = (4); - s.row___9966 = (1); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); + s.col___14242 = (4); + s.row___14243 = (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__P4503_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleEditor_instToStartArg__P12688_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 1115; s.pc = 7; return s.tmp_1; + s.callLocIdx = 1118; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = tileworld_ruleediting_RuleEditor_instToNumArgs__P4505_mk(s); + s.tmp_3 = tileworld_ruleediting_RuleEditor_instToNumArgs__P12690_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 1116; s.pc = 8; return s.tmp_3; + s.callLocIdx = 1119; 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___9971 = (r0); - s.tmp_0 = tileworld_ruleediting_RuleEditor_instToStartArg__P4503_mk(s); + s.last___14248 = (r0); + s.tmp_0 = tileworld_ruleediting_RuleEditor_instToStartArg__P12688_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1117; s.pc = 9; return s.tmp_0; + s.callLocIdx = 1120; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.i___9979 = (r0); + s.i___14256 = (r0); case 1: - r0 = (s.i___9979 < s.last___9971); + r0 = (s.i___14256 < s.last___14248); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.col___9965; - s.tmp_1.arg2 = s.row___9966; - s.tmp_2 = tileworld_ruleediting_RuleDisplay_instToImage__P4414_mk(s); + s.tmp_1.arg1 = s.col___14242; + s.tmp_1.arg2 = s.row___14243; + s.tmp_2 = tileworld_ruleediting_RuleDisplay_instToImage__P11282_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - s.tmp_2.arg2 = s.i___9979; - s.callLocIdx = 1118; s.pc = 11; return s.tmp_2; + s.tmp_2.arg2 = s.i___14256; + s.callLocIdx = 1121; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; s.tmp_1.arg3 = r0; - s.callLocIdx = 1119; s.pc = 10; return s.tmp_1; + s.callLocIdx = 1122; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P4343_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P10852_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.col___9965; - s.tmp_0.arg2 = s.row___9966; + s.tmp_0.arg1 = s.col___14242; + s.tmp_0.arg2 = s.row___14243; s.tmp_0.arg3 = 12; - s.callLocIdx = 1120; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1123; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - r0 = (s.arg2 == s.i___9979); + r0 = (s.arg2 == s.i___14256); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.col___9965; - s.tmp_1.arg2 = s.row___9966; - s.tmp_1.arg3 = globals.cursorOut___4024; - s.callLocIdx = 1121; s.pc = 13; return s.tmp_1; + s.tmp_1.arg1 = s.col___14242; + s.tmp_1.arg2 = s.row___14243; + s.tmp_1.arg3 = globals.cursorOut___7253; + s.callLocIdx = 1124; 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__P4337_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P10846_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.col___9965; - s.callLocIdx = 1122; s.pc = 14; return s.tmp_0; + s.tmp_0.arg1 = s.col___14242; + s.callLocIdx = 1125; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P4338_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P10847_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.row___9966; - s.callLocIdx = 1123; s.pc = 15; return s.tmp_0; + s.tmp_0.arg1 = s.row___14243; + s.callLocIdx = 1126; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; case 2: @@ -20124,32 +20124,32 @@ switch (step) { case 5: r0 = s.arg0.fields["dirMap"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.col___9965, s.row___9966, s.i___9979); - r0 = (s.col___9965 + 1); - s.col___9965 = (r0); - r0 = (s.i___9979 + 1); - s.i___9979 = (r0); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.col___14242, s.row___14243, s.i___14256); + r0 = (s.col___14242 + 1); + s.col___14242 = (r0); + r0 = (s.i___14256 + 1); + s.i___14256 = (r0); { step = 1; continue; } case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_makeArgMenu__P4506.info = {"start":16432,"length":755,"line":368,"column":8,"endLine":386,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"makeArgMenu","argumentNames":["this","inst","arg","inEdit"]} +tileworld_ruleediting_RuleEditor_makeArgMenu__P12691.info = {"start":16432,"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__P4506_mk(s) { +function tileworld_ruleediting_RuleEditor_makeArgMenu__P12691_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_makeArgMenu__P4506, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_makeArgMenu__P12691, depth: s.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___9965: undefined, - row___9966: undefined, - last___9971: undefined, - i___9979: undefined, + col___14242: undefined, + row___14243: undefined, + last___14248: undefined, + i___14256: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -20160,7 +20160,7 @@ function tileworld_ruleediting_RuleEditor_makeArgMenu__P4506_mk(s) { -function tileworld_ruleediting_RuleDisplay_instToImage__P4414(s) { +function tileworld_ruleediting_RuleDisplay_instToImage__P11282(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20170,9 +20170,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ret___10045 = undefined; - s.ret___10062 = undefined; - s.ret___10079 = undefined; + s.ret___11719 = undefined; + s.ret___11735 = undefined; + s.ret___11752 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -20180,7 +20180,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_VT)) failedCast(r0); r0 = (s.arg1 == 255); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -20194,7 +20194,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 3; continue; } - r0 = globals.emptyTile___4015; + r0 = globals.emptyTile___7244; { step = 15; continue; } case 3: case 4: @@ -20216,7 +20216,7 @@ switch (step) { r0 = s.tmp_2; { step = 14; continue; } case 5: - r0 = pxsim_Array__getAt(globals.moveImages___4350, s.arg2); + r0 = pxsim_Array__getAt(globals.moveImages___11219, s.arg2); { step = 15; continue; } case 6: r0 = s.arg0.fields["p"]; @@ -20226,15 +20226,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___10045 = (r0); - r0 = pxsim_ImageMethods.drawTransparentImage(s.ret___10045, globals.smallPaint___4123, 0, 0); - r0 = s.ret___10045; + s.ret___11719 = (r0); + r0 = pxsim_ImageMethods.drawTransparentImage(s.ret___11719, globals.smallPaint___7352, 0, 0); + r0 = s.ret___11719; { step = 15; continue; } case 7: - r0 = globals.eat___4111; + r0 = globals.eat___7340; { step = 15; continue; } case 8: - r0 = pxsim_Array__getAt(globals.gameImages___4390, s.arg2); + r0 = pxsim_Array__getAt(globals.gameImages___11257, s.arg2); { step = 15; continue; } case 9: case 10: @@ -20245,20 +20245,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___10062 = (r0); + s.ret___11735 = (r0); r0 = (s.arg1 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = globals.spawn___4120; + r0 = globals.spawn___7349; { step = 12; continue; } case 11: - r0 = globals.exclude___4033; + r0 = globals.exclude___7262; case 12: // jmp value (already in r0) s.tmp_1 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(s.ret___10062, s.tmp_1, 0, 0); - r0 = s.ret___10062; + r0 = pxsim_ImageMethods.drawTransparentImage(s.ret___11735, s.tmp_1, 0, 0); + r0 = s.ret___11735; { step = 15; continue; } case 13: r0 = s.arg0.fields["p"]; @@ -20268,22 +20268,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___10079 = (r0); - r0 = pxsim_ImageMethods.drawTransparentImage(s.ret___10079, globals.portal___4126, 0, 0); - r0 = s.ret___10079; + s.ret___11752 = (r0); + r0 = pxsim_ImageMethods.drawTransparentImage(s.ret___11752, globals.portal___7355, 0, 0); + r0 = s.ret___11752; { step = 15; continue; } case 14: - r0 = globals.emptyTile___4015; + r0 = globals.emptyTile___7244; case 15: return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_instToImage__P4414.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__P11282.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__P4414_mk(s) { +function tileworld_ruleediting_RuleDisplay_instToImage__P11282_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_instToImage__P4414, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_instToImage__P11282, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20291,9 +20291,9 @@ function tileworld_ruleediting_RuleDisplay_instToImage__P4414_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - ret___10045: undefined, - ret___10062: undefined, - ret___10079: undefined, + ret___11719: undefined, + ret___11735: undefined, + ret___11752: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -20303,7 +20303,7 @@ function tileworld_ruleediting_RuleDisplay_instToImage__P4414_mk(s) { -function tileworld_Project_spriteImages__P3950(s) { +function tileworld_Project_spriteImages__P5994(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20318,17 +20318,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C3937_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); r0 = s.arg0.fields["_spritesI"]; return leave(s, r0) default: oops() } } } -tileworld_Project_spriteImages__P3950.info = {"start":3406,"length":48,"line":100,"column":8,"endLine":100,"endColumn":56,"fileName":"project.ts","functionName":"spriteImages","argumentNames":["this"]} +tileworld_Project_spriteImages__P5994.info = {"start":3406,"length":48,"line":100,"column":8,"endLine":100,"endColumn":56,"fileName":"project.ts","functionName":"spriteImages","argumentNames":["this"]} -function tileworld_Project_spriteImages__P3950_mk(s) { +function tileworld_Project_spriteImages__P5994_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_spriteImages__P3950, depth: s.depth + 1, + parent: s, fn: tileworld_Project_spriteImages__P5994, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -20337,7 +20337,7 @@ function tileworld_Project_spriteImages__P3950_mk(s) { -function tileworld_Project_backgroundImages__P3949(s) { +function tileworld_Project_backgroundImages__P5990(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20352,17 +20352,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C3937_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); r0 = s.arg0.fields["_backgroundsI"]; return leave(s, r0) default: oops() } } } -tileworld_Project_backgroundImages__P3949.info = {"start":3341,"length":56,"line":99,"column":8,"endLine":99,"endColumn":64,"fileName":"project.ts","functionName":"backgroundImages","argumentNames":["this"]} +tileworld_Project_backgroundImages__P5990.info = {"start":3341,"length":56,"line":99,"column":8,"endLine":99,"endColumn":64,"fileName":"project.ts","functionName":"backgroundImages","argumentNames":["this"]} -function tileworld_Project_backgroundImages__P3949_mk(s) { +function tileworld_Project_backgroundImages__P5990_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_backgroundImages__P3949, depth: s.depth + 1, + parent: s, fn: tileworld_Project_backgroundImages__P5990, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -20371,7 +20371,7 @@ function tileworld_Project_backgroundImages__P3949_mk(s) { -function tileworld_ruleediting_RuleEditor_instToNumArgs__P4505(s) { +function tileworld_ruleediting_RuleEditor_instToNumArgs__P12690(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20387,7 +20387,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg1; r0 = pxsim_pxtcore.switch_eq(0, s.tmp_0); if (r0) { step = 1; continue; } @@ -20406,9 +20406,9 @@ switch (step) { r0 = s.tmp_0; { step = 10; continue; } case 1: - s.tmp_3 = tileworld_ruleediting_RuleDisplay_getType__P4400_mk(s); + s.tmp_3 = tileworld_ruleediting_RuleDisplay_getType__P11268_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1112; s.pc = 12; return s.tmp_3; + s.callLocIdx = 1115; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; s.tmp_2 = r0; @@ -20455,12 +20455,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_instToNumArgs__P4505.info = {"start":15885,"length":537,"line":355,"column":8,"endLine":366,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToNumArgs","argumentNames":["this","inst"]} +tileworld_ruleediting_RuleEditor_instToNumArgs__P12690.info = {"start":15885,"length":537,"line":355,"column":8,"endLine":366,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToNumArgs","argumentNames":["this","inst"]} -function tileworld_ruleediting_RuleEditor_instToNumArgs__P4505_mk(s) { +function tileworld_ruleediting_RuleEditor_instToNumArgs__P12690_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_instToNumArgs__P4505, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_instToNumArgs__P12690, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20479,7 +20479,7 @@ function tileworld_ruleediting_RuleEditor_instToNumArgs__P4505_mk(s) { -function tileworld_Project_backCnt__P3946(s) { +function tileworld_Project_backCnt__P5248(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20494,19 +20494,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C3937_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C6110_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__P3946.info = {"start":3147,"length":54,"line":96,"column":8,"endLine":96,"endColumn":62,"fileName":"project.ts","functionName":"backCnt","argumentNames":["this"]} +tileworld_Project_backCnt__P5248.info = {"start":3147,"length":54,"line":96,"column":8,"endLine":96,"endColumn":62,"fileName":"project.ts","functionName":"backCnt","argumentNames":["this"]} -function tileworld_Project_backCnt__P3946_mk(s) { +function tileworld_Project_backCnt__P5248_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_backCnt__P3946, depth: s.depth + 1, + parent: s, fn: tileworld_Project_backCnt__P5248, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20516,7 +20516,7 @@ function tileworld_Project_backCnt__P3946_mk(s) { -function tileworld_ruleediting_RuleEditor_instToStartArg__P4503(s) { +function tileworld_ruleediting_RuleEditor_instToStartArg__P12688(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20532,16 +20532,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_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__P4400_mk(s); + s.tmp_3 = tileworld_ruleediting_RuleDisplay_getType__P11268_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1111; s.pc = 6; return s.tmp_3; + s.callLocIdx = 1114; s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; s.tmp_2 = r0; @@ -20564,12 +20564,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_instToStartArg__P4503.info = {"start":15363,"length":236,"line":338,"column":8,"endLine":344,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToStartArg","argumentNames":["this","inst"]} +tileworld_ruleediting_RuleEditor_instToStartArg__P12688.info = {"start":15363,"length":236,"line":338,"column":8,"endLine":344,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToStartArg","argumentNames":["this","inst"]} -function tileworld_ruleediting_RuleEditor_instToStartArg__P4503_mk(s) { +function tileworld_ruleediting_RuleEditor_instToStartArg__P12688_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_instToStartArg__P4503, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_instToStartArg__P12688, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20584,7 +20584,7 @@ function tileworld_ruleediting_RuleEditor_instToStartArg__P4503_mk(s) { -function tileworld_RuleVisualsBase_drawOutline__P4343(s) { +function tileworld_RuleVisualsBase_drawOutline__P10852(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20602,7 +20602,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C4330_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C10839_VT)) failedCast(r0); s.tmp_0 = helpers_imageDrawRect__P520_mk(s); s.tmp_0.arg0 = globals.screen___578; r0 = (s.arg1 << 4); @@ -20614,19 +20614,19 @@ switch (step) { s.tmp_0.arg3 = 17; s.tmp_0.arg4 = 17; s.tmp_0.arg5 = s.arg3; - s.callLocIdx = 681; s.pc = 1; return s.tmp_0; + s.callLocIdx = 684; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_drawOutline__P4343.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__P10852.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__P4343_mk(s) { +function tileworld_RuleVisualsBase_drawOutline__P10852_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_drawOutline__P4343, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_drawOutline__P10852, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20753,7 +20753,7 @@ function helpers_imageDrawRect__P520_mk(s) { -function tileworld_RuleView_getCmdArg__P3912(s) { +function tileworld_RuleView_getCmdArg__P5001(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20763,8 +20763,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wd___10212 = undefined; - s.arg___10224 = undefined; + s.wd___5550 = undefined; + s.arg___5559 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -20772,13 +20772,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_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___10212 = (r0); - r0 = s.wd___10212.fields["commandsLen"]; + s.wd___5550 = (r0); + r0 = s.wd___5550.fields["commandsLen"]; s.tmp_1 = r0; r0 = (s.arg2 >= s.tmp_1); s.tmp_0 = r0; @@ -20788,14 +20788,14 @@ switch (step) { { step = 7; continue; } case 1: case 2: - r0 = s.wd___10212.fields["commands"]; + r0 = s.wd___5550.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___10224 = (r0); + s.arg___5559 = (r0); r0 = s.arg0.fields["rid"]; s.tmp_1 = r0; r0 = (s.tmp_1 == -1); @@ -20805,7 +20805,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_3 = tileworld_RuleView_getCmdInst__P3911_mk(s); + s.tmp_3 = tileworld_RuleView_getCmdInst__P5000_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.arg2; @@ -20819,27 +20819,27 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 5; continue; } - s.tmp_5 = tileworld_flipRotateDir__P3867_mk(s); - s.tmp_5.arg0 = s.arg___10224; + s.tmp_5 = tileworld_flipRotateDir__P4366_mk(s); + s.tmp_5.arg0 = s.arg___5559; r0 = s.arg0.fields["view"]; s.tmp_5.arg1 = r0; s.callLocIdx = 143; s.pc = 9; return s.tmp_5; case 9: r0 = s.retval; - s.arg___10224 = (r0); + s.arg___5559 = (r0); case 5: case 6: - r0 = s.arg___10224; + r0 = s.arg___5559; case 7: return leave(s, r0) default: oops() } } } -tileworld_RuleView_getCmdArg__P3912.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__P5001.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__P3912_mk(s) { +function tileworld_RuleView_getCmdArg__P5001_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getCmdArg__P3912, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getCmdArg__P5001, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20847,8 +20847,8 @@ function tileworld_RuleView_getCmdArg__P3912_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - wd___10212: undefined, - arg___10224: undefined, + wd___5550: undefined, + arg___5559: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -20858,7 +20858,7 @@ function tileworld_RuleView_getCmdArg__P3912_mk(s) { -function tileworld_flipRotateDir__P3867(s) { +function tileworld_flipRotateDir__P4366(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20995,12 +20995,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_flipRotateDir__P3867.info = {"start":5346,"length":790,"line":147,"column":4,"endLine":162,"endColumn":5,"fileName":"rule.ts","functionName":"flipRotateDir","argumentNames":["d","rt"]} +tileworld_flipRotateDir__P4366.info = {"start":5346,"length":790,"line":147,"column":4,"endLine":162,"endColumn":5,"fileName":"rule.ts","functionName":"flipRotateDir","argumentNames":["d","rt"]} -function tileworld_flipRotateDir__P3867_mk(s) { +function tileworld_flipRotateDir__P4366_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_flipRotateDir__P3867, depth: s.depth + 1, + parent: s, fn: tileworld_flipRotateDir__P4366, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21031,7 +21031,7 @@ function tileworld_flipRotateDir__P3867_mk(s) { -function tileworld_RuleView_getCmdInst__P3911(s) { +function tileworld_RuleView_getCmdInst__P5000(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21041,7 +21041,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wd___10328 = undefined; + s.wd___5532 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21049,13 +21049,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_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___10328 = (r0); - r0 = s.wd___10328.fields["commandsLen"]; + s.wd___5532 = (r0); + r0 = s.wd___5532.fields["commandsLen"]; s.tmp_1 = r0; r0 = (s.arg2 >= s.tmp_1); s.tmp_0 = r0; @@ -21065,7 +21065,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - r0 = s.wd___10328.fields["commands"]; + r0 = s.wd___5532.fields["commands"]; s.tmp_2 = r0; r0 = (s.arg2 << 1); s.tmp_3 = r0; @@ -21074,18 +21074,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_getCmdInst__P3911.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__P5000.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__P3911_mk(s) { +function tileworld_RuleView_getCmdInst__P5000_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getCmdInst__P3911, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getCmdInst__P5000, depth: s.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___10328: undefined, + wd___5532: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -21095,7 +21095,7 @@ function tileworld_RuleView_getCmdInst__P3911_mk(s) { -function tileworld_ruleediting_RuleEditor_attrMenu__P4510(s) { +function tileworld_ruleediting_RuleEditor_attrMenu__P12695(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21105,9 +21105,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.whenDo___10346 = undefined; - s.collision22___10365 = undefined; - s.aCol___10408 = undefined; + s.whenDo___14432 = undefined; + s.collision22___14451 = undefined; + s.aCol___14494 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21115,33 +21115,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); - s.whenDo___10346 = (r0); - s.tmp_0 = r0 = s.whenDo___10346; - s.tmp_2 = tileworld_RuleView_getWhenDo__P3897_mk(s); + s.whenDo___14432 = (r0); + s.tmp_0 = r0 = s.whenDo___14432; + s.tmp_2 = tileworld_RuleView_getWhenDo__P4608_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 = 1148; s.pc = 9; return s.tmp_2; + s.callLocIdx = 1151; 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___10346); + r0 = pxsim_pxtrt_ldlocRef(s.whenDo___14432); 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___10346; - s.tmp_4 = tileworld_RuleView_makeWhenDo__P3898_mk(s); + s.tmp_2 = r0 = s.whenDo___14432; + s.tmp_4 = tileworld_RuleView_makeWhenDo__P4989_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 = 1149; s.pc = 10; return s.tmp_4; + s.callLocIdx = 1152; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; s.tmp_3 = r0; @@ -21149,7 +21149,7 @@ switch (step) { case 1: case 2: s.tmp_0 = r0 = s.arg0; - r0 = pxsim_pxtrt_ldlocRef(s.whenDo___10346); + r0 = pxsim_pxtrt_ldlocRef(s.whenDo___14432); s.tmp_1 = r0; r0 = (s.tmp_0).fields["whenDo"] = (s.tmp_1); r0 = s.arg0.fields["rule"]; @@ -21177,32 +21177,32 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_4 = r0; - s.collision22___10365 = (s.tmp_4); - r0 = pxsim_pxtcore_mkAction(1, inline__P10380); + s.collision22___14451 = (s.tmp_4); + r0 = pxsim_pxtcore_mkAction(1, inline__P14466); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = helpers_arrayForEach__P60_mk(s); - s.tmp_1.arg0 = globals.attrImages___4384; + s.tmp_1.arg0 = globals.attrImages___11251; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1153; s.pc = 11; return s.tmp_1; + s.callLocIdx = 1156; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; r0 = pxsim_pxtrt.mklocRef(); - s.aCol___10408 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.aCol___10408, 0); - r0 = pxsim_pxtcore_mkAction(4, inline__P10414); + s.aCol___14494 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.aCol___14494, 0); + r0 = pxsim_pxtcore_mkAction(4, inline__P14499); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.collision22___10365); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.collision22___14451); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.whenDo___10346); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.aCol___10408); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.whenDo___14432); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.aCol___14494); s.tmp_1 = helpers_arrayForEach__P60_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 = 1159; s.pc = 12; return s.tmp_1; + s.callLocIdx = 1162; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; r0 = s.arg0.fields["attrSelected"]; @@ -21211,50 +21211,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__P4511_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleEditor_selectAttr__P12696_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 0; - s.callLocIdx = 1160; s.pc = 13; return s.tmp_2; + s.callLocIdx = 1163; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; case 7: case 8: - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_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___4024; - s.callLocIdx = 1161; s.pc = 14; return s.tmp_0; + s.tmp_0.arg3 = globals.cursorOut___7253; + s.callLocIdx = 1164; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 9; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.reset___4144; - s.callLocIdx = 1162; s.pc = 15; return s.tmp_0; + s.tmp_0.arg3 = globals.reset___7373; + s.callLocIdx = 1165; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_attrMenu__P4510.info = {"start":19177,"length":1412,"line":435,"column":8,"endLine":465,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"attrMenu","argumentNames":["this","col","row"]} +tileworld_ruleediting_RuleEditor_attrMenu__P12695.info = {"start":19177,"length":1412,"line":435,"column":8,"endLine":465,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"attrMenu","argumentNames":["this","col","row"]} -function tileworld_ruleediting_RuleEditor_attrMenu__P4510_mk(s) { +function tileworld_ruleediting_RuleEditor_attrMenu__P12695_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_attrMenu__P4510, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_attrMenu__P12695, depth: s.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___10346: undefined, - collision22___10365: undefined, - aCol___10408: undefined, + whenDo___14432: undefined, + collision22___14451: undefined, + aCol___14494: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -21264,7 +21264,7 @@ function tileworld_ruleediting_RuleEditor_attrMenu__P4510_mk(s) { -function inline__P10380(s) { +function inline__P14466(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21314,12 +21314,12 @@ switch (step) { 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__P4343_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P10852_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 = 1152; s.pc = 8; return s.tmp_0; + s.callLocIdx = 1155; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 7: @@ -21327,12 +21327,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P10380.info = {"start":19636,"length":364,"line":443,"column":31,"endLine":451,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P14466.info = {"start":19636,"length":364,"line":443,"column":31,"endLine":451,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P10380_mk(s) { +function inline__P14466_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P10380, depth: s.depth + 1, + parent: s, fn: inline__P14466, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21351,7 +21351,7 @@ function inline__P10380_mk(s) { -function inline__P10414(s) { +function inline__P14499(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21361,7 +21361,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.a___10424 = undefined; + s.a___14509 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21389,7 +21389,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_6 = tileworld_AllExport_getSetAttr__P3935_mk(s); + s.tmp_6 = tileworld_AllExport_getSetAttr__P6029_mk(s); r0 = s.caps[1].fields["all"]; s.tmp_6.arg0 = r0; r0 = s.caps[1].fields["rule"]; @@ -21398,30 +21398,30 @@ switch (step) { s.tmp_6.arg2 = r0; s.tmp_6.arg3 = s.arg1; s.tmp_6.arg4 = 65535; - s.callLocIdx = 1156; s.pc = 6; return s.tmp_6; + s.callLocIdx = 1159; s.pc = 6; return s.tmp_6; case 6: r0 = s.retval; - s.a___10424 = (r0); - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.a___14509 = (r0); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_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 = 1157; s.pc = 7; return s.tmp_0; + s.callLocIdx = 1160; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_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___4384; - r0 = pxsim_Array_.indexOf(globals.attrValues___4382, s.a___10424, undefined); + s.tmp_1 = r0 = globals.attrImages___11251; + r0 = pxsim_Array_.indexOf(globals.attrValues___11248, s.a___14509, undefined); s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_1, s.tmp_2); s.tmp_0.arg3 = r0; - s.callLocIdx = 1158; s.pc = 8; return s.tmp_0; + s.callLocIdx = 1161; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; s.tmp_0 = r0 = s.caps[3]; @@ -21435,12 +21435,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P10414.info = {"start":20070,"length":328,"line":453,"column":41,"endLine":460,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["image","i"]} +inline__P14499.info = {"start":20070,"length":328,"line":453,"column":41,"endLine":460,"endColumn":13,"fileName":"ruleeditor.ts","functionName":"inline","argumentNames":["image","i"]} -function inline__P10414_mk(s) { +function inline__P14499_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P10414, depth: s.depth + 1, + parent: s, fn: inline__P14499, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21449,7 +21449,7 @@ function inline__P10414_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - a___10424: undefined, + a___14509: undefined, arg0: undefined, arg1: undefined, } } @@ -21458,7 +21458,7 @@ function inline__P10414_mk(s) { -function tileworld_ruleediting_RuleEditor_selectAttr__P4511(s) { +function tileworld_ruleediting_RuleEditor_selectAttr__P12696(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21474,18 +21474,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); r0 = (s.arg0).fields["attrSelected"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_selectAttr__P4511.info = {"start":20599,"length":76,"line":467,"column":8,"endLine":469,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"selectAttr","argumentNames":["this","a"]} +tileworld_ruleediting_RuleEditor_selectAttr__P12696.info = {"start":20599,"length":76,"line":467,"column":8,"endLine":469,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"selectAttr","argumentNames":["this","a"]} -function tileworld_ruleediting_RuleEditor_selectAttr__P4511_mk(s) { +function tileworld_ruleediting_RuleEditor_selectAttr__P12696_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_selectAttr__P4511, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_selectAttr__P12696, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -21495,7 +21495,7 @@ function tileworld_ruleediting_RuleEditor_selectAttr__P4511_mk(s) { -function tileworld_AllExport_getSetAttr__P3935(s) { +function tileworld_AllExport_getSetAttr__P6029(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21514,7 +21514,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_AllExport__C3931_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_AllExport__C6025_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg3; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; @@ -21526,7 +21526,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__P3902_mk(s); + s.tmp_5 = tileworld_RuleView_getSetBgAttr__P4993_mk(s); s.tmp_5.arg0 = s.arg1; s.tmp_5.arg1 = s.arg2; s.tmp_5.arg2 = s.arg3; @@ -21536,7 +21536,7 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_6 = tileworld_RuleView_getSetSpAttr__P3903_mk(s); + s.tmp_6 = tileworld_RuleView_getSetSpAttr__P4994_mk(s); s.tmp_6.arg0 = s.arg1; s.tmp_6.arg1 = s.arg2; s.tmp_7 = r0 = s.arg3; @@ -21559,12 +21559,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_AllExport_getSetAttr__P3935.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__P6029.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__P3935_mk(s) { +function tileworld_AllExport_getSetAttr__P6029_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_AllExport_getSetAttr__P3935, depth: s.depth + 1, + parent: s, fn: tileworld_AllExport_getSetAttr__P6029, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21589,7 +21589,7 @@ function tileworld_AllExport_getSetAttr__P3935_mk(s) { -function tileworld_RuleView_getSetSpAttr__P3903(s) { +function tileworld_RuleView_getSetSpAttr__P4994(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21607,8 +21607,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getSetBuffAttr__P3901_mk(s); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getSetBuffAttr__P4992_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; @@ -21624,12 +21624,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_getSetSpAttr__P3903.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__P4994.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__P3903_mk(s) { +function tileworld_RuleView_getSetSpAttr__P4994_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getSetSpAttr__P3903, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getSetSpAttr__P4994, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21643,7 +21643,7 @@ function tileworld_RuleView_getSetSpAttr__P3903_mk(s) { -function tileworld_RuleView_getSetBuffAttr__P3901(s) { +function tileworld_RuleView_getSetBuffAttr__P4992(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21653,11 +21653,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.byteIndex___10507 = undefined; - s.byte___10510 = undefined; - s.remainder___10515 = undefined; - s.mask___10522 = undefined; - s.newByte___10530 = undefined; + s.byteIndex___5299 = undefined; + s.byte___5302 = undefined; + s.remainder___5307 = undefined; + s.mask___5314 = undefined; + s.newByte___5322 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21666,41 +21666,41 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); r0 = (s.arg2 >> 2); - s.byteIndex___10507 = (r0); - r0 = pxsim.BufferMethods.getUint8(s.arg1, s.byteIndex___10507); - s.byte___10510 = (r0); + s.byteIndex___5299 = (r0); + r0 = pxsim.BufferMethods.getUint8(s.arg1, s.byteIndex___5299); + s.byte___5302 = (r0); s.tmp_0 = r0 = s.arg2; - r0 = (s.byteIndex___10507 << 2); + r0 = (s.byteIndex___5299 << 2); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.remainder___10515 = (r0); + s.remainder___5307 = (r0); r0 = (s.arg3 != 65535); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = (s.remainder___10515 << 1); + r0 = (s.remainder___5307 << 1); s.tmp_2 = r0; r0 = (3 << s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_1 ^ 255); - s.mask___10522 = (r0); - r0 = (s.byte___10510 & s.mask___10522); + s.mask___5314 = (r0); + r0 = (s.byte___5302 & s.mask___5314); s.tmp_0 = r0; r0 = (s.arg3 & 3); s.tmp_2 = r0; - r0 = (s.remainder___10515 << 1); + r0 = (s.remainder___5307 << 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___10530 = (r0); - r0 = pxsim.BufferMethods.setUint8(s.arg1, s.byteIndex___10507, s.newByte___10530); + s.newByte___5322 = (r0); + r0 = pxsim.BufferMethods.setUint8(s.arg1, s.byteIndex___5299, s.newByte___5322); case 1: case 2: - s.tmp_1 = r0 = s.byte___10510; - r0 = (s.remainder___10515 << 1); + s.tmp_1 = r0 = s.byte___5302; + r0 = (s.remainder___5307 << 1); s.tmp_2 = r0; r0 = (s.tmp_1 >> s.tmp_2); s.tmp_0 = r0; @@ -21708,22 +21708,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_getSetBuffAttr__P3901.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__P4992.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__P3901_mk(s) { +function tileworld_RuleView_getSetBuffAttr__P4992_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getSetBuffAttr__P3901, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getSetBuffAttr__P4992, depth: s.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___10507: undefined, - byte___10510: undefined, - remainder___10515: undefined, - mask___10522: undefined, - newByte___10530: undefined, + byteIndex___5299: undefined, + byte___5302: undefined, + remainder___5307: undefined, + mask___5314: undefined, + newByte___5322: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -21734,7 +21734,7 @@ function tileworld_RuleView_getSetBuffAttr__P3901_mk(s) { -function tileworld_RuleView_getSetBgAttr__P3902(s) { +function tileworld_RuleView_getSetBgAttr__P4993(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21752,8 +21752,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getSetBuffAttr__P3901_mk(s); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getSetBuffAttr__P4992_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; @@ -21769,12 +21769,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_getSetBgAttr__P3902.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__P4993.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__P3902_mk(s) { +function tileworld_RuleView_getSetBgAttr__P4993_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getSetBgAttr__P3902, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getSetBgAttr__P4993, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21788,7 +21788,7 @@ function tileworld_RuleView_getSetBgAttr__P3902_mk(s) { -function tileworld_AllExport_getImages__P3932(s) { +function tileworld_AllExport_getImages__P6026(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21803,17 +21803,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_AllExport__C3931_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_AllExport__C6025_VT)) failedCast(r0); r0 = s.arg0.fields["allImages"]; return leave(s, r0) default: oops() } } } -tileworld_AllExport_getImages__P3932.info = {"start":934,"length":65,"line":25,"column":8,"endLine":27,"endColumn":9,"fileName":"project.ts","functionName":"getImages","argumentNames":["this"]} +tileworld_AllExport_getImages__P6026.info = {"start":934,"length":65,"line":25,"column":8,"endLine":27,"endColumn":9,"fileName":"project.ts","functionName":"getImages","argumentNames":["this"]} -function tileworld_AllExport_getImages__P3932_mk(s) { +function tileworld_AllExport_getImages__P6026_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_AllExport_getImages__P3932, depth: s.depth + 1, + parent: s, fn: tileworld_AllExport_getImages__P6026, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -21822,7 +21822,7 @@ function tileworld_AllExport_getImages__P3932_mk(s) { -function tileworld_RuleView_makeWhenDo__P3898(s) { +function tileworld_RuleView_makeWhenDo__P4989(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21832,7 +21832,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wd___10575 = undefined; + s.wd___5235 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21840,10 +21840,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_WhenDo__C3859_VT); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_WhenDo__C4302_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_WhenDo_constructor__P3860_mk(s); + s.tmp_1 = tileworld_WhenDo_constructor__P4303_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -21855,8 +21855,8 @@ switch (step) { s.callLocIdx = 124; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - s.wd___10575 = (s.tmp_0); - s.tmp_0 = r0 = s.wd___10575; + s.wd___5235 = (s.tmp_0); + s.tmp_0 = r0 = s.wd___5235; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_backgroundsI"]; @@ -21866,7 +21866,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___10575; + s.tmp_0 = r0 = s.wd___5235; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_spritesI"]; @@ -21876,15 +21876,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___10575).fields["commandsLen"] = (0); - s.tmp_0 = r0 = s.wd___10575; + r0 = (s.wd___5235).fields["commandsLen"] = (0); + s.tmp_0 = r0 = s.wd___5235; 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___10575); + r0 = pxsim_Array__push(s.tmp_0, s.wd___5235); r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; s.tmp_1 = r0; @@ -21894,19 +21894,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_makeWhenDo__P3898.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__P4989.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__P3898_mk(s) { +function tileworld_RuleView_makeWhenDo__P4989_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_makeWhenDo__P3898, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_makeWhenDo__P4989, depth: s.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___10575: undefined, + wd___5235: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -21916,7 +21916,7 @@ function tileworld_RuleView_makeWhenDo__P3898_mk(s) { -function tileworld_WhenDo_constructor__P3860(s) { +function tileworld_WhenDo_constructor__P4303(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21938,7 +21938,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_WhenDo__C3859_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_WhenDo__C4302_VT)) failedCast(r0); r0 = (s.arg0).fields["col"] = (s.arg1); r0 = (s.arg0).fields["row"] = (s.arg2); r0 = (s.arg0).fields["bgPred"] = (s.arg3); @@ -21951,12 +21951,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_WhenDo_constructor__P3860.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__P4303.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__P3860_mk(s) { +function tileworld_WhenDo_constructor__P4303_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_WhenDo_constructor__P3860, depth: s.depth + 1, + parent: s, fn: tileworld_WhenDo_constructor__P4303, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -21972,7 +21972,7 @@ function tileworld_WhenDo_constructor__P3860_mk(s) { -function tileworld_ruleediting_RuleEditor_showMainMenu__P4499(s) { +function tileworld_ruleediting_RuleEditor_showMainMenu__P12684(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21982,52 +21982,52 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rules___10645 = undefined; - s.index___10647 = undefined; + s.rules___13985 = undefined; + s.index___13987 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P4344_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P10853_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 = 1072; s.pc = 9; return s.tmp_0; + s.callLocIdx = 1075; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.code___3997; - s.callLocIdx = 1073; s.pc = 10; return s.tmp_0; + s.tmp_0.arg3 = globals.code___7226; + s.callLocIdx = 1076; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.map___3988; - s.callLocIdx = 1074; s.pc = 11; return s.tmp_0; + s.tmp_0.arg3 = globals.map___7217; + s.callLocIdx = 1077; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.play___3991; - s.callLocIdx = 1075; s.pc = 12; return s.tmp_0; + s.tmp_0.arg3 = globals.play___7220; + s.callLocIdx = 1078; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 5; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.flipHoriz___4081; - s.callLocIdx = 1076; s.pc = 13; return s.tmp_0; + s.tmp_0.arg3 = globals.flipHoriz___7310; + s.callLocIdx = 1079; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = s.arg0.fields["rule"]; @@ -22039,36 +22039,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__P4341_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = 5; s.tmp_3.arg2 = 0; - s.tmp_3.arg3 = globals.include2___4039; - s.callLocIdx = 1078; s.pc = 14; return s.tmp_3; + s.tmp_3.arg3 = globals.include2___7268; + s.callLocIdx = 1081; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; case 1: case 2: - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 6; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.garbageCan___4006; - s.callLocIdx = 1079; s.pc = 15; return s.tmp_0; + s.tmp_0.arg3 = globals.garbageCan___7235; + s.callLocIdx = 1082; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleEditor_currentRules__P4495_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleEditor_currentRules__P12680_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1080; s.pc = 16; return s.tmp_0; + s.callLocIdx = 1083; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.rules___10645 = (r0); + s.rules___13985 = (r0); r0 = s.arg0.fields["rule"]; s.tmp_0 = r0; - r0 = pxsim_Array_.indexOf(s.rules___10645, s.tmp_0, undefined); - s.index___10647 = (r0); - s.tmp_1 = r0 = s.index___10647; - r0 = pxsim_Array__length(s.rules___10645); + r0 = pxsim_Array_.indexOf(s.rules___13985, s.tmp_0, undefined); + s.index___13987 = (r0); + s.tmp_1 = r0 = s.index___13987; + r0 = pxsim_Array__length(s.rules___13985); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); s.tmp_2 = r0; @@ -22076,28 +22076,28 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = globals.rightArrow___4105; + r0 = globals.rightArrow___7334; { step = 4; continue; } case 3: - s.tmp_4 = tileworld_greyImage__P3839_mk(s); - s.tmp_4.arg0 = globals.rightArrow___4105; - s.callLocIdx = 1081; s.pc = 17; return s.tmp_4; + s.tmp_4 = tileworld_greyImage__P3924_mk(s); + s.tmp_4.arg0 = globals.rightArrow___7334; + s.callLocIdx = 1084; 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__P4341_mk(s); + s.tmp_6 = tileworld_RuleVisualsBase_drawImage__P10850_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 = 1082; s.pc = 18; return s.tmp_6; + s.callLocIdx = 1085; s.pc = 18; return s.tmp_6; case 18: r0 = s.retval; - s.tmp_2 = tileworld_ruleediting_RuleDisplay_getType__P4400_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleDisplay_getType__P11268_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 1083; s.pc = 19; return s.tmp_2; + s.callLocIdx = 1086; s.pc = 19; return s.tmp_2; case 19: r0 = s.retval; s.tmp_1 = r0; @@ -22105,58 +22105,58 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = globals.addRule___4012; + r0 = globals.addRule___7241; { step = 6; continue; } case 5: - s.tmp_3 = tileworld_greyImage__P3839_mk(s); - s.tmp_3.arg0 = globals.addRule___4012; - s.callLocIdx = 1084; s.pc = 20; return s.tmp_3; + s.tmp_3 = tileworld_greyImage__P3924_mk(s); + s.tmp_3.arg0 = globals.addRule___7241; + s.callLocIdx = 1087; 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__P4341_mk(s); + s.tmp_5 = tileworld_RuleVisualsBase_drawImage__P10850_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 = 1085; s.pc = 21; return s.tmp_5; + s.callLocIdx = 1088; s.pc = 21; return s.tmp_5; case 21: r0 = s.retval; - r0 = (s.index___10647 > 0); + r0 = (s.index___13987 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = globals.leftArrow___4108; + r0 = globals.leftArrow___7337; { step = 8; continue; } case 7: - s.tmp_1 = tileworld_greyImage__P3839_mk(s); - s.tmp_1.arg0 = globals.leftArrow___4108; - s.callLocIdx = 1086; s.pc = 22; return s.tmp_1; + s.tmp_1 = tileworld_greyImage__P3924_mk(s); + s.tmp_1.arg0 = globals.leftArrow___7337; + s.callLocIdx = 1089; 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__P4341_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_drawImage__P10850_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 = 1087; s.pc = 23; return s.tmp_3; + s.callLocIdx = 1090; s.pc = 23; return s.tmp_3; case 23: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_showMainMenu__P4499.info = {"start":11664,"length":850,"line":250,"column":8,"endLine":267,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showMainMenu","argumentNames":["this"]} +tileworld_ruleediting_RuleEditor_showMainMenu__P12684.info = {"start":11664,"length":850,"line":250,"column":8,"endLine":267,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showMainMenu","argumentNames":["this"]} -function tileworld_ruleediting_RuleEditor_showMainMenu__P4499_mk(s) { +function tileworld_ruleediting_RuleEditor_showMainMenu__P12684_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_showMainMenu__P4499, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_showMainMenu__P12684, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22165,8 +22165,8 @@ function tileworld_ruleediting_RuleEditor_showMainMenu__P4499_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - rules___10645: undefined, - index___10647: undefined, + rules___13985: undefined, + index___13987: undefined, arg0: undefined, } } @@ -22174,7 +22174,7 @@ function tileworld_ruleediting_RuleEditor_showMainMenu__P4499_mk(s) { -function tileworld_greyImage__P3839(s) { +function tileworld_greyImage__P3924(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22184,37 +22184,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ret___10679 = undefined; - s.x___10683 = undefined; - s.y___10690 = undefined; - s.pix___10697 = undefined; + s.ret___3926 = undefined; + s.x___3931 = undefined; + s.y___3938 = undefined; + s.pix___3945 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_ImageMethods.clone(s.arg0); - s.ret___10679 = (r0); - s.x___10683 = (0); + s.ret___3926 = (r0); + s.x___3931 = (0); case 1: - s.tmp_1 = r0 = s.x___10683; - r0 = pxsim_ImageMethods.width(s.ret___10679); + s.tmp_1 = r0 = s.x___3931; + r0 = pxsim_ImageMethods.width(s.ret___3926); 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___10690 = (0); + s.y___3938 = (0); case 2: - s.tmp_1 = r0 = s.y___10690; - r0 = pxsim_ImageMethods.height(s.ret___10679); + s.tmp_1 = r0 = s.y___3938; + r0 = pxsim_ImageMethods.height(s.ret___3926); 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___10679, s.x___10683, s.y___10690); - s.pix___10697 = (r0); - r0 = (s.pix___10697 == 0); + r0 = pxsim_ImageMethods.getPixel(s.ret___3926, s.x___3931, s.y___3938); + s.pix___3945 = (r0); + r0 = (s.pix___3945 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -22225,33 +22225,33 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - r0 = pxsim_ImageMethods.setPixel(s.ret___10679, s.x___10683, s.y___10690, s.tmp_1); - r0 = (s.y___10690 + 1); - s.y___10690 = (r0); + r0 = pxsim_ImageMethods.setPixel(s.ret___3926, s.x___3931, s.y___3938, s.tmp_1); + r0 = (s.y___3938 + 1); + s.y___3938 = (r0); { step = 2; continue; } case 5: - r0 = (s.x___10683 + 1); - s.x___10683 = (r0); + r0 = (s.x___3931 + 1); + s.x___3931 = (r0); { step = 1; continue; } case 6: - r0 = s.ret___10679; + r0 = s.ret___3926; return leave(s, r0) default: oops() } } } -tileworld_greyImage__P3839.info = {"start":995,"length":327,"line":29,"column":4,"endLine":38,"endColumn":5,"fileName":"utilities.ts","functionName":"greyImage","argumentNames":["img"]} +tileworld_greyImage__P3924.info = {"start":995,"length":327,"line":29,"column":4,"endLine":38,"endColumn":5,"fileName":"utilities.ts","functionName":"greyImage","argumentNames":["img"]} -function tileworld_greyImage__P3839_mk(s) { +function tileworld_greyImage__P3924_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_greyImage__P3839, depth: s.depth + 1, + parent: s, fn: tileworld_greyImage__P3924, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ret___10679: undefined, - x___10683: undefined, - y___10690: undefined, - pix___10697: undefined, + ret___3926: undefined, + x___3931: undefined, + y___3938: undefined, + pix___3945: undefined, arg0: undefined, } } @@ -22259,7 +22259,7 @@ function tileworld_greyImage__P3839_mk(s) { -function tileworld_RuleView_getTransforms__P3888(s) { +function tileworld_RuleView_getTransforms__P4980(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22274,18 +22274,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; r0 = r0.fields["transforms"]; return leave(s, r0) default: oops() } } } -tileworld_RuleView_getTransforms__P3888.info = {"start":1545,"length":72,"line":45,"column":8,"endLine":47,"endColumn":9,"fileName":"ruleview.ts","functionName":"getTransforms","argumentNames":["this"]} +tileworld_RuleView_getTransforms__P4980.info = {"start":1545,"length":72,"line":45,"column":8,"endLine":47,"endColumn":9,"fileName":"ruleview.ts","functionName":"getTransforms","argumentNames":["this"]} -function tileworld_RuleView_getTransforms__P3888_mk(s) { +function tileworld_RuleView_getTransforms__P4980_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getTransforms__P3888, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getTransforms__P4980, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -22294,7 +22294,7 @@ function tileworld_RuleView_getTransforms__P3888_mk(s) { -function tileworld_RuleVisualsBase_fillTile__P4344(s) { +function tileworld_RuleVisualsBase_fillTile__P10853(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22312,7 +22312,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C4330_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C10839_VT)) failedCast(r0); s.tmp_0 = helpers_imageFillRect__P517_mk(s); s.tmp_0.arg0 = globals.screen___578; r0 = (s.arg1 << 4); @@ -22328,19 +22328,19 @@ switch (step) { s.tmp_0.arg3 = 15; s.tmp_0.arg4 = 15; s.tmp_0.arg5 = s.arg3; - s.callLocIdx = 682; s.pc = 1; return s.tmp_0; + s.callLocIdx = 685; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_fillTile__P4344.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__P10853.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__P4344_mk(s) { +function tileworld_RuleVisualsBase_fillTile__P10853_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_fillTile__P4344, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_fillTile__P10853, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22356,7 +22356,7 @@ function tileworld_RuleVisualsBase_fillTile__P4344_mk(s) { -function tileworld_ruleediting_RuleDisplay_update__P4408(s) { +function tileworld_ruleediting_RuleDisplay_update__P11276(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22366,13 +22366,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.image___10819 = undefined; + s.image___11596 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_VT)) failedCast(r0); r0 = (s.arg0).fields["collideRow"] = (-1); r0 = (s.arg0).fields["collideCol"] = (-1); r0 = pxsim_ImageMethods.fill(globals.screen___578, 0); @@ -22385,7 +22385,7 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 717; s.pc = 11; return s.tmp_0; + s.callLocIdx = 720; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = s.arg0.fields["p"]; @@ -22406,7 +22406,7 @@ switch (step) { s.tmp_1.arg4 = undefined; s.tmp_1.arg5 = undefined; s.tmp_1.arg6 = undefined; - s.callLocIdx = 719; s.pc = 12; return s.tmp_1; + s.callLocIdx = 722; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; case 1: @@ -22420,37 +22420,37 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 720; s.pc = 13; return s.tmp_0; + s.callLocIdx = 723; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleDisplay_showRuleType__P4407_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_showRuleType__P11275_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__P3895_mk(s); + s.tmp_2 = tileworld_RuleView_getDirFromRule__P4987_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 722; s.pc = 15; return s.tmp_2; + s.callLocIdx = 725; 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 = 723; s.pc = 14; return s.tmp_0; + s.callLocIdx = 726; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleDisplay_makeContext__P4409_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_makeContext__P11277_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 724; s.pc = 16; return s.tmp_0; + s.callLocIdx = 727; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_2 = tileworld_ruleediting_RuleDisplay_getType__P4400_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleDisplay_getType__P11268_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 725; s.pc = 17; return s.tmp_2; + s.callLocIdx = 728; s.pc = 17; return s.tmp_2; case 17: r0 = s.retval; s.tmp_1 = r0; @@ -22458,36 +22458,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__P4407_mk(s); + s.tmp_3 = tileworld_ruleediting_RuleDisplay_showRuleType__P11275_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__P3895_mk(s); + s.tmp_5 = tileworld_RuleView_getDirFromRule__P4987_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_5.arg0 = r0; - s.callLocIdx = 727; s.pc = 19; return s.tmp_5; + s.callLocIdx = 730; 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 = 728; s.pc = 18; return s.tmp_3; + s.callLocIdx = 731; s.pc = 18; return s.tmp_3; case 18: r0 = s.retval; case 3: case 4: - s.tmp_0 = tileworld_ruleediting_RuleDisplay_showCommands__P4413_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_showCommands__P11281_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 729; s.pc = 20; return s.tmp_0; + s.callLocIdx = 732; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.tmp_2 = tileworld_ruleediting_RuleDisplay_getType__P4400_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleDisplay_getType__P11268_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 730; s.pc = 21; return s.tmp_2; + s.callLocIdx = 733; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; s.tmp_1 = r0; @@ -22495,29 +22495,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__P4403_mk(s); + s.tmp_3 = tileworld_ruleediting_RuleDisplay_getDirectionImage__P11271_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 731; s.pc = 22; return s.tmp_3; + s.callLocIdx = 734; s.pc = 22; return s.tmp_3; case 22: r0 = s.retval; - s.image___10819 = (r0); - r0 = pxsim_numops_toBoolDecr(s.image___10819); + s.image___11596 = (r0); + r0 = pxsim_numops_toBoolDecr(s.image___11596); if (!r0) { step = 5; continue; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 3; - s.tmp_0.arg3 = s.image___10819; - s.callLocIdx = 732; s.pc = 23; return s.tmp_0; + s.tmp_0.arg3 = s.image___11596; + s.callLocIdx = 735; 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__P4400_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleDisplay_getType__P11268_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 733; s.pc = 24; return s.tmp_2; + s.callLocIdx = 736; s.pc = 24; return s.tmp_2; case 24: r0 = s.retval; s.tmp_1 = r0; @@ -22525,12 +22525,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__P4341_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 3; - s.tmp_3.arg3 = globals.negate___4147; - s.callLocIdx = 734; s.pc = 25; return s.tmp_3; + s.tmp_3.arg3 = globals.negate___7376; + s.callLocIdx = 737; s.pc = 25; return s.tmp_3; case 25: r0 = s.retval; case 8: @@ -22540,12 +22540,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_update__P4408.info = {"start":4346,"length":1043,"line":101,"column":8,"endLine":123,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"update","argumentNames":["this"]} +tileworld_ruleediting_RuleDisplay_update__P11276.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__P4408_mk(s) { +function tileworld_ruleediting_RuleDisplay_update__P11276_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_update__P4408, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_update__P11276, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22553,7 +22553,7 @@ function tileworld_ruleediting_RuleDisplay_update__P4408_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - image___10819: undefined, + image___11596: undefined, arg0: undefined, } } @@ -22561,7 +22561,7 @@ function tileworld_ruleediting_RuleDisplay_update__P4408_mk(s) { -function tileworld_ruleediting_RuleDisplay_getDirectionImage__P4403(s) { +function tileworld_ruleediting_RuleDisplay_getDirectionImage__P11271(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22571,23 +22571,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dir___10831 = undefined; + s.dir___11347 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getDirFromRule__P3895_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getDirFromRule__P4987_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 699; s.pc = 3; return s.tmp_0; + s.callLocIdx = 702; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.dir___10831 = (r0); - s.tmp_2 = tileworld_ruleediting_RuleDisplay_getType__P4400_mk(s); + s.dir___11347 = (r0); + s.tmp_2 = tileworld_ruleediting_RuleDisplay_getType__P11268_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 700; s.pc = 4; return s.tmp_2; + s.callLocIdx = 703; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; s.tmp_1 = r0; @@ -22595,10 +22595,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___4368, s.dir___10831); + r0 = pxsim_Array__getAt(globals.buttonImages___11238, s.dir___11347); { step = 2; continue; } case 1: - r0 = pxsim_Array__getAt(globals.moveImages___4350, s.dir___10831); + r0 = pxsim_Array__getAt(globals.moveImages___11219, s.dir___11347); case 2: // jmp value (already in r0) s.tmp_3 = r0; @@ -22606,18 +22606,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_getDirectionImage__P4403.info = {"start":2005,"length":188,"line":53,"column":8,"endLine":56,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"getDirectionImage","argumentNames":["this"]} +tileworld_ruleediting_RuleDisplay_getDirectionImage__P11271.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__P4403_mk(s) { +function tileworld_ruleediting_RuleDisplay_getDirectionImage__P11271_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_getDirectionImage__P4403, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_getDirectionImage__P11271, depth: s.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___10831: undefined, + dir___11347: undefined, arg0: undefined, } } @@ -22625,7 +22625,7 @@ function tileworld_ruleediting_RuleDisplay_getDirectionImage__P4403_mk(s) { -function tileworld_ruleediting_RuleDisplay_showCommands__P4413(s) { +function tileworld_ruleediting_RuleDisplay_showCommands__P11281(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22635,57 +22635,57 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.lr___10847 = undefined; - s.col___10851 = undefined; - s.row___10854 = undefined; - s.len___10857 = undefined; + s.lr___11672 = undefined; + s.col___11676 = undefined; + s.row___11679 = undefined; + s.len___11682 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_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___10847 = (0); + s.lr___11672 = (0); case 1: - r0 = (s.lr___10847 < 5); + r0 = (s.lr___11672 < 5); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = tileworld_ruleediting_RuleDisplay_rowToColCoord__P4411_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleDisplay_rowToColCoord__P11279_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.lr___10847; - s.callLocIdx = 737; s.pc = 5; return s.tmp_1; + s.tmp_1.arg1 = s.lr___11672; + s.callLocIdx = 740; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.col___10851 = (r0); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_rowToRowCoord__P4412_mk(s); + s.col___11676 = (r0); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_rowToRowCoord__P11280_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.lr___10847; - s.callLocIdx = 738; s.pc = 6; return s.tmp_0; + s.tmp_0.arg1 = s.lr___11672; + s.callLocIdx = 741; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.row___10854 = (r0); - s.tmp_1 = tileworld_ruleediting_RuleDisplay_active__P4410_mk(s); + s.row___11679 = (r0); + s.tmp_1 = tileworld_ruleediting_RuleDisplay_active__P11278_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.col___10851; - s.tmp_1.arg2 = s.row___10854; - s.callLocIdx = 739; s.pc = 7; return s.tmp_1; + s.tmp_1.arg1 = s.col___11676; + s.tmp_1.arg2 = s.row___11679; + s.callLocIdx = 742; 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__P4415_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleDisplay_showCommandsAt__P11283_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.lr___10847; - s.tmp_2.arg2 = s.col___10851; - s.tmp_2.arg3 = s.row___10854; + s.tmp_2.arg1 = s.lr___11672; + s.tmp_2.arg2 = s.col___11676; + s.tmp_2.arg3 = s.row___11679; s.tmp_2.arg4 = true; - s.callLocIdx = 740; s.pc = 8; return s.tmp_2; + s.callLocIdx = 743; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; { step = 3; continue; } @@ -22694,33 +22694,33 @@ switch (step) { case 3: // jmp value (already in r0) s.tmp_3 = r0; - s.len___10857 = (s.tmp_3); + s.len___11682 = (s.tmp_3); r0 = s.arg0.fields["commandLengths"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.len___10857); - r0 = (s.lr___10847 + 1); - s.lr___10847 = (r0); + r0 = pxsim_Array__push(s.tmp_0, s.len___11682); + r0 = (s.lr___11672 + 1); + s.lr___11672 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_showCommands__P4413.info = {"start":6317,"length":368,"line":149,"column":8,"endLine":157,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"showCommands","argumentNames":["this"]} +tileworld_ruleediting_RuleDisplay_showCommands__P11281.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__P4413_mk(s) { +function tileworld_ruleediting_RuleDisplay_showCommands__P11281_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_showCommands__P4413, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_showCommands__P11281, depth: s.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___10847: undefined, - col___10851: undefined, - row___10854: undefined, - len___10857: undefined, + lr___11672: undefined, + col___11676: undefined, + row___11679: undefined, + len___11682: undefined, arg0: undefined, } } @@ -22728,7 +22728,7 @@ function tileworld_ruleediting_RuleDisplay_showCommands__P4413_mk(s) { -function tileworld_ruleediting_RuleDisplay_showCommandsAt__P4415(s) { +function tileworld_ruleediting_RuleDisplay_showCommandsAt__P11283(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22738,13 +22738,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.kind___10880 = undefined; - s.img___10886 = undefined; - s.whendo___10915 = undefined; - s.whendo___10981 = undefined; - s.col___10987 = undefined; - s.tokens___10988 = undefined; - s.cid___10997 = undefined; + s.kind___11772 = undefined; + s.img___11778 = undefined; + s.whendo___11807 = undefined; + s.whendo___11873 = undefined; + s.col___11879 = undefined; + s.tokens___11880 = undefined; + s.cid___11890 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -22754,56 +22754,56 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg4); if (!r0) { step = 13; continue; } - s.tmp_0 = tileworld_RuleView_findWitnessColRow__P3907_mk(s); + s.tmp_0 = tileworld_RuleView_findWitnessColRow__P4997_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 = 744; s.pc = 28; return s.tmp_0; + s.callLocIdx = 747; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; - s.kind___10880 = (r0); - r0 = (s.kind___10880 == -1); + s.kind___11772 = (r0); + r0 = (s.kind___11772 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = globals.genericSprite___4030; + r0 = globals.genericSprite___7259; { step = 2; continue; } case 1: - s.tmp_1 = tileworld_ruleediting_RuleDisplay_getWhenDoImage__P4419_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleDisplay_getWhenDoImage__P11287_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg2; s.tmp_1.arg2 = s.arg3; - s.callLocIdx = 745; s.pc = 29; return s.tmp_1; + s.callLocIdx = 748; 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___10886 = (s.tmp_2); - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.img___11778 = (s.tmp_2); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_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___10886; - s.callLocIdx = 746; s.pc = 30; return s.tmp_0; + s.tmp_0.arg3 = s.img___11778; + s.callLocIdx = 749; s.pc = 30; return s.tmp_0; case 30: r0 = s.retval; - r0 = (s.kind___10880 != -1); + r0 = (s.kind___11772 != -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__P4400_mk(s); + s.tmp_3 = tileworld_ruleediting_RuleDisplay_getType__P11268_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 747; s.pc = 31; return s.tmp_3; + s.callLocIdx = 750; s.pc = 31; return s.tmp_3; case 31: r0 = s.retval; s.tmp_2 = r0; @@ -22833,32 +22833,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__P3897_mk(s); + s.tmp_7 = tileworld_RuleView_getWhenDo__P4608_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 = 748; s.pc = 32; return s.tmp_7; + s.callLocIdx = 751; s.pc = 32; return s.tmp_7; case 32: r0 = s.retval; - s.whendo___10915 = (r0); - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.whendo___11807 = (r0); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_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___4358; - s.tmp_3 = tileworld_RuleView_getWitnessDirection__P3908_mk(s); + s.tmp_1 = r0 = globals.movedImages___11227; + s.tmp_3 = tileworld_RuleView_getWitnessDirection__P4998_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.whendo___10915; - s.callLocIdx = 749; s.pc = 34; return s.tmp_3; + s.tmp_3.arg1 = s.whendo___11807; + s.callLocIdx = 752; 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 = 750; s.pc = 33; return s.tmp_0; + s.callLocIdx = 753; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; case 9: @@ -22885,7 +22885,7 @@ switch (step) { s.tmp_1.arg4 = undefined; s.tmp_1.arg5 = undefined; s.tmp_1.arg6 = undefined; - s.callLocIdx = 751; s.pc = 35; return s.tmp_1; + s.callLocIdx = 754; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; s.tmp_0 = helpers_imagePrint__P541_mk(s); @@ -22907,56 +22907,56 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 752; s.pc = 36; return s.tmp_0; + s.callLocIdx = 755; 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__P3897_mk(s); + s.tmp_0 = tileworld_RuleView_getWhenDo__P4608_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 = 753; s.pc = 37; return s.tmp_0; + s.callLocIdx = 756; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.whendo___10981 = (r0); - s.col___10987 = (6); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_startTokens__P4417_mk(s); + s.whendo___11873 = (r0); + s.col___11879 = (6); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_startTokens__P11285_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; - s.callLocIdx = 754; s.pc = 38; return s.tmp_0; + s.callLocIdx = 757; s.pc = 38; return s.tmp_0; case 38: r0 = s.retval; - s.tokens___10988 = (r0); + s.tokens___11880 = (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___10988); + r0 = (s.arg0).fields["tokens"] = (s.tokens___11880); case 15: case 16: - s.cid___10997 = (0); + s.cid___11890 = (0); case 17: - r0 = (s.whendo___10981 != -1); + r0 = (s.whendo___11873 != -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___10997; + s.tmp_1 = r0 = s.cid___11890; 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___10981); + r0 = pxsim_Array__getAt(s.tmp_4, s.whendo___11873); r0 = r0.fields["commandsLen"]; s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -22965,40 +22965,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__P4416_mk(s); + s.tmp_6 = tileworld_ruleediting_RuleDisplay_showCommand__P11284_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.col___10987; + s.tmp_6.arg1 = s.col___11879; s.tmp_6.arg2 = s.arg1; - s.tmp_6.arg3 = s.whendo___10981; - s.tmp_6.arg4 = s.cid___10997; - s.tmp_6.arg5 = s.tokens___10988; + s.tmp_6.arg3 = s.whendo___11873; + s.tmp_6.arg4 = s.cid___11890; + s.tmp_6.arg5 = s.tokens___11880; s.tmp_6.arg6 = s.arg4; - s.callLocIdx = 756; s.pc = 39; return s.tmp_6; + s.callLocIdx = 759; s.pc = 39; return s.tmp_6; case 39: r0 = s.retval; - r0 = (s.cid___10997 + 1); - s.cid___10997 = (r0); - s.tmp_0 = r0 = s.col___10987; + r0 = (s.cid___11890 + 1); + s.cid___11890 = (r0); + s.tmp_0 = r0 = s.col___11879; r0 = (s.tmp_0 + 1); - s.col___10987 = (r0); + s.col___11879 = (r0); r0 = s.tmp_0; { step = 17; continue; } case 20: - r0 = (s.whendo___10981 == -1); + r0 = (s.whendo___11873 == -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___10997 < 4); + r0 = (s.cid___11890 < 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___10988); + r0 = pxsim_Array__length(s.tokens___11880); s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 23: @@ -23010,32 +23010,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__P4416_mk(s); + s.tmp_5 = tileworld_ruleediting_RuleDisplay_showCommand__P11284_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.col___10987; + s.tmp_5.arg1 = s.col___11879; s.tmp_5.arg2 = s.arg1; - s.tmp_5.arg3 = s.whendo___10981; - s.tmp_5.arg4 = s.cid___10997; - s.tmp_5.arg5 = s.tokens___10988; + s.tmp_5.arg3 = s.whendo___11873; + s.tmp_5.arg4 = s.cid___11890; + s.tmp_5.arg5 = s.tokens___11880; s.tmp_5.arg6 = s.arg4; - s.callLocIdx = 757; s.pc = 40; return s.tmp_5; + s.callLocIdx = 760; s.pc = 40; return s.tmp_5; case 40: r0 = s.retval; - r0 = (s.cid___10997 + 1); + r0 = (s.cid___11890 + 1); { step = 27; continue; } case 25: case 26: - r0 = s.cid___10997; + r0 = s.cid___11890; case 27: return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_showCommandsAt__P4415.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__P11283.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__P4415_mk(s) { +function tileworld_ruleediting_RuleDisplay_showCommandsAt__P11283_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_showCommandsAt__P4415, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_showCommandsAt__P11283, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23045,13 +23045,13 @@ function tileworld_ruleediting_RuleDisplay_showCommandsAt__P4415_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - kind___10880: undefined, - img___10886: undefined, - whendo___10915: undefined, - whendo___10981: undefined, - col___10987: undefined, - tokens___10988: undefined, - cid___10997: undefined, + kind___11772: undefined, + img___11778: undefined, + whendo___11807: undefined, + whendo___11873: undefined, + col___11879: undefined, + tokens___11880: undefined, + cid___11890: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23063,7 +23063,7 @@ function tileworld_ruleediting_RuleDisplay_showCommandsAt__P4415_mk(s) { -function tileworld_ruleediting_RuleDisplay_showCommand__P4416(s) { +function tileworld_ruleediting_RuleDisplay_showCommand__P11284(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23073,8 +23073,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.inst___11064 = undefined; - s.arg___11070 = undefined; + s.inst___11957 = undefined; + s.arg___11963 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23086,69 +23086,69 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_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__P4341_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P10850_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___4015; - s.callLocIdx = 758; s.pc = 7; return s.tmp_1; + s.tmp_1.arg3 = globals.emptyTile___7244; + s.callLocIdx = 761; 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__P3911_mk(s); + s.tmp_0 = tileworld_RuleView_getCmdInst__P5000_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 = 759; s.pc = 8; return s.tmp_0; + s.callLocIdx = 762; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.inst___11064 = (r0); - s.tmp_0 = tileworld_RuleView_getCmdArg__P3912_mk(s); + s.inst___11957 = (r0); + s.tmp_0 = tileworld_RuleView_getCmdArg__P5001_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 = 760; s.pc = 9; return s.tmp_0; + s.callLocIdx = 763; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.arg___11070 = (r0); + s.arg___11963 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg6); if (!r0) { step = 4; continue; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_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__P4414_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleDisplay_instToImage__P11282_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.inst___11064; - s.tmp_1.arg2 = s.arg___11070; - s.callLocIdx = 761; s.pc = 11; return s.tmp_1; + s.tmp_1.arg1 = s.inst___11957; + s.tmp_1.arg2 = s.arg___11963; + s.callLocIdx = 764; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0.arg3 = r0; - s.callLocIdx = 762; s.pc = 10; return s.tmp_0; + s.callLocIdx = 765; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; case 4: case 5: - s.tmp_0 = tileworld_ruleediting_RuleDisplay_updateTokens__P4418_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_updateTokens__P11286_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg5; - s.tmp_0.arg2 = s.inst___11064; - s.callLocIdx = 763; s.pc = 12; return s.tmp_0; + s.tmp_0.arg2 = s.inst___11957; + s.callLocIdx = 766; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; r0 = (s.arg1 + 1); @@ -23158,17 +23158,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_showCommand__P4416.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__P11284.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__P4416_mk(s) { +function tileworld_ruleediting_RuleDisplay_showCommand__P11284_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_showCommand__P4416, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_showCommand__P11284, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - inst___11064: undefined, - arg___11070: undefined, + inst___11957: undefined, + arg___11963: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23182,7 +23182,7 @@ function tileworld_ruleediting_RuleDisplay_showCommand__P4416_mk(s) { -function tileworld_ruleediting_RuleDisplay_updateTokens__P4418(s) { +function tileworld_ruleediting_RuleDisplay_updateTokens__P11286(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23199,7 +23199,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_VT)) failedCast(r0); r0 = (s.arg2 == 255); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -23222,12 +23222,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_updateTokens__P4418.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__P11286.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__P4418_mk(s) { +function tileworld_ruleediting_RuleDisplay_updateTokens__P11286_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_updateTokens__P4418, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_updateTokens__P11286, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23239,7 +23239,7 @@ function tileworld_ruleediting_RuleDisplay_updateTokens__P4418_mk(s) { -function tileworld_RuleView_getCmdsLen__P3910(s) { +function tileworld_RuleView_getCmdsLen__P4622(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23255,7 +23255,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; s.tmp_0 = r0; @@ -23264,12 +23264,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_getCmdsLen__P3910.info = {"start":6639,"length":95,"line":191,"column":8,"endLine":193,"endColumn":9,"fileName":"ruleview.ts","functionName":"getCmdsLen","argumentNames":["this","wdid"]} +tileworld_RuleView_getCmdsLen__P4622.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__P3910_mk(s) { +function tileworld_RuleView_getCmdsLen__P4622_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getCmdsLen__P3910, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getCmdsLen__P4622, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23280,7 +23280,7 @@ function tileworld_RuleView_getCmdsLen__P3910_mk(s) { -function tileworld_ruleediting_RuleDisplay_startTokens__P4417(s) { +function tileworld_ruleediting_RuleDisplay_startTokens__P11285(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23290,7 +23290,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tokens___11126 = undefined; + s.tokens___11987 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23298,16 +23298,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.tokens___11126 = (r0); - s.tmp_2 = tileworld_RuleView_findWitnessColRow__P3907_mk(s); + s.tokens___11987 = (r0); + s.tmp_2 = tileworld_RuleView_findWitnessColRow__P4997_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 = 764; s.pc = 3; return s.tmp_2; + s.callLocIdx = 767; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1 = r0; @@ -23319,7 +23319,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___11126 = (s.tmp_3); + s.tokens___11987 = (s.tmp_3); case 1: case 2: r0 = pxsim_Array__mk(); @@ -23330,28 +23330,28 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_0, 5); r0 = pxsim_Array__push(s.tmp_0, 4); s.tmp_1 = helpers_arrayConcat__P64_mk(s); - s.tmp_1.arg0 = s.tokens___11126; + s.tmp_1.arg0 = s.tokens___11987; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 765; s.pc = 4; return s.tmp_1; + s.callLocIdx = 768; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - s.tokens___11126 = (r0); - r0 = s.tokens___11126; + s.tokens___11987 = (r0); + r0 = s.tokens___11987; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_startTokens__P4417.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__P11285.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__P4417_mk(s) { +function tileworld_ruleediting_RuleDisplay_startTokens__P11285_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_startTokens__P4417, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_startTokens__P11285, depth: s.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___11126: undefined, + tokens___11987: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23371,11 +23371,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.out___11154 = undefined; - s.value___11157 = undefined; + s.out___23765 = undefined; + s.value___23768 = undefined; s.unnamed40___U2 = undefined; s.unnamed41___U3 = undefined; - s.value___11164 = undefined; + s.value___23775 = undefined; s.unnamed42___U5 = undefined; s.unnamed43___U6 = undefined; if (s.lambdaArgs) { @@ -23384,8 +23384,8 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.out___11154 = (r0); - s.value___11157 = (undefined); + s.out___23765 = (r0); + s.value___23768 = (undefined); s.unnamed40___U2 = (s.arg0); s.unnamed41___U3 = (0); case 1: @@ -23395,14 +23395,14 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } r0 = pxsim_Array__getAt(s.unnamed40___U2, s.unnamed41___U3); - s.value___11157 = (r0); - r0 = pxsim_Array__push(s.out___11154, s.value___11157); + s.value___23768 = (r0); + r0 = pxsim_Array__push(s.out___23765, s.value___23768); r0 = (s.unnamed41___U3 + 1); s.unnamed41___U3 = (r0); { step = 1; continue; } case 2: s.unnamed40___U2 = (undefined); - s.value___11164 = (undefined); + s.value___23775 = (undefined); s.unnamed42___U5 = (s.arg1); s.unnamed43___U6 = (0); case 3: @@ -23412,14 +23412,14 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } r0 = pxsim_Array__getAt(s.unnamed42___U5, s.unnamed43___U6); - s.value___11164 = (r0); - r0 = pxsim_Array__push(s.out___11154, s.value___11164); + s.value___23775 = (r0); + r0 = pxsim_Array__push(s.out___23765, s.value___23775); r0 = (s.unnamed43___U6 + 1); s.unnamed43___U6 = (r0); { step = 3; continue; } case 4: s.unnamed42___U5 = (undefined); - r0 = s.out___11154; + r0 = s.out___23765; return leave(s, r0) default: oops() } } } @@ -23432,11 +23432,11 @@ function helpers_arrayConcat__P64_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - out___11154: undefined, - value___11157: undefined, + out___23765: undefined, + value___23768: undefined, unnamed40___U2: undefined, unnamed41___U3: undefined, - value___11164: undefined, + value___23775: undefined, unnamed42___U5: undefined, unnamed43___U6: undefined, arg0: undefined, @@ -23447,7 +23447,7 @@ function helpers_arrayConcat__P64_mk(s) { -function tileworld_ruleediting_RuleDisplay_getWhenDoImage__P4419(s) { +function tileworld_ruleediting_RuleDisplay_getWhenDoImage__P11287(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23457,12 +23457,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.whenDo___11174 = undefined; - s.include___11185 = undefined; - s.include2___11189 = undefined; - s.exclude___11202 = undefined; - s.exclude2___11206 = undefined; - s.index___11219 = undefined; + s.whenDo___12041 = undefined; + s.include___12052 = undefined; + s.include2___12056 = undefined; + s.exclude___12069 = undefined; + s.exclude2___12073 = undefined; + s.index___12086 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23470,134 +23470,134 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getWhenDo__P3897_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getWhenDo__P4608_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 = 766; s.pc = 22; return s.tmp_0; + s.callLocIdx = 769; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.whenDo___11174 = (r0); - r0 = (s.whenDo___11174 == -1); + s.whenDo___12041 = (r0); + r0 = (s.whenDo___12041 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = globals.ok___4042; + r0 = globals.ok___7271; { step = 21; continue; } case 1: case 2: - s.tmp_1 = tileworld_ruleediting_RuleDisplay_attrIndex__P4422_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleDisplay_attrIndex__P11290_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.whenDo___11174; + s.tmp_1.arg1 = s.whenDo___12041; s.tmp_1.arg2 = 1; s.tmp_1.arg3 = 0; - s.callLocIdx = 767; s.pc = 23; return s.tmp_1; + s.callLocIdx = 770; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.include___11185 = (r0); - r0 = (s.include___11185 == -1); + s.include___12052 = (r0); + r0 = (s.include___12052 == -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__P4422_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleDisplay_attrIndex__P11290_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.whenDo___11174; + s.tmp_1.arg1 = s.whenDo___12041; s.tmp_1.arg2 = 1; - r0 = (s.include___11185 + 1); + r0 = (s.include___12052 + 1); s.tmp_1.arg3 = r0; - s.callLocIdx = 768; s.pc = 24; return s.tmp_1; + s.callLocIdx = 771; 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___11189 = (s.tmp_2); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_attrIndex__P4422_mk(s); + s.include2___12056 = (s.tmp_2); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_attrIndex__P11290_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.whenDo___11174; + s.tmp_0.arg1 = s.whenDo___12041; s.tmp_0.arg2 = 3; s.tmp_0.arg3 = 0; - s.callLocIdx = 769; s.pc = 25; return s.tmp_0; + s.callLocIdx = 772; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.exclude___11202 = (r0); - r0 = (s.exclude___11202 == -1); + s.exclude___12069 = (r0); + r0 = (s.exclude___12069 == -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__P4422_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleDisplay_attrIndex__P11290_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.whenDo___11174; + s.tmp_1.arg1 = s.whenDo___12041; s.tmp_1.arg2 = 3; - r0 = (s.exclude___11202 + 1); + r0 = (s.exclude___12069 + 1); s.tmp_1.arg3 = r0; - s.callLocIdx = 770; s.pc = 26; return s.tmp_1; + s.callLocIdx = 773; 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___11206 = (s.tmp_2); - r0 = (s.include___11185 == -1); + s.exclude2___12073 = (s.tmp_2); + r0 = (s.include___12052 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = s.exclude___11202; + r0 = s.exclude___12069; { step = 8; continue; } case 7: - r0 = s.include___11185; + r0 = s.include___12052; case 8: // jmp value (already in r0) s.tmp_1 = r0; - s.index___11219 = (s.tmp_1); - r0 = (s.include___11185 != -1); + s.index___12086 = (s.tmp_1); + r0 = (s.include___12052 != -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___11189 != -1); + r0 = (s.include2___12056 != -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__P3840_mk(s); + s.tmp_2 = tileworld_splitImage__P3965_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___11185); + r0 = pxsim_Array__getAt(s.tmp_4, s.include___12052); 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___11189); + r0 = pxsim_Array__getAt(s.tmp_6, s.include2___12056); s.tmp_2.arg1 = r0; - s.callLocIdx = 773; s.pc = 27; return s.tmp_2; + s.callLocIdx = 776; s.pc = 27; return s.tmp_2; case 27: r0 = s.retval; { step = 21; continue; } { step = 20; continue; } case 11: - r0 = (s.include___11185 == -1); + r0 = (s.include___12052 == -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___11202 != -1); + r0 = (s.exclude___12069 != -1); case 13: // jmp value (already in r0) s.tmp_8 = r0; @@ -23606,32 +23606,32 @@ switch (step) { r0 = s.tmp_8; { step = 15; continue; } case 14: - r0 = (s.exclude2___11206 != -1); + r0 = (s.exclude2___12073 != -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__P3840_mk(s); + s.tmp_10 = tileworld_splitImage__P3965_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___11202); + r0 = pxsim_Array__getAt(s.tmp_12, s.exclude___12069); 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___11206); + r0 = pxsim_Array__getAt(s.tmp_14, s.exclude2___12073); s.tmp_10.arg1 = r0; - s.callLocIdx = 776; s.pc = 28; return s.tmp_10; + s.callLocIdx = 779; s.pc = 28; return s.tmp_10; case 28: r0 = s.retval; { step = 21; continue; } { step = 19; continue; } case 16: - r0 = (s.index___11219 != -1); + r0 = (s.index___12086 != -1); s.tmp_15 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_15); if (!r0) { step = 17; continue; } @@ -23639,11 +23639,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___11219); + r0 = pxsim_Array__getAt(s.tmp_17, s.index___12086); { step = 21; continue; } { step = 18; continue; } case 17: - r0 = globals.ok___4042; + r0 = globals.ok___7271; { step = 21; continue; } case 18: case 19: @@ -23653,12 +23653,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_getWhenDoImage__P4419.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__P11287.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__P4419_mk(s) { +function tileworld_ruleediting_RuleDisplay_getWhenDoImage__P11287_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_getWhenDoImage__P4419, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_getWhenDoImage__P11287, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23678,12 +23678,12 @@ function tileworld_ruleediting_RuleDisplay_getWhenDoImage__P4419_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - whenDo___11174: undefined, - include___11185: undefined, - include2___11189: undefined, - exclude___11202: undefined, - exclude2___11206: undefined, - index___11219: undefined, + whenDo___12041: undefined, + include___12052: undefined, + include2___12056: undefined, + exclude___12069: undefined, + exclude2___12073: undefined, + index___12086: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23693,7 +23693,7 @@ function tileworld_ruleediting_RuleDisplay_getWhenDoImage__P4419_mk(s) { -function tileworld_AllExport_getImage__P3933(s) { +function tileworld_AllExport_getImage__P6027(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23709,19 +23709,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_AllExport__C3931_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_AllExport__C6025_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__P3933.info = {"start":1008,"length":84,"line":28,"column":8,"endLine":30,"endColumn":9,"fileName":"project.ts","functionName":"getImage","argumentNames":["this","index"]} +tileworld_AllExport_getImage__P6027.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__P3933_mk(s) { +function tileworld_AllExport_getImage__P6027_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_AllExport_getImage__P3933, depth: s.depth + 1, + parent: s, fn: tileworld_AllExport_getImage__P6027, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23732,7 +23732,7 @@ function tileworld_AllExport_getImage__P3933_mk(s) { -function tileworld_splitImage__P3840(s) { +function tileworld_splitImage__P3965(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23742,61 +23742,61 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ret___11283 = undefined; - s.x___11287 = undefined; - s.y___11298 = undefined; + s.ret___3968 = undefined; + s.x___3972 = undefined; + s.y___3983 = 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___11283 = (r0); - r0 = pxsim_ImageMethods.width(s.ret___11283); + s.ret___3968 = (r0); + r0 = pxsim_ImageMethods.width(s.ret___3968); s.tmp_0 = r0; r0 = (s.tmp_0 >> 1); - s.x___11287 = (r0); + s.x___3972 = (r0); case 1: - s.tmp_1 = r0 = s.x___11287; - r0 = pxsim_ImageMethods.width(s.ret___11283); + s.tmp_1 = r0 = s.x___3972; + r0 = pxsim_ImageMethods.width(s.ret___3968); 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___11298 = (0); + s.y___3983 = (0); case 2: - s.tmp_1 = r0 = s.y___11298; - r0 = pxsim_ImageMethods.height(s.ret___11283); + s.tmp_1 = r0 = s.y___3983; + r0 = pxsim_ImageMethods.height(s.ret___3968); 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___11283; - s.tmp_4 = r0 = s.x___11287; - s.tmp_5 = r0 = s.y___11298; - r0 = pxsim_ImageMethods.getPixel(s.arg1, s.x___11287, s.y___11298); + s.tmp_3 = r0 = s.ret___3968; + s.tmp_4 = r0 = s.x___3972; + s.tmp_5 = r0 = s.y___3983; + r0 = pxsim_ImageMethods.getPixel(s.arg1, s.x___3972, s.y___3983); s.tmp_6 = r0; r0 = pxsim_ImageMethods.setPixel(s.tmp_3, s.tmp_4, s.tmp_5, s.tmp_6); - r0 = (s.y___11298 + 1); - s.y___11298 = (r0); + r0 = (s.y___3983 + 1); + s.y___3983 = (r0); { step = 2; continue; } case 3: - r0 = (s.x___11287 + 1); - s.x___11287 = (r0); + r0 = (s.x___3972 + 1); + s.x___3972 = (r0); { step = 1; continue; } case 4: - r0 = s.ret___11283; + r0 = s.ret___3968; return leave(s, r0) default: oops() } } } -tileworld_splitImage__P3840.info = {"start":1328,"length":329,"line":40,"column":4,"endLine":48,"endColumn":5,"fileName":"utilities.ts","functionName":"splitImage","argumentNames":["imgLeft","imgRight"]} +tileworld_splitImage__P3965.info = {"start":1328,"length":329,"line":40,"column":4,"endLine":48,"endColumn":5,"fileName":"utilities.ts","functionName":"splitImage","argumentNames":["imgLeft","imgRight"]} -function tileworld_splitImage__P3840_mk(s) { +function tileworld_splitImage__P3965_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_splitImage__P3840, depth: s.depth + 1, + parent: s, fn: tileworld_splitImage__P3965, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23805,9 +23805,9 @@ function tileworld_splitImage__P3840_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - ret___11283: undefined, - x___11287: undefined, - y___11298: undefined, + ret___3968: undefined, + x___3972: undefined, + y___3983: undefined, arg0: undefined, arg1: undefined, } } @@ -23816,7 +23816,7 @@ function tileworld_splitImage__P3840_mk(s) { -function tileworld_ruleediting_RuleDisplay_attrIndex__P4422(s) { +function tileworld_ruleediting_RuleDisplay_attrIndex__P11290(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23826,7 +23826,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___11324 = undefined; + s.i___12348 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23835,14 +23835,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); - s.i___11324 = (s.arg3); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_VT)) failedCast(r0); + s.i___12348 = (s.arg3); case 1: - s.tmp_1 = r0 = s.i___11324; - s.tmp_3 = tileworld_Project_allCnt__P3948_mk(s); + s.tmp_1 = r0 = s.i___12348; + s.tmp_3 = tileworld_Project_allCnt__P6119_mk(s); r0 = s.arg0.fields["p"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 798; s.pc = 6; return s.tmp_3; + s.callLocIdx = 801; s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; s.tmp_2 = r0; @@ -23850,15 +23850,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__P3935_mk(s); + s.tmp_6 = tileworld_AllExport_getSetAttr__P6029_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___11324; + s.tmp_6.arg3 = s.i___12348; s.tmp_6.arg4 = 65535; - s.callLocIdx = 799; s.pc = 7; return s.tmp_6; + s.callLocIdx = 802; s.pc = 7; return s.tmp_6; case 7: r0 = s.retval; s.tmp_5 = r0; @@ -23866,12 +23866,12 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 2; continue; } - r0 = s.i___11324; + r0 = s.i___12348; { step = 5; continue; } case 2: case 3: - r0 = (s.i___11324 + 1); - s.i___11324 = (r0); + r0 = (s.i___12348 + 1); + s.i___12348 = (r0); { step = 1; continue; } case 4: r0 = -1; @@ -23879,12 +23879,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_attrIndex__P4422.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__P11290.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__P4422_mk(s) { +function tileworld_ruleediting_RuleDisplay_attrIndex__P11290_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_attrIndex__P4422, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_attrIndex__P11290, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23893,7 +23893,7 @@ function tileworld_ruleediting_RuleDisplay_attrIndex__P4422_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - i___11324: undefined, + i___12348: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23904,7 +23904,7 @@ function tileworld_ruleediting_RuleDisplay_attrIndex__P4422_mk(s) { -function tileworld_Project_allCnt__P3948(s) { +function tileworld_Project_allCnt__P6119(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23919,7 +23919,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C3937_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); r0 = s.arg0.fields["_backgroundsI"]; s.tmp_1 = r0; r0 = pxsim_Array__length(s.tmp_1); @@ -23932,12 +23932,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_allCnt__P3948.info = {"start":3271,"length":61,"line":98,"column":8,"endLine":98,"endColumn":69,"fileName":"project.ts","functionName":"allCnt","argumentNames":["this"]} +tileworld_Project_allCnt__P6119.info = {"start":3271,"length":61,"line":98,"column":8,"endLine":98,"endColumn":69,"fileName":"project.ts","functionName":"allCnt","argumentNames":["this"]} -function tileworld_Project_allCnt__P3948_mk(s) { +function tileworld_Project_allCnt__P6119_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_allCnt__P3948, depth: s.depth + 1, + parent: s, fn: tileworld_Project_allCnt__P6119, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23950,7 +23950,7 @@ function tileworld_Project_allCnt__P3948_mk(s) { -function tileworld_ruleediting_RuleDisplay_makeContext__P4409(s) { +function tileworld_ruleediting_RuleDisplay_makeContext__P11277(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23960,82 +23960,82 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___11354 = undefined; - s.j___11358 = undefined; + s.i___11608 = undefined; + s.j___11612 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); - s.i___11354 = (1); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_VT)) failedCast(r0); + s.i___11608 = (1); case 1: - r0 = (s.i___11354 <= 3); + r0 = (s.i___11608 <= 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.j___11358 = (1); + s.j___11612 = (1); case 2: - r0 = (s.j___11358 <= 3); + r0 = (s.j___11612 <= 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tileworld_ruleediting_RuleDisplay_active__P4410_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleDisplay_active__P11278_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.i___11354; - s.tmp_2.arg2 = s.j___11358; - s.callLocIdx = 735; s.pc = 7; return s.tmp_2; + s.tmp_2.arg1 = s.i___11608; + s.tmp_2.arg2 = s.j___11612; + s.callLocIdx = 738; 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__P4341_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.i___11354; - r0 = (s.j___11358 + 2); + s.tmp_3.arg1 = s.i___11608; + r0 = (s.j___11612 + 2); s.tmp_3.arg2 = r0; - s.tmp_3.arg3 = globals.emptyTile___4015; - s.callLocIdx = 736; s.pc = 8; return s.tmp_3; + s.tmp_3.arg3 = globals.emptyTile___7244; + s.callLocIdx = 739; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleDisplay__C4397_v4_4_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleDisplay__C11265_v4_4_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.i___11354; - s.tmp_0.arg2 = s.j___11358; + s.tmp_0.arg1 = s.i___11608; + s.tmp_0.arg2 = s.j___11612; s.tmp_0.arg3 = true; - if (!checkSubtype(s.tmp_0.arg0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_ruleediting_RuleDisplay__C11265_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___11358 + 1); - s.j___11358 = (r0); + r0 = (s.j___11612 + 1); + s.j___11612 = (r0); { step = 2; continue; } case 5: - r0 = (s.i___11354 + 1); - s.i___11354 = (r0); + r0 = (s.i___11608 + 1); + s.i___11608 = (r0); { step = 1; continue; } case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_makeContext__P4409.info = {"start":5399,"length":342,"line":125,"column":8,"endLine":134,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"makeContext","argumentNames":["this"]} +tileworld_ruleediting_RuleDisplay_makeContext__P11277.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__P4409_mk(s) { +function tileworld_ruleediting_RuleDisplay_makeContext__P11277_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_makeContext__P4409, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_makeContext__P11277, depth: s.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___11354: undefined, - j___11358: undefined, + i___11608: undefined, + j___11612: undefined, arg0: undefined, } } @@ -24043,7 +24043,7 @@ function tileworld_ruleediting_RuleDisplay_makeContext__P4409_mk(s) { -function tileworld_ruleediting_RuleDisplay_showAttributes__P4420(s) { +function tileworld_ruleediting_RuleDisplay_showAttributes__P11288(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24053,12 +24053,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.whenDo___11382 = undefined; - s.begin___11398 = undefined; - s.end___11399 = undefined; - s.project___11405 = undefined; - s.done___11410 = undefined; - s.x___11480 = undefined; + s.whenDo___12147 = undefined; + s.begin___12163 = undefined; + s.end___12164 = undefined; + s.project___12170 = undefined; + s.done___12175 = undefined; + s.x___12245 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24067,70 +24067,70 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getWhenDo__P3897_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getWhenDo__P4608_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 = 778; s.pc = 13; return s.tmp_0; + s.callLocIdx = 781; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.whenDo___11382 = (r0); - r0 = (s.whenDo___11382 >= 0); + s.whenDo___12147 = (r0); + r0 = (s.whenDo___12147 >= 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P10850_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__P4419_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleDisplay_getWhenDoImage__P11287_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.tmp_2.arg2 = s.arg2; - s.callLocIdx = 779; s.pc = 15; return s.tmp_2; + s.callLocIdx = 782; s.pc = 15; return s.tmp_2; case 15: r0 = s.retval; s.tmp_1.arg3 = r0; - s.callLocIdx = 780; s.pc = 14; return s.tmp_1; + s.callLocIdx = 783; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - s.begin___11398 = (0); - s.tmp_1 = tileworld_Project_allCnt__P3948_mk(s); + s.begin___12163 = (0); + s.tmp_1 = tileworld_Project_allCnt__P6119_mk(s); r0 = s.arg0.fields["p"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 781; s.pc = 16; return s.tmp_1; + s.callLocIdx = 784; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.end___11399 = (r0); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_projectAttrs__P4421_mk(s); + s.end___12164 = (r0); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_projectAttrs__P11289_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.whenDo___11382; - s.tmp_0.arg2 = s.begin___11398; - s.tmp_0.arg3 = s.end___11399; - s.callLocIdx = 782; s.pc = 17; return s.tmp_0; + s.tmp_0.arg1 = s.whenDo___12147; + s.tmp_0.arg2 = s.begin___12163; + s.tmp_0.arg3 = s.end___12164; + s.callLocIdx = 785; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - s.project___11405 = (r0); + s.project___12170 = (r0); r0 = pxsim_Array__mk(); - s.done___11410 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P11414); + s.done___12175 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P12179); 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__P60_mk(s); - s.tmp_1.arg0 = s.project___11405; + s.tmp_1.arg0 = s.project___12170; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 783; s.pc = 18; return s.tmp_1; + s.callLocIdx = 786; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - s.tmp_2 = tileworld_ruleediting_RuleDisplay_getType__P4400_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleDisplay_getType__P11268_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 784; s.pc = 19; return s.tmp_2; + s.callLocIdx = 787; s.pc = 19; return s.tmp_2; case 19: r0 = s.retval; s.tmp_1 = r0; @@ -24141,13 +24141,13 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_RuleView_findWitnessColRow__P3907_mk(s); + s.tmp_4 = tileworld_RuleView_findWitnessColRow__P4997_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 = 785; s.pc = 20; return s.tmp_4; + s.callLocIdx = 788; s.pc = 20; return s.tmp_4; case 20: r0 = s.retval; s.tmp_3 = r0; @@ -24157,23 +24157,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__P4341_mk(s); + s.tmp_6 = tileworld_RuleVisualsBase_drawImage__P10850_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___4358; - s.tmp_9 = tileworld_RuleView_getWitnessDirection__P3908_mk(s); + s.tmp_7 = r0 = globals.movedImages___11227; + s.tmp_9 = tileworld_RuleView_getWitnessDirection__P4998_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_9.arg0 = r0; - s.tmp_9.arg1 = s.whenDo___11382; - s.callLocIdx = 786; s.pc = 22; return s.tmp_9; + s.tmp_9.arg1 = s.whenDo___12147; + s.callLocIdx = 789; 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 = 787; s.pc = 21; return s.tmp_6; + s.callLocIdx = 790; s.pc = 21; return s.tmp_6; case 21: r0 = s.retval; case 3: @@ -24184,10 +24184,10 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 788; s.pc = 23; return s.tmp_2; + s.callLocIdx = 791; s.pc = 23; return s.tmp_2; case 23: r0 = s.retval; s.tmp_1 = r0; @@ -24200,10 +24200,10 @@ switch (step) { r0 = s.tmp_3; { step = 8; continue; } case 7: - s.tmp_6 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_6 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = true; - s.callLocIdx = 789; s.pc = 24; return s.tmp_6; + s.callLocIdx = 792; s.pc = 24; return s.tmp_6; case 24: r0 = s.retval; s.tmp_5 = r0; @@ -24216,8 +24216,8 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 9; continue; } r0 = pxsim_pxtrt.mklocRef(); - s.x___11480 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.x___11480, 0); + s.x___12245 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.x___12245, 0); s.tmp_0 = helpers_imageFillRect__P517_mk(s); s.tmp_0.arg0 = globals.screen___578; s.tmp_0.arg1 = 0; @@ -24225,21 +24225,21 @@ switch (step) { s.tmp_0.arg3 = 160; s.tmp_0.arg4 = 16; s.tmp_0.arg5 = 0; - s.callLocIdx = 790; s.pc = 25; return s.tmp_0; + s.callLocIdx = 793; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(3, inline__P11490); + r0 = pxsim_pxtcore_mkAction(3, inline__P12255); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.whenDo___11382); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.x___11480); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.whenDo___12147); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.x___12245); s.tmp_1 = helpers_arrayForEach__P60_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 = 795; s.pc = 26; return s.tmp_1; + s.callLocIdx = 798; s.pc = 26; return s.tmp_1; case 26: r0 = s.retval; case 9: @@ -24250,12 +24250,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_showAttributes__P4420.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__P11288.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__P4420_mk(s) { +function tileworld_ruleediting_RuleDisplay_showAttributes__P11288_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_showAttributes__P4420, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_showAttributes__P11288, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24267,12 +24267,12 @@ function tileworld_ruleediting_RuleDisplay_showAttributes__P4420_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - whenDo___11382: undefined, - begin___11398: undefined, - end___11399: undefined, - project___11405: undefined, - done___11410: undefined, - x___11480: undefined, + whenDo___12147: undefined, + begin___12163: undefined, + end___12164: undefined, + project___12170: undefined, + done___12175: undefined, + x___12245: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -24283,7 +24283,7 @@ function tileworld_ruleediting_RuleDisplay_showAttributes__P4420_mk(s) { -function inline__P11414(s) { +function inline__P12179(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24293,15 +24293,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___11416 = undefined; + s.i___12181 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_Array_.indexOf(globals.attrValues___4382, s.arg0, undefined); - s.i___11416 = (r0); + r0 = pxsim_Array_.indexOf(globals.attrValues___11248, s.arg0, undefined); + s.i___12181 = (r0); s.tmp_0 = r0 = globals.screen___578; - r0 = pxsim_Array__getAt(globals.attrImages___4384, s.i___11416); + r0 = pxsim_Array__getAt(globals.attrImages___11251, s.i___12181); s.tmp_1 = r0; r0 = (s.caps[0] << 4); s.tmp_3 = r0; @@ -24320,12 +24320,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P11414.info = {"start":13280,"length":192,"line":301,"column":32,"endLine":304,"endColumn":17,"fileName":"ruledisplay.ts","functionName":"inline","argumentNames":["a"]} +inline__P12179.info = {"start":13280,"length":192,"line":301,"column":32,"endLine":304,"endColumn":17,"fileName":"ruledisplay.ts","functionName":"inline","argumentNames":["a"]} -function inline__P11414_mk(s) { +function inline__P12179_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P11414, depth: s.depth + 1, + parent: s, fn: inline__P12179, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24335,7 +24335,7 @@ function inline__P11414_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - i___11416: undefined, + i___12181: undefined, arg0: undefined, } } @@ -24343,7 +24343,7 @@ function inline__P11414_mk(s) { -function inline__P11490(s) { +function inline__P12255(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24353,13 +24353,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.a___11493 = undefined; + s.a___12258 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_AllExport_getSetAttr__P3935_mk(s); + s.tmp_0 = tileworld_AllExport_getSetAttr__P6029_mk(s); r0 = s.caps[0].fields["all"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["rule"]; @@ -24367,34 +24367,34 @@ switch (step) { s.tmp_0.arg2 = s.caps[1]; s.tmp_0.arg3 = s.arg1; s.tmp_0.arg4 = 65535; - s.callLocIdx = 792; s.pc = 3; return s.tmp_0; + s.callLocIdx = 795; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.a___11493 = (r0); - r0 = (s.a___11493 != 0); + s.a___12258 = (r0); + r0 = (s.a___12258 != 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P10850_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 = 793; s.pc = 4; return s.tmp_1; + s.callLocIdx = 796; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_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___4384; - r0 = pxsim_Array_.indexOf(globals.attrValues___4382, s.a___11493, undefined); + s.tmp_1 = r0 = globals.attrImages___11251; + r0 = pxsim_Array_.indexOf(globals.attrValues___11248, s.a___12258, undefined); s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_1, s.tmp_2); s.tmp_0.arg3 = r0; - s.callLocIdx = 794; s.pc = 5; return s.tmp_0; + s.callLocIdx = 797; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; s.tmp_0 = r0 = s.caps[2]; @@ -24409,17 +24409,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P11490.info = {"start":14039,"length":361,"line":313,"column":49,"endLine":320,"endColumn":21,"fileName":"ruledisplay.ts","functionName":"inline","argumentNames":["image","i"]} +inline__P12255.info = {"start":14039,"length":361,"line":313,"column":49,"endLine":320,"endColumn":21,"fileName":"ruledisplay.ts","functionName":"inline","argumentNames":["image","i"]} -function inline__P11490_mk(s) { +function inline__P12255_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P11490, depth: s.depth + 1, + parent: s, fn: inline__P12255, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - a___11493: undefined, + a___12258: undefined, arg0: undefined, arg1: undefined, } } @@ -24428,7 +24428,7 @@ function inline__P11490_mk(s) { -function tileworld_ruleediting_RuleDisplay_projectAttrs__P4421(s) { +function tileworld_ruleediting_RuleDisplay_projectAttrs__P11289(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24438,9 +24438,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___11526 = undefined; - s.i___11528 = undefined; - s.a___11534 = undefined; + s.res___12291 = undefined; + s.i___12293 = undefined; + s.a___12299 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24449,12 +24449,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); - s.tmp_1 = tileworld_RuleView_whendoTrue__P3918_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_VT)) failedCast(r0); + s.tmp_1 = tileworld_RuleView_whendoTrue__P5007_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 796; s.pc = 16; return s.tmp_1; + s.callLocIdx = 799; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; s.tmp_0 = r0; @@ -24465,33 +24465,33 @@ switch (step) { case 1: case 2: r0 = pxsim_Array__mk(); - s.res___11526 = (r0); - s.i___11528 = (s.arg2); + s.res___12291 = (r0); + s.i___12293 = (s.arg2); case 3: - r0 = (s.i___11528 <= s.arg3); + r0 = (s.i___12293 <= s.arg3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.tmp_1 = tileworld_AllExport_getSetAttr__P3935_mk(s); + s.tmp_1 = tileworld_AllExport_getSetAttr__P6029_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___11528; + s.tmp_1.arg3 = s.i___12293; s.tmp_1.arg4 = 65535; - s.callLocIdx = 797; s.pc = 17; return s.tmp_1; + s.callLocIdx = 800; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.a___11534 = (r0); - r0 = (s.a___11534 != 0); + s.a___12299 = (r0); + r0 = (s.a___12299 != 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___11526, s.a___11534, undefined); + r0 = pxsim_Array_.indexOf(s.res___12291, s.a___12299, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 == -1); case 5: @@ -24499,20 +24499,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___11526, s.a___11534); + r0 = pxsim_Array__push(s.res___12291, s.a___12299); case 6: case 7: - r0 = (s.i___11528 + 1); - s.i___11528 = (r0); + r0 = (s.i___12293 + 1); + s.i___12293 = (r0); { step = 3; continue; } case 8: - r0 = pxsim_Array__length(s.res___11526); + r0 = pxsim_Array__length(s.res___12291); 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___11526); + r0 = pxsim_Array__length(s.res___12291); s.tmp_3 = r0; r0 = (s.tmp_3 == 1); s.tmp_2 = r0; @@ -24521,7 +24521,7 @@ switch (step) { r0 = s.tmp_2; { step = 10; continue; } case 9: - r0 = pxsim_Array_.indexOf(s.res___11526, 3, undefined); + r0 = pxsim_Array_.indexOf(s.res___12291, 3, undefined); s.tmp_4 = r0; r0 = (s.tmp_4 != -1); case 10: @@ -24541,17 +24541,17 @@ switch (step) { case 12: case 13: case 14: - r0 = s.res___11526; + r0 = s.res___12291; case 15: return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_projectAttrs__P4421.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__P11289.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__P4421_mk(s) { +function tileworld_ruleediting_RuleDisplay_projectAttrs__P11289_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_projectAttrs__P4421, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_projectAttrs__P11289, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24560,9 +24560,9 @@ function tileworld_ruleediting_RuleDisplay_projectAttrs__P4421_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - res___11526: undefined, - i___11528: undefined, - a___11534: undefined, + res___12291: undefined, + i___12293: undefined, + a___12299: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -24573,7 +24573,7 @@ function tileworld_ruleediting_RuleDisplay_projectAttrs__P4421_mk(s) { -function tileworld_RuleView_whendoTrue__P3918(s) { +function tileworld_RuleView_whendoTrue__P5007(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24583,36 +24583,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wd___11581 = undefined; + s.wd___5748 = 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__C3884_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_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___11581 = (r0); - s.tmp_0 = tileworld_isWhenDoTrue__P3870_mk(s); - s.tmp_0.arg0 = s.wd___11581; + s.wd___5748 = (r0); + s.tmp_0 = tileworld_isWhenDoTrue__P4527_mk(s); + s.tmp_0.arg0 = s.wd___5748; s.callLocIdx = 149; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tileworld_RuleView_whendoTrue__P3918.info = {"start":9153,"length":126,"line":262,"column":8,"endLine":265,"endColumn":9,"fileName":"ruleview.ts","functionName":"whendoTrue","argumentNames":["this","whendo"]} +tileworld_RuleView_whendoTrue__P5007.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__P3918_mk(s) { +function tileworld_RuleView_whendoTrue__P5007_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_whendoTrue__P3918, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_whendoTrue__P5007, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - wd___11581: undefined, + wd___5748: undefined, arg0: undefined, arg1: undefined, } } @@ -24621,7 +24621,7 @@ function tileworld_RuleView_whendoTrue__P3918_mk(s) { -function tileworld_isWhenDoTrue__P3870(s) { +function tileworld_isWhenDoTrue__P4527(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24631,15 +24631,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___11589 = undefined; - s.i___11603 = undefined; + s.i___4529 = undefined; + s.i___4543 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___11589 = (0); + s.i___4529 = (0); case 1: - s.tmp_1 = r0 = s.i___11589; + s.tmp_1 = r0 = s.i___4529; r0 = s.arg0.fields["bgPred"]; s.tmp_3 = r0; r0 = pxsim.BufferMethods.length(s.tmp_3); @@ -24650,7 +24650,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___11589); + r0 = pxsim.BufferMethods.getUint8(s.tmp_5, s.i___4529); s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 2; continue; } @@ -24658,13 +24658,13 @@ switch (step) { { step = 9; continue; } case 2: case 3: - r0 = (s.i___11589 + 1); - s.i___11589 = (r0); + r0 = (s.i___4529 + 1); + s.i___4529 = (r0); { step = 1; continue; } case 4: - s.i___11603 = (0); + s.i___4543 = (0); case 5: - s.tmp_1 = r0 = s.i___11603; + s.tmp_1 = r0 = s.i___4543; r0 = s.arg0.fields["spPred"]; s.tmp_3 = r0; r0 = pxsim.BufferMethods.length(s.tmp_3); @@ -24675,7 +24675,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___11603); + r0 = pxsim.BufferMethods.getUint8(s.tmp_5, s.i___4543); s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 6; continue; } @@ -24683,8 +24683,8 @@ switch (step) { { step = 9; continue; } case 6: case 7: - r0 = (s.i___11603 + 1); - s.i___11603 = (r0); + r0 = (s.i___4543 + 1); + s.i___4543 = (r0); { step = 5; continue; } case 8: r0 = true; @@ -24692,12 +24692,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_isWhenDoTrue__P3870.info = {"start":7342,"length":299,"line":194,"column":4,"endLine":202,"endColumn":5,"fileName":"rule.ts","functionName":"isWhenDoTrue","argumentNames":["wd"]} +tileworld_isWhenDoTrue__P4527.info = {"start":7342,"length":299,"line":194,"column":4,"endLine":202,"endColumn":5,"fileName":"rule.ts","functionName":"isWhenDoTrue","argumentNames":["wd"]} -function tileworld_isWhenDoTrue__P3870_mk(s) { +function tileworld_isWhenDoTrue__P4527_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_isWhenDoTrue__P3870, depth: s.depth + 1, + parent: s, fn: tileworld_isWhenDoTrue__P4527, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24705,8 +24705,8 @@ function tileworld_isWhenDoTrue__P3870_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - i___11589: undefined, - i___11603: undefined, + i___4529: undefined, + i___4543: undefined, arg0: undefined, } } @@ -24714,7 +24714,7 @@ function tileworld_isWhenDoTrue__P3870_mk(s) { -function tileworld_RuleView_getDirFromRule__P3895(s) { +function tileworld_RuleView_getDirFromRule__P4987(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24724,48 +24724,48 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rt___11618 = undefined; - s.wd___11628 = undefined; + s.rt___5143 = undefined; + s.wd___5154 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; r0 = r0.fields["ruleType"]; - s.rt___11618 = (r0); - r0 = (s.rt___11618 == 2); + s.rt___5143 = (r0); + r0 = (s.rt___5143 == 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___11618 == 1); + r0 = (s.rt___5143 == 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__P3897_mk(s); + s.tmp_2 = tileworld_RuleView_getWhenDo__P4608_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 2; s.tmp_2.arg2 = 2; s.callLocIdx = 116; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; - s.wd___11628 = (r0); - r0 = (s.wd___11628 == -1); + s.wd___5154 = (r0); + r0 = (s.wd___5154 == -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__P3908_mk(s); + s.tmp_1 = tileworld_RuleView_getWitnessDirection__P4998_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.wd___11628; + s.tmp_1.arg1 = s.wd___5154; s.callLocIdx = 117; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -24776,11 +24776,11 @@ switch (step) { { step = 9; continue; } { step = 8; continue; } case 5: - r0 = (s.rt___11618 == 0); + r0 = (s.rt___5143 == 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 6; continue; } - s.tmp_4 = tileworld_RuleView_getRuleArg__P3893_mk(s); + s.tmp_4 = tileworld_RuleView_getRuleArg__P4985_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 118; s.pc = 12; return s.tmp_4; case 12: @@ -24794,20 +24794,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_getDirFromRule__P3895.info = {"start":2246,"length":408,"line":74,"column":8,"endLine":83,"endColumn":9,"fileName":"ruleview.ts","functionName":"getDirFromRule","argumentNames":["this"]} +tileworld_RuleView_getDirFromRule__P4987.info = {"start":2246,"length":408,"line":74,"column":8,"endLine":83,"endColumn":9,"fileName":"ruleview.ts","functionName":"getDirFromRule","argumentNames":["this"]} -function tileworld_RuleView_getDirFromRule__P3895_mk(s) { +function tileworld_RuleView_getDirFromRule__P4987_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getDirFromRule__P3895, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getDirFromRule__P4987, depth: s.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___11618: undefined, - wd___11628: undefined, + rt___5143: undefined, + wd___5154: undefined, arg0: undefined, } } @@ -24815,7 +24815,7 @@ function tileworld_RuleView_getDirFromRule__P3895_mk(s) { -function tileworld_RuleView_getRuleArg__P3893(s) { +function tileworld_RuleView_getRuleArg__P4985(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24830,7 +24830,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); r0 = s.arg0.fields["rid"]; s.tmp_1 = r0; r0 = (s.tmp_1 != -1); @@ -24848,7 +24848,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - s.tmp_4 = tileworld_flipRotateDir__P3867_mk(s); + s.tmp_4 = tileworld_flipRotateDir__P4366_mk(s); r0 = s.arg0.fields["r"]; r0 = r0.fields["ruleArg"]; s.tmp_4.arg0 = r0; @@ -24872,12 +24872,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_getRuleArg__P3893.info = {"start":1949,"length":202,"line":65,"column":8,"endLine":68,"endColumn":9,"fileName":"ruleview.ts","functionName":"getRuleArg","argumentNames":["this"]} +tileworld_RuleView_getRuleArg__P4985.info = {"start":1949,"length":202,"line":65,"column":8,"endLine":68,"endColumn":9,"fileName":"ruleview.ts","functionName":"getRuleArg","argumentNames":["this"]} -function tileworld_RuleView_getRuleArg__P3893_mk(s) { +function tileworld_RuleView_getRuleArg__P4985_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getRuleArg__P3893, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getRuleArg__P4985, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24893,7 +24893,7 @@ function tileworld_RuleView_getRuleArg__P3893_mk(s) { -function tileworld_ruleediting_RuleDisplay_showRuleType__P4407(s) { +function tileworld_ruleediting_RuleDisplay_showRuleType__P11275(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24903,9 +24903,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.selCol___11673 = undefined; - s.ax___11690 = undefined; - s.ay___11699 = undefined; + s.selCol___11468 = undefined; + s.ax___11485 = undefined; + s.ay___11494 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24916,23 +24916,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); - s.selCol___11673 = (11); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_VT)) failedCast(r0); + s.selCol___11468 = (11); r0 = pxsim_numops_toBoolDecr(s.arg5); if (!r0) { step = 1; continue; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_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__C4397_v3_1_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleDisplay__C11265_v3_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tileworld_ruleediting_RuleDisplay__C11265_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 = 713; s.pc = 17; return s.tmp_0; + s.callLocIdx = 716; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; case 1: @@ -24941,13 +24941,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__P4341_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P10850_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___4358, s.arg2); + r0 = pxsim_Array__getAt(globals.movedImages___11227, s.arg2); s.tmp_1.arg3 = r0; - s.callLocIdx = 714; s.pc = 19; return s.tmp_1; + s.callLocIdx = 717; s.pc = 19; return s.tmp_1; case 19: r0 = s.retval; { step = 16; continue; } @@ -24978,7 +24978,7 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_4 = r0; - s.ax___11690 = (s.tmp_4); + s.ax___11485 = (s.tmp_4); r0 = (s.arg2 == 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -25001,18 +25001,18 @@ switch (step) { case 11: // jmp value (already in r0) s.tmp_3 = r0; - s.ay___11699 = (s.tmp_3); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_showCollision__P4406_mk(s); + s.ay___11494 = (s.tmp_3); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_showCollision__P11274_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = (s.arg3 - s.ax___11690); + r0 = (s.arg3 - s.ax___11485); s.tmp_0.arg1 = r0; - r0 = (s.arg4 - s.ay___11699); + r0 = (s.arg4 - s.ay___11494); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = s.arg2; - r0 = pxsim_Array__getAt(globals.moveImages___4350, s.arg2); + r0 = pxsim_Array__getAt(globals.moveImages___11219, s.arg2); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg1; - s.callLocIdx = 715; s.pc = 20; return s.tmp_0; + s.callLocIdx = 718; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; { step = 15; continue; } @@ -25021,12 +25021,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__P4341_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P10850_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___4147; - s.callLocIdx = 716; s.pc = 21; return s.tmp_1; + s.tmp_1.arg3 = globals.negate___7376; + s.callLocIdx = 719; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; case 13: @@ -25037,21 +25037,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_showRuleType__P4407.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__P11275.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__P4407_mk(s) { +function tileworld_ruleediting_RuleDisplay_showRuleType__P11275_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_showRuleType__P4407, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_showRuleType__P11275, depth: s.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___11673: undefined, - ax___11690: undefined, - ay___11699: undefined, + selCol___11468: undefined, + ax___11485: undefined, + ay___11494: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -25064,7 +25064,7 @@ function tileworld_ruleediting_RuleDisplay_showRuleType__P4407_mk(s) { -function tileworld_ruleediting_RuleDisplay_showCollision__P4406(s) { +function tileworld_ruleediting_RuleDisplay_showCollision__P11274(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25074,8 +25074,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x___11744 = undefined; - s.y___11753 = undefined; + s.x___11430 = undefined; + s.y___11439 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25086,18 +25086,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_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__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_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___4027; - s.callLocIdx = 711; s.pc = 9; return s.tmp_0; + s.tmp_0.arg3 = globals.collisionSprite___7256; + s.callLocIdx = 714; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = (s.arg3 == 0); @@ -25122,7 +25122,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_3 = r0; - s.x___11744 = (s.tmp_3); + s.x___11430 = (s.tmp_3); r0 = (s.arg3 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -25145,40 +25145,40 @@ switch (step) { case 8: // jmp value (already in r0) s.tmp_3 = r0; - s.y___11753 = (s.tmp_3); - s.tmp_0 = tileworld_RuleVisualsBase_drawImageAbs__P4342_mk(s); + s.y___11439 = (s.tmp_3); + s.tmp_0 = tileworld_RuleVisualsBase_drawImageAbs__P10851_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 << 4); s.tmp_1 = r0; - r0 = (s.tmp_1 + s.x___11744); + r0 = (s.tmp_1 + s.x___11430); 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___11753); + r0 = (s.tmp_2 + s.y___11439); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = s.arg4; - s.callLocIdx = 712; s.pc = 10; return s.tmp_0; + s.callLocIdx = 715; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_showCollision__P4406.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__P11274.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__P4406_mk(s) { +function tileworld_ruleediting_RuleDisplay_showCollision__P11274_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_showCollision__P4406, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_showCollision__P11274, depth: s.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___11744: undefined, - y___11753: undefined, + x___11430: undefined, + y___11439: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -25191,7 +25191,7 @@ function tileworld_ruleediting_RuleDisplay_showCollision__P4406_mk(s) { -function tileworld_RuleVisualsBase_drawImageAbs__P4342(s) { +function tileworld_RuleVisualsBase_drawImageAbs__P10851(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25209,18 +25209,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C4330_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C10839_VT)) failedCast(r0); r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___578, s.arg3, s.arg1, s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_drawImageAbs__P4342.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__P10851.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__P4342_mk(s) { +function tileworld_RuleVisualsBase_drawImageAbs__P10851_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_drawImageAbs__P4342, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_drawImageAbs__P10851, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -25232,7 +25232,7 @@ function tileworld_RuleVisualsBase_drawImageAbs__P4342_mk(s) { -function tileworld_ruleediting_RuleDisplay_centerImage__P4402(s) { +function tileworld_ruleediting_RuleDisplay_centerImage__P11270(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25247,17 +25247,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); - r0 = globals.ok___4042; + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_VT)) failedCast(r0); + r0 = globals.ok___7271; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_centerImage__P4402.info = {"start":1937,"length":58,"line":49,"column":8,"endLine":51,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"centerImage","argumentNames":["this"]} +tileworld_ruleediting_RuleDisplay_centerImage__P11270.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__P4402_mk(s) { +function tileworld_ruleediting_RuleDisplay_centerImage__P11270_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_centerImage__P4402, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_centerImage__P11270, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25266,7 +25266,7 @@ function tileworld_ruleediting_RuleDisplay_centerImage__P4402_mk(s) { -function tileworld_ruleediting_RuleEditor_saveAndPop__P4494(s) { +function tileworld_ruleediting_RuleEditor_saveAndPop__P12679(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25281,29 +25281,29 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_saveRule__P3955_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_saveRule__P6120_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 = 1023; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = game_popScene__P1293_mk(s); - s.callLocIdx = 1021; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1024; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_saveAndPop__P4494.info = {"start":8514,"length":101,"line":179,"column":8,"endLine":182,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"saveAndPop","argumentNames":["this"]} +tileworld_ruleediting_RuleEditor_saveAndPop__P12679.info = {"start":8514,"length":101,"line":179,"column":8,"endLine":182,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"saveAndPop","argumentNames":["this"]} -function tileworld_ruleediting_RuleEditor_saveAndPop__P4494_mk(s) { +function tileworld_ruleediting_RuleEditor_saveAndPop__P12679_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_saveAndPop__P4494, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_saveAndPop__P12679, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25313,7 +25313,7 @@ function tileworld_ruleediting_RuleEditor_saveAndPop__P4494_mk(s) { -function tileworld_RuleView_getWitnessDirection__P3908(s) { +function tileworld_RuleView_getWitnessDirection__P4998(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25323,20 +25323,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dir___11797 = undefined; + s.dir___5490 = 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__C3884_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_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___11797 = (r0); + s.dir___5490 = (r0); r0 = s.arg0.fields["rid"]; s.tmp_1 = r0; r0 = (s.tmp_1 != -1); @@ -25346,17 +25346,17 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = (s.dir___11797 >= 4); + r0 = (s.dir___5490 >= 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___11797; + r0 = s.dir___5490; { step = 4; continue; } case 3: - s.tmp_3 = tileworld_flipRotateDir__P3867_mk(s); - s.tmp_3.arg0 = s.dir___11797; + s.tmp_3 = tileworld_flipRotateDir__P4366_mk(s); + s.tmp_3.arg0 = s.dir___5490; r0 = s.arg0.fields["view"]; s.tmp_3.arg1 = r0; s.callLocIdx = 141; s.pc = 5; return s.tmp_3; @@ -25369,19 +25369,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_getWitnessDirection__P3908.info = {"start":6320,"length":192,"line":182,"column":8,"endLine":185,"endColumn":9,"fileName":"ruleview.ts","functionName":"getWitnessDirection","argumentNames":["this","wdid"]} +tileworld_RuleView_getWitnessDirection__P4998.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__P3908_mk(s) { +function tileworld_RuleView_getWitnessDirection__P4998_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getWitnessDirection__P3908, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getWitnessDirection__P4998, depth: s.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___11797: undefined, + dir___5490: undefined, arg0: undefined, arg1: undefined, } } @@ -25390,7 +25390,7 @@ function tileworld_RuleView_getWitnessDirection__P3908_mk(s) { -function tileworld_RuleView_getWhenDo__P3897(s) { +function tileworld_RuleView_getWhenDo__P4608(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25400,9 +25400,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ncol___11826 = undefined; - s.nrow___11831 = undefined; - s.whendo___11840 = undefined; + s.ncol___5189 = undefined; + s.nrow___5194 = undefined; + s.whendo___5203 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25410,7 +25410,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -25425,12 +25425,12 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } - s.tmp_4 = tileworld_transformCol__P3868_mk(s); + s.tmp_4 = tileworld_transformCol__P4436_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__P3896_mk(s); + s.tmp_5 = tileworld_RuleView_rawView__P4988_mk(s); s.tmp_5.arg0 = s.arg0; s.callLocIdx = 119; s.pc = 7; return s.tmp_5; case 7: @@ -25439,13 +25439,13 @@ switch (step) { s.callLocIdx = 120; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; - s.ncol___11826 = (r0); - s.tmp_0 = tileworld_transformRow__P3869_mk(s); + s.ncol___5189 = (r0); + s.tmp_0 = tileworld_transformRow__P4481_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__P3896_mk(s); + s.tmp_1 = tileworld_RuleView_rawView__P4988_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 121; s.pc = 9; return s.tmp_1; case 9: @@ -25454,12 +25454,12 @@ switch (step) { s.callLocIdx = 122; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.nrow___11831 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.arg1, s.ncol___11826); - r0 = pxsim_pxtrt_stlocRef(s.arg2, s.nrow___11831); + s.nrow___5194 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.arg1, s.ncol___5189); + r0 = pxsim_pxtrt_stlocRef(s.arg2, s.nrow___5194); case 1: case 2: - r0 = pxsim_pxtcore_mkAction(2, inline__P11846); + r0 = pxsim_pxtcore_mkAction(2, inline__P5208); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg2); @@ -25471,8 +25471,8 @@ switch (step) { s.callLocIdx = 123; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.whendo___11840 = (r0); - r0 = (s.whendo___11840 == null); + s.whendo___5203 = (r0); + r0 = (s.whendo___5203 == null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -25483,7 +25483,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___11840, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_1, s.whendo___5203, undefined); { step = 5; continue; } case 4: r0 = undefined; @@ -25491,12 +25491,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_getWhenDo__P3897.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__P4608.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__P3897_mk(s) { +function tileworld_RuleView_getWhenDo__P4608_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getWhenDo__P3897, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getWhenDo__P4608, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25504,9 +25504,9 @@ function tileworld_RuleView_getWhenDo__P3897_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - ncol___11826: undefined, - nrow___11831: undefined, - whendo___11840: undefined, + ncol___5189: undefined, + nrow___5194: undefined, + whendo___5203: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -25516,7 +25516,7 @@ function tileworld_RuleView_getWhenDo__P3897_mk(s) { -function inline__P11846(s) { +function inline__P5208(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25553,12 +25553,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P11846.info = {"start":3230,"length":36,"line":97,"column":44,"endLine":97,"endColumn":80,"fileName":"ruleview.ts","functionName":"inline","argumentNames":["wd"]} +inline__P5208.info = {"start":3230,"length":36,"line":97,"column":44,"endLine":97,"endColumn":80,"fileName":"ruleview.ts","functionName":"inline","argumentNames":["wd"]} -function inline__P11846_mk(s) { +function inline__P5208_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P11846, depth: s.depth + 1, + parent: s, fn: inline__P5208, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25583,28 +25583,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___11871 = undefined; - s.i___11874 = undefined; - s.v___11879 = undefined; + s.len___25837 = undefined; + s.i___25840 = undefined; + s.v___25845 = 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___11871 = (r0); - s.i___11874 = (0); + s.len___25837 = (r0); + s.i___25840 = (0); case 1: - r0 = (s.i___11874 < s.len___11871); + r0 = (s.i___25840 < s.len___25837); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___11874); - s.v___11879 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___25840); + s.v___25845 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___11879; - s.tmp_1.arg1 = s.i___11874; + s.tmp_1.arg0 = s.v___25845; + s.tmp_1.arg1 = s.i___25840; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 8; s.pc = 6; return s.tmp_1; case 6: @@ -25612,12 +25612,12 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = s.v___11879; + r0 = s.v___25845; { step = 5; continue; } case 2: case 3: - r0 = (s.i___11874 + 1); - s.i___11874 = (r0); + r0 = (s.i___25840 + 1); + s.i___25840 = (r0); { step = 1; continue; } case 4: r0 = undefined; @@ -25634,9 +25634,9 @@ function helpers_arrayFind__P62_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___11871: undefined, - i___11874: undefined, - v___11879: undefined, + len___25837: undefined, + i___25840: undefined, + v___25845: undefined, arg0: undefined, arg1: undefined, } } @@ -25645,7 +25645,7 @@ function helpers_arrayFind__P62_mk(s) { -function tileworld_transformRow__P3869(s) { +function tileworld_transformRow__P4481(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25736,12 +25736,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_transformRow__P3869.info = {"start":6710,"length":519,"line":178,"column":4,"endLine":189,"endColumn":5,"fileName":"rule.ts","functionName":"transformRow","argumentNames":["row","col","rt"]} +tileworld_transformRow__P4481.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__P3869_mk(s) { +function tileworld_transformRow__P4481_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_transformRow__P3869, depth: s.depth + 1, + parent: s, fn: tileworld_transformRow__P4481, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25758,7 +25758,7 @@ function tileworld_transformRow__P3869_mk(s) { -function tileworld_RuleView_rawView__P3896(s) { +function tileworld_RuleView_rawView__P4988(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25773,7 +25773,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); r0 = s.arg0.fields["view"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 3); @@ -25804,12 +25804,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_rawView__P3896.info = {"start":2672,"length":221,"line":85,"column":8,"endLine":88,"endColumn":9,"fileName":"ruleview.ts","functionName":"rawView","argumentNames":["this"]} +tileworld_RuleView_rawView__P4988.info = {"start":2672,"length":221,"line":85,"column":8,"endLine":88,"endColumn":9,"fileName":"ruleview.ts","functionName":"rawView","argumentNames":["this"]} -function tileworld_RuleView_rawView__P3896_mk(s) { +function tileworld_RuleView_rawView__P4988_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_rawView__P3896, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_rawView__P4988, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25824,7 +25824,7 @@ function tileworld_RuleView_rawView__P3896_mk(s) { -function tileworld_transformCol__P3868(s) { +function tileworld_transformCol__P4436(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25915,12 +25915,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_transformCol__P3868.info = {"start":6142,"length":562,"line":164,"column":4,"endLine":176,"endColumn":5,"fileName":"rule.ts","functionName":"transformCol","argumentNames":["col","row","rt"]} +tileworld_transformCol__P4436.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__P3868_mk(s) { +function tileworld_transformCol__P4436_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_transformCol__P3868, depth: s.depth + 1, + parent: s, fn: tileworld_transformCol__P4436, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25937,7 +25937,7 @@ function tileworld_transformCol__P3868_mk(s) { -function tileworld_RuleView_getRuleType__P3891(s) { +function tileworld_RuleView_getRuleType__P4983(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25952,18 +25952,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; r0 = r0.fields["ruleType"]; return leave(s, r0) default: oops() } } } -tileworld_RuleView_getRuleType__P3891.info = {"start":1783,"length":68,"line":57,"column":8,"endLine":59,"endColumn":9,"fileName":"ruleview.ts","functionName":"getRuleType","argumentNames":["this"]} +tileworld_RuleView_getRuleType__P4983.info = {"start":1783,"length":68,"line":57,"column":8,"endLine":59,"endColumn":9,"fileName":"ruleview.ts","functionName":"getRuleType","argumentNames":["this"]} -function tileworld_RuleView_getRuleType__P3891_mk(s) { +function tileworld_RuleView_getRuleType__P4983_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getRuleType__P3891, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getRuleType__P4983, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25972,7 +25972,7 @@ function tileworld_RuleView_getRuleType__P3891_mk(s) { -function tileworld_RuleView_findWitnessColRow__P3907(s) { +function tileworld_RuleView_findWitnessColRow__P4997(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25982,7 +25982,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.whendo___12008 = undefined; + s.whendo___5465 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25991,7 +25991,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg3; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } @@ -26011,15 +26011,15 @@ switch (step) { { step = 9; continue; } case 3: case 4: - s.tmp_3 = tileworld_RuleView_getWhenDo__P3897_mk(s); + s.tmp_3 = tileworld_RuleView_getWhenDo__P4608_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.arg2; s.callLocIdx = 138; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; - s.whendo___12008 = (r0); - r0 = (s.whendo___12008 == -1); + s.whendo___5465 = (r0); + r0 = (s.whendo___5465 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } @@ -26027,9 +26027,9 @@ switch (step) { { step = 9; continue; } case 5: case 6: - s.tmp_3 = tileworld_RuleView_attrBgIndex__P3905_mk(s); + s.tmp_3 = tileworld_RuleView_attrBgIndex__P4995_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.whendo___12008; + s.tmp_3.arg1 = s.whendo___5465; s.tmp_3.arg2 = 1; s.callLocIdx = 139; s.pc = 11; return s.tmp_3; case 11: @@ -26043,9 +26043,9 @@ switch (step) { { step = 9; continue; } case 7: case 8: - s.tmp_4 = tileworld_RuleView_attrSpIndex__P3906_mk(s); + s.tmp_4 = tileworld_RuleView_attrSpIndex__P4996_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.whendo___12008; + s.tmp_4.arg1 = s.whendo___5465; s.tmp_4.arg2 = 1; s.callLocIdx = 140; s.pc = 12; return s.tmp_4; case 12: @@ -26054,19 +26054,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_findWitnessColRow__P3907.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__P4997.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__P3907_mk(s) { +function tileworld_RuleView_findWitnessColRow__P4997_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_findWitnessColRow__P3907, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_findWitnessColRow__P4997, depth: s.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___12008: undefined, + whendo___5465: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -26077,7 +26077,7 @@ function tileworld_RuleView_findWitnessColRow__P3907_mk(s) { -function tileworld_RuleView_attrSpIndex__P3906(s) { +function tileworld_RuleView_attrSpIndex__P4996(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26087,7 +26087,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___12033 = undefined; + s.i___5434 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -26095,10 +26095,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); - s.i___12033 = (0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); + s.i___5434 = (0); case 1: - s.tmp_1 = r0 = s.i___12033; + s.tmp_1 = r0 = s.i___5434; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_spritesI"]; @@ -26109,10 +26109,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__P3903_mk(s); + s.tmp_7 = tileworld_RuleView_getSetSpAttr__P4994_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = s.arg1; - s.tmp_7.arg2 = s.i___12033; + s.tmp_7.arg2 = s.i___5434; s.tmp_7.arg3 = 65535; s.callLocIdx = 136; s.pc = 6; return s.tmp_7; case 6: @@ -26122,12 +26122,12 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 2; continue; } - r0 = s.i___12033; + r0 = s.i___5434; { step = 5; continue; } case 2: case 3: - r0 = (s.i___12033 + 1); - s.i___12033 = (r0); + r0 = (s.i___5434 + 1); + s.i___5434 = (r0); { step = 1; continue; } case 4: r0 = -1; @@ -26135,12 +26135,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_attrSpIndex__P3906.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__P4996.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__P3906_mk(s) { +function tileworld_RuleView_attrSpIndex__P4996_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_attrSpIndex__P3906, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_attrSpIndex__P4996, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26150,7 +26150,7 @@ function tileworld_RuleView_attrSpIndex__P3906_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - i___12033: undefined, + i___5434: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -26160,7 +26160,7 @@ function tileworld_RuleView_attrSpIndex__P3906_mk(s) { -function tileworld_RuleView_attrBgIndex__P3905(s) { +function tileworld_RuleView_attrBgIndex__P4995(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26170,7 +26170,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___12054 = undefined; + s.i___5413 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -26178,10 +26178,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); - s.i___12054 = (0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); + s.i___5413 = (0); case 1: - s.tmp_1 = r0 = s.i___12054; + s.tmp_1 = r0 = s.i___5413; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_backgroundsI"]; @@ -26192,10 +26192,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__P3902_mk(s); + s.tmp_7 = tileworld_RuleView_getSetBgAttr__P4993_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = s.arg1; - s.tmp_7.arg2 = s.i___12054; + s.tmp_7.arg2 = s.i___5413; s.tmp_7.arg3 = 65535; s.callLocIdx = 134; s.pc = 6; return s.tmp_7; case 6: @@ -26205,12 +26205,12 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 2; continue; } - r0 = s.i___12054; + r0 = s.i___5413; { step = 5; continue; } case 2: case 3: - r0 = (s.i___12054 + 1); - s.i___12054 = (r0); + r0 = (s.i___5413 + 1); + s.i___5413 = (r0); { step = 1; continue; } case 4: r0 = -1; @@ -26218,12 +26218,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_attrBgIndex__P3905.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__P4995.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__P3905_mk(s) { +function tileworld_RuleView_attrBgIndex__P4995_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_attrBgIndex__P3905, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_attrBgIndex__P4995, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26233,7 +26233,7 @@ function tileworld_RuleView_attrBgIndex__P3905_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - i___12054: undefined, + i___5413: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -26243,7 +26243,7 @@ function tileworld_RuleView_attrBgIndex__P3905_mk(s) { -function tileworld_ruleediting_RuleDisplay_rowToRowCoord__P4412(s) { +function tileworld_ruleediting_RuleDisplay_rowToRowCoord__P11280(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26259,7 +26259,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_VT)) failedCast(r0); r0 = (s.arg1 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -26286,12 +26286,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_rowToRowCoord__P4412.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__P11280.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__P4412_mk(s) { +function tileworld_ruleediting_RuleDisplay_rowToRowCoord__P11280_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_rowToRowCoord__P4412, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_rowToRowCoord__P11280, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26305,7 +26305,7 @@ function tileworld_ruleediting_RuleDisplay_rowToRowCoord__P4412_mk(s) { -function tileworld_ruleediting_RuleDisplay_rowToColCoord__P4411(s) { +function tileworld_ruleediting_RuleDisplay_rowToColCoord__P11279(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26321,7 +26321,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_VT)) failedCast(r0); r0 = (s.arg1 % 2); s.tmp_1 = r0; r0 = (s.tmp_1 == 0); @@ -26339,12 +26339,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_rowToColCoord__P4411.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__P11279.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__P4411_mk(s) { +function tileworld_ruleediting_RuleDisplay_rowToColCoord__P11279_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_rowToColCoord__P4411, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_rowToColCoord__P11279, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26357,7 +26357,7 @@ function tileworld_ruleediting_RuleDisplay_rowToColCoord__P4411_mk(s) { -function tileworld_ruleediting_RuleEditor_tryEditCommand__P4500(s) { +function tileworld_ruleediting_RuleEditor_tryEditCommand__P12685(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26367,27 +26367,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___12085 = undefined; - s.cmd___12092 = undefined; - s.len___12096 = undefined; - s.newCol___12119 = undefined; - s.newRow___12122 = undefined; + s.row___14019 = undefined; + s.cmd___14026 = undefined; + s.len___14030 = undefined; + s.newCol___14053 = undefined; + s.newRow___14056 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); - s.tmp_1 = tileworld_RuleVisualsBase_row__P4340_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); + s.tmp_1 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = true; - s.callLocIdx = 1088; s.pc = 16; return s.tmp_1; + s.callLocIdx = 1091; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 - 2); - s.row___12085 = (r0); - r0 = (s.row___12085 > 4); + s.row___14019 = (r0); + r0 = (s.row___14019 > 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -26395,27 +26395,27 @@ switch (step) { { step = 15; continue; } case 1: case 2: - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1089; s.pc = 17; return s.tmp_2; + s.callLocIdx = 1092; s.pc = 17; return s.tmp_2; case 17: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_1 - 6); - s.cmd___12092 = (r0); + s.cmd___14026 = (r0); r0 = s.arg0.fields["commandLengths"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.row___12085); - s.len___12096 = (r0); - r0 = (s.len___12096 == -1); + r0 = pxsim_Array__getAt(s.tmp_0, s.row___14019); + s.len___14030 = (r0); + r0 = (s.len___14030 == -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___12092 >= s.len___12096); + r0 = (s.cmd___14026 >= s.len___14030); case 4: // jmp value (already in r0) s.tmp_1 = r0; @@ -26432,25 +26432,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__P4411_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_rowToColCoord__P11279_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.row___12085; - s.callLocIdx = 1090; s.pc = 18; return s.tmp_0; + s.tmp_0.arg1 = s.row___14019; + s.callLocIdx = 1093; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.newCol___12119 = (r0); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_rowToRowCoord__P4412_mk(s); + s.newCol___14053 = (r0); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_rowToRowCoord__P11280_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.row___12085; - s.callLocIdx = 1091; s.pc = 19; return s.tmp_0; + s.tmp_0.arg1 = s.row___14019; + s.callLocIdx = 1094; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.newRow___12122 = (r0); - s.tmp_3 = tileworld_ruleediting_RuleDisplay_active__P4410_mk(s); + s.newRow___14056 = (r0); + s.tmp_3 = tileworld_ruleediting_RuleDisplay_active__P11278_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.newCol___12119; - s.tmp_3.arg2 = s.newRow___12122; - s.callLocIdx = 1092; s.pc = 20; return s.tmp_3; + s.tmp_3.arg1 = s.newCol___14053; + s.tmp_3.arg2 = s.newRow___14056; + s.callLocIdx = 1095; s.pc = 20; return s.tmp_3; case 20: r0 = s.retval; s.tmp_2 = r0; @@ -26465,12 +26465,12 @@ switch (step) { case 7: case 8: s.tmp_4 = r0 = s.arg0; - s.tmp_6 = tileworld_RuleView_getWhenDo__P3897_mk(s); + s.tmp_6 = tileworld_RuleView_getWhenDo__P4608_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_6.arg0 = r0; - s.tmp_6.arg1 = s.newCol___12119; - s.tmp_6.arg2 = s.newRow___12122; - s.callLocIdx = 1093; s.pc = 21; return s.tmp_6; + s.tmp_6.arg1 = s.newCol___14053; + s.tmp_6.arg2 = s.newRow___14056; + s.callLocIdx = 1096; s.pc = 21; return s.tmp_6; case 21: r0 = s.retval; s.tmp_5 = r0; @@ -26482,31 +26482,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__P3898_mk(s); + s.tmp_4 = tileworld_RuleView_makeWhenDo__P4989_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.newCol___12119; - s.tmp_4.arg2 = s.newRow___12122; - s.callLocIdx = 1094; s.pc = 22; return s.tmp_4; + s.tmp_4.arg1 = s.newCol___14053; + s.tmp_4.arg2 = s.newRow___14056; + s.callLocIdx = 1097; 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__P4345_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P10854_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1095; s.pc = 23; return s.tmp_0; + s.callLocIdx = 1098; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - r0 = (s.arg0).fields["currentCommand"] = (s.cmd___12092); - s.tmp_2 = tileworld_RuleView_getCmdInst__P3911_mk(s); + r0 = (s.arg0).fields["currentCommand"] = (s.cmd___14026); + s.tmp_2 = tileworld_RuleView_getCmdInst__P5000_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___12092; - s.callLocIdx = 1096; s.pc = 24; return s.tmp_2; + s.tmp_2.arg2 = s.cmd___14026; + s.callLocIdx = 1099; s.pc = 24; return s.tmp_2; case 24: r0 = s.retval; s.tmp_1 = r0; @@ -26514,13 +26514,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__P4415_mk(s); + s.tmp_3 = tileworld_ruleediting_RuleDisplay_showCommandsAt__P11283_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.row___12085; - s.tmp_3.arg2 = s.newCol___12119; - s.tmp_3.arg3 = s.newRow___12122; + s.tmp_3.arg1 = s.row___14019; + s.tmp_3.arg2 = s.newCol___14053; + s.tmp_3.arg3 = s.newRow___14056; s.tmp_3.arg4 = false; - s.callLocIdx = 1097; s.pc = 25; return s.tmp_3; + s.callLocIdx = 1100; s.pc = 25; return s.tmp_3; case 25: r0 = s.retval; r0 = s.arg0.fields["tokens"]; @@ -26540,12 +26540,12 @@ switch (step) { case 12: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = tileworld_ruleediting_RuleEditor_makeCommandMenu__P4501_mk(s); + s.tmp_5 = tileworld_ruleediting_RuleEditor_makeCommandMenu__P12686_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 = 1098; s.pc = 26; return s.tmp_5; + s.callLocIdx = 1101; s.pc = 26; return s.tmp_5; case 26: r0 = s.retval; { step = 14; continue; } @@ -26554,10 +26554,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__P4502_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleEditor_modifyCommandMenu__P12687_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1099; s.pc = 27; return s.tmp_0; + s.callLocIdx = 1102; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; case 14: @@ -26566,12 +26566,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_tryEditCommand__P4500.info = {"start":12524,"length":1435,"line":269,"column":8,"endLine":301,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"tryEditCommand","argumentNames":["this"]} +tileworld_ruleediting_RuleEditor_tryEditCommand__P12685.info = {"start":12524,"length":1435,"line":269,"column":8,"endLine":301,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"tryEditCommand","argumentNames":["this"]} -function tileworld_ruleediting_RuleEditor_tryEditCommand__P4500_mk(s) { +function tileworld_ruleediting_RuleEditor_tryEditCommand__P12685_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_tryEditCommand__P4500, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_tryEditCommand__P12685, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26580,11 +26580,11 @@ function tileworld_ruleediting_RuleEditor_tryEditCommand__P4500_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - row___12085: undefined, - cmd___12092: undefined, - len___12096: undefined, - newCol___12119: undefined, - newRow___12122: undefined, + row___14019: undefined, + cmd___14026: undefined, + len___14030: undefined, + newCol___14053: undefined, + newRow___14056: undefined, arg0: undefined, } } @@ -26592,7 +26592,7 @@ function tileworld_ruleediting_RuleEditor_tryEditCommand__P4500_mk(s) { -function tileworld_ruleediting_RuleViewDisplay_constructor__P4450(s) { +function tileworld_ruleediting_RuleViewDisplay_constructor__P12392(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26609,66 +26609,66 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleViewDisplay__C4445_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleViewDisplay__C12387_VT)) failedCast(r0); r0 = (s.arg0).fields["baseRule"] = (s.arg2); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_constructor__P4423_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_constructor__P11291_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.callLocIdx = 800; s.pc = 1; return s.tmp_0; + s.callLocIdx = 803; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P4337_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P10846_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 801; s.pc = 2; return s.tmp_0; + s.callLocIdx = 804; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P4338_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P10847_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 802; s.pc = 3; return s.tmp_0; + s.callLocIdx = 805; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = tileworld_RuleView_getDerivedRules__P3886_mk(s); + s.tmp_2 = tileworld_RuleView_getDerivedRules__P4978_mk(s); r0 = s.arg0.fields["baseRule"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 803; s.pc = 4; return s.tmp_2; + s.callLocIdx = 806; 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__P12193); + r0 = pxsim_pxtcore_mkAction(1, inline__P12410); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.A___665; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 810; s.pc = 5; return s.tmp_1; + s.callLocIdx = 813; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P12221); + r0 = pxsim_pxtcore_mkAction(1, inline__P12437); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.B___667; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 813; s.pc = 6; return s.tmp_1; + s.callLocIdx = 816; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleViewDisplay_constructor__P4450.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__P12392.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__P4450_mk(s) { +function tileworld_ruleediting_RuleViewDisplay_constructor__P12392_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleViewDisplay_constructor__P4450, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleViewDisplay_constructor__P12392, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26682,7 +26682,7 @@ function tileworld_ruleediting_RuleViewDisplay_constructor__P4450_mk(s) { -function inline__P12193(s) { +function inline__P12410(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26692,10 +26692,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_2 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 804; s.pc = 7; return s.tmp_2; + s.callLocIdx = 807; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; s.tmp_1 = r0; @@ -26706,10 +26706,10 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 805; s.pc = 8; return s.tmp_4; + s.callLocIdx = 808; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; s.tmp_3 = r0; @@ -26722,10 +26722,10 @@ switch (step) { r0 = s.tmp_5; { step = 4; continue; } case 3: - s.tmp_7 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_7 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_7.arg0 = s.caps[0]; s.tmp_7.arg1 = true; - s.callLocIdx = 806; s.pc = 9; return s.tmp_7; + s.callLocIdx = 809; s.pc = 9; return s.tmp_7; case 9: r0 = s.retval; s.tmp_6 = r0; @@ -26735,14 +26735,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__P3889_mk(s); + s.tmp_9 = tileworld_RuleView_setTransforms__P4981_mk(s); r0 = s.caps[0].fields["baseRule"]; s.tmp_9.arg0 = r0; - s.tmp_10 = r0 = globals.transformMap___4436; - s.tmp_13 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_10 = r0 = globals.transformMap___12377; + s.tmp_13 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_13.arg0 = s.caps[0]; s.tmp_13.arg1 = true; - s.callLocIdx = 807; s.pc = 11; return s.tmp_13; + s.callLocIdx = 810; s.pc = 11; return s.tmp_13; case 11: r0 = s.retval; s.tmp_12 = r0; @@ -26750,14 +26750,14 @@ switch (step) { s.tmp_11 = r0; r0 = pxsim_Array__getAt(s.tmp_10, s.tmp_11); s.tmp_9.arg1 = r0; - s.callLocIdx = 808; s.pc = 10; return s.tmp_9; + s.callLocIdx = 811; 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__P3886_mk(s); + s.tmp_2 = tileworld_RuleView_getDerivedRules__P4978_mk(s); r0 = s.caps[0].fields["baseRule"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 809; s.pc = 12; return s.tmp_2; + s.callLocIdx = 812; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_1 = r0; @@ -26768,12 +26768,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P12193.info = {"start":719,"length":262,"line":13,"column":64,"endLine":18,"endColumn":13,"fileName":"ruleTransform.ts","functionName":"inline","argumentNames":[]} +inline__P12410.info = {"start":719,"length":262,"line":13,"column":64,"endLine":18,"endColumn":13,"fileName":"ruleTransform.ts","functionName":"inline","argumentNames":[]} -function inline__P12193_mk(s) { +function inline__P12410_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P12193, depth: s.depth + 1, + parent: s, fn: inline__P12410, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26795,7 +26795,7 @@ function inline__P12193_mk(s) { -function inline__P12221(s) { +function inline__P12437(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26805,28 +26805,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_Project_saveRule__P3955_mk(s); + s.tmp_0 = tileworld_Project_saveRule__P6120_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 = 811; s.pc = 1; return s.tmp_0; + s.callLocIdx = 814; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = game_popScene__P1293_mk(s); - s.callLocIdx = 812; s.pc = 2; return s.tmp_0; + s.callLocIdx = 815; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P12221.info = {"start":1048,"length":126,"line":19,"column":64,"endLine":23,"endColumn":13,"fileName":"ruleTransform.ts","functionName":"inline","argumentNames":[]} +inline__P12437.info = {"start":1048,"length":126,"line":19,"column":64,"endLine":23,"endColumn":13,"fileName":"ruleTransform.ts","functionName":"inline","argumentNames":[]} -function inline__P12221_mk(s) { +function inline__P12437_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P12221, depth: s.depth + 1, + parent: s, fn: inline__P12437, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -26835,7 +26835,7 @@ function inline__P12221_mk(s) { -function tileworld_RuleView_setTransforms__P3889(s) { +function tileworld_RuleView_setTransforms__P4981(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26851,7 +26851,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; s.tmp_0 = r0; r0 = (s.tmp_0).fields["transforms"] = (s.arg1); @@ -26859,12 +26859,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_setTransforms__P3889.info = {"start":1627,"length":77,"line":49,"column":8,"endLine":51,"endColumn":9,"fileName":"ruleview.ts","functionName":"setTransforms","argumentNames":["this","n"]} +tileworld_RuleView_setTransforms__P4981.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__P3889_mk(s) { +function tileworld_RuleView_setTransforms__P4981_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_setTransforms__P3889, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_setTransforms__P4981, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26875,7 +26875,7 @@ function tileworld_RuleView_setTransforms__P3889_mk(s) { -function tileworld_RuleView_getDerivedRules__P3886(s) { +function tileworld_RuleView_getDerivedRules__P4978(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26885,18 +26885,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ret___12235 = undefined; - s.rv___12246 = undefined; - s.t___12264 = undefined; - s.rv___12270 = undefined; + s.ret___5024 = undefined; + s.rv___5036 = undefined; + s.t___5054 = undefined; + s.rv___5060 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.ret___12235 = (r0); + s.ret___5024 = (r0); r0 = s.arg0.fields["r"]; r0 = r0.fields["transforms"]; s.tmp_0 = r0; @@ -26916,9 +26916,9 @@ switch (step) { case 2: case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleView__C3884_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleView__C4976_VT); s.tmp_1 = r0; - s.tmp_2 = tileworld_RuleView_constructor__P3924_mk(s); + s.tmp_2 = tileworld_RuleView_constructor__P5013_mk(s); s.tmp_2.arg0 = s.tmp_1; r0 = s.arg0.fields["p"]; s.tmp_2.arg1 = r0; @@ -26928,23 +26928,23 @@ switch (step) { s.callLocIdx = 112; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; - s.rv___12246 = (s.tmp_1); + s.rv___5036 = (s.tmp_1); r0 = s.arg0.fields["r"]; r0 = r0.fields["transforms"]; s.tmp_0 = r0; - r0 = (s.rv___12246).fields["view"] = (s.tmp_0); - r0 = pxsim_Array__push(s.ret___12235, s.rv___12246); + r0 = (s.rv___5036).fields["view"] = (s.tmp_0); + r0 = pxsim_Array__push(s.ret___5024, s.rv___5036); { step = 8; continue; } case 5: - s.t___12264 = (3); + s.t___5054 = (3); case 6: - r0 = (s.t___12264 != 6); + r0 = (s.t___5054 != 6); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleView__C3884_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleView__C4976_VT); s.tmp_1 = r0; - s.tmp_2 = tileworld_RuleView_constructor__P3924_mk(s); + s.tmp_2 = tileworld_RuleView_constructor__P5013_mk(s); s.tmp_2.arg0 = s.tmp_1; r0 = s.arg0.fields["p"]; s.tmp_2.arg1 = r0; @@ -26954,32 +26954,32 @@ switch (step) { s.callLocIdx = 113; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; - s.rv___12270 = (s.tmp_1); - r0 = (s.rv___12270).fields["view"] = (s.t___12264); - r0 = pxsim_Array__push(s.ret___12235, s.rv___12270); - r0 = (s.t___12264 + 1); - s.t___12264 = (r0); + s.rv___5060 = (s.tmp_1); + r0 = (s.rv___5060).fields["view"] = (s.t___5054); + r0 = pxsim_Array__push(s.ret___5024, s.rv___5060); + r0 = (s.t___5054 + 1); + s.t___5054 = (r0); { step = 6; continue; } case 7: case 8: - r0 = s.ret___12235; + r0 = s.ret___5024; return leave(s, r0) default: oops() } } } -tileworld_RuleView_getDerivedRules__P3886.info = {"start":479,"length":920,"line":14,"column":8,"endLine":37,"endColumn":9,"fileName":"ruleview.ts","functionName":"getDerivedRules","argumentNames":["this"]} +tileworld_RuleView_getDerivedRules__P4978.info = {"start":479,"length":920,"line":14,"column":8,"endLine":37,"endColumn":9,"fileName":"ruleview.ts","functionName":"getDerivedRules","argumentNames":["this"]} -function tileworld_RuleView_getDerivedRules__P3886_mk(s) { +function tileworld_RuleView_getDerivedRules__P4978_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getDerivedRules__P3886, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getDerivedRules__P4978, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ret___12235: undefined, - rv___12246: undefined, - t___12264: undefined, - rv___12270: undefined, + ret___5024: undefined, + rv___5036: undefined, + t___5054: undefined, + rv___5060: undefined, arg0: undefined, } } @@ -26987,7 +26987,7 @@ function tileworld_RuleView_getDerivedRules__P3886_mk(s) { -function tileworld_RuleView_constructor__P3924(s) { +function tileworld_RuleView_constructor__P5013(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27005,7 +27005,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); r0 = (s.arg0).fields["p"] = (s.arg1); r0 = (s.arg0).fields["rid"] = (s.arg2); r0 = (s.arg0).fields["r"] = (s.arg3); @@ -27014,12 +27014,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_constructor__P3924.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__P5013.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__P3924_mk(s) { +function tileworld_RuleView_constructor__P5013_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_constructor__P3924, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_constructor__P5013, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -27031,7 +27031,7 @@ function tileworld_RuleView_constructor__P3924_mk(s) { -function tileworld_Project_saveRule__P3955(s) { +function tileworld_Project_saveRule__P6120(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27047,7 +27047,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C3937_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); r0 = s.arg1.fields["rid"]; s.tmp_1 = r0; r0 = (s.tmp_1 == -1); @@ -27057,7 +27057,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = tileworld_Project_storeRule__P3961_mk(s); + s.tmp_2 = tileworld_Project_storeRule__P6126_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg0.fields["prefix"]; s.tmp_2.arg1 = r0; @@ -27073,12 +27073,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_saveRule__P3955.info = {"start":4061,"length":178,"line":118,"column":8,"endLine":122,"endColumn":9,"fileName":"project.ts","functionName":"saveRule","argumentNames":["this","rv"]} +tileworld_Project_saveRule__P6120.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__P3955_mk(s) { +function tileworld_Project_saveRule__P6120_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_saveRule__P3955, depth: s.depth + 1, + parent: s, fn: tileworld_Project_saveRule__P6120, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27091,7 +27091,7 @@ function tileworld_Project_saveRule__P3955_mk(s) { -function tileworld_RuleView_getBaseRule__P3885(s) { +function tileworld_RuleView_getBaseRule__P4977(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27106,17 +27106,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; return leave(s, r0) default: oops() } } } -tileworld_RuleView_getBaseRule__P3885.info = {"start":410,"length":59,"line":10,"column":8,"endLine":12,"endColumn":9,"fileName":"ruleview.ts","functionName":"getBaseRule","argumentNames":["this"]} +tileworld_RuleView_getBaseRule__P4977.info = {"start":410,"length":59,"line":10,"column":8,"endLine":12,"endColumn":9,"fileName":"ruleview.ts","functionName":"getBaseRule","argumentNames":["this"]} -function tileworld_RuleView_getBaseRule__P3885_mk(s) { +function tileworld_RuleView_getBaseRule__P4977_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getBaseRule__P3885, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getBaseRule__P4977, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -27125,7 +27125,7 @@ function tileworld_RuleView_getBaseRule__P3885_mk(s) { -function tileworld_Project_storeRule__P3961(s) { +function tileworld_Project_storeRule__P6126(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27135,7 +27135,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___12313 = undefined; + s.buf___6390 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -27144,8 +27144,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C3937_VT)) failedCast(r0); - s.tmp_0 = tileworld_packRule__P3882_mk(s); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); + s.tmp_0 = tileworld_packRule__P4780_mk(s); s.tmp_0.arg0 = s.arg3; r0 = s.arg0.fields["_backgroundsI"]; s.tmp_1 = r0; @@ -27158,7 +27158,7 @@ switch (step) { s.callLocIdx = 195; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.buf___12313 = (r0); + s.buf___6390 = (r0); s.tmp_0 = settings_writeBuffer__P611_mk(s); if ((s.arg1) && (s.arg1).vtable) { setupResume(s, 3); @@ -27169,12 +27169,12 @@ switch (step) { case 3: r0 = s.retval; s.tmp_3 = r0; - if ((globals.RuleKey___3981) && (globals.RuleKey___3981).vtable) { + if ((globals.RuleKey___6323) && (globals.RuleKey___6323).vtable) { setupResume(s, 4); - pxsim_String__stringConv(globals.RuleKey___3981); + pxsim_String__stringConv(globals.RuleKey___6323); checkResumeConsumed(); return; - } else { s.retval = (globals.RuleKey___3981) + ""; } + } else { s.retval = (globals.RuleKey___6323) + ""; } case 4: r0 = s.retval; s.tmp_4 = r0; @@ -27202,20 +27202,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___12313; + s.tmp_0.arg1 = s.buf___6390; s.callLocIdx = 196; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - r0 = s.buf___12313; + r0 = s.buf___6390; return leave(s, r0) default: oops() } } } -tileworld_Project_storeRule__P3961.info = {"start":5677,"length":240,"line":162,"column":8,"endLine":166,"endColumn":9,"fileName":"project.ts","functionName":"storeRule","argumentNames":["this","prefix","rid","rule"]} +tileworld_Project_storeRule__P6126.info = {"start":5677,"length":240,"line":162,"column":8,"endLine":166,"endColumn":9,"fileName":"project.ts","functionName":"storeRule","argumentNames":["this","prefix","rid","rule"]} -function tileworld_Project_storeRule__P3961_mk(s) { +function tileworld_Project_storeRule__P6126_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_storeRule__P3961, depth: s.depth + 1, + parent: s, fn: tileworld_Project_storeRule__P6126, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27224,7 +27224,7 @@ function tileworld_Project_storeRule__P3961_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - buf___12313: undefined, + buf___6390: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -27235,7 +27235,7 @@ function tileworld_Project_storeRule__P3961_mk(s) { -function tileworld_packRule__P3882(s) { +function tileworld_packRule__P4780(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27245,9 +27245,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wds___12336 = undefined; - s.bytes___12351 = undefined; - s.i___12366 = undefined; + s.wds___4784 = undefined; + s.bytes___4800 = undefined; + s.i___4815 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -27257,13 +27257,13 @@ switch (step) { s.tmp_0 = helpers_arrayFilter__P61_mk(s); r0 = s.arg0.fields["whenDo"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P12340; + s.tmp_0.arg1 = inline__P4789; s.callLocIdx = 84; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.wds___12336 = (r0); - globals.bitIndex___3876 = (0); - r0 = pxsim_Array__length(s.wds___12336); + s.wds___4784 = (r0); + globals.bitIndex___4645 = (0); + r0 = pxsim_Array__length(s.wds___4784); s.tmp_1 = r0; r0 = (s.arg1 >> 2); s.tmp_4 = r0; @@ -27276,84 +27276,84 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (2 + s.tmp_0); - s.bytes___12351 = (r0); - s.i___12366 = (0); + s.bytes___4800 = (r0); + s.i___4815 = (0); case 1: - s.tmp_1 = r0 = s.i___12366; - r0 = pxsim_Array__length(s.wds___12336); + s.tmp_1 = r0 = s.i___4815; + r0 = pxsim_Array__length(s.wds___4784); 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___12351; - r0 = pxsim_Array__getAt(s.wds___12336, s.i___12366); + s.tmp_3 = r0 = s.bytes___4800; + r0 = pxsim_Array__getAt(s.wds___4784, s.i___4815); 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___12351 = (r0); - r0 = (s.i___12366 + 1); - s.i___12366 = (r0); + s.bytes___4800 = (r0); + r0 = (s.i___4815 + 1); + s.i___4815 = (r0); { step = 1; continue; } case 2: - r0 = pxsim.control.createBuffer(s.bytes___12351); - globals.ruleBuf___3874 = (r0); - s.tmp_0 = tileworld_writeBuf__P3878_mk(s); + r0 = pxsim.control.createBuffer(s.bytes___4800); + globals.ruleBuf___4643 = (r0); + s.tmp_0 = tileworld_writeBuf__P4735_mk(s); r0 = s.arg0.fields["ruleType"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; s.callLocIdx = 85; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = tileworld_writeBuf__P3878_mk(s); + s.tmp_0 = tileworld_writeBuf__P4735_mk(s); r0 = s.arg0.fields["ruleArg"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; s.callLocIdx = 86; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = tileworld_writeBuf__P3878_mk(s); + s.tmp_0 = tileworld_writeBuf__P4735_mk(s); r0 = s.arg0.fields["transforms"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; s.callLocIdx = 87; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = tileworld_writeBuf__P3878_mk(s); - r0 = pxsim_Array__length(s.wds___12336); + s.tmp_0 = tileworld_writeBuf__P4735_mk(s); + r0 = pxsim_Array__length(s.wds___4784); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; s.callLocIdx = 88; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(2, inline__P12401); + r0 = pxsim_pxtcore_mkAction(2, inline__P4851); 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__P60_mk(s); - s.tmp_1.arg0 = s.wds___12336; + s.tmp_1.arg0 = s.wds___4784; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 95; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0 = helpers_arrayForEach__P60_mk(s); - s.tmp_0.arg0 = s.wds___12336; - s.tmp_0.arg1 = inline__P12427; + s.tmp_0.arg0 = s.wds___4784; + s.tmp_0.arg1 = inline__P4877; s.callLocIdx = 97; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - r0 = globals.ruleBuf___3874; + r0 = globals.ruleBuf___4643; return leave(s, r0) default: oops() } } } -tileworld_packRule__P3882.info = {"start":10502,"length":1227,"line":297,"column":4,"endLine":325,"endColumn":5,"fileName":"rule.ts","functionName":"packRule","argumentNames":["r","bgLen","spLen"]} +tileworld_packRule__P4780.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__P3882_mk(s) { +function tileworld_packRule__P4780_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_packRule__P3882, depth: s.depth + 1, + parent: s, fn: tileworld_packRule__P4780, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27361,9 +27361,9 @@ function tileworld_packRule__P3882_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - wds___12336: undefined, - bytes___12351: undefined, - i___12366: undefined, + wds___4784: undefined, + bytes___4800: undefined, + i___4815: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -27373,7 +27373,7 @@ function tileworld_packRule__P3882_mk(s) { -function inline__P12340(s) { +function inline__P4789(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27396,7 +27396,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_isWhenDoTrue__P3870_mk(s); + s.tmp_4 = tileworld_isWhenDoTrue__P4527_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 83; s.pc = 3; return s.tmp_4; case 3: @@ -27412,12 +27412,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P12340.info = {"start":10674,"length":45,"line":299,"column":34,"endLine":299,"endColumn":79,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} +inline__P4789.info = {"start":10674,"length":45,"line":299,"column":34,"endLine":299,"endColumn":79,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} -function inline__P12340_mk(s) { +function inline__P4789_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P12340, depth: s.depth + 1, + parent: s, fn: inline__P4789, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27432,7 +27432,7 @@ function inline__P12340_mk(s) { -function inline__P12401(s) { +function inline__P4851(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27446,21 +27446,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_writeBuf__P3878_mk(s); + s.tmp_0 = tileworld_writeBuf__P4735_mk(s); r0 = s.arg0.fields["col"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; s.callLocIdx = 89; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = tileworld_writeBuf__P3878_mk(s); + s.tmp_0 = tileworld_writeBuf__P4735_mk(s); r0 = s.arg0.fields["row"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; s.callLocIdx = 90; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tileworld_writeBufRaw__P3879_mk(s); + s.tmp_0 = tileworld_writeBufRaw__P4741_mk(s); r0 = s.arg0.fields["bgPred"]; s.tmp_0.arg0 = r0; r0 = (s.caps[0] >> 2); @@ -27468,7 +27468,7 @@ switch (step) { s.callLocIdx = 91; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = tileworld_writeBufRaw__P3879_mk(s); + s.tmp_0 = tileworld_writeBufRaw__P4741_mk(s); r0 = s.arg0.fields["spPred"]; s.tmp_0.arg0 = r0; r0 = (s.caps[1] >> 2); @@ -27476,14 +27476,14 @@ switch (step) { s.callLocIdx = 92; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = tileworld_writeBuf__P3878_mk(s); + s.tmp_0 = tileworld_writeBuf__P4735_mk(s); r0 = s.arg0.fields["dir"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; s.callLocIdx = 93; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = tileworld_writeBuf__P3878_mk(s); + s.tmp_0 = tileworld_writeBuf__P4735_mk(s); r0 = s.arg0.fields["commandsLen"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; @@ -27494,12 +27494,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P12401.info = {"start":11133,"length":370,"line":310,"column":20,"endLine":317,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} +inline__P4851.info = {"start":11133,"length":370,"line":310,"column":20,"endLine":317,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} -function inline__P12401_mk(s) { +function inline__P4851_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P12401, depth: s.depth + 1, + parent: s, fn: inline__P4851, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27509,7 +27509,7 @@ function inline__P12401_mk(s) { -function inline__P12427(s) { +function inline__P4877(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27529,7 +27529,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = tileworld_writeBufRaw__P3879_mk(s); + s.tmp_2 = tileworld_writeBufRaw__P4741_mk(s); r0 = s.arg0.fields["commands"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["commandsLen"]; @@ -27545,12 +27545,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P12427.info = {"start":11565,"length":132,"line":319,"column":20,"endLine":323,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} +inline__P4877.info = {"start":11565,"length":132,"line":319,"column":20,"endLine":323,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} -function inline__P12427_mk(s) { +function inline__P4877_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P12427, depth: s.depth + 1, + parent: s, fn: inline__P4877, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27563,7 +27563,7 @@ function inline__P12427_mk(s) { -function tileworld_writeBufRaw__P3879(s) { +function tileworld_writeBufRaw__P4741(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27573,43 +27573,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___12441 = undefined; + s.i___4744 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.i___12441 = (0); + s.i___4744 = (0); case 1: - r0 = (s.i___12441 < s.arg1); + r0 = (s.i___4744 < s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = tileworld_writeBuf__P3878_mk(s); - r0 = pxsim.BufferMethods.getUint8(s.arg0, s.i___12441); + s.tmp_1 = tileworld_writeBuf__P4735_mk(s); + r0 = pxsim.BufferMethods.getUint8(s.arg0, s.i___4744); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 8; s.callLocIdx = 80; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = (s.i___12441 + 1); - s.i___12441 = (r0); + r0 = (s.i___4744 + 1); + s.i___4744 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_writeBufRaw__P3879.info = {"start":9945,"length":141,"line":277,"column":4,"endLine":281,"endColumn":5,"fileName":"rule.ts","functionName":"writeBufRaw","argumentNames":["b","cnt"]} +tileworld_writeBufRaw__P4741.info = {"start":9945,"length":141,"line":277,"column":4,"endLine":281,"endColumn":5,"fileName":"rule.ts","functionName":"writeBufRaw","argumentNames":["b","cnt"]} -function tileworld_writeBufRaw__P3879_mk(s) { +function tileworld_writeBufRaw__P4741_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_writeBufRaw__P3879, depth: s.depth + 1, + parent: s, fn: tileworld_writeBufRaw__P4741, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___12441: undefined, + i___4744: undefined, arg0: undefined, arg1: undefined, } } @@ -27618,7 +27618,7 @@ function tileworld_writeBufRaw__P3879_mk(s) { -function tileworld_writeBuf__P3878(s) { +function tileworld_writeBuf__P4735(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27633,7 +27633,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_readWriteBuf__P3877_mk(s); + s.tmp_0 = tileworld_readWriteBuf__P4646_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = true; @@ -27644,12 +27644,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_writeBuf__P3878.info = {"start":9798,"length":87,"line":272,"column":4,"endLine":274,"endColumn":5,"fileName":"rule.ts","functionName":"writeBuf","argumentNames":["v","bits"]} +tileworld_writeBuf__P4735.info = {"start":9798,"length":87,"line":272,"column":4,"endLine":274,"endColumn":5,"fileName":"rule.ts","functionName":"writeBuf","argumentNames":["v","bits"]} -function tileworld_writeBuf__P3878_mk(s) { +function tileworld_writeBuf__P4735_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_writeBuf__P3878, depth: s.depth + 1, + parent: s, fn: tileworld_writeBuf__P4735, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27660,7 +27660,7 @@ function tileworld_writeBuf__P3878_mk(s) { -function tileworld_readWriteBuf__P3877(s) { +function tileworld_readWriteBuf__P4646(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27670,24 +27670,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.byteIndex___12461 = undefined; - s.shift___12469 = undefined; - s.byte___12479 = undefined; - s.mask___12484 = undefined; - s.i___12485 = undefined; - s.writeMask___12506 = undefined; - s.newVal___12510 = undefined; - s.ret___12533 = undefined; + s.byteIndex___4650 = undefined; + s.shift___4658 = undefined; + s.byte___4668 = undefined; + s.mask___4673 = undefined; + s.i___4674 = undefined; + s.writeMask___4695 = undefined; + s.newVal___4699 = undefined; + s.ret___4722 = 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___3876 >> 3); - s.byteIndex___12461 = (r0); - s.tmp_1 = r0 = s.byteIndex___12461; - r0 = pxsim.BufferMethods.length(globals.ruleBuf___3874); + r0 = (globals.bitIndex___4645 >> 3); + s.byteIndex___4650 = (r0); + s.tmp_1 = r0 = s.byteIndex___4650; + r0 = pxsim.BufferMethods.length(globals.ruleBuf___4643); s.tmp_2 = r0; r0 = (s.tmp_1 >= s.tmp_2); s.tmp_0 = r0; @@ -27701,12 +27701,12 @@ switch (step) { r0 = s.retval; case 1: case 2: - s.tmp_0 = r0 = globals.bitIndex___3876; - r0 = (s.byteIndex___12461 << 3); + s.tmp_0 = r0 = globals.bitIndex___4645; + r0 = (s.byteIndex___4650 << 3); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.shift___12469 = (r0); - r0 = (s.shift___12469 + s.arg1); + s.shift___4658 = (r0); + r0 = (s.shift___4658 + s.arg1); s.tmp_1 = r0; r0 = (s.tmp_1 > 8); s.tmp_0 = r0; @@ -27720,52 +27720,52 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim.BufferMethods.getUint8(globals.ruleBuf___3874, s.byteIndex___12461); - s.byte___12479 = (r0); - s.mask___12484 = (0); - s.i___12485 = (0); + r0 = pxsim.BufferMethods.getUint8(globals.ruleBuf___4643, s.byteIndex___4650); + s.byte___4668 = (r0); + s.mask___4673 = (0); + s.i___4674 = (0); case 5: - r0 = (s.i___12485 < s.arg1); + r0 = (s.i___4674 < s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - r0 = (s.mask___12484 << 1); + r0 = (s.mask___4673 << 1); s.tmp_1 = r0; r0 = (1 | s.tmp_1); - s.mask___12484 = (r0); - r0 = (s.i___12485 + 1); - s.i___12485 = (r0); + s.mask___4673 = (r0); + r0 = (s.i___4674 + 1); + s.i___4674 = (r0); { step = 5; continue; } case 6: - r0 = (s.arg0 & s.mask___12484); + r0 = (s.arg0 & s.mask___4673); s.arg0 = (r0); - r0 = (s.mask___12484 << s.shift___12469); - s.mask___12484 = (r0); - r0 = (s.mask___12484 ^ 4294967295); - s.writeMask___12506 = (r0); + r0 = (s.mask___4673 << s.shift___4658); + s.mask___4673 = (r0); + r0 = (s.mask___4673 ^ 4294967295); + s.writeMask___4695 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 7; continue; } - r0 = (s.byte___12479 & s.writeMask___12506); + r0 = (s.byte___4668 & s.writeMask___4695); s.tmp_0 = r0; - r0 = (s.arg0 << s.shift___12469); + r0 = (s.arg0 << s.shift___4658); s.tmp_1 = r0; r0 = (s.tmp_0 | s.tmp_1); - s.newVal___12510 = (r0); - r0 = pxsim.BufferMethods.setUint8(globals.ruleBuf___3874, s.byteIndex___12461, s.newVal___12510); + s.newVal___4699 = (r0); + r0 = pxsim.BufferMethods.setUint8(globals.ruleBuf___4643, s.byteIndex___4650, s.newVal___4699); case 7: case 8: - r0 = (globals.bitIndex___3876 + s.arg1); - globals.bitIndex___3876 = (r0); - r0 = pxsim.BufferMethods.getUint8(globals.ruleBuf___3874, s.byteIndex___12461); - s.byte___12479 = (r0); - r0 = (s.byte___12479 & s.mask___12484); - s.tmp_0 = r0; - r0 = (s.tmp_0 >> s.shift___12469); - s.ret___12533 = (r0); + r0 = (globals.bitIndex___4645 + s.arg1); + globals.bitIndex___4645 = (r0); + r0 = pxsim.BufferMethods.getUint8(globals.ruleBuf___4643, s.byteIndex___4650); + s.byte___4668 = (r0); + r0 = (s.byte___4668 & s.mask___4673); + s.tmp_0 = r0; + r0 = (s.tmp_0 >> s.shift___4658); + s.ret___4722 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 9; continue; } s.tmp_0 = control_assert__P217_mk(s); - r0 = (s.ret___12533 == s.arg0); + r0 = (s.ret___4722 == s.arg0); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 42; s.callLocIdx = 78; s.pc = 13; return s.tmp_0; @@ -27773,29 +27773,29 @@ switch (step) { r0 = s.retval; case 9: case 10: - r0 = s.ret___12533; + r0 = s.ret___4722; return leave(s, r0) default: oops() } } } -tileworld_readWriteBuf__P3877.info = {"start":8703,"length":1089,"line":238,"column":4,"endLine":270,"endColumn":5,"fileName":"rule.ts","functionName":"readWriteBuf","argumentNames":["v","bits","write"]} +tileworld_readWriteBuf__P4646.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__P3877_mk(s) { +function tileworld_readWriteBuf__P4646_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_readWriteBuf__P3877, depth: s.depth + 1, + parent: s, fn: tileworld_readWriteBuf__P4646, depth: s.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___12461: undefined, - shift___12469: undefined, - byte___12479: undefined, - mask___12484: undefined, - i___12485: undefined, - writeMask___12506: undefined, - newVal___12510: undefined, - ret___12533: undefined, + byteIndex___4650: undefined, + shift___4658: undefined, + byte___4668: undefined, + mask___4673: undefined, + i___4674: undefined, + writeMask___4695: undefined, + newVal___4699: undefined, + ret___4722: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -27960,8 +27960,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.text___12574 = undefined; - s.i___12583 = undefined; + s.text___25762 = undefined; + s.i___25771 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -27980,21 +27980,21 @@ switch (step) { s.callLocIdx = 36; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - s.text___12574 = (r0); - if ((s.text___12574) && (s.text___12574).vtable) { + s.text___25762 = (r0); + if ((s.text___25762) && (s.text___25762).vtable) { setupResume(s, 7); - pxsim_String__stringConv(s.text___12574); + pxsim_String__stringConv(s.text___25762); checkResumeConsumed(); return; - } else { s.retval = (s.text___12574) + ""; } + } else { s.retval = (s.text___25762) + ""; } case 7: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.text___12574 = (r0); - s.i___12583 = (0); + s.text___25762 = (r0); + s.i___25771 = (0); case 3: - s.tmp_1 = r0 = s.i___12583; + s.tmp_1 = r0 = s.i___25771; r0 = pxsim_Array__length(globals.listeners___253); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -28002,16 +28002,16 @@ switch (step) { 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___253, s.i___12583); + r0 = pxsim_Array__getAt(globals.listeners___253, s.i___25771); s.tmp_3.argL = r0; s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.text___12574; + s.tmp_3.arg1 = s.text___25762; 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___12583 + 1); - s.i___12583 = (r0); + r0 = (s.i___25771 + 1); + s.i___25771 = (r0); { step = 3; continue; } case 4: case 5: @@ -28030,8 +28030,8 @@ function console_add__P254_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - text___12574: undefined, - i___12583: undefined, + text___25762: undefined, + i___25771: undefined, arg0: undefined, arg1: undefined, } } @@ -28050,10 +28050,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.asArr___12621 = undefined; - s.asString___12640 = undefined; - s.keys___12652 = undefined; - s.snipped___12656 = undefined; + s.asArr___20718 = undefined; + s.asString___20737 = undefined; + s.keys___20749 = undefined; + s.snipped___20753 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28094,15 +28094,15 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 5; continue; } - s.asArr___12621 = (s.arg0); - r0 = pxsim_Array__length(s.asArr___12621); + s.asArr___20718 = (s.arg0); + r0 = pxsim_Array__length(s.asArr___20718); 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__P52_mk(s); - s.tmp_2.arg0 = s.asArr___12621; + s.tmp_2.arg0 = s.asArr___20718; s.tmp_2.arg1 = ","; s.callLocIdx = 39; s.pc = 19; return s.tmp_2; case 19: @@ -28114,7 +28114,7 @@ switch (step) { s.tmp_4 = r0; s.tmp_7 = helpers_arrayJoin__P52_mk(s); s.tmp_8 = helpers_arraySlice__P65_mk(s); - s.tmp_8.arg0 = s.asArr___12621; + s.tmp_8.arg0 = s.asArr___20718; s.tmp_8.arg1 = 0; s.tmp_8.arg2 = s.arg1; s.callLocIdx = 40; s.pc = 21; return s.tmp_8; @@ -28154,46 +28154,46 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_10 = r0; r0 = pxsim_String__concat(s.tmp_9, s.tmp_10); - s.asString___12640 = (r0); - r0 = (s.asString___12640 != "[object Object]"); + s.asString___20737 = (r0); + r0 = (s.asString___20737 != "[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___12640 != "[Object]"); + r0 = (s.asString___20737 != "[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___12640; + r0 = s.asString___20737; { step = 17; continue; } case 8: case 9: r0 = pxsim_pxtrt.keysOf(s.arg0); - s.keys___12652 = (r0); - r0 = pxsim_Array__length(s.keys___12652); + s.keys___20749 = (r0); + r0 = pxsim_Array__length(s.keys___20749); s.tmp_0 = r0; r0 = (s.tmp_0 > s.arg1); - s.snipped___12656 = (r0); - r0 = pxsim_numops_toBoolDecr(s.snipped___12656); + s.snipped___20753 = (r0); + r0 = pxsim_numops_toBoolDecr(s.snipped___20753); if (!r0) { step = 10; continue; } s.tmp_0 = helpers_arraySlice__P65_mk(s); - s.tmp_0.arg0 = s.keys___12652; + s.tmp_0.arg0 = s.keys___20749; 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___12652 = (r0); + s.keys___20749 = (r0); case 10: case 11: - r0 = pxsim_pxtcore_mkAction(1, inline__P12674); + r0 = pxsim_pxtcore_mkAction(1, inline__P20771); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_numops_toBoolDecr(s.snipped___12656); + r0 = pxsim_numops_toBoolDecr(s.snipped___20753); if (!r0) { step = 12; continue; } r0 = "\n ..."; { step = 13; continue; } @@ -28203,7 +28203,7 @@ switch (step) { // jmp value (already in r0) s.tmp_1 = r0; s.tmp_7 = helpers_arrayReduce__P63_mk(s); - s.tmp_7.arg0 = s.keys___12652; + s.tmp_7.arg0 = s.keys___20749; s.tmp_7.arg1 = s.tmp_0; r0 = pxsim_String_.mkEmpty(); s.tmp_7.arg2 = r0; @@ -28270,10 +28270,10 @@ function console_inspect__P260_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - asArr___12621: undefined, - asString___12640: undefined, - keys___12652: undefined, - snipped___12656: undefined, + asArr___20718: undefined, + asString___20737: undefined, + keys___20749: undefined, + snipped___20753: undefined, arg0: undefined, arg1: undefined, } } @@ -28282,7 +28282,7 @@ function console_inspect__P260_mk(s) { -function inline__P12674(s) { +function inline__P20771(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28345,12 +28345,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P12674.info = {"start":3245,"length":61,"line":107,"column":20,"endLine":107,"endColumn":81,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["prev","currKey"]} +inline__P20771.info = {"start":3245,"length":61,"line":107,"column":20,"endLine":107,"endColumn":81,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["prev","currKey"]} -function inline__P12674_mk(s) { +function inline__P20771_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P12674, depth: s.depth + 1, + parent: s, fn: inline__P20771, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28378,8 +28378,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___12701 = undefined; - s.i___12704 = undefined; + s.len___20798 = undefined; + s.i___20801 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28387,26 +28387,26 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__length(s.arg0); - s.len___12701 = (r0); - s.i___12704 = (0); + s.len___20798 = (r0); + s.i___20801 = (0); case 1: - r0 = (s.i___12704 < s.len___12701); + r0 = (s.i___20801 < s.len___20798); 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___12704); + r0 = pxsim_Array__getAt(s.arg0, s.i___20801); s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.i___12704; + s.tmp_1.arg2 = s.i___20801; 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___12704 + 1); - s.i___12704 = (r0); + r0 = (s.i___20801 + 1); + s.i___20801 = (r0); { step = 1; continue; } case 2: r0 = s.arg2; @@ -28422,8 +28422,8 @@ function helpers_arrayReduce__P63_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___12701: undefined, - i___12704: undefined, + len___20798: undefined, + i___20801: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -28443,9 +28443,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___12729 = undefined; - s.len___12730 = undefined; - s.i___12733 = undefined; + s.r___25711 = undefined; + s.len___25712 = undefined; + s.i___25715 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28468,16 +28468,16 @@ switch (step) { case 3: case 4: r0 = pxsim_String_.mkEmpty(); - s.r___12729 = (r0); + s.r___25711 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___12730 = (r0); - s.i___12733 = (0); + s.len___25712 = (r0); + s.i___25715 = (0); case 5: - r0 = (s.i___12733 < s.len___12730); + r0 = (s.i___25715 < s.len___25712); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.i___12733 > 0); + r0 = (s.i___25715 > 0); s.tmp_1 = r0; r0 = pxsim_numops_toBool(s.tmp_1); if (r0) { step = 6; continue; } @@ -28490,12 +28490,12 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - if ((s.r___12729) && (s.r___12729).vtable) { + if ((s.r___25711) && (s.r___25711).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___12729); + pxsim_String__stringConv(s.r___25711); checkResumeConsumed(); return; - } else { s.retval = (s.r___12729) + ""; } + } else { s.retval = (s.r___25711) + ""; } case 15: r0 = s.retval; s.tmp_3 = r0; @@ -28509,10 +28509,10 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___12729 = (r0); + s.r___25711 = (r0); case 8: case 9: - r0 = pxsim_Array__getAt(s.arg0, s.i___12733); + r0 = pxsim_Array__getAt(s.arg0, s.i___25715); s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); s.tmp_0 = r0; @@ -28521,7 +28521,7 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - r0 = pxsim_Array__getAt(s.arg0, s.i___12733); + r0 = pxsim_Array__getAt(s.arg0, s.i___25715); s.tmp_2 = r0; r0 = (s.tmp_2 === null); case 11: @@ -28532,16 +28532,16 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); { step = 13; continue; } case 12: - r0 = pxsim_Array__getAt(s.arg0, s.i___12733); + r0 = pxsim_Array__getAt(s.arg0, s.i___25715); case 13: // jmp value (already in r0) s.tmp_4 = r0; - if ((s.r___12729) && (s.r___12729).vtable) { + if ((s.r___25711) && (s.r___25711).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___12729); + pxsim_String__stringConv(s.r___25711); checkResumeConsumed(); return; - } else { s.retval = (s.r___12729) + ""; } + } else { s.retval = (s.r___25711) + ""; } case 17: r0 = s.retval; s.tmp_5 = r0; @@ -28555,12 +28555,12 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_5, s.tmp_6); - s.r___12729 = (r0); - r0 = (s.i___12733 + 1); - s.i___12733 = (r0); + s.r___25711 = (r0); + r0 = (s.i___25715 + 1); + s.i___25715 = (r0); { step = 5; continue; } case 14: - r0 = s.r___12729; + r0 = s.r___25711; return leave(s, r0) default: oops() } } } @@ -28578,9 +28578,9 @@ function helpers_arrayJoin__P52_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - r___12729: undefined, - len___12730: undefined, - i___12733: undefined, + r___25711: undefined, + len___25712: undefined, + i___25715: undefined, arg0: undefined, arg1: undefined, } } @@ -28624,7 +28624,7 @@ function inline__P252_mk(s) { -function tileworld_ruleediting_RuleDisplay_getKind__P4401(s) { +function tileworld_ruleediting_RuleDisplay_getKind__P11269(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28634,27 +28634,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.kinds___12772 = undefined; + s.kinds___11334 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getSpriteKinds__P3916_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getSpriteKinds__P5005_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 698; s.pc = 4; return s.tmp_0; + s.callLocIdx = 701; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.kinds___12772 = (r0); - r0 = pxsim_Array__length(s.kinds___12772); + s.kinds___11334 = (r0); + r0 = pxsim_Array__length(s.kinds___11334); 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___12772, 0); + r0 = pxsim_Array__getAt(s.kinds___11334, 0); { step = 3; continue; } case 1: case 2: @@ -28663,16 +28663,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_getKind__P4401.info = {"start":1754,"length":173,"line":42,"column":8,"endLine":47,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"getKind","argumentNames":["this"]} +tileworld_ruleediting_RuleDisplay_getKind__P11269.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__P4401_mk(s) { +function tileworld_ruleediting_RuleDisplay_getKind__P11269_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_getKind__P4401, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_getKind__P11269, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - kinds___12772: undefined, + kinds___11334: undefined, arg0: undefined, } } @@ -28680,7 +28680,7 @@ function tileworld_ruleediting_RuleDisplay_getKind__P4401_mk(s) { -function tileworld_RuleView_getSpriteKinds__P3916(s) { +function tileworld_RuleView_getSpriteKinds__P5005(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28690,29 +28690,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wd___12783 = undefined; - s.ret___12785 = undefined; - s.i___12787 = undefined; - s.at___12794 = undefined; + s.wd___5702 = undefined; + s.ret___5704 = undefined; + s.i___5706 = undefined; + s.at___5713 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getWhenDo__P3897_mk(s); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getWhenDo__P4608_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = 2; s.callLocIdx = 144; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.wd___12783 = (r0); + s.wd___5702 = (r0); r0 = pxsim_Array__mk(); - s.ret___12785 = (r0); - s.i___12787 = (0); + s.ret___5704 = (r0); + s.i___5706 = (0); case 1: - s.tmp_1 = r0 = s.i___12787; + s.tmp_1 = r0 = s.i___5706; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_spritesI"]; @@ -28723,45 +28723,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__P3903_mk(s); + s.tmp_5 = tileworld_RuleView_getSetSpAttr__P4994_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.wd___12783; - s.tmp_5.arg2 = s.i___12787; + s.tmp_5.arg1 = s.wd___5702; + s.tmp_5.arg2 = s.i___5706; s.tmp_5.arg3 = 65535; s.callLocIdx = 146; s.pc = 8; return s.tmp_5; case 8: r0 = s.retval; - s.at___12794 = (r0); - r0 = (s.at___12794 == 1); + s.at___5713 = (r0); + r0 = (s.at___5713 == 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___12794 == 2); + r0 = (s.at___5713 == 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___12785, s.i___12787); + r0 = pxsim_Array__push(s.ret___5704, s.i___5706); case 4: case 5: - r0 = (s.i___12787 + 1); - s.i___12787 = (r0); + r0 = (s.i___5706 + 1); + s.i___5706 = (r0); { step = 1; continue; } case 6: - r0 = s.ret___12785; + r0 = s.ret___5704; return leave(s, r0) default: oops() } } } -tileworld_RuleView_getSpriteKinds__P3916.info = {"start":8504,"length":410,"line":244,"column":8,"endLine":254,"endColumn":9,"fileName":"ruleview.ts","functionName":"getSpriteKinds","argumentNames":["this"]} +tileworld_RuleView_getSpriteKinds__P5005.info = {"start":8504,"length":410,"line":244,"column":8,"endLine":254,"endColumn":9,"fileName":"ruleview.ts","functionName":"getSpriteKinds","argumentNames":["this"]} -function tileworld_RuleView_getSpriteKinds__P3916_mk(s) { +function tileworld_RuleView_getSpriteKinds__P5005_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getSpriteKinds__P3916, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getSpriteKinds__P5005, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28769,10 +28769,10 @@ function tileworld_RuleView_getSpriteKinds__P3916_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - wd___12783: undefined, - ret___12785: undefined, - i___12787: undefined, - at___12794: undefined, + wd___5702: undefined, + ret___5704: undefined, + i___5706: undefined, + at___5713: undefined, arg0: undefined, } } @@ -28780,7 +28780,7 @@ function tileworld_RuleView_getSpriteKinds__P3916_mk(s) { -function tileworld_ruleediting_RuleDisplay_getDir__P4399(s) { +function tileworld_ruleediting_RuleDisplay_getDir__P11267(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28795,22 +28795,22 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getDirFromRule__P3895_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getDirFromRule__P4987_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 696; s.pc = 1; return s.tmp_0; + s.callLocIdx = 699; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_getDir__P4399.info = {"start":1582,"length":77,"line":34,"column":8,"endLine":36,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"getDir","argumentNames":["this"]} +tileworld_ruleediting_RuleDisplay_getDir__P11267.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__P4399_mk(s) { +function tileworld_ruleediting_RuleDisplay_getDir__P11267_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_getDir__P4399, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_getDir__P11267, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28820,7 +28820,7 @@ function tileworld_ruleediting_RuleDisplay_getDir__P4399_mk(s) { -function tileworld_ruleediting_RuleDisplay_getType__P4400(s) { +function tileworld_ruleediting_RuleDisplay_getType__P11268(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28835,7 +28835,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_VT)) failedCast(r0); r0 = s.arg0.fields["rule"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["r"]; @@ -28843,12 +28843,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_getType__P4400.info = {"start":1669,"length":75,"line":38,"column":8,"endLine":40,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"getType","argumentNames":["this"]} +tileworld_ruleediting_RuleDisplay_getType__P11268.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__P4400_mk(s) { +function tileworld_ruleediting_RuleDisplay_getType__P11268_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_getType__P4400, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_getType__P11268, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28858,7 +28858,7 @@ function tileworld_ruleediting_RuleDisplay_getType__P4400_mk(s) { -function tileworld_ruleediting_RuleEditor_changeRule__P4492(s) { +function tileworld_ruleediting_RuleEditor_changeRule__P12677(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28874,31 +28874,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_saveRule__P3955_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_saveRule__P6120_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["rule"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 1018; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1021; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleEditor_resetRule__P4493_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleEditor_resetRule__P12678_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1019; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1022; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_changeRule__P4492.info = {"start":8300,"length":116,"line":170,"column":8,"endLine":173,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"changeRule","argumentNames":["this","rv"]} +tileworld_ruleediting_RuleEditor_changeRule__P12677.info = {"start":8300,"length":116,"line":170,"column":8,"endLine":173,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"changeRule","argumentNames":["this","rv"]} -function tileworld_ruleediting_RuleEditor_changeRule__P4492_mk(s) { +function tileworld_ruleediting_RuleEditor_changeRule__P12677_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_changeRule__P4492, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_changeRule__P12677, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28909,7 +28909,7 @@ function tileworld_ruleediting_RuleEditor_changeRule__P4492_mk(s) { -function tileworld_ruleediting_RuleEditor_dirExprUpdate__P4515(s) { +function tileworld_ruleediting_RuleEditor_dirExprUpdate__P12700(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28924,11 +28924,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); - s.tmp_2 = tileworld_RuleVisualsBase_row__P4340_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); + s.tmp_2 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1188; s.pc = 10; return s.tmp_2; + s.callLocIdx = 1191; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; s.tmp_1 = r0; @@ -28939,10 +28939,10 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1189; s.pc = 11; return s.tmp_4; + s.callLocIdx = 1192; s.pc = 11; return s.tmp_4; case 11: r0 = s.retval; s.tmp_3 = r0; @@ -28967,10 +28967,10 @@ switch (step) { r0 = s.tmp_6; { step = 6; continue; } case 5: - s.tmp_10 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_10 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_10.arg0 = s.arg0; s.tmp_10.arg1 = true; - s.callLocIdx = 1191; s.pc = 12; return s.tmp_10; + s.callLocIdx = 1194; s.pc = 12; return s.tmp_10; case 12: r0 = s.retval; s.tmp_9 = r0; @@ -28983,19 +28983,19 @@ switch (step) { { step = 9; continue; } case 7: case 8: - s.tmp_12 = tileworld_RuleView_setWitnessDirection__P3909_mk(s); + s.tmp_12 = tileworld_RuleView_setWitnessDirection__P4999_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__P4339_mk(s); + s.tmp_13 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_13.arg0 = s.arg0; s.tmp_13.arg1 = true; - s.callLocIdx = 1192; s.pc = 14; return s.tmp_13; + s.callLocIdx = 1195; s.pc = 14; return s.tmp_13; case 14: r0 = s.retval; s.tmp_12.arg2 = r0; - s.callLocIdx = 1193; s.pc = 13; return s.tmp_12; + s.callLocIdx = 1196; s.pc = 13; return s.tmp_12; case 13: r0 = s.retval; case 9: @@ -29003,12 +29003,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_dirExprUpdate__P4515.info = {"start":22424,"length":293,"line":511,"column":8,"endLine":517,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"dirExprUpdate","argumentNames":["this"]} +tileworld_ruleediting_RuleEditor_dirExprUpdate__P12700.info = {"start":22424,"length":293,"line":511,"column":8,"endLine":517,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"dirExprUpdate","argumentNames":["this"]} -function tileworld_ruleediting_RuleEditor_dirExprUpdate__P4515_mk(s) { +function tileworld_ruleediting_RuleEditor_dirExprUpdate__P12700_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_dirExprUpdate__P4515, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_dirExprUpdate__P12700, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29031,7 +29031,7 @@ function tileworld_ruleediting_RuleEditor_dirExprUpdate__P4515_mk(s) { -function tileworld_RuleView_setWitnessDirection__P3909(s) { +function tileworld_RuleView_setWitnessDirection__P4999(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29048,7 +29048,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; s.tmp_1 = r0; @@ -29059,12 +29059,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_setWitnessDirection__P3909.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__P4999.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__P3909_mk(s) { +function tileworld_RuleView_setWitnessDirection__P4999_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_setWitnessDirection__P3909, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_setWitnessDirection__P4999, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29077,7 +29077,7 @@ function tileworld_RuleView_setWitnessDirection__P3909_mk(s) { -function tileworld_ruleediting_RuleEditor_commandUpdate__P4507(s) { +function tileworld_ruleediting_RuleEditor_commandUpdate__P12692(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29087,65 +29087,65 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tok___12865 = undefined; - s.arg___12872 = undefined; - s.inst___12879 = undefined; - s.len___12898 = undefined; + s.tok___14297 = undefined; + s.arg___14304 = undefined; + s.inst___14311 = undefined; + s.len___14330 = 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__C4487_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); r0 = s.arg0.fields["ruleTypeMap"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1124; s.pc = 27; return s.tmp_2; + s.callLocIdx = 1127; s.pc = 27; return s.tmp_2; case 27: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1125; s.pc = 28; return s.tmp_4; + s.callLocIdx = 1128; 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___12865 = (r0); + s.tok___14297 = (r0); r0 = s.arg0.fields["dirMap"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1126; s.pc = 29; return s.tmp_2; + s.callLocIdx = 1129; s.pc = 29; return s.tmp_2; case 29: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1127; s.pc = 30; return s.tmp_4; + s.callLocIdx = 1130; 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___12872 = (r0); - s.tmp_0 = tileworld_RuleView_getCmdInst__P3911_mk(s); + s.arg___14304 = (r0); + s.tmp_0 = tileworld_RuleView_getCmdInst__P5000_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 = 1128; s.pc = 31; return s.tmp_0; + s.callLocIdx = 1131; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - s.inst___12879 = (r0); - r0 = (s.tok___12865 == 100); + s.inst___14311 = (r0); + r0 = (s.tok___14297 == 100); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } @@ -29163,36 +29163,36 @@ switch (step) { s.tmp_2.arg2 = undefined; s.tmp_2.arg3 = 15; s.tmp_2.arg4 = 1; - s.callLocIdx = 1129; s.pc = 32; return s.tmp_2; + s.callLocIdx = 1132; 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__P3915_mk(s); + s.tmp_0 = tileworld_RuleView_removeCommand__P5004_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 = 33; return s.tmp_0; + s.callLocIdx = 1133; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.len___12898 = (r0); - s.tmp_0 = tileworld_ruleediting_RuleEditor_mainMenu__P4489_mk(s); + s.len___14330 = (r0); + s.tmp_0 = tileworld_ruleediting_RuleEditor_mainMenu__P12674_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1131; s.pc = 34; return s.tmp_0; + s.callLocIdx = 1134; 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__P4340_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1132; s.pc = 35; return s.tmp_2; + s.callLocIdx = 1135; s.pc = 35; return s.tmp_2; case 35: r0 = s.retval; s.tmp_1 = r0; @@ -29203,7 +29203,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = (s.tok___12865 != 15); + r0 = (s.tok___14297 != 15); case 7: // jmp value (already in r0) s.tmp_3 = r0; @@ -29219,45 +29219,45 @@ switch (step) { s.tmp_5 = Sprite_say__P808_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_5.arg0 = r0; - r0 = pxsim_Array__getAt(globals.categoryText___4484, s.tok___12865); + r0 = pxsim_Array__getAt(globals.categoryText___13297, s.tok___14297); s.tmp_5.arg1 = r0; s.tmp_5.arg2 = undefined; s.tmp_5.arg3 = 15; s.tmp_5.arg4 = 1; - s.callLocIdx = 1133; s.pc = 36; return s.tmp_5; + s.callLocIdx = 1136; s.pc = 36; return s.tmp_5; case 36: r0 = s.retval; case 8: case 9: { step = 13; continue; } case 10: - r0 = (s.tok___12865 != s.inst___12879); + r0 = (s.tok___14297 != s.inst___14311); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = tileworld_ruleediting_RuleEditor_setCommand__P4508_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleEditor_setCommand__P12693_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.tok___12865; - s.tmp_2 = tileworld_ruleediting_RuleEditor_instToStartArg__P4503_mk(s); + s.tmp_1.arg1 = s.tok___14297; + s.tmp_2 = tileworld_ruleediting_RuleEditor_instToStartArg__P12688_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.tok___12865; - s.callLocIdx = 1134; s.pc = 38; return s.tmp_2; + s.tmp_2.arg1 = s.tok___14297; + s.callLocIdx = 1137; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; s.tmp_1.arg2 = r0; - s.callLocIdx = 1135; s.pc = 37; return s.tmp_1; + s.callLocIdx = 1138; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P4337_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P10846_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1136; s.pc = 39; return s.tmp_0; + s.callLocIdx = 1139; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P4338_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P10847_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; - s.callLocIdx = 1137; s.pc = 40; return s.tmp_0; + s.callLocIdx = 1140; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; s.tmp_0 = Sprite_say__P808_mk(s); @@ -29267,7 +29267,7 @@ switch (step) { s.tmp_0.arg2 = undefined; s.tmp_0.arg3 = 15; s.tmp_0.arg4 = 1; - s.callLocIdx = 1138; s.pc = 41; return s.tmp_0; + s.callLocIdx = 1141; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; case 11: @@ -29275,10 +29275,10 @@ switch (step) { case 13: { step = 25; continue; } case 14: - s.tmp_2 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1139; s.pc = 42; return s.tmp_2; + s.callLocIdx = 1142; s.pc = 42; return s.tmp_2; case 42: r0 = s.retval; s.tmp_1 = r0; @@ -29289,7 +29289,7 @@ switch (step) { r0 = s.tmp_0; { step = 16; continue; } case 15: - r0 = (s.arg___12872 != 15); + r0 = (s.arg___14304 != 15); case 16: // jmp value (already in r0) s.tmp_3 = r0; @@ -29300,32 +29300,32 @@ switch (step) { s.tmp_4 = Sprite_say__P808_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_4.arg0 = r0; - s.tmp_6 = tileworld_ruleediting_RuleEditor_instToArgText__P4504_mk(s); + s.tmp_6 = tileworld_ruleediting_RuleEditor_instToArgText__P12689_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.inst___12879; - s.callLocIdx = 1140; s.pc = 44; return s.tmp_6; + s.tmp_6.arg1 = s.inst___14311; + s.callLocIdx = 1143; 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___12872); + r0 = pxsim_Array__getAt(s.tmp_5, s.arg___14304); s.tmp_4.arg1 = r0; s.tmp_4.arg2 = undefined; s.tmp_4.arg3 = 15; s.tmp_4.arg4 = 1; - s.callLocIdx = 1141; s.pc = 43; return s.tmp_4; + s.callLocIdx = 1144; s.pc = 43; return s.tmp_4; case 43: r0 = s.retval; { step = 18; continue; } case 17: - s.tmp_0 = tileworld_RuleView_setCmdArg__P3914_mk(s); + s.tmp_0 = tileworld_RuleView_setCmdArg__P5003_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___12872; - s.callLocIdx = 1142; s.pc = 45; return s.tmp_0; + s.tmp_0.arg3 = s.arg___14304; + s.callLocIdx = 1145; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; case 18: @@ -29340,10 +29340,10 @@ switch (step) { r0 = s.tmp_0; { step = 21; continue; } case 20: - s.tmp_3 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = true; - s.callLocIdx = 1143; s.pc = 46; return s.tmp_3; + s.callLocIdx = 1146; s.pc = 46; return s.tmp_3; case 46: r0 = s.retval; s.tmp_2 = r0; @@ -29353,9 +29353,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__P4489_mk(s); + s.tmp_5 = tileworld_ruleediting_RuleEditor_mainMenu__P12674_mk(s); s.tmp_5.arg0 = s.arg0; - s.callLocIdx = 1144; s.pc = 47; return s.tmp_5; + s.callLocIdx = 1147; s.pc = 47; return s.tmp_5; case 47: r0 = s.retval; case 22: @@ -29367,12 +29367,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_commandUpdate__P4507.info = {"start":17197,"length":1445,"line":388,"column":8,"endLine":419,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"commandUpdate","argumentNames":["this","hover"]} +tileworld_ruleediting_RuleEditor_commandUpdate__P12692.info = {"start":17197,"length":1445,"line":388,"column":8,"endLine":419,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"commandUpdate","argumentNames":["this","hover"]} -function tileworld_ruleediting_RuleEditor_commandUpdate__P4507_mk(s) { +function tileworld_ruleediting_RuleEditor_commandUpdate__P12692_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_commandUpdate__P4507, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_commandUpdate__P12692, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29381,10 +29381,10 @@ function tileworld_ruleediting_RuleEditor_commandUpdate__P4507_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - tok___12865: undefined, - arg___12872: undefined, - inst___12879: undefined, - len___12898: undefined, + tok___14297: undefined, + arg___14304: undefined, + inst___14311: undefined, + len___14330: undefined, arg0: undefined, arg1: undefined, } } @@ -29393,7 +29393,7 @@ function tileworld_ruleediting_RuleEditor_commandUpdate__P4507_mk(s) { -function tileworld_RuleView_setCmdArg__P3914(s) { +function tileworld_RuleView_setCmdArg__P5003(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29403,7 +29403,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wd___12972 = undefined; + s.wd___5622 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -29412,13 +29412,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_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___12972 = (r0); - r0 = s.wd___12972.fields["commandsLen"]; + s.wd___5622 = (r0); + r0 = s.wd___5622.fields["commandsLen"]; s.tmp_1 = r0; r0 = (s.arg2 > s.tmp_1); s.tmp_0 = r0; @@ -29428,13 +29428,13 @@ switch (step) { { step = 5; continue; } case 1: case 2: - r0 = s.wd___12972.fields["commandsLen"]; + r0 = s.wd___5622.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___12972; + s.tmp_4 = r0 = s.wd___5622; r0 = s.tmp_4.fields["commandsLen"]; s.tmp_6 = r0; r0 = (s.tmp_6 + 1); @@ -29442,7 +29442,7 @@ switch (step) { r0 = (s.tmp_4).fields["commandsLen"] = (s.tmp_5); case 3: case 4: - r0 = s.wd___12972.fields["commands"]; + r0 = s.wd___5622.fields["commands"]; s.tmp_0 = r0; r0 = (s.arg2 << 1); s.tmp_2 = r0; @@ -29456,12 +29456,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_setCmdArg__P3914.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__P5003.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__P3914_mk(s) { +function tileworld_RuleView_setCmdArg__P5003_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_setCmdArg__P3914, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_setCmdArg__P5003, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29470,7 +29470,7 @@ function tileworld_RuleView_setCmdArg__P3914_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - wd___12972: undefined, + wd___5622: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -29481,7 +29481,7 @@ function tileworld_RuleView_setCmdArg__P3914_mk(s) { -function tileworld_ruleediting_RuleEditor_instToArgText__P4504(s) { +function tileworld_ruleediting_RuleEditor_instToArgText__P12689(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29497,7 +29497,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg1; r0 = pxsim_pxtcore.switch_eq(0, s.tmp_0); if (r0) { step = 1; continue; } @@ -29506,10 +29506,10 @@ switch (step) { r0 = s.tmp_0; { step = 3; continue; } case 1: - r0 = globals.moveText___4366; + r0 = globals.moveText___11235; { step = 4; continue; } case 2: - r0 = globals.gameText___4394; + r0 = globals.gameText___11261; { step = 4; continue; } case 3: r0 = pxsim_Array__mk(); @@ -29517,12 +29517,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_instToArgText__P4504.info = {"start":15609,"length":266,"line":346,"column":8,"endLine":353,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToArgText","argumentNames":["this","inst"]} +tileworld_ruleediting_RuleEditor_instToArgText__P12689.info = {"start":15609,"length":266,"line":346,"column":8,"endLine":353,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"instToArgText","argumentNames":["this","inst"]} -function tileworld_ruleediting_RuleEditor_instToArgText__P4504_mk(s) { +function tileworld_ruleediting_RuleEditor_instToArgText__P12689_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_instToArgText__P4504, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_instToArgText__P12689, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29533,7 +29533,7 @@ function tileworld_ruleediting_RuleEditor_instToArgText__P4504_mk(s) { -function tileworld_ruleediting_RuleEditor_setCommand__P4508(s) { +function tileworld_ruleediting_RuleEditor_setCommand__P12693(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29550,8 +29550,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_setCmdInst__P3913_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_setCmdInst__P5002_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["whenDo"]; @@ -29559,10 +29559,10 @@ switch (step) { r0 = s.arg0.fields["currentCommand"]; s.tmp_0.arg2 = r0; s.tmp_0.arg3 = s.arg1; - s.callLocIdx = 1145; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1148; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = tileworld_RuleView_setCmdArg__P3914_mk(s); + s.tmp_0 = tileworld_RuleView_setCmdArg__P5003_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["whenDo"]; @@ -29570,19 +29570,19 @@ switch (step) { r0 = s.arg0.fields["currentCommand"]; s.tmp_0.arg2 = r0; s.tmp_0.arg3 = s.arg2; - s.callLocIdx = 1146; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1149; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_setCommand__P4508.info = {"start":18652,"length":203,"line":421,"column":8,"endLine":424,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"setCommand","argumentNames":["this","inst","arg"]} +tileworld_ruleediting_RuleEditor_setCommand__P12693.info = {"start":18652,"length":203,"line":421,"column":8,"endLine":424,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"setCommand","argumentNames":["this","inst","arg"]} -function tileworld_ruleediting_RuleEditor_setCommand__P4508_mk(s) { +function tileworld_ruleediting_RuleEditor_setCommand__P12693_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_setCommand__P4508, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_setCommand__P12693, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29594,7 +29594,7 @@ function tileworld_ruleediting_RuleEditor_setCommand__P4508_mk(s) { -function tileworld_RuleView_setCmdInst__P3913(s) { +function tileworld_RuleView_setCmdInst__P5002(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29604,7 +29604,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wd___13035 = undefined; + s.wd___5592 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -29613,13 +29613,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_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___13035 = (r0); - r0 = s.wd___13035.fields["commandsLen"]; + s.wd___5592 = (r0); + r0 = s.wd___5592.fields["commandsLen"]; s.tmp_1 = r0; r0 = (s.arg2 > s.tmp_1); s.tmp_0 = r0; @@ -29629,13 +29629,13 @@ switch (step) { { step = 5; continue; } case 1: case 2: - r0 = s.wd___13035.fields["commandsLen"]; + r0 = s.wd___5592.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___13035; + s.tmp_4 = r0 = s.wd___5592; r0 = s.tmp_4.fields["commandsLen"]; s.tmp_6 = r0; r0 = (s.tmp_6 + 1); @@ -29643,7 +29643,7 @@ switch (step) { r0 = (s.tmp_4).fields["commandsLen"] = (s.tmp_5); case 3: case 4: - r0 = s.wd___13035.fields["commands"]; + r0 = s.wd___5592.fields["commands"]; s.tmp_0 = r0; r0 = (s.arg2 << 1); s.tmp_1 = r0; @@ -29655,12 +29655,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_setCmdInst__P3913.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__P5002.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__P3913_mk(s) { +function tileworld_RuleView_setCmdInst__P5002_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_setCmdInst__P3913, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_setCmdInst__P5002, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29669,7 +29669,7 @@ function tileworld_RuleView_setCmdInst__P3913_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - wd___13035: undefined, + wd___5592: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -29680,7 +29680,7 @@ function tileworld_RuleView_setCmdInst__P3913_mk(s) { -function tileworld_RuleView_removeCommand__P3915(s) { +function tileworld_RuleView_removeCommand__P5004(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29690,8 +29690,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wd___13064 = undefined; - s.i___13079 = undefined; + s.wd___5654 = undefined; + s.i___5669 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -29699,13 +29699,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_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___13064 = (r0); - r0 = s.wd___13064.fields["commandsLen"]; + s.wd___5654 = (r0); + r0 = s.wd___5654.fields["commandsLen"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; @@ -29714,7 +29714,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.wd___13064.fields["commandsLen"]; + r0 = s.wd___5654.fields["commandsLen"]; s.tmp_2 = r0; r0 = (s.arg2 >= s.tmp_2); case 2: @@ -29722,14 +29722,14 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - r0 = s.wd___13064.fields["commandsLen"]; + r0 = s.wd___5654.fields["commandsLen"]; { step = 7; continue; } case 3: case 4: r0 = (s.arg2 << 1); - s.i___13079 = (r0); + s.i___5669 = (r0); case 5: - s.tmp_1 = r0 = s.i___13079; + s.tmp_1 = r0 = s.i___5669; r0 = (3 << 1); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -29738,37 +29738,37 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - r0 = s.wd___13064.fields["commands"]; + r0 = s.wd___5654.fields["commands"]; s.tmp_4 = r0; - s.tmp_5 = r0 = s.i___13079; - r0 = s.wd___13064.fields["commands"]; + s.tmp_5 = r0 = s.i___5669; + r0 = s.wd___5654.fields["commands"]; s.tmp_7 = r0; - r0 = (s.i___13079 + 2); + r0 = (s.i___5669 + 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___13079 + 1); - s.i___13079 = (r0); + r0 = (s.i___5669 + 1); + s.i___5669 = (r0); { step = 5; continue; } case 6: - s.tmp_0 = r0 = s.wd___13064; + s.tmp_0 = r0 = s.wd___5654; 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___13064.fields["commandsLen"]; + r0 = s.wd___5654.fields["commandsLen"]; case 7: return leave(s, r0) default: oops() } } } -tileworld_RuleView_removeCommand__P3915.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__P5004.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__P3915_mk(s) { +function tileworld_RuleView_removeCommand__P5004_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_removeCommand__P3915, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_removeCommand__P5004, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29779,8 +29779,8 @@ function tileworld_RuleView_removeCommand__P3915_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - wd___13064: undefined, - i___13079: undefined, + wd___5654: undefined, + i___5669: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -29790,7 +29790,7 @@ function tileworld_RuleView_removeCommand__P3915_mk(s) { -function tileworld_ruleediting_RuleEditor_attrUpdate__P4512(s) { +function tileworld_ruleediting_RuleEditor_attrUpdate__P12697(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29800,17 +29800,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.collision22___13112 = undefined; - s.a___13135 = undefined; - s.i___13144 = undefined; - s.m___13172 = undefined; - s.val___13200 = undefined; + s.collision22___14548 = undefined; + s.a___14571 = undefined; + s.i___14580 = undefined; + s.m___14608 = undefined; + s.val___14636 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); r0 = s.arg0.fields["rule"]; s.tmp_2 = r0; r0 = s.tmp_2.fields["r"]; @@ -29856,11 +29856,11 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_12 = r0; - s.collision22___13112 = (s.tmp_12); - s.tmp_2 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.collision22___14548 = (s.tmp_12); + s.tmp_2 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1166; s.pc = 32; return s.tmp_2; + s.callLocIdx = 1169; s.pc = 32; return s.tmp_2; case 32: r0 = s.retval; s.tmp_1 = r0; @@ -29868,10 +29868,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__P4339_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = true; - s.callLocIdx = 1167; s.pc = 33; return s.tmp_3; + s.callLocIdx = 1170; s.pc = 33; return s.tmp_3; case 33: r0 = s.retval; { step = 6; continue; } @@ -29880,18 +29880,18 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_4 = r0; - s.a___13135 = (s.tmp_4); - r0 = (s.a___13135 == 9); + s.a___14571 = (s.tmp_4); + r0 = (s.a___14571 == 9); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.i___13144 = (0); + s.i___14580 = (0); case 7: - s.tmp_1 = r0 = s.i___13144; - s.tmp_3 = tileworld_Project_allCnt__P3948_mk(s); + s.tmp_1 = r0 = s.i___14580; + s.tmp_3 = tileworld_Project_allCnt__P6119_mk(s); r0 = s.arg0.fields["p"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 1168; s.pc = 34; return s.tmp_3; + s.callLocIdx = 1171; s.pc = 34; return s.tmp_3; case 34: r0 = s.retval; s.tmp_2 = r0; @@ -29899,29 +29899,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__P4513_mk(s); + s.tmp_4 = tileworld_ruleediting_RuleEditor_setAttr__P12698_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.i___13144; + s.tmp_4.arg1 = s.i___14580; s.tmp_4.arg2 = 0; s.tmp_4.arg3 = false; - s.callLocIdx = 1169; s.pc = 35; return s.tmp_4; + s.callLocIdx = 1172; s.pc = 35; return s.tmp_4; case 35: r0 = s.retval; - r0 = (s.i___13144 + 1); - s.i___13144 = (r0); + r0 = (s.i___14580 + 1); + s.i___14580 = (r0); { step = 7; continue; } case 8: { step = 31; continue; } case 9: case 10: - r0 = (s.a___13135 != -1); + r0 = (s.a___14571 != -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___13135 < 3); + r0 = (s.a___14571 < 3); case 12: // jmp value (already in r0) s.tmp_1 = r0; @@ -29941,19 +29941,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__P4511_mk(s); + s.tmp_5 = tileworld_ruleediting_RuleEditor_selectAttr__P12696_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.a___13135; - s.callLocIdx = 1171; s.pc = 36; return s.tmp_5; + s.tmp_5.arg1 = s.a___14571; + s.callLocIdx = 1174; 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__P4340_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1172; s.pc = 37; return s.tmp_2; + s.callLocIdx = 1175; s.pc = 37; return s.tmp_2; case 37: r0 = s.retval; s.tmp_1 = r0; @@ -29961,10 +29961,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__P4339_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = true; - s.callLocIdx = 1173; s.pc = 38; return s.tmp_3; + s.callLocIdx = 1176; s.pc = 38; return s.tmp_3; case 38: r0 = s.retval; { step = 18; continue; } @@ -29973,15 +29973,15 @@ switch (step) { case 18: // jmp value (already in r0) s.tmp_4 = r0; - s.m___13172 = (s.tmp_4); - r0 = (s.m___13172 != -1); + s.m___14608 = (s.tmp_4); + r0 = (s.m___14608 != -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___13112); + r0 = pxsim_numops_toBoolDecr(s.collision22___14548); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -29990,11 +29990,11 @@ switch (step) { r0 = s.tmp_1; { step = 21; continue; } case 20: - s.tmp_3 = r0 = s.m___13172; - s.tmp_5 = tileworld_Project_allCnt__P3948_mk(s); + s.tmp_3 = r0 = s.m___14608; + s.tmp_5 = tileworld_Project_allCnt__P6119_mk(s); r0 = s.arg0.fields["p"]; s.tmp_5.arg0 = r0; - s.callLocIdx = 1174; s.pc = 39; return s.tmp_5; + s.callLocIdx = 1177; s.pc = 39; return s.tmp_5; case 39: r0 = s.retval; s.tmp_4 = r0; @@ -30007,13 +30007,13 @@ switch (step) { r0 = s.tmp_6; { step = 25; continue; } case 22: - s.tmp_7 = r0 = s.collision22___13112; + s.tmp_7 = r0 = s.collision22___14548; 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___13172; + s.tmp_8 = r0 = s.m___14608; r0 = s.arg0.fields["p"]; s.tmp_10 = r0; r0 = s.tmp_10.fields["_backgroundsI"]; @@ -30036,18 +30036,18 @@ switch (step) { if (!r0) { step = 29; continue; } r0 = s.arg0.fields["attrSelected"]; s.tmp_15 = r0; - r0 = pxsim_Array__getAt(globals.attrValues___4382, s.tmp_15); - s.val___13200 = (r0); - r0 = pxsim_numops_toBoolDecr(s.collision22___13112); + r0 = pxsim_Array__getAt(globals.attrValues___11248, s.tmp_15); + s.val___14636 = (r0); + r0 = pxsim_numops_toBoolDecr(s.collision22___14548); 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___13172; + r0 = s.m___14608; { step = 28; continue; } case 27: - s.tmp_2 = r0 = s.m___13172; + s.tmp_2 = r0 = s.m___14608; r0 = s.arg0.fields["p"]; s.tmp_4 = r0; r0 = s.tmp_4.fields["_backgroundsI"]; @@ -30058,12 +30058,12 @@ switch (step) { case 28: // jmp value (already in r0) s.tmp_6 = r0; - s.tmp_7 = tileworld_ruleediting_RuleEditor_setAttr__P4513_mk(s); + s.tmp_7 = tileworld_ruleediting_RuleEditor_setAttr__P12698_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = s.tmp_6; - s.tmp_7.arg2 = s.val___13200; + s.tmp_7.arg2 = s.val___14636; s.tmp_7.arg3 = true; - s.callLocIdx = 1177; s.pc = 40; return s.tmp_7; + s.callLocIdx = 1180; s.pc = 40; return s.tmp_7; case 40: r0 = s.retval; case 29: @@ -30073,12 +30073,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_attrUpdate__P4512.info = {"start":20685,"length":967,"line":471,"column":8,"endLine":491,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"attrUpdate","argumentNames":["this"]} +tileworld_ruleediting_RuleEditor_attrUpdate__P12697.info = {"start":20685,"length":967,"line":471,"column":8,"endLine":491,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"attrUpdate","argumentNames":["this"]} -function tileworld_ruleediting_RuleEditor_attrUpdate__P4512_mk(s) { +function tileworld_ruleediting_RuleEditor_attrUpdate__P12697_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_attrUpdate__P4512, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_attrUpdate__P12697, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30096,11 +30096,11 @@ function tileworld_ruleediting_RuleEditor_attrUpdate__P4512_mk(s) { tmp_13: undefined, tmp_14: undefined, tmp_15: undefined, - collision22___13112: undefined, - a___13135: undefined, - i___13144: undefined, - m___13172: undefined, - val___13200: undefined, + collision22___14548: undefined, + a___14571: undefined, + i___14580: undefined, + m___14608: undefined, + val___14636: undefined, arg0: undefined, } } @@ -30108,7 +30108,7 @@ function tileworld_ruleediting_RuleEditor_attrUpdate__P4512_mk(s) { -function tileworld_ruleediting_RuleEditor_setAttr__P4513(s) { +function tileworld_ruleediting_RuleEditor_setAttr__P12698(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30118,7 +30118,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.whenDo___13219 = undefined; + s.whenDo___14655 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30127,45 +30127,45 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getWhenDo__P3897_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getWhenDo__P4608_mk(s); r0 = s.arg0.fields["rule"]; s.tmp_0.arg0 = r0; - s.tmp_1 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = false; - s.callLocIdx = 1178; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1181; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_3 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = false; - s.callLocIdx = 1179; s.pc = 7; return s.tmp_3; + s.callLocIdx = 1182; 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 = 1180; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1183; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.whenDo___13219 = (r0); + s.whenDo___14655 = (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__P3935_mk(s); + s.tmp_2 = tileworld_AllExport_getSetAttr__P6029_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___13219; + s.tmp_2.arg2 = s.whenDo___14655; s.tmp_2.arg3 = s.arg1; s.tmp_2.arg4 = 65535; - s.callLocIdx = 1181; s.pc = 8; return s.tmp_2; + s.callLocIdx = 1184; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; s.tmp_1 = r0; @@ -30178,33 +30178,33 @@ switch (step) { s.arg2 = (0); case 3: case 4: - s.tmp_0 = tileworld_AllExport_getSetAttr__P3935_mk(s); + s.tmp_0 = tileworld_AllExport_getSetAttr__P6029_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___13219; + s.tmp_0.arg2 = s.whenDo___14655; s.tmp_0.arg3 = s.arg1; s.tmp_0.arg4 = s.arg2; - s.callLocIdx = 1182; s.pc = 9; return s.tmp_0; + s.callLocIdx = 1185; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_setAttr__P4513.info = {"start":21662,"length":336,"line":493,"column":8,"endLine":498,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"setAttr","argumentNames":["this","m","val","toggle"]} +tileworld_ruleediting_RuleEditor_setAttr__P12698.info = {"start":21662,"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__P4513_mk(s) { +function tileworld_ruleediting_RuleEditor_setAttr__P12698_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_setAttr__P4513, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_setAttr__P12698, depth: s.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___13219: undefined, + whenDo___14655: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -30215,7 +30215,7 @@ function tileworld_ruleediting_RuleEditor_setAttr__P4513_mk(s) { -function tileworld_RuleView_getWhenDoRow__P3900(s) { +function tileworld_RuleView_getWhenDoRow__P4991(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30231,7 +30231,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; s.tmp_0 = r0; @@ -30240,12 +30240,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_getWhenDoRow__P3900.info = {"start":3939,"length":93,"line":118,"column":8,"endLine":120,"endColumn":9,"fileName":"ruleview.ts","functionName":"getWhenDoRow","argumentNames":["this","whendo"]} +tileworld_RuleView_getWhenDoRow__P4991.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__P3900_mk(s) { +function tileworld_RuleView_getWhenDoRow__P4991_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getWhenDoRow__P3900, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getWhenDoRow__P4991, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30256,7 +30256,7 @@ function tileworld_RuleView_getWhenDoRow__P3900_mk(s) { -function tileworld_RuleView_getWhenDoCol__P3899(s) { +function tileworld_RuleView_getWhenDoCol__P4990(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30272,7 +30272,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; s.tmp_0 = r0; @@ -30281,12 +30281,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_getWhenDoCol__P3899.info = {"start":3836,"length":93,"line":114,"column":8,"endLine":116,"endColumn":9,"fileName":"ruleview.ts","functionName":"getWhenDoCol","argumentNames":["this","whendo"]} +tileworld_RuleView_getWhenDoCol__P4990.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__P3899_mk(s) { +function tileworld_RuleView_getWhenDoCol__P4990_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getWhenDoCol__P3899, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getWhenDoCol__P4990, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30297,7 +30297,7 @@ function tileworld_RuleView_getWhenDoCol__P3899_mk(s) { -function tileworld_ruleediting_RuleDisplay_active__P4410(s) { +function tileworld_ruleediting_RuleDisplay_active__P11278(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30314,7 +30314,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_VT)) failedCast(r0); r0 = s.arg0.fields["collideCol"]; s.tmp_1 = r0; r0 = (s.tmp_1 != -1); @@ -30365,12 +30365,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_active__P4410.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__P11278.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__P4410_mk(s) { +function tileworld_ruleediting_RuleDisplay_active__P11278_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_active__P4410, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_active__P11278, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30390,7 +30390,7 @@ function tileworld_ruleediting_RuleDisplay_active__P4410_mk(s) { -function tileworld_ruleediting_RuleEditor_inWhenPredicate__P4497(s) { +function tileworld_ruleediting_RuleEditor_inWhenPredicate__P12682(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30405,11 +30405,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1052; s.pc = 7; return s.tmp_2; + s.callLocIdx = 1055; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; s.tmp_1 = r0; @@ -30420,10 +30420,10 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1053; s.pc = 8; return s.tmp_4; + s.callLocIdx = 1056; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; s.tmp_3 = r0; @@ -30436,10 +30436,10 @@ switch (step) { r0 = s.tmp_5; { step = 4; continue; } case 3: - s.tmp_8 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_8 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_8.arg0 = s.arg0; s.tmp_8.arg1 = true; - s.callLocIdx = 1054; s.pc = 9; return s.tmp_8; + s.callLocIdx = 1057; s.pc = 9; return s.tmp_8; case 9: r0 = s.retval; s.tmp_7 = r0; @@ -30454,10 +30454,10 @@ switch (step) { r0 = s.tmp_9; { step = 6; continue; } case 5: - s.tmp_12 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_12 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_12.arg0 = s.arg0; s.tmp_12.arg1 = true; - s.callLocIdx = 1055; s.pc = 10; return s.tmp_12; + s.callLocIdx = 1058; s.pc = 10; return s.tmp_12; case 10: r0 = s.retval; s.tmp_11 = r0; @@ -30471,12 +30471,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_inWhenPredicate__P4497.info = {"start":10220,"length":176,"line":218,"column":8,"endLine":221,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"inWhenPredicate","argumentNames":["this"]} +tileworld_ruleediting_RuleEditor_inWhenPredicate__P12682.info = {"start":10220,"length":176,"line":218,"column":8,"endLine":221,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"inWhenPredicate","argumentNames":["this"]} -function tileworld_ruleediting_RuleEditor_inWhenPredicate__P4497_mk(s) { +function tileworld_ruleediting_RuleEditor_inWhenPredicate__P12682_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_inWhenPredicate__P4497, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_inWhenPredicate__P12682, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30499,7 +30499,7 @@ function tileworld_ruleediting_RuleEditor_inWhenPredicate__P4497_mk(s) { -function tileworld_ruleediting_RuleEditor_resetRule__P4493(s) { +function tileworld_ruleediting_RuleEditor_resetRule__P12678(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30515,18 +30515,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); r0 = (s.arg0).fields["rule"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_resetRule__P4493.info = {"start":8426,"length":78,"line":175,"column":8,"endLine":177,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"resetRule","argumentNames":["this","rv"]} +tileworld_ruleediting_RuleEditor_resetRule__P12678.info = {"start":8426,"length":78,"line":175,"column":8,"endLine":177,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"resetRule","argumentNames":["this","rv"]} -function tileworld_ruleediting_RuleEditor_resetRule__P4493_mk(s) { +function tileworld_ruleediting_RuleEditor_resetRule__P12678_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_resetRule__P4493, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_resetRule__P12678, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -30536,7 +30536,7 @@ function tileworld_ruleediting_RuleEditor_resetRule__P4493_mk(s) { -function tileworld_RuleView_getRuleId__P3890(s) { +function tileworld_RuleView_getRuleId__P4982(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30551,17 +30551,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleView__C3884_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); r0 = s.arg0.fields["rid"]; return leave(s, r0) default: oops() } } } -tileworld_RuleView_getRuleId__P3890.info = {"start":1714,"length":59,"line":53,"column":8,"endLine":55,"endColumn":9,"fileName":"ruleview.ts","functionName":"getRuleId","argumentNames":["this"]} +tileworld_RuleView_getRuleId__P4982.info = {"start":1714,"length":59,"line":53,"column":8,"endLine":55,"endColumn":9,"fileName":"ruleview.ts","functionName":"getRuleId","argumentNames":["this"]} -function tileworld_RuleView_getRuleId__P3890_mk(s) { +function tileworld_RuleView_getRuleId__P4982_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_getRuleId__P3890, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_getRuleId__P4982, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30570,7 +30570,7 @@ function tileworld_RuleView_getRuleId__P3890_mk(s) { -function tileworld_Project_removeRule__P3957(s) { +function tileworld_Project_removeRule__P6122(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30580,15 +30580,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___13324 = undefined; + s.r___6297 = 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__C3937_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P13329); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P6301); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); s.tmp_1 = helpers_arrayFind__P62_mk(s); @@ -30598,12 +30598,12 @@ switch (step) { s.callLocIdx = 185; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.r___13324 = (r0); - r0 = pxsim_numops_toBoolDecr(s.r___13324); + s.r___6297 = (r0); + r0 = pxsim_numops_toBoolDecr(s.r___6297); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["rules"]; s.tmp_0 = r0; - r0 = pxsim_Array_.removeElement(s.tmp_0, s.r___13324); + r0 = pxsim_Array_.removeElement(s.tmp_0, s.r___6297); s.tmp_0 = settings_remove__P620_mk(s); r0 = s.arg0.fields["prefix"]; s.tmp_4 = r0; @@ -30616,12 +30616,12 @@ switch (step) { case 5: r0 = s.retval; s.tmp_3 = r0; - if ((globals.RuleKey___3981) && (globals.RuleKey___3981).vtable) { + if ((globals.RuleKey___6323) && (globals.RuleKey___6323).vtable) { setupResume(s, 6); - pxsim_String__stringConv(globals.RuleKey___3981); + pxsim_String__stringConv(globals.RuleKey___6323); checkResumeConsumed(); return; - } else { s.retval = (globals.RuleKey___3981) + ""; } + } else { s.retval = (globals.RuleKey___6323) + ""; } case 6: r0 = s.retval; s.tmp_5 = r0; @@ -30658,12 +30658,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_removeRule__P3957.info = {"start":4811,"length":259,"line":138,"column":8,"endLine":144,"endColumn":9,"fileName":"project.ts","functionName":"removeRule","argumentNames":["this","rid"]} +tileworld_Project_removeRule__P6122.info = {"start":4811,"length":259,"line":138,"column":8,"endLine":144,"endColumn":9,"fileName":"project.ts","functionName":"removeRule","argumentNames":["this","rid"]} -function tileworld_Project_removeRule__P3957_mk(s) { +function tileworld_Project_removeRule__P6122_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_removeRule__P3957, depth: s.depth + 1, + parent: s, fn: tileworld_Project_removeRule__P6122, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30673,7 +30673,7 @@ function tileworld_Project_removeRule__P3957_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - r___13324: undefined, + r___6297: undefined, arg0: undefined, arg1: undefined, } } @@ -30682,7 +30682,7 @@ function tileworld_Project_removeRule__P3957_mk(s) { -function inline__P13329(s) { +function inline__P6301(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30702,12 +30702,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P13329.info = {"start":4880,"length":25,"line":139,"column":36,"endLine":139,"endColumn":61,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} +inline__P6301.info = {"start":4880,"length":25,"line":139,"column":36,"endLine":139,"endColumn":61,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} -function inline__P13329_mk(s) { +function inline__P6301_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P13329, depth: s.depth + 1, + parent: s, fn: inline__P6301, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30717,7 +30717,7 @@ function inline__P13329_mk(s) { -function tileworld_ruleediting_RuleEditor_currentRules__P4495(s) { +function tileworld_ruleediting_RuleEditor_currentRules__P12680(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30732,24 +30732,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_getRulesForSpriteKind__P3965_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_getRulesForSpriteKind__P6130_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["kind"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 1022; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1025; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_currentRules__P4495.info = {"start":8625,"length":163,"line":184,"column":8,"endLine":187,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"currentRules","argumentNames":["this"]} +tileworld_ruleediting_RuleEditor_currentRules__P12680.info = {"start":8625,"length":163,"line":184,"column":8,"endLine":187,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"currentRules","argumentNames":["this"]} -function tileworld_ruleediting_RuleEditor_currentRules__P4495_mk(s) { +function tileworld_ruleediting_RuleEditor_currentRules__P12680_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_currentRules__P4495, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_currentRules__P12680, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30769,24 +30769,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.textToDisplay___13382 = undefined; - s.SAYKEY___13390 = undefined; - s.key___13392 = undefined; - s.pixelsOffset___13414 = undefined; - s.holdTextSeconds___13415 = undefined; - s.bubblePadding___13416 = undefined; - s.maxTextWidth___13417 = undefined; - s.font___13418 = undefined; - s.startX___13421 = undefined; - s.startY___13422 = undefined; - s.bubbleWidth___13423 = undefined; - s.maxOffset___13431 = undefined; - s.bubbleOffset___13439 = undefined; - s.needsRedraw___13446 = undefined; - s.speed___13447 = undefined; - s.currentScene___13448 = undefined; - s.imgh___13495 = undefined; - s.sayImg___13517 = undefined; + s.textToDisplay___19620 = undefined; + s.SAYKEY___19629 = undefined; + s.key___19631 = undefined; + s.pixelsOffset___19653 = undefined; + s.holdTextSeconds___19654 = undefined; + s.bubblePadding___19655 = undefined; + s.maxTextWidth___19656 = undefined; + s.font___19657 = undefined; + s.startX___19660 = undefined; + s.startY___19661 = undefined; + s.bubbleWidth___19662 = undefined; + s.maxOffset___19670 = undefined; + s.bubbleOffset___19678 = undefined; + s.needsRedraw___19683 = undefined; + s.speed___19684 = undefined; + s.currentScene___19685 = undefined; + s.imgh___19732 = undefined; + s.sayImg___19754 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30845,11 +30845,11 @@ switch (step) { s.callLocIdx = 300; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.textToDisplay___13382 = (r0); - s.SAYKEY___13390 = ("__saykey"); + s.textToDisplay___19620 = (r0); + s.SAYKEY___19629 = ("__saykey"); r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "text", s.textToDisplay___13382); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "text", s.textToDisplay___19620); 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__P277_mk(s); @@ -30859,7 +30859,7 @@ switch (step) { s.callLocIdx = 301; s.pc = 32; return s.tmp_1; case 32: r0 = s.retval; - s.key___13392 = (r0); + s.key___19631 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.arg2); s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); @@ -30885,9 +30885,9 @@ switch (step) { case 33: r0 = s.retval; s.tmp_4 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.tmp_4, s.SAYKEY___13390); + r0 = pxsim_pxtrt.mapGetGeneric(s.tmp_4, s.SAYKEY___19629); s.tmp_3 = r0; - r0 = (s.tmp_3 == s.key___13392); + r0 = (s.tmp_3 == s.key___19631); case 8: // jmp value (already in r0) s.tmp_6 = r0; @@ -30897,28 +30897,28 @@ switch (step) { case 9: case 10: r0 = pxsim_pxtrt.mklocRef(); - s.pixelsOffset___13414 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.pixelsOffset___13414, 0); + s.pixelsOffset___19653 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.pixelsOffset___19653, 0); r0 = pxsim_pxtrt.mklocRef(); - s.holdTextSeconds___13415 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.holdTextSeconds___13415, 1.5); - s.bubblePadding___13416 = (4); - s.maxTextWidth___13417 = (100); + s.holdTextSeconds___19654 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.holdTextSeconds___19654, 1.5); + s.bubblePadding___19655 = (4); + s.maxTextWidth___19656 = (100); s.tmp_0 = image_getFontForText__P533_mk(s); - s.tmp_0.arg0 = s.textToDisplay___13382; + s.tmp_0.arg0 = s.textToDisplay___19620; s.callLocIdx = 303; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - s.font___13418 = (r0); - s.startX___13421 = (2); - s.startY___13422 = (2); + s.font___19657 = (r0); + s.startX___19660 = (2); + s.startY___19661 = (2); r0 = pxsim_pxtrt.mklocRef(); - s.bubbleWidth___13423 = (r0); - s.tmp_0 = r0 = s.bubbleWidth___13423; - r0 = pxsim_String_.length(s.textToDisplay___13382); + s.bubbleWidth___19662 = (r0); + s.tmp_0 = r0 = s.bubbleWidth___19662; + r0 = pxsim_String_.length(s.textToDisplay___19620); s.tmp_3 = r0; s.tmp_5 = if_charWidth_1_mk(s); - s.tmp_5.arg0 = s.font___13418; + s.tmp_5.arg0 = s.font___19657; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charWidth"); } else { @@ -30932,16 +30932,16 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.bubblePadding___13416); + r0 = (s.tmp_2 + s.bubblePadding___19655); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.maxOffset___13431 = (r0); - s.tmp_0 = r0 = s.maxOffset___13431; - r0 = pxsim_String_.length(s.textToDisplay___13382); + s.maxOffset___19670 = (r0); + s.tmp_0 = r0 = s.maxOffset___19670; + r0 = pxsim_String_.length(s.textToDisplay___19620); s.tmp_3 = r0; s.tmp_5 = if_charWidth_1_mk(s); - s.tmp_5.arg0 = s.font___13418; + s.tmp_5.arg0 = s.font___19657; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charWidth"); } else { @@ -30955,7 +30955,7 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.maxTextWidth___13417); + r0 = (s.tmp_2 - s.maxTextWidth___19656); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = s.arg0.fields["_hitbox"]; @@ -30964,18 +30964,18 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.bubbleOffset___13439 = (r0); + s.bubbleOffset___19678 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.needsRedraw___13446 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.needsRedraw___13446, true); + s.needsRedraw___19683 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.needsRedraw___19683, true); r0 = pxsim_pxtrt.mklocRef(); - s.speed___13447 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.speed___13447, 45); + s.speed___19684 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.speed___19684, 45); s.tmp_0 = game_currentScene__P961_mk(s); s.callLocIdx = 307; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.currentScene___13448 = (r0); + s.currentScene___19685 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -30983,7 +30983,7 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 11: - r0 = pxsim_pxtrt_ldlocRef(s.maxOffset___13431); + r0 = pxsim_pxtrt_ldlocRef(s.maxOffset___19670); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); case 12: @@ -30991,10 +30991,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___13447; - r0 = pxsim_pxtrt_ldlocRef(s.maxOffset___13431); + s.tmp_3 = r0 = s.speed___19684; + r0 = pxsim_pxtrt_ldlocRef(s.maxOffset___19670); s.tmp_6 = r0; - r0 = (2 * s.maxTextWidth___13417); + r0 = (2 * s.maxTextWidth___19656); s.tmp_7 = r0; r0 = (s.tmp_6 + s.tmp_7); s.tmp_5 = r0; @@ -31005,9 +31005,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___13447; + s.tmp_0 = r0 = s.speed___19684; s.tmp_2 = Math_max__P78_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.speed___13447); + r0 = pxsim_pxtrt_ldlocRef(s.speed___19684); s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 45; s.callLocIdx = 308; s.pc = 38; return s.tmp_2; @@ -31015,16 +31015,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___13415; - s.tmp_2 = r0 = s.maxTextWidth___13417; - r0 = pxsim_pxtrt_ldlocRef(s.speed___13447); + s.tmp_0 = r0 = s.holdTextSeconds___19654; + s.tmp_2 = r0 = s.maxTextWidth___19656; + r0 = pxsim_pxtrt_ldlocRef(s.speed___19684); 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___13415; + s.tmp_0 = r0 = s.holdTextSeconds___19654; s.tmp_2 = Math_min__P79_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.holdTextSeconds___13415); + r0 = pxsim_pxtrt_ldlocRef(s.holdTextSeconds___19654); s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 1.5; s.callLocIdx = 309; s.pc = 39; return s.tmp_2; @@ -31041,31 +31041,31 @@ switch (step) { s.tmp_1 = r0 = s.arg2; r0 = pxsim_pxtrt_ldlocRef(s.arg2); s.tmp_3 = r0; - r0 = s.currentScene___13448.fields["_millis"]; + r0 = s.currentScene___19685.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___13423); + r0 = pxsim_pxtrt_ldlocRef(s.bubbleWidth___19662); s.tmp_1 = r0; - r0 = (s.maxTextWidth___13417 + s.bubblePadding___13416); + r0 = (s.maxTextWidth___19656 + s.bubblePadding___19655); 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___13423; - r0 = (s.maxTextWidth___13417 + s.bubblePadding___13416); + s.tmp_3 = r0 = s.bubbleWidth___19662; + r0 = (s.maxTextWidth___19656 + s.bubblePadding___19655); 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___13431, -1); + r0 = pxsim_pxtrt_stlocRef(s.maxOffset___19670, -1); case 18: s.tmp_1 = if_charHeight_1_mk(s); - s.tmp_1.arg0 = s.font___13418; + s.tmp_1.arg0 = s.font___19657; if (!s.tmp_1.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "charHeight"); } else { @@ -31077,8 +31077,8 @@ switch (step) { case 40: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 + s.bubblePadding___13416); - s.imgh___13495 = (r0); + r0 = (s.tmp_0 + s.bubblePadding___19655); + s.imgh___19732 = (r0); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -31096,7 +31096,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.bubbleWidth___13423); + r0 = pxsim_pxtrt_ldlocRef(s.bubbleWidth___19662); s.tmp_6 = r0; r0 = (s.tmp_3 != s.tmp_6); case 20: @@ -31113,16 +31113,16 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_ImageMethods.height(s.tmp_9); s.tmp_8 = r0; - r0 = (s.tmp_8 != s.imgh___13495); + r0 = (s.tmp_8 != s.imgh___19732); 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___13423); + r0 = pxsim_pxtrt_ldlocRef(s.bubbleWidth___19662); s.tmp_12 = r0; - r0 = pxsim.image.create(s.tmp_12, s.imgh___13495); - s.sayImg___13517 = (r0); + r0 = pxsim.image.create(s.tmp_12, s.imgh___19732); + s.sayImg___19754 = (r0); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -31130,7 +31130,7 @@ switch (step) { s.tmp_1 = Sprite_setImage__P790_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.sayImg___13517; + s.tmp_1.arg1 = s.sayImg___19754; s.callLocIdx = 314; s.pc = 41; return s.tmp_1; case 41: r0 = s.retval; @@ -31138,7 +31138,7 @@ switch (step) { case 23: s.tmp_0 = r0 = s.arg0; s.tmp_2 = sprites_create__P763_mk(s); - s.tmp_2.arg0 = s.sayImg___13517; + s.tmp_2.arg0 = s.sayImg___19754; s.tmp_2.arg1 = -1; s.callLocIdx = 315; s.pc = 42; return s.tmp_2; case 42: @@ -31182,32 +31182,32 @@ switch (step) { case 45: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetGeneric(s.tmp_0, s.SAYKEY___13390, s.key___13392); - r0 = pxsim_pxtcore_mkAction(18, inline__P13558); + r0 = pxsim_pxtrt.mapSetGeneric(s.tmp_0, s.SAYKEY___19629, s.key___19631); + r0 = pxsim_pxtcore_mkAction(18, inline__P19796); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.bubbleOffset___13439); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.font___13418); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.bubblePadding___13416); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.bubbleOffset___19678); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.font___19657); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.bubblePadding___19655); r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.arg2); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.currentScene___13448); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.holdTextSeconds___13415); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.pixelsOffset___13414); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.maxTextWidth___13417); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.speed___13447); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 10, s.needsRedraw___13446); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 11, s.maxOffset___13431); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.currentScene___19685); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.holdTextSeconds___19654); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.pixelsOffset___19653); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.maxTextWidth___19656); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.speed___19684); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 10, s.needsRedraw___19683); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 11, s.maxOffset___19670); r0 = pxsim_pxtrt_stclo(s.tmp_0, 12, s.arg4); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 13, s.textToDisplay___13382); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 14, s.startX___13421); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 15, s.startY___13422); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 13, s.textToDisplay___19620); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 14, s.startX___19660); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 15, s.startY___19661); r0 = pxsim_pxtrt_stclo(s.tmp_0, 16, s.arg3); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 17, s.bubbleWidth___13423); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 17, s.bubbleWidth___19662); 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___13448.fields["camera"]; + r0 = s.currentScene___19685.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); @@ -31245,24 +31245,24 @@ function Sprite_say__P808_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - textToDisplay___13382: undefined, - SAYKEY___13390: undefined, - key___13392: undefined, - pixelsOffset___13414: undefined, - holdTextSeconds___13415: undefined, - bubblePadding___13416: undefined, - maxTextWidth___13417: undefined, - font___13418: undefined, - startX___13421: undefined, - startY___13422: undefined, - bubbleWidth___13423: undefined, - maxOffset___13431: undefined, - bubbleOffset___13439: undefined, - needsRedraw___13446: undefined, - speed___13447: undefined, - currentScene___13448: undefined, - imgh___13495: undefined, - sayImg___13517: undefined, + textToDisplay___19620: undefined, + SAYKEY___19629: undefined, + key___19631: undefined, + pixelsOffset___19653: undefined, + holdTextSeconds___19654: undefined, + bubblePadding___19655: undefined, + maxTextWidth___19656: undefined, + font___19657: undefined, + startX___19660: undefined, + startY___19661: undefined, + bubbleWidth___19662: undefined, + maxOffset___19670: undefined, + bubbleOffset___19678: undefined, + needsRedraw___19683: undefined, + speed___19684: undefined, + currentScene___19685: undefined, + imgh___19732: undefined, + sayImg___19754: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31274,7 +31274,7 @@ function Sprite_say__P808_mk(s) { -function inline__P13558(s) { +function inline__P19796(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31284,8 +31284,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___13597 = undefined; - s.oy___13600 = undefined; + s.ox___19834 = undefined; + s.oy___19837 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31403,9 +31403,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 9; continue; } r0 = s.arg1.fields["_offsetX"]; - s.ox___13597 = (r0); + s.ox___19834 = (r0); r0 = s.arg1.fields["_offsetY"]; - s.oy___13600 = (r0); + s.oy___19837 = (r0); s.tmp_3 = Sprite_left__P796_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_3.arg0 = r0; @@ -31413,7 +31413,7 @@ switch (step) { case 33: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___13597); + r0 = (s.tmp_2 - s.ox___19834); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -31435,7 +31435,7 @@ switch (step) { case 35: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___13597); + r0 = (s.tmp_2 - s.ox___19834); s.tmp_1 = r0; r0 = pxsim_ImageMethods.width(globals.screen___578); s.tmp_4 = r0; @@ -31460,7 +31460,7 @@ switch (step) { case 37: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.oy___13600); + r0 = (s.tmp_2 - s.oy___19837); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -31773,12 +31773,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P13558.info = {"start":16030,"length":3804,"line":542,"column":25,"endLine":616,"endColumn":9,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["dt","camera"]} +inline__P19796.info = {"start":16030,"length":3804,"line":542,"column":25,"endLine":616,"endColumn":9,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["dt","camera"]} -function inline__P13558_mk(s) { +function inline__P19796_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P13558, depth: s.depth + 1, + parent: s, fn: inline__P19796, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31791,8 +31791,8 @@ function inline__P13558_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - ox___13597: undefined, - oy___13600: undefined, + ox___19834: undefined, + oy___19837: undefined, arg0: undefined, arg1: undefined, } } @@ -31901,7 +31901,7 @@ switch (step) { s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = true; - s.callLocIdx = 1172; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1174; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; s.tmp_0 = effects_ParticleEffect_start__P1843_mk(s); @@ -31921,7 +31921,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0.arg4 = r0; - s.callLocIdx = 1173; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1175; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); @@ -31939,7 +31939,7 @@ switch (step) { s.tmp_0 = effects_ImageEffect_applyTo__P1894_mk(s); s.tmp_0.arg0 = globals.dissolve___1899; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1174; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1176; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; @@ -31969,7 +31969,7 @@ function effects_ParticleEffect_destroy__P1844_mk(s) { -function inline__P14513(s) { +function inline__P24118(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31979,11 +31979,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___14516 = undefined; - s.x___14527 = undefined; - s.y___14533 = undefined; - s.w___14539 = undefined; - s.h___14543 = undefined; + s.i___24121 = undefined; + s.x___24132 = undefined; + s.y___24138 = undefined; + s.w___24144 = undefined; + s.h___24148 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31996,9 +31996,9 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.i___14516 = (r0); + s.i___24121 = (r0); case 1: - r0 = (s.i___14516 > 0); + r0 = (s.i___24121 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } @@ -32010,7 +32010,7 @@ switch (step) { s.callLocIdx = 38; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___14527 = (r0); + s.x___24132 = (r0); s.tmp_0 = Math_FastRandom_randomRange__P1567_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; @@ -32019,7 +32019,7 @@ switch (step) { s.callLocIdx = 39; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___14533 = (r0); + s.y___24138 = (r0); s.tmp_0 = Math_FastRandom_randomRange__P1567_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; @@ -32027,7 +32027,7 @@ switch (step) { s.callLocIdx = 40; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.w___14539 = (r0); + s.w___24144 = (r0); s.tmp_0 = Math_FastRandom_randomRange__P1567_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; @@ -32035,40 +32035,40 @@ switch (step) { s.callLocIdx = 41; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.h___14543 = (r0); + s.h___24148 = (r0); s.tmp_0 = helpers_imageDrawRect__P520_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.x___14527; - s.tmp_0.arg2 = s.y___14533; - s.tmp_0.arg3 = s.w___14539; - s.tmp_0.arg4 = s.h___14543; + s.tmp_0.arg1 = s.x___24132; + s.tmp_0.arg2 = s.y___24138; + s.tmp_0.arg3 = s.w___24144; + s.tmp_0.arg4 = s.h___24148; s.tmp_0.arg5 = 0; s.callLocIdx = 42; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = (s.i___14516 - 1); - s.i___14516 = (r0); + r0 = (s.i___24121 - 1); + s.i___24121 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P14513.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__P24118.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__P14513_mk(s) { +function inline__P24118_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P14513, depth: s.depth + 1, + parent: s, fn: inline__P24118, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - i___14516: undefined, - x___14527: undefined, - y___14533: undefined, - w___14539: undefined, - h___14543: undefined, + i___24121: undefined, + x___24132: undefined, + y___24138: undefined, + w___24144: undefined, + h___24148: undefined, arg0: undefined, arg1: undefined, } } @@ -32087,7 +32087,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.clonedImage___14564 = undefined; + s.clonedImage___24169 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32120,17 +32120,17 @@ switch (step) { r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_5); - s.clonedImage___14564 = (r0); + s.clonedImage___24169 = (r0); s.tmp_0 = effects_ImageEffect_change__P1895_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.clonedImage___14564; - s.callLocIdx = 1185; s.pc = 6; return s.tmp_0; + s.tmp_0.arg1 = s.clonedImage___24169; + s.callLocIdx = 1187; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; s.tmp_0 = Sprite_setImage__P790_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.clonedImage___14564; - s.callLocIdx = 1186; s.pc = 7; return s.tmp_0; + s.tmp_0.arg1 = s.clonedImage___24169; + s.callLocIdx = 1188; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; case 5: @@ -32151,7 +32151,7 @@ function effects_ImageEffect_applyTo__P1894_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - clonedImage___14564: undefined, + clonedImage___24169: undefined, arg0: undefined, arg1: undefined, } } @@ -32184,12 +32184,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 = 1187; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1189; 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 = 1187; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 1187; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 1187; 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 = 1189; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 1189; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 1189; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -32223,7 +32223,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.src___14588 = undefined; + s.src___24193 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32260,18 +32260,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 = 1170; s.pc = 10; return s.tmp_4; + s.callLocIdx = 1172; 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 = 1170; s.pc = 10; return s.tmp_4; } - else if (s.tmp_4.fn.isGetter) { s.tmp_4.stage2Call = true; s.callLocIdx = 1170; s.pc = 10; return s.tmp_4;; } - else { s.callLocIdx = 1170; 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 = 1172; s.pc = 10; return s.tmp_4; } + else if (s.tmp_4.fn.isGetter) { s.tmp_4.stage2Call = true; s.callLocIdx = 1172; s.pc = 10; return s.tmp_4;; } + else { s.callLocIdx = 1172; s.pc = 10; return s.tmp_4; } } case 10: r0 = s.retval; - s.src___14588 = (r0); + s.src___24193 = (r0); s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P1722_mk(s); - s.tmp_0.arg0 = s.src___14588; + s.tmp_0.arg0 = s.src___24193; r0 = pxsim_numops_toBoolDecr(s.arg4); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); @@ -32280,7 +32280,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 1171; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1173; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); @@ -32296,7 +32296,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.src___14588).fields["lifespan"] = (s.tmp_1); + r0 = (s.src___24193).fields["lifespan"] = (s.tmp_1); case 7: case 8: case 9: @@ -32316,7 +32316,7 @@ function effects_ParticleEffect_start__P1843_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - src___14588: undefined, + src___24193: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -32400,7 +32400,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___14411 = undefined; + s.scene___24022 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -32417,7 +32417,7 @@ switch (step) { s.callLocIdx = 439; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.scene___14411 = (r0); + s.scene___24022 = (r0); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -32432,7 +32432,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = s.scene___14411.fields["allSprites"]; + r0 = s.scene___24022.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); r0 = s.arg0.fields["_kind"]; @@ -32444,7 +32444,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = s.scene___14411.fields["spritesByKind"]; + r0 = s.scene___24022.fields["spritesByKind"]; s.tmp_2 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_3 = r0; @@ -32455,7 +32455,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 5; continue; } s.tmp_5 = sprites_SpriteSet_remove__P850_mk(s); - r0 = s.scene___14411.fields["spritesByKind"]; + r0 = s.scene___24022.fields["spritesByKind"]; s.tmp_6 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_7 = r0; @@ -32468,7 +32468,7 @@ switch (step) { case 5: case 6: s.tmp_0 = PhysicsEngine__C880_v1_2_mk(s); - r0 = s.scene___14411.fields["physicsEngine"]; + r0 = s.scene___24022.fields["physicsEngine"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C880_VT)) failedCast(s.tmp_0.arg0); @@ -32495,15 +32495,15 @@ switch (step) { r0 = s.retval; case 7: case 8: - r0 = pxsim_pxtcore_mkAction(1, inline__P14447); + r0 = pxsim_pxtcore_mkAction(1, inline__P24058); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P14454); + r0 = pxsim_pxtcore_mkAction(1, inline__P24064); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); s.tmp_2 = helpers_arrayForEach__P60_mk(s); s.tmp_3 = helpers_arrayFilter__P61_mk(s); - r0 = s.scene___14411.fields["destroyedHandlers"]; + r0 = s.scene___24022.fields["destroyedHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 447; s.pc = 15; return s.tmp_3; @@ -32533,7 +32533,7 @@ function Sprite__destroyCore__P822_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___14411: undefined, + scene___24022: undefined, arg0: undefined, } } @@ -32541,7 +32541,7 @@ function Sprite__destroyCore__P822_mk(s) { -function inline__P14447(s) { +function inline__P24058(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32563,12 +32563,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P14447.info = {"start":29267,"length":26,"line":883,"column":20,"endLine":883,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P24058.info = {"start":29267,"length":26,"line":883,"column":20,"endLine":883,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P14447_mk(s) { +function inline__P24058_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P14447, depth: s.depth + 1, + parent: s, fn: inline__P24058, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32579,7 +32579,7 @@ function inline__P14447_mk(s) { -function inline__P14454(s) { +function inline__P24064(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32611,12 +32611,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P14454.info = {"start":29316,"length":20,"line":884,"column":21,"endLine":884,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P24064.info = {"start":29316,"length":20,"line":884,"column":21,"endLine":884,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P14454_mk(s) { +function inline__P24064_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P14454, depth: s.depth + 1, + parent: s, fn: inline__P24064, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32672,7 +32672,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___14463 = undefined; + s.i___24072 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32683,15 +32683,15 @@ switch (step) { r0 = s.arg0.fields["_sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined); - s.i___14463 = (r0); - r0 = (s.i___14463 > -1); + s.i___24072 = (r0); + r0 = (s.i___24072 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_1 = helpers_arraySplice__P49_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___14463; + s.tmp_1.arg1 = s.i___24072; s.tmp_1.arg2 = 1; s.callLocIdx = 493; s.pc = 4; return s.tmp_1; case 4: @@ -32714,7 +32714,7 @@ function sprites_SpriteSet_remove__P850_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___14463: undefined, + i___24072: undefined, arg0: undefined, arg1: undefined, } } @@ -32767,8 +32767,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___13801 = undefined; - s.oy___13809 = undefined; + s.ox___20067 = undefined; + s.oy___20075 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32789,7 +32789,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.ox___13801 = (s.tmp_2); + s.ox___20067 = (s.tmp_2); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -32803,14 +32803,14 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___13809 = (s.tmp_2); + s.oy___20075 = (s.tmp_2); s.tmp_3 = Sprite_right__P798_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___13801); + r0 = (s.tmp_2 - s.ox___20067); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -32825,7 +32825,7 @@ switch (step) { case 12: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___13809); + r0 = (s.tmp_5 - s.oy___20075); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 6: @@ -32842,7 +32842,7 @@ switch (step) { case 13: r0 = s.retval; s.tmp_9 = r0; - r0 = (s.tmp_9 - s.ox___13801); + r0 = (s.tmp_9 - s.ox___20067); s.tmp_8 = r0; r0 = pxsim_ImageMethods.width(globals.screen___578); s.tmp_11 = r0; @@ -32861,7 +32861,7 @@ switch (step) { case 14: r0 = s.retval; s.tmp_14 = r0; - r0 = (s.tmp_14 - s.oy___13809); + r0 = (s.tmp_14 - s.oy___20075); s.tmp_13 = r0; r0 = pxsim_ImageMethods.height(globals.screen___578); s.tmp_16 = r0; @@ -32898,8 +32898,8 @@ function Sprite_isOutOfScreen__P810_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - ox___13801: undefined, - oy___13809: undefined, + ox___20067: undefined, + oy___20075: undefined, arg0: undefined, arg1: undefined, } } @@ -33144,17 +33144,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.newHitBox___13855 = undefined; - s.oMinX___13865 = undefined; - s.oMinY___13870 = undefined; - s.oMaxX___13874 = undefined; - s.oMaxY___13882 = undefined; - s.nMinX___13890 = undefined; - s.nMinY___13893 = undefined; - s.nMaxX___13896 = undefined; - s.nMaxY___13902 = undefined; - s.xDiff___13908 = undefined; - s.yDiff___13919 = undefined; + s.newHitBox___20113 = undefined; + s.oMinX___20123 = undefined; + s.oMinY___20127 = undefined; + s.oMaxX___20131 = undefined; + s.oMaxY___20138 = undefined; + s.nMinX___20145 = undefined; + s.nMinY___20148 = undefined; + s.nMaxX___20151 = undefined; + s.nMaxY___20157 = undefined; + s.xDiff___20163 = undefined; + s.yDiff___20174 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33177,7 +33177,7 @@ switch (step) { s.callLocIdx = 258; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.newHitBox___13855 = (r0); + s.newHitBox___20113 = (r0); r0 = s.arg0.fields["_hitbox"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -33186,95 +33186,95 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___13855); + r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___20113); { step = 9; continue; } case 3: case 4: r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["ox"]; - s.oMinX___13865 = (r0); + s.oMinX___20123 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["oy"]; - s.oMinY___13870 = (r0); + s.oMinY___20127 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["width"]; s.tmp_0 = r0; - r0 = (s.oMinX___13865 + s.tmp_0); - s.oMaxX___13874 = (r0); + r0 = (s.oMinX___20123 + s.tmp_0); + s.oMaxX___20131 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["height"]; s.tmp_0 = r0; - r0 = (s.oMinY___13870 + s.tmp_0); - s.oMaxY___13882 = (r0); - r0 = s.newHitBox___13855.fields["ox"]; - s.nMinX___13890 = (r0); - r0 = s.newHitBox___13855.fields["oy"]; - s.nMinY___13893 = (r0); - r0 = s.newHitBox___13855.fields["width"]; + r0 = (s.oMinY___20127 + s.tmp_0); + s.oMaxY___20138 = (r0); + r0 = s.newHitBox___20113.fields["ox"]; + s.nMinX___20145 = (r0); + r0 = s.newHitBox___20113.fields["oy"]; + s.nMinY___20148 = (r0); + r0 = s.newHitBox___20113.fields["width"]; s.tmp_0 = r0; - r0 = (s.nMinX___13890 + s.tmp_0); - s.nMaxX___13896 = (r0); - r0 = s.newHitBox___13855.fields["height"]; + r0 = (s.nMinX___20145 + s.tmp_0); + s.nMaxX___20151 = (r0); + r0 = s.newHitBox___20113.fields["height"]; s.tmp_0 = r0; - r0 = (s.nMinY___13893 + s.tmp_0); - s.nMaxY___13902 = (r0); + r0 = (s.nMinY___20148 + s.tmp_0); + s.nMaxY___20157 = (r0); s.tmp_1 = Fx_abs__P122_mk(s); - r0 = (s.oMinX___13865 - s.nMinX___13890); + r0 = (s.oMinX___20123 - s.nMinX___20145); s.tmp_1.arg0 = r0; s.callLocIdx = 264; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = r0; s.tmp_3 = Fx_abs__P122_mk(s); - r0 = (s.oMaxX___13874 - s.nMaxX___13896); + r0 = (s.oMaxX___20131 - s.nMaxX___20151); s.tmp_3.arg0 = r0; s.callLocIdx = 266; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.xDiff___13908 = (r0); + s.xDiff___20163 = (r0); s.tmp_1 = Fx_abs__P122_mk(s); - r0 = (s.oMinY___13870 - s.nMinY___13893); + r0 = (s.oMinY___20127 - s.nMinY___20148); s.tmp_1.arg0 = r0; s.callLocIdx = 269; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; s.tmp_0 = r0; s.tmp_3 = Fx_abs__P122_mk(s); - r0 = (s.oMaxY___13882 - s.nMaxY___13902); + r0 = (s.oMaxY___20138 - s.nMaxY___20157); s.tmp_3.arg0 = r0; s.callLocIdx = 271; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.yDiff___13919 = (r0); - r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___13855); - r0 = (s.xDiff___13908 <= 512); + s.yDiff___20174 = (r0); + r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___20113); + r0 = (s.xDiff___20163 <= 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } r0 = s.arg0.fields["_hitbox"]; s.tmp_1 = r0; - r0 = (s.tmp_1).fields["ox"] = (s.oMinX___13865); + r0 = (s.tmp_1).fields["ox"] = (s.oMinX___20123); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; - r0 = (s.oMaxX___13874 - s.oMinX___13865); + r0 = (s.oMaxX___20131 - s.oMinX___20123); s.tmp_1 = r0; r0 = (s.tmp_0).fields["width"] = (s.tmp_1); case 5: case 6: - r0 = (s.yDiff___13919 <= 512); + r0 = (s.yDiff___20174 <= 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } r0 = s.arg0.fields["_hitbox"]; s.tmp_1 = r0; - r0 = (s.tmp_1).fields["oy"] = (s.oMinY___13870); + r0 = (s.tmp_1).fields["oy"] = (s.oMinY___20127); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; - r0 = (s.oMaxY___13882 - s.oMinY___13870); + r0 = (s.oMaxY___20138 - s.oMinY___20127); s.tmp_1 = r0; r0 = (s.tmp_0).fields["height"] = (s.tmp_1); case 7: @@ -33295,17 +33295,17 @@ function Sprite_setImage__P790_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - newHitBox___13855: undefined, - oMinX___13865: undefined, - oMinY___13870: undefined, - oMaxX___13874: undefined, - oMaxY___13882: undefined, - nMinX___13890: undefined, - nMinY___13893: undefined, - nMaxX___13896: undefined, - nMaxY___13902: undefined, - xDiff___13908: undefined, - yDiff___13919: undefined, + newHitBox___20113: undefined, + oMinX___20123: undefined, + oMinY___20127: undefined, + oMaxX___20131: undefined, + oMaxY___20138: undefined, + nMinX___20145: undefined, + nMinY___20148: undefined, + nMaxX___20151: undefined, + nMaxY___20157: undefined, + xDiff___20163: undefined, + yDiff___20174: undefined, arg0: undefined, arg1: undefined, } } @@ -33324,104 +33324,104 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___13968 = undefined; - s.minX___13971 = undefined; - s.minY___13974 = undefined; - s.maxX___13977 = undefined; - s.maxY___13978 = undefined; - s.c___13979 = undefined; - s.r___13985 = undefined; - s.width___14016 = undefined; - s.height___14022 = undefined; + s.i___20223 = undefined; + s.minX___20226 = undefined; + s.minY___20229 = undefined; + s.maxX___20232 = undefined; + s.maxY___20233 = undefined; + s.c___20234 = undefined; + s.r___20240 = undefined; + s.width___20271 = undefined; + s.height___20277 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0.fields["_image"]; - s.i___13968 = (r0); - r0 = pxsim_ImageMethods.width(s.i___13968); - s.minX___13971 = (r0); - r0 = pxsim_ImageMethods.height(s.i___13968); - s.minY___13974 = (r0); - s.maxX___13977 = (0); - s.maxY___13978 = (0); - s.c___13979 = (0); - case 1: - s.tmp_1 = r0 = s.c___13979; - r0 = pxsim_ImageMethods.width(s.i___13968); + s.i___20223 = (r0); + r0 = pxsim_ImageMethods.width(s.i___20223); + s.minX___20226 = (r0); + r0 = pxsim_ImageMethods.height(s.i___20223); + s.minY___20229 = (r0); + s.maxX___20232 = (0); + s.maxY___20233 = (0); + s.c___20234 = (0); + case 1: + s.tmp_1 = r0 = s.c___20234; + r0 = pxsim_ImageMethods.width(s.i___20223); 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___13985 = (0); + s.r___20240 = (0); case 2: - s.tmp_1 = r0 = s.r___13985; - r0 = pxsim_ImageMethods.height(s.i___13968); + s.tmp_1 = r0 = s.r___20240; + r0 = pxsim_ImageMethods.height(s.i___20223); 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___13968, s.c___13979, s.r___13985); + r0 = pxsim_ImageMethods.getPixel(s.i___20223, s.c___20234, s.r___20240); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } s.tmp_4 = Math_min__P79_mk(s); - s.tmp_4.arg0 = s.minX___13971; - s.tmp_4.arg1 = s.c___13979; + s.tmp_4.arg0 = s.minX___20226; + s.tmp_4.arg1 = s.c___20234; s.callLocIdx = 218; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; - s.minX___13971 = (r0); + s.minX___20226 = (r0); s.tmp_0 = Math_min__P79_mk(s); - s.tmp_0.arg0 = s.minY___13974; - s.tmp_0.arg1 = s.r___13985; + s.tmp_0.arg0 = s.minY___20229; + s.tmp_0.arg1 = s.r___20240; s.callLocIdx = 219; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.minY___13974 = (r0); + s.minY___20229 = (r0); s.tmp_0 = Math_max__P78_mk(s); - s.tmp_0.arg0 = s.maxX___13977; - s.tmp_0.arg1 = s.c___13979; + s.tmp_0.arg0 = s.maxX___20232; + s.tmp_0.arg1 = s.c___20234; s.callLocIdx = 220; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.maxX___13977 = (r0); + s.maxX___20232 = (r0); s.tmp_0 = Math_max__P78_mk(s); - s.tmp_0.arg0 = s.maxY___13978; - s.tmp_0.arg1 = s.r___13985; + s.tmp_0.arg0 = s.maxY___20233; + s.tmp_0.arg1 = s.r___20240; s.callLocIdx = 221; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.maxY___13978 = (r0); + s.maxY___20233 = (r0); case 3: case 4: - r0 = (s.r___13985 + 1); - s.r___13985 = (r0); + r0 = (s.r___20240 + 1); + s.r___20240 = (r0); { step = 2; continue; } case 5: - r0 = (s.c___13979 + 1); - s.c___13979 = (r0); + r0 = (s.c___20234 + 1); + s.c___20234 = (r0); { step = 1; continue; } case 6: - r0 = (s.maxX___13977 - s.minX___13971); + r0 = (s.maxX___20232 - s.minX___20226); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.width___14016 = (r0); - r0 = (s.maxY___13978 - s.minY___13974); + s.width___20271 = (r0); + r0 = (s.maxY___20233 - s.minY___20229); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.height___14022 = (r0); + s.height___20277 = (r0); r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C754_VT); s.tmp_0 = r0; s.tmp_1 = game_Hitbox_constructor__P759_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.width___14016; - s.tmp_1.arg3 = s.height___14022; - s.tmp_1.arg4 = s.minX___13971; - s.tmp_1.arg5 = s.minY___13974; + s.tmp_1.arg2 = s.width___20271; + s.tmp_1.arg3 = s.height___20277; + s.tmp_1.arg4 = s.minX___20226; + s.tmp_1.arg5 = s.minY___20229; s.callLocIdx = 222; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -33441,15 +33441,15 @@ function game_calculateHitBox__P760_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - i___13968: undefined, - minX___13971: undefined, - minY___13974: undefined, - maxX___13977: undefined, - maxY___13978: undefined, - c___13979: undefined, - r___13985: undefined, - width___14016: undefined, - height___14022: undefined, + i___20223: undefined, + minX___20226: undefined, + minY___20229: undefined, + maxX___20232: undefined, + maxY___20233: undefined, + c___20234: undefined, + r___20240: undefined, + width___20271: undefined, + height___20277: undefined, arg0: undefined, } } @@ -33673,7 +33673,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ss___14076 = undefined; + s.ss___20359 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33681,8 +33681,8 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_pxtcore_mkClassInstance(JSON_Stringifier__C274_VT); - s.ss___14076 = (r0); - s.tmp_0 = r0 = s.ss___14076; + s.ss___20359 = (r0); + s.tmp_0 = r0 = s.ss___20359; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["currIndent"] = (s.tmp_1); @@ -33702,15 +33702,15 @@ switch (step) { s.arg2 = (10); case 3: case 4: - s.tmp_0 = r0 = s.ss___14076; + s.tmp_0 = r0 = s.ss___20359; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["indentStep"] = (s.tmp_1); - s.tmp_0 = r0 = s.ss___14076; + s.tmp_0 = r0 = s.ss___20359; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["currIndent"] = (s.tmp_1); - r0 = (s.ss___14076).fields["indent"] = (s.arg2); + r0 = (s.ss___20359).fields["indent"] = (s.arg2); case 5: s.tmp_0 = r0 = s.arg2; r0 = (s.tmp_0 - 1); @@ -33719,7 +33719,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___14076; + s.tmp_2 = r0 = s.ss___20359; r0 = s.tmp_2.fields["indentStep"]; s.tmp_5 = r0; if ((s.tmp_5) && (s.tmp_5).vtable) { @@ -33737,7 +33737,7 @@ switch (step) { { step = 5; continue; } case 6: s.tmp_0 = JSON_Stringifier_go__P276_mk(s); - s.tmp_0.arg0 = s.ss___14076; + s.tmp_0.arg0 = s.ss___20359; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 50; s.pc = 8; return s.tmp_0; case 8: @@ -33758,7 +33758,7 @@ function JSON_stringify__P277_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - ss___14076: undefined, + ss___20359: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33778,14 +33778,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___14117 = undefined; - s.arr___14141 = undefined; - s.r___14147 = undefined; - s.i___14164 = undefined; - s.keys___14229 = undefined; - s.r___14236 = undefined; - s.i___14253 = undefined; - s.k___14259 = undefined; + s.t___20400 = undefined; + s.arr___20424 = undefined; + s.r___20430 = undefined; + s.i___20447 = undefined; + s.keys___20512 = undefined; + s.r___20519 = undefined; + s.i___20536 = undefined; + s.k___20542 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33794,8 +33794,8 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, JSON_Stringifier__C274_VT)) failedCast(r0); r0 = pxsim_pxtcore.typeOf(s.arg1); - s.t___14117 = (r0); - r0 = (s.t___14117 == "string"); + s.t___20400 = (r0); + r0 = (s.t___20400 == "string"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -33808,14 +33808,14 @@ switch (step) { { step = 37; continue; } { step = 36; continue; } case 1: - r0 = (s.t___14117 == "boolean"); + r0 = (s.t___20400 == "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___14117 == "number"); + r0 = (s.t___20400 == "number"); case 3: // jmp value (already in r0) s.tmp_3 = r0; @@ -33849,8 +33849,8 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 19; continue; } - s.arr___14141 = (s.arg1); - r0 = pxsim_Array__length(s.arr___14141); + s.arr___20424 = (s.arg1); + r0 = pxsim_Array__length(s.arr___20424); s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; @@ -33860,7 +33860,7 @@ switch (step) { { step = 37; continue; } { step = 18; continue; } case 7: - s.r___14147 = ("["); + s.r___20430 = ("["); r0 = s.arg0.fields["indent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -33891,34 +33891,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___14147) && (s.r___14147).vtable) { + if ((s.r___20430) && (s.r___20430).vtable) { setupResume(s, 42); - pxsim_String__stringConv(s.r___14147); + pxsim_String__stringConv(s.r___20430); checkResumeConsumed(); return; - } else { s.retval = (s.r___14147) + ""; } + } else { s.retval = (s.r___20430) + ""; } case 42: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.r___14147 = (r0); + s.r___20430 = (r0); case 8: case 9: - s.i___14164 = (0); + s.i___20447 = (0); case 10: - s.tmp_1 = r0 = s.i___14164; - r0 = pxsim_Array__length(s.arr___14141); + s.tmp_1 = r0 = s.i___20447; + r0 = pxsim_Array__length(s.arr___20424); 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___14147) && (s.r___14147).vtable) { + if ((s.r___20430) && (s.r___20430).vtable) { setupResume(s, 43); - pxsim_String__stringConv(s.r___14147); + pxsim_String__stringConv(s.r___20430); checkResumeConsumed(); return; - } else { s.retval = (s.r___14147) + ""; } + } else { s.retval = (s.r___20430) + ""; } case 43: r0 = s.retval; s.tmp_3 = r0; @@ -33935,7 +33935,7 @@ switch (step) { s.tmp_6 = r0; s.tmp_10 = JSON_Stringifier_go__P276_mk(s); s.tmp_10.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.arr___14141, s.i___14164); + r0 = pxsim_Array__getAt(s.arr___20424, s.i___20447); s.tmp_10.arg1 = r0; s.callLocIdx = 45; s.pc = 45; return s.tmp_10; case 45: @@ -33962,9 +33962,9 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___14147 = (r0); - s.tmp_1 = r0 = s.i___14164; - r0 = pxsim_Array__length(s.arr___14141); + s.r___20430 = (r0); + s.tmp_1 = r0 = s.i___20447; + r0 = pxsim_Array__length(s.arr___20424); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); s.tmp_2 = r0; @@ -33972,38 +33972,38 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - if ((s.r___14147) && (s.r___14147).vtable) { + if ((s.r___20430) && (s.r___20430).vtable) { setupResume(s, 48); - pxsim_String__stringConv(s.r___14147); + pxsim_String__stringConv(s.r___20430); checkResumeConsumed(); return; - } else { s.retval = (s.r___14147) + ""; } + } else { s.retval = (s.r___20430) + ""; } case 48: r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ","); - s.r___14147 = (r0); + s.r___20430 = (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___14147) && (s.r___14147).vtable) { + if ((s.r___20430) && (s.r___20430).vtable) { setupResume(s, 49); - pxsim_String__stringConv(s.r___14147); + pxsim_String__stringConv(s.r___20430); checkResumeConsumed(); return; - } else { s.retval = (s.r___14147) + ""; } + } else { s.retval = (s.r___20430) + ""; } case 49: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "\n"); - s.r___14147 = (r0); + s.r___20430 = (r0); case 13: case 14: - r0 = (s.i___14164 + 1); - s.i___14164 = (r0); + r0 = (s.i___20447 + 1); + s.i___20447 = (r0); { step = 10; continue; } case 15: r0 = s.arg0.fields["indent"]; @@ -34024,12 +34024,12 @@ switch (step) { r0 = (s.tmp_1).fields["currIndent"] = (s.tmp_2); case 16: case 17: - if ((s.r___14147) && (s.r___14147).vtable) { + if ((s.r___20430) && (s.r___20430).vtable) { setupResume(s, 51); - pxsim_String__stringConv(s.r___14147); + pxsim_String__stringConv(s.r___20430); checkResumeConsumed(); return; - } else { s.retval = (s.r___14147) + ""; } + } else { s.retval = (s.r___20430) + ""; } case 51: r0 = s.retval; s.tmp_0 = r0; @@ -34056,15 +34056,15 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___14147 = (r0); - r0 = s.r___14147; + s.r___20430 = (r0); + r0 = s.r___20430; { step = 37; continue; } case 18: { step = 34; continue; } case 19: r0 = pxsim_pxtrt.keysOf(s.arg1); - s.keys___14229 = (r0); - r0 = pxsim_Array__length(s.keys___14229); + s.keys___20512 = (r0); + r0 = pxsim_Array__length(s.keys___20512); s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; @@ -34074,7 +34074,7 @@ switch (step) { { step = 37; continue; } case 20: case 21: - s.r___14236 = ("{"); + s.r___20519 = ("{"); r0 = s.arg0.fields["indent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -34105,36 +34105,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___14236) && (s.r___14236).vtable) { + if ((s.r___20519) && (s.r___20519).vtable) { setupResume(s, 56); - pxsim_String__stringConv(s.r___14236); + pxsim_String__stringConv(s.r___20519); checkResumeConsumed(); return; - } else { s.retval = (s.r___14236) + ""; } + } else { s.retval = (s.r___20519) + ""; } case 56: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.r___14236 = (r0); + s.r___20519 = (r0); case 22: case 23: - s.i___14253 = (0); + s.i___20536 = (0); case 24: - s.tmp_1 = r0 = s.i___14253; - r0 = pxsim_Array__length(s.keys___14229); + s.tmp_1 = r0 = s.i___20536; + r0 = pxsim_Array__length(s.keys___20512); 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___14229, s.i___14253); - s.k___14259 = (r0); - if ((s.r___14236) && (s.r___14236).vtable) { + r0 = pxsim_Array__getAt(s.keys___20512, s.i___20536); + s.k___20542 = (r0); + if ((s.r___20519) && (s.r___20519).vtable) { setupResume(s, 57); - pxsim_String__stringConv(s.r___14236); + pxsim_String__stringConv(s.r___20519); checkResumeConsumed(); return; - } else { s.retval = (s.r___14236) + ""; } + } else { s.retval = (s.r___20519) + ""; } case 57: r0 = s.retval; s.tmp_0 = r0; @@ -34151,7 +34151,7 @@ switch (step) { s.tmp_3 = r0; s.tmp_7 = JSON_Stringifier_doString__P275_mk(s); s.tmp_7.arg0 = s.arg0; - s.tmp_7.arg1 = s.k___14259; + s.tmp_7.arg1 = s.k___20542; s.callLocIdx = 47; s.pc = 59; return s.tmp_7; case 59: r0 = s.retval; @@ -34177,48 +34177,48 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___14236 = (r0); + s.r___20519 = (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___14236) && (s.r___14236).vtable) { + if ((s.r___20519) && (s.r___20519).vtable) { setupResume(s, 62); - pxsim_String__stringConv(s.r___14236); + pxsim_String__stringConv(s.r___20519); checkResumeConsumed(); return; - } else { s.retval = (s.r___14236) + ""; } + } else { s.retval = (s.r___20519) + ""; } case 62: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, ": "); - s.r___14236 = (r0); + s.r___20519 = (r0); { step = 26; continue; } case 25: - if ((s.r___14236) && (s.r___14236).vtable) { + if ((s.r___20519) && (s.r___20519).vtable) { setupResume(s, 63); - pxsim_String__stringConv(s.r___14236); + pxsim_String__stringConv(s.r___20519); checkResumeConsumed(); return; - } else { s.retval = (s.r___14236) + ""; } + } else { s.retval = (s.r___20519) + ""; } case 63: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, ":"); - s.r___14236 = (r0); + s.r___20519 = (r0); case 26: - if ((s.r___14236) && (s.r___14236).vtable) { + if ((s.r___20519) && (s.r___20519).vtable) { setupResume(s, 64); - pxsim_String__stringConv(s.r___14236); + pxsim_String__stringConv(s.r___20519); checkResumeConsumed(); return; - } else { s.retval = (s.r___14236) + ""; } + } else { s.retval = (s.r___20519) + ""; } case 64: r0 = s.retval; s.tmp_0 = r0; s.tmp_3 = JSON_Stringifier_go__P276_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.arg1, s.k___14259); + r0 = pxsim_pxtrt.mapGetGeneric(s.arg1, s.k___20542); s.tmp_3.arg1 = r0; s.callLocIdx = 48; s.pc = 65; return s.tmp_3; case 65: @@ -34234,9 +34234,9 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___14236 = (r0); - s.tmp_1 = r0 = s.i___14253; - r0 = pxsim_Array__length(s.keys___14229); + s.r___20519 = (r0); + s.tmp_1 = r0 = s.i___20536; + r0 = pxsim_Array__length(s.keys___20512); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); s.tmp_2 = r0; @@ -34244,38 +34244,38 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 27; continue; } - if ((s.r___14236) && (s.r___14236).vtable) { + if ((s.r___20519) && (s.r___20519).vtable) { setupResume(s, 67); - pxsim_String__stringConv(s.r___14236); + pxsim_String__stringConv(s.r___20519); checkResumeConsumed(); return; - } else { s.retval = (s.r___14236) + ""; } + } else { s.retval = (s.r___20519) + ""; } case 67: r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ","); - s.r___14236 = (r0); + s.r___20519 = (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___14236) && (s.r___14236).vtable) { + if ((s.r___20519) && (s.r___20519).vtable) { setupResume(s, 68); - pxsim_String__stringConv(s.r___14236); + pxsim_String__stringConv(s.r___20519); checkResumeConsumed(); return; - } else { s.retval = (s.r___14236) + ""; } + } else { s.retval = (s.r___20519) + ""; } case 68: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "\n"); - s.r___14236 = (r0); + s.r___20519 = (r0); case 29: case 30: - r0 = (s.i___14253 + 1); - s.i___14253 = (r0); + r0 = (s.i___20536 + 1); + s.i___20536 = (r0); { step = 24; continue; } case 31: r0 = s.arg0.fields["indent"]; @@ -34296,12 +34296,12 @@ switch (step) { r0 = (s.tmp_1).fields["currIndent"] = (s.tmp_2); case 32: case 33: - if ((s.r___14236) && (s.r___14236).vtable) { + if ((s.r___20519) && (s.r___20519).vtable) { setupResume(s, 70); - pxsim_String__stringConv(s.r___14236); + pxsim_String__stringConv(s.r___20519); checkResumeConsumed(); return; - } else { s.retval = (s.r___14236) + ""; } + } else { s.retval = (s.r___20519) + ""; } case 70: r0 = s.retval; s.tmp_0 = r0; @@ -34328,8 +34328,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___14236 = (r0); - r0 = s.r___14236; + s.r___20519 = (r0); + r0 = s.r___20519; { step = 37; continue; } case 34: case 35: @@ -34357,14 +34357,14 @@ function JSON_Stringifier_go__P276_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - t___14117: undefined, - arr___14141: undefined, - r___14147: undefined, - i___14164: undefined, - keys___14229: undefined, - r___14236: undefined, - i___14253: undefined, - k___14259: undefined, + t___20400: undefined, + arr___20424: undefined, + r___20430: undefined, + i___20447: undefined, + keys___20512: undefined, + r___20519: undefined, + i___20536: undefined, + k___20542: undefined, arg0: undefined, arg1: undefined, } } @@ -34383,9 +34383,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___14345 = undefined; - s.i___14346 = undefined; - s.c___14352 = undefined; + s.r___20659 = undefined; + s.i___20660 = undefined; + s.c___20666 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34393,58 +34393,58 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, JSON_Stringifier__C274_VT)) failedCast(r0); - s.r___14345 = ("\""); - s.i___14346 = (0); + s.r___20659 = ("\""); + s.i___20660 = (0); case 1: - s.tmp_1 = r0 = s.i___14346; + s.tmp_1 = r0 = s.i___20660; 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___14346); - s.c___14352 = (r0); - r0 = (s.c___14352 == "\n"); + r0 = pxsim_String_.charAt(s.arg1, s.i___20660); + s.c___20666 = (r0); + r0 = (s.c___20666 == "\n"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.c___14352 = ("\\n"); + s.c___20666 = ("\\n"); { step = 13; continue; } case 2: - r0 = (s.c___14352 == "\r"); + r0 = (s.c___20666 == "\r"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.c___14352 = ("\\r"); + s.c___20666 = ("\\r"); { step = 12; continue; } case 3: - r0 = (s.c___14352 == "\t"); + r0 = (s.c___20666 == "\t"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.c___14352 = ("\\t"); + s.c___20666 = ("\\t"); { step = 11; continue; } case 4: - r0 = (s.c___14352 == "\b"); + r0 = (s.c___20666 == "\b"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.c___14352 = ("\\b"); + s.c___20666 = ("\\b"); { step = 10; continue; } case 5: - r0 = (s.c___14352 == "\\"); + r0 = (s.c___20666 == "\\"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.c___14352 = ("\\\\"); + s.c___20666 = ("\\\\"); { step = 9; continue; } case 6: - r0 = (s.c___14352 == "\""); + r0 = (s.c___20666 == "\""); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.c___14352 = ("\\\""); + s.c___20666 = ("\\\""); case 7: case 8: case 9: @@ -34452,36 +34452,36 @@ switch (step) { case 11: case 12: case 13: - if ((s.r___14345) && (s.r___14345).vtable) { + if ((s.r___20659) && (s.r___20659).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___14345); + pxsim_String__stringConv(s.r___20659); checkResumeConsumed(); return; - } else { s.retval = (s.r___14345) + ""; } + } else { s.retval = (s.r___20659) + ""; } case 15: r0 = s.retval; s.tmp_0 = r0; - if ((s.c___14352) && (s.c___14352).vtable) { + if ((s.c___20666) && (s.c___20666).vtable) { setupResume(s, 16); - pxsim_String__stringConv(s.c___14352); + pxsim_String__stringConv(s.c___20666); checkResumeConsumed(); return; - } else { s.retval = (s.c___14352) + ""; } + } else { s.retval = (s.c___20666) + ""; } case 16: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___14345 = (r0); - r0 = (s.i___14346 + 1); - s.i___14346 = (r0); + s.r___20659 = (r0); + r0 = (s.i___20660 + 1); + s.i___20660 = (r0); { step = 1; continue; } case 14: - if ((s.r___14345) && (s.r___14345).vtable) { + if ((s.r___20659) && (s.r___20659).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___14345); + pxsim_String__stringConv(s.r___20659); checkResumeConsumed(); return; - } else { s.retval = (s.r___14345) + ""; } + } else { s.retval = (s.r___20659) + ""; } case 17: r0 = s.retval; s.tmp_0 = r0; @@ -34499,9 +34499,9 @@ function JSON_Stringifier_doString__P275_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - r___14345: undefined, - i___14346: undefined, - c___14352: undefined, + r___20659: undefined, + i___20660: undefined, + c___20666: undefined, arg0: undefined, arg1: undefined, } } @@ -34510,7 +34510,7 @@ function JSON_Stringifier_doString__P275_mk(s) { -function tileworld_ruleediting_RuleEditor_mainMenu__P4489(s) { +function tileworld_ruleediting_RuleEditor_mainMenu__P12674(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34525,7 +34525,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); r0 = s.arg0.fields["menu"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 3); @@ -34551,14 +34551,14 @@ switch (step) { r0 = s.tmp_2; { step = 4; continue; } case 1: - s.tmp_10 = tileworld_RuleView_getCmdInst__P3911_mk(s); + s.tmp_10 = tileworld_RuleView_getCmdInst__P5000_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 = 1008; s.pc = 9; return s.tmp_10; + s.callLocIdx = 1011; s.pc = 9; return s.tmp_10; case 9: r0 = s.retval; s.tmp_9 = r0; @@ -34569,14 +34569,14 @@ switch (step) { r0 = s.tmp_8; { step = 3; continue; } case 2: - s.tmp_12 = tileworld_RuleView_getCmdArg__P3912_mk(s); + s.tmp_12 = tileworld_RuleView_getCmdArg__P5001_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 = 1009; s.pc = 10; return s.tmp_12; + s.callLocIdx = 1012; s.pc = 10; return s.tmp_12; case 10: r0 = s.retval; s.tmp_11 = r0; @@ -34590,14 +34590,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__P3915_mk(s); + s.tmp_15 = tileworld_RuleView_removeCommand__P5004_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 = 1010; s.pc = 11; return s.tmp_15; + s.callLocIdx = 1013; s.pc = 11; return s.tmp_15; case 11: r0 = s.retval; case 5: @@ -34608,21 +34608,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__P4491_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleEditor_restoreCursor__P12676_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1011; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1014; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_mainMenu__P4489.info = {"start":7142,"length":789,"line":140,"column":8,"endLine":156,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"mainMenu","argumentNames":["this"]} +tileworld_ruleediting_RuleEditor_mainMenu__P12674.info = {"start":7142,"length":789,"line":140,"column":8,"endLine":156,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"mainMenu","argumentNames":["this"]} -function tileworld_ruleediting_RuleEditor_mainMenu__P4489_mk(s) { +function tileworld_ruleediting_RuleEditor_mainMenu__P12674_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_mainMenu__P4489, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_mainMenu__P12674, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34647,7 +34647,7 @@ function tileworld_ruleediting_RuleEditor_mainMenu__P4489_mk(s) { -function tileworld_ruleediting_RuleEditor_restoreCursor__P4491(s) { +function tileworld_ruleediting_RuleEditor_restoreCursor__P12676(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34662,7 +34662,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); r0 = s.arg0.fields["tileSaved"]; r0 = r0.fields["flags"]; s.tmp_3 = r0; @@ -34674,32 +34674,32 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = tileworld_RuleVisualsBase_setCol__P4337_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_setCol__P10846_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_6 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["tileSaved"]; s.tmp_6.arg0 = r0; - s.callLocIdx = 1013; s.pc = 4; return s.tmp_6; + s.callLocIdx = 1016; 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 = 1014; s.pc = 3; return s.tmp_4; + s.callLocIdx = 1017; s.pc = 3; return s.tmp_4; case 3: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P4338_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P10847_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_2 = Sprite_y__P772_mk(s); r0 = s.arg0.fields["tileSaved"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 1015; s.pc = 6; return s.tmp_2; + s.callLocIdx = 1018; 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 = 1016; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1019; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; s.tmp_0 = Sprite_setFlag__P813_mk(s); @@ -34707,7 +34707,7 @@ switch (step) { s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = true; - s.callLocIdx = 1017; s.pc = 7; return s.tmp_0; + s.callLocIdx = 1020; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; case 1: @@ -34716,12 +34716,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_restoreCursor__P4491.info = {"start":8031,"length":259,"line":162,"column":8,"endLine":168,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"restoreCursor","argumentNames":["this"]} +tileworld_ruleediting_RuleEditor_restoreCursor__P12676.info = {"start":8031,"length":259,"line":162,"column":8,"endLine":168,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"restoreCursor","argumentNames":["this"]} -function tileworld_ruleediting_RuleEditor_restoreCursor__P4491_mk(s) { +function tileworld_ruleediting_RuleEditor_restoreCursor__P12676_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_restoreCursor__P4491, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_restoreCursor__P12676, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34737,7 +34737,7 @@ function tileworld_ruleediting_RuleEditor_restoreCursor__P4491_mk(s) { -function tileworld_RuleVisualsBase_isTileSaved__P4346(s) { +function tileworld_RuleVisualsBase_isTileSaved__P10855(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34752,7 +34752,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C4330_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C10839_VT)) failedCast(r0); r0 = s.arg0.fields["tileSaved"]; r0 = r0.fields["flags"]; s.tmp_2 = r0; @@ -34764,12 +34764,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_isTileSaved__P4346.info = {"start":5172,"length":102,"line":135,"column":8,"endLine":137,"endColumn":9,"fileName":"rulesBase.ts","functionName":"isTileSaved","argumentNames":["this"]} +tileworld_RuleVisualsBase_isTileSaved__P10855.info = {"start":5172,"length":102,"line":135,"column":8,"endLine":137,"endColumn":9,"fileName":"rulesBase.ts","functionName":"isTileSaved","argumentNames":["this"]} -function tileworld_RuleVisualsBase_isTileSaved__P4346_mk(s) { +function tileworld_RuleVisualsBase_isTileSaved__P10855_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_isTileSaved__P4346, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_isTileSaved__P10855, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34781,7 +34781,7 @@ function tileworld_RuleVisualsBase_isTileSaved__P4346_mk(s) { -function tileworld_Project_makeRule__P3956(s) { +function tileworld_Project_makeRule__P6121(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34791,8 +34791,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rv___14712 = undefined; - s.wd___14719 = undefined; + s.rv___6266 = undefined; + s.wd___6273 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34801,10 +34801,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C3937_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_wrapRule__P3964_mk(s); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_wrapRule__P6129_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = tileworld_makeNewRule__P3863_mk(s); + s.tmp_1 = tileworld_makeNewRule__P4322_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = s.arg2; s.callLocIdx = 178; s.pc = 8; return s.tmp_1; @@ -34814,22 +34814,22 @@ switch (step) { s.callLocIdx = 179; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.rv___14712 = (r0); + s.rv___6266 = (r0); r0 = (s.arg3 != 65535); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = tileworld_RuleView_makeWhenDo__P3898_mk(s); - s.tmp_1.arg0 = s.rv___14712; + s.tmp_1 = tileworld_RuleView_makeWhenDo__P4989_mk(s); + s.tmp_1.arg0 = s.rv___6266; s.tmp_1.arg1 = 2; s.tmp_1.arg2 = 2; s.callLocIdx = 180; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - s.wd___14719 = (r0); - s.tmp_0 = tileworld_RuleView_getSetSpAttr__P3903_mk(s); - s.tmp_0.arg0 = s.rv___14712; - s.tmp_0.arg1 = s.wd___14719; + s.wd___6273 = (r0); + s.tmp_0 = tileworld_RuleView_getSetSpAttr__P4994_mk(s); + s.tmp_0.arg0 = s.rv___6266; + s.tmp_0.arg1 = s.wd___6273; s.tmp_0.arg2 = s.arg3; s.tmp_0.arg3 = 1; s.callLocIdx = 181; s.pc = 10; return s.tmp_0; @@ -34848,9 +34848,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__P3909_mk(s); - s.tmp_2.arg0 = s.rv___14712; - s.tmp_2.arg1 = s.wd___14719; + s.tmp_2 = tileworld_RuleView_setWitnessDirection__P4999_mk(s); + s.tmp_2.arg0 = s.rv___6266; + s.tmp_2.arg1 = s.wd___6273; s.tmp_2.arg2 = s.arg2; s.callLocIdx = 182; s.pc = 11; return s.tmp_2; case 11: @@ -34859,28 +34859,28 @@ switch (step) { case 4: case 5: case 6: - s.tmp_0 = tileworld_Project_saveRule__P3955_mk(s); + s.tmp_0 = tileworld_Project_saveRule__P6120_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.rv___14712; + s.tmp_0.arg1 = s.rv___6266; s.callLocIdx = 183; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - r0 = s.rv___14712; + r0 = s.rv___6266; return leave(s, r0) default: oops() } } } -tileworld_Project_makeRule__P3956.info = {"start":4249,"length":552,"line":124,"column":8,"endLine":136,"endColumn":9,"fileName":"project.ts","functionName":"makeRule","argumentNames":["this","rt","ra","kind"]} +tileworld_Project_makeRule__P6121.info = {"start":4249,"length":552,"line":124,"column":8,"endLine":136,"endColumn":9,"fileName":"project.ts","functionName":"makeRule","argumentNames":["this","rt","ra","kind"]} -function tileworld_Project_makeRule__P3956_mk(s) { +function tileworld_Project_makeRule__P6121_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_makeRule__P3956, depth: s.depth + 1, + parent: s, fn: tileworld_Project_makeRule__P6121, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rv___14712: undefined, - wd___14719: undefined, + rv___6266: undefined, + wd___6273: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -34891,7 +34891,7 @@ function tileworld_Project_makeRule__P3956_mk(s) { -function tileworld_makeNewRule__P3863(s) { +function tileworld_makeNewRule__P4322(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34906,9 +34906,9 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(tileworld_Rule__C3861_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_Rule__C4315_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_Rule_constructor__P3862_mk(s); + s.tmp_1 = tileworld_Rule_constructor__P4316_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.arg1; @@ -34922,12 +34922,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_makeNewRule__P3863.info = {"start":4724,"length":105,"line":128,"column":4,"endLine":130,"endColumn":5,"fileName":"rule.ts","functionName":"makeNewRule","argumentNames":["rt","ra"]} +tileworld_makeNewRule__P4322.info = {"start":4724,"length":105,"line":128,"column":4,"endLine":130,"endColumn":5,"fileName":"rule.ts","functionName":"makeNewRule","argumentNames":["rt","ra"]} -function tileworld_makeNewRule__P3863_mk(s) { +function tileworld_makeNewRule__P4322_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_makeNewRule__P3863, depth: s.depth + 1, + parent: s, fn: tileworld_makeNewRule__P4322, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34939,7 +34939,7 @@ function tileworld_makeNewRule__P3863_mk(s) { -function tileworld_Rule_constructor__P3862(s) { +function tileworld_Rule_constructor__P4316(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34958,7 +34958,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Rule__C3861_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Rule__C4315_VT)) failedCast(r0); r0 = (s.arg0).fields["ruleType"] = (s.arg1); r0 = (s.arg0).fields["ruleArg"] = (s.arg2); r0 = (s.arg0).fields["whenDo"] = (s.arg3); @@ -34967,12 +34967,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Rule_constructor__P3862.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__P4316.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__P3862_mk(s) { +function tileworld_Rule_constructor__P4316_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Rule_constructor__P3862, depth: s.depth + 1, + parent: s, fn: tileworld_Rule_constructor__P4316, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -34985,7 +34985,7 @@ function tileworld_Rule_constructor__P3862_mk(s) { -function tileworld_Project_wrapRule__P3964(s) { +function tileworld_Project_wrapRule__P6129(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34995,43 +34995,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rids___14752 = undefined; - s.rid___14768 = undefined; - s.i___14769 = undefined; - s.newRule___14787 = undefined; + s.rids___6519 = undefined; + s.rid___6536 = undefined; + s.i___6537 = undefined; + s.newRule___6555 = 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__C3937_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); s.tmp_0 = helpers_arraySort__P56_mk(s); s.tmp_1 = helpers_arrayMap__P57_mk(s); r0 = s.arg0.fields["rules"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = inline__P14758; + s.tmp_1.arg1 = inline__P6526; s.callLocIdx = 223; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P14762; + s.tmp_0.arg1 = inline__P6530; s.callLocIdx = 224; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.rids___14752 = (r0); - s.rid___14768 = (0); - s.i___14769 = (0); + s.rids___6519 = (r0); + s.rid___6536 = (0); + s.i___6537 = (0); case 1: - s.tmp_1 = r0 = s.i___14769; - r0 = pxsim_Array__length(s.rids___14752); + s.tmp_1 = r0 = s.i___6537; + r0 = pxsim_Array__length(s.rids___6519); 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___14768; - r0 = pxsim_Array__getAt(s.rids___14752, s.i___14769); + s.tmp_4 = r0 = s.rid___6536; + r0 = pxsim_Array__getAt(s.rids___6519, s.i___6537); s.tmp_5 = r0; r0 = (s.tmp_4 != s.tmp_5); s.tmp_3 = r0; @@ -35040,38 +35040,38 @@ switch (step) { { step = 4; continue; } case 2: case 3: - r0 = pxsim_Array__getAt(s.rids___14752, s.i___14769); + r0 = pxsim_Array__getAt(s.rids___6519, s.i___6537); s.tmp_6 = r0; r0 = (s.tmp_6 + 1); - s.rid___14768 = (r0); - r0 = (s.i___14769 + 1); - s.i___14769 = (r0); + s.rid___6536 = (r0); + r0 = (s.i___6537 + 1); + s.i___6537 = (r0); { step = 1; continue; } case 4: - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleView__C3884_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleView__C4976_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_RuleView_constructor__P3924_mk(s); + s.tmp_1 = tileworld_RuleView_constructor__P5013_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.rid___14768; + s.tmp_1.arg2 = s.rid___6536; s.tmp_1.arg3 = s.arg1; s.callLocIdx = 225; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.newRule___14787 = (s.tmp_0); + s.newRule___6555 = (s.tmp_0); r0 = s.arg0.fields["rules"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.newRule___14787); - r0 = s.newRule___14787; + r0 = pxsim_Array__push(s.tmp_0, s.newRule___6555); + r0 = s.newRule___6555; return leave(s, r0) default: oops() } } } -tileworld_Project_wrapRule__P3964.info = {"start":7197,"length":477,"line":196,"column":8,"endLine":208,"endColumn":9,"fileName":"project.ts","functionName":"wrapRule","argumentNames":["this","r"]} +tileworld_Project_wrapRule__P6129.info = {"start":7197,"length":477,"line":196,"column":8,"endLine":208,"endColumn":9,"fileName":"project.ts","functionName":"wrapRule","argumentNames":["this","r"]} -function tileworld_Project_wrapRule__P3964_mk(s) { +function tileworld_Project_wrapRule__P6129_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_wrapRule__P3964, depth: s.depth + 1, + parent: s, fn: tileworld_Project_wrapRule__P6129, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35080,10 +35080,10 @@ function tileworld_Project_wrapRule__P3964_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - rids___14752: undefined, - rid___14768: undefined, - i___14769: undefined, - newRule___14787: undefined, + rids___6519: undefined, + rid___6536: undefined, + i___6537: undefined, + newRule___6555: undefined, arg0: undefined, arg1: undefined, } } @@ -35092,7 +35092,7 @@ function tileworld_Project_wrapRule__P3964_mk(s) { -function inline__P14758(s) { +function inline__P6526(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35110,12 +35110,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P14758.info = {"start":7317,"length":18,"line":198,"column":38,"endLine":198,"endColumn":56,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} +inline__P6526.info = {"start":7317,"length":18,"line":198,"column":38,"endLine":198,"endColumn":56,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} -function inline__P14758_mk(s) { +function inline__P6526_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P14758, depth: s.depth + 1, + parent: s, fn: inline__P6526, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -35124,7 +35124,7 @@ function inline__P14758_mk(s) { -function inline__P14762(s) { +function inline__P6530(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35143,12 +35143,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P14762.info = {"start":7342,"length":14,"line":198,"column":63,"endLine":198,"endColumn":77,"fileName":"project.ts","functionName":"inline","argumentNames":["a","b"]} +inline__P6530.info = {"start":7342,"length":14,"line":198,"column":63,"endLine":198,"endColumn":77,"fileName":"project.ts","functionName":"inline","argumentNames":["a","b"]} -function inline__P14762_mk(s) { +function inline__P6530_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P14762, depth: s.depth + 1, + parent: s, fn: inline__P6530, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -35168,41 +35168,41 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___14800 = undefined; - s.len___14802 = undefined; - s.i___14805 = undefined; + s.res___25438 = undefined; + s.len___25440 = undefined; + s.i___25443 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___14800 = (r0); + s.res___25438 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___14802 = (r0); - s.i___14805 = (0); + s.len___25440 = (r0); + s.i___25443 = (0); case 1: - r0 = (s.i___14805 < s.len___14802); + r0 = (s.i___25443 < s.len___25440); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.res___14800; + s.tmp_1 = r0 = s.res___25438; s.tmp_3 = lambda_3_mk(s); s.tmp_3.argL = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.i___14805); + r0 = pxsim_Array__getAt(s.arg0, s.i___25443); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.i___14805; + s.tmp_3.arg1 = s.i___25443; 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___14805 + 1); - s.i___14805 = (r0); + r0 = (s.i___25443 + 1); + s.i___25443 = (r0); { step = 1; continue; } case 2: - r0 = s.res___14800; + r0 = s.res___25438; return leave(s, r0) default: oops() } } } @@ -35217,9 +35217,9 @@ function helpers_arrayMap__P57_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - res___14800: undefined, - len___14802: undefined, - i___14805: undefined, + res___25438: undefined, + len___25440: undefined, + i___25443: undefined, arg0: undefined, arg1: undefined, } } @@ -35228,7 +35228,7 @@ function helpers_arrayMap__P57_mk(s) { -function tileworld_RuleVisualsBase_getRulesForTypeDir__P4336(s) { +function tileworld_RuleVisualsBase_getRulesForTypeDir__P10845(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35246,26 +35246,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C4330_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P14827); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C10839_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P11066); 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__P61_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 674; s.pc = 1; return s.tmp_1; + s.callLocIdx = 677; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_getRulesForTypeDir__P4336.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__P10845.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__P4336_mk(s) { +function tileworld_RuleVisualsBase_getRulesForTypeDir__P10845_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_getRulesForTypeDir__P4336, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_getRulesForTypeDir__P10845, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35279,7 +35279,7 @@ function tileworld_RuleVisualsBase_getRulesForTypeDir__P4336_mk(s) { -function inline__P14827(s) { +function inline__P11066(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35303,9 +35303,9 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_3 = tileworld_RuleView_getDirFromRule__P3895_mk(s); + s.tmp_3 = tileworld_RuleView_getDirFromRule__P4987_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 673; s.pc = 3; return s.tmp_3; + s.callLocIdx = 676; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; @@ -35317,12 +35317,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P14827.info = {"start":3804,"length":58,"line":93,"column":32,"endLine":93,"endColumn":90,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":["rv"]} +inline__P11066.info = {"start":3804,"length":58,"line":93,"column":32,"endLine":93,"endColumn":90,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":["rv"]} -function inline__P14827_mk(s) { +function inline__P11066_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P14827, depth: s.depth + 1, + parent: s, fn: inline__P11066, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35336,7 +35336,7 @@ function inline__P14827_mk(s) { -function tileworld_Project_getRulesForSpriteKind__P3965(s) { +function tileworld_Project_getRulesForSpriteKind__P6130(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35352,8 +35352,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C3937_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P14845); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P6571); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); s.tmp_1 = helpers_arrayFilter__P61_mk(s); @@ -35366,12 +35366,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_getRulesForSpriteKind__P3965.info = {"start":7688,"length":122,"line":210,"column":8,"endLine":212,"endColumn":9,"fileName":"project.ts","functionName":"getRulesForSpriteKind","argumentNames":["this","kind"]} +tileworld_Project_getRulesForSpriteKind__P6130.info = {"start":7688,"length":122,"line":210,"column":8,"endLine":212,"endColumn":9,"fileName":"project.ts","functionName":"getRulesForSpriteKind","argumentNames":["this","kind"]} -function tileworld_Project_getRulesForSpriteKind__P3965_mk(s) { +function tileworld_Project_getRulesForSpriteKind__P6130_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getRulesForSpriteKind__P3965, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getRulesForSpriteKind__P6130, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35383,7 +35383,7 @@ function tileworld_Project_getRulesForSpriteKind__P3965_mk(s) { -function inline__P14845(s) { +function inline__P6571(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35397,7 +35397,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleView_hasSpriteKind__P3917_mk(s); + s.tmp_0 = tileworld_RuleView_hasSpriteKind__P5006_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.caps[0]; s.callLocIdx = 226; s.pc = 1; return s.tmp_0; @@ -35406,12 +35406,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P14845.info = {"start":7770,"length":28,"line":211,"column":37,"endLine":211,"endColumn":65,"fileName":"project.ts","functionName":"inline","argumentNames":["rv"]} +inline__P6571.info = {"start":7770,"length":28,"line":211,"column":37,"endLine":211,"endColumn":65,"fileName":"project.ts","functionName":"inline","argumentNames":["rv"]} -function inline__P14845_mk(s) { +function inline__P6571_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P14845, depth: s.depth + 1, + parent: s, fn: inline__P6571, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35421,7 +35421,7 @@ function inline__P14845_mk(s) { -function tileworld_RuleView_hasSpriteKind__P3917(s) { +function tileworld_RuleView_hasSpriteKind__P5006(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35431,32 +35431,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wd___14852 = undefined; + s.wd___5734 = 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__C3884_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getWhenDo__P3897_mk(s); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getWhenDo__P4608_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = 2; s.callLocIdx = 147; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.wd___14852 = (r0); - r0 = (s.wd___14852 == -1); + s.wd___5734 = (r0); + r0 = (s.wd___5734 == -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__P3903_mk(s); + s.tmp_2 = tileworld_RuleView_getSetSpAttr__P4994_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.wd___14852; + s.tmp_2.arg1 = s.wd___5734; s.tmp_2.arg2 = s.arg1; s.tmp_2.arg3 = 65535; s.callLocIdx = 148; s.pc = 4; return s.tmp_2; @@ -35471,18 +35471,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleView_hasSpriteKind__P3917.info = {"start":8924,"length":219,"line":256,"column":8,"endLine":260,"endColumn":9,"fileName":"ruleview.ts","functionName":"hasSpriteKind","argumentNames":["this","kind"]} +tileworld_RuleView_hasSpriteKind__P5006.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__P3917_mk(s) { +function tileworld_RuleView_hasSpriteKind__P5006_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_hasSpriteKind__P3917, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_hasSpriteKind__P5006, depth: s.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___14852: undefined, + wd___5734: undefined, arg0: undefined, arg1: undefined, } } @@ -35491,7 +35491,7 @@ function tileworld_RuleView_hasSpriteKind__P3917_mk(s) { -function tileworld_Project_spriteCnt__P3947(s) { +function tileworld_Project_spriteCnt__P5256(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35506,19 +35506,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C3937_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C6110_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__P3947.info = {"start":3210,"length":52,"line":97,"column":8,"endLine":97,"endColumn":60,"fileName":"project.ts","functionName":"spriteCnt","argumentNames":["this"]} +tileworld_Project_spriteCnt__P5256.info = {"start":3210,"length":52,"line":97,"column":8,"endLine":97,"endColumn":60,"fileName":"project.ts","functionName":"spriteCnt","argumentNames":["this"]} -function tileworld_Project_spriteCnt__P3947_mk(s) { +function tileworld_Project_spriteCnt__P5256_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_spriteCnt__P3947, depth: s.depth + 1, + parent: s, fn: tileworld_Project_spriteCnt__P5256, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35528,7 +35528,7 @@ function tileworld_Project_spriteCnt__P3947_mk(s) { -function tileworld_ruleediting_RuleRoom_update__P4458(s) { +function tileworld_ruleediting_RuleRoom_update__P12558(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35543,7 +35543,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C4455_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C12555_VT)) failedCast(r0); r0 = pxsim_ImageMethods.fill(globals.screen___578, 15); s.tmp_0 = helpers_imageFillRect__P517_mk(s); s.tmp_0.arg0 = globals.screen___578; @@ -35552,18 +35552,18 @@ switch (step) { s.tmp_0.arg3 = 16; s.tmp_0.arg4 = 16; s.tmp_0.arg5 = 11; - s.callLocIdx = 874; s.pc = 1; return s.tmp_0; + s.callLocIdx = 877; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___578, globals.code___3997, 0, 6); - s.tmp_0 = tileworld_ruleediting_RuleRoom_showRuleMenu__P4464_mk(s); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___578, globals.code___7226, 0, 6); + s.tmp_0 = tileworld_ruleediting_RuleRoom_showRuleMenu__P12564_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 0; - s.callLocIdx = 875; s.pc = 2; return s.tmp_0; + s.callLocIdx = 878; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P14885); + r0 = pxsim_pxtcore_mkAction(1, inline__P12798); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = helpers_arrayForEach__P60_mk(s); @@ -35572,19 +35572,19 @@ switch (step) { r0 = s.tmp_2.fields["_spritesI"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 878; s.pc = 3; return s.tmp_1; + s.callLocIdx = 881; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleRoom_update__P4458.info = {"start":2835,"length":324,"line":62,"column":8,"endLine":70,"endColumn":9,"fileName":"spriteRules.ts","functionName":"update","argumentNames":["this"]} +tileworld_ruleediting_RuleRoom_update__P12558.info = {"start":2835,"length":324,"line":62,"column":8,"endLine":70,"endColumn":9,"fileName":"spriteRules.ts","functionName":"update","argumentNames":["this"]} -function tileworld_ruleediting_RuleRoom_update__P4458_mk(s) { +function tileworld_ruleediting_RuleRoom_update__P12558_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleRoom_update__P4458, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleRoom_update__P12558, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35596,7 +35596,7 @@ function tileworld_ruleediting_RuleRoom_update__P4458_mk(s) { -function inline__P14885(s) { +function inline__P12798(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35611,25 +35611,25 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_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 = 877; s.pc = 1; return s.tmp_0; + s.callLocIdx = 880; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P14885.info = {"start":3074,"length":73,"line":67,"column":42,"endLine":69,"endColumn":13,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P12798.info = {"start":3074,"length":73,"line":67,"column":42,"endLine":69,"endColumn":13,"fileName":"spriteRules.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P14885_mk(s) { +function inline__P12798_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P14885, depth: s.depth + 1, + parent: s, fn: inline__P12798, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35640,7 +35640,7 @@ function inline__P14885_mk(s) { -function tileworld_ruleediting_RuleRoom_showRuleMenu__P4464(s) { +function tileworld_ruleediting_RuleRoom_showRuleMenu__P12564(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35657,28 +35657,28 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C4455_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C12555_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = tileworld_Project_getRulesForSpriteKind__P3965_mk(s); + s.tmp_2 = tileworld_Project_getRulesForSpriteKind__P6130_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["kind"]; s.tmp_2.arg1 = r0; - s.callLocIdx = 898; s.pc = 1; return s.tmp_2; + s.callLocIdx = 901; 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__P4460_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_make3by3__P12560_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 = 899; s.pc = 2; return s.tmp_0; + s.callLocIdx = 902; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P4462_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P12562_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 6; @@ -35687,10 +35687,10 @@ switch (step) { r0 = (s.arg2 + 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = true; - s.callLocIdx = 900; s.pc = 3; return s.tmp_0; + s.callLocIdx = 903; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P4462_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P12562_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 2; @@ -35701,10 +35701,10 @@ switch (step) { r0 = (s.arg2 + 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = true; - s.callLocIdx = 901; s.pc = 4; return s.tmp_0; + s.callLocIdx = 904; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P4462_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P12562_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 0; @@ -35715,10 +35715,10 @@ switch (step) { r0 = (s.arg2 + 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = true; - s.callLocIdx = 902; s.pc = 5; return s.tmp_0; + s.callLocIdx = 905; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P4462_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P12562_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 1; @@ -35726,10 +35726,10 @@ switch (step) { s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg2; s.tmp_0.arg5 = true; - s.callLocIdx = 903; s.pc = 6; return s.tmp_0; + s.callLocIdx = 906; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P4462_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P12562_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; @@ -35738,10 +35738,10 @@ switch (step) { r0 = (s.arg2 + 2); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = true; - s.callLocIdx = 904; s.pc = 7; return s.tmp_0; + s.callLocIdx = 907; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P4462_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P12562_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 4; @@ -35752,10 +35752,10 @@ switch (step) { r0 = (s.arg2 + 2); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = false; - s.callLocIdx = 905; s.pc = 8; return s.tmp_0; + s.callLocIdx = 908; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P4462_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P12562_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 5; @@ -35766,27 +35766,27 @@ switch (step) { r0 = (s.arg2 + 2); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = false; - s.callLocIdx = 906; s.pc = 9; return s.tmp_0; + s.callLocIdx = 909; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_stringColumn__P4463_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_stringColumn__P12563_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 = 907; s.pc = 10; return s.tmp_0; + s.callLocIdx = 910; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_make3by3__P4460_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_make3by3__P12560_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 = 908; s.pc = 11; return s.tmp_0; + s.callLocIdx = 911; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P4462_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P12562_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = 2; @@ -35795,10 +35795,10 @@ switch (step) { r0 = (s.arg2 + 5); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = false; - s.callLocIdx = 909; s.pc = 12; return s.tmp_0; + s.callLocIdx = 912; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P4462_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P12562_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = 0; @@ -35807,10 +35807,10 @@ switch (step) { r0 = (s.arg2 + 5); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = false; - s.callLocIdx = 910; s.pc = 13; return s.tmp_0; + s.callLocIdx = 913; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P4462_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P12562_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = 1; @@ -35819,10 +35819,10 @@ switch (step) { r0 = (s.arg2 + 5); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = false; - s.callLocIdx = 911; s.pc = 14; return s.tmp_0; + s.callLocIdx = 914; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P4462_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P12562_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.tmp_0.arg2 = 3; @@ -35831,44 +35831,44 @@ switch (step) { r0 = (s.arg2 + 5); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = false; - s.callLocIdx = 912; s.pc = 15; return s.tmp_0; + s.callLocIdx = 915; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_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__C4455_v3_1_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleRoom__C12555_v3_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, tileworld_ruleediting_RuleRoom__C4455_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tileworld_ruleediting_RuleRoom__C12555_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 = 913; s.pc = 16; return s.tmp_0; + s.callLocIdx = 916; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_stringColumn__P4463_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_stringColumn__P12563_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 = 914; s.pc = 18; return s.tmp_0; + s.callLocIdx = 917; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_make3by3__P4460_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_make3by3__P12560_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 = 915; s.pc = 19; return s.tmp_0; + s.callLocIdx = 918; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P4462_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P12562_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 2; @@ -35879,10 +35879,10 @@ switch (step) { r0 = (s.arg2 + 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = false; - s.callLocIdx = 916; s.pc = 20; return s.tmp_0; + s.callLocIdx = 919; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P4462_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P12562_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; @@ -35893,10 +35893,10 @@ switch (step) { r0 = (s.arg2 + 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = false; - s.callLocIdx = 917; s.pc = 21; return s.tmp_0; + s.callLocIdx = 920; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P4462_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P12562_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 3; @@ -35905,10 +35905,10 @@ switch (step) { r0 = (s.arg2 + 3); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = false; - s.callLocIdx = 918; s.pc = 22; return s.tmp_0; + s.callLocIdx = 921; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P4462_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P12562_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 1; @@ -35917,10 +35917,10 @@ switch (step) { r0 = (s.arg2 - 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = false; - s.callLocIdx = 919; s.pc = 23; return s.tmp_0; + s.callLocIdx = 922; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P4462_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P12562_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 4; @@ -35929,27 +35929,27 @@ switch (step) { r0 = (s.arg2 + 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = false; - s.callLocIdx = 920; s.pc = 24; return s.tmp_0; + s.callLocIdx = 923; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_stringColumn__P4463_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_stringColumn__P12563_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 = 921; s.pc = 25; return s.tmp_0; + s.callLocIdx = 924; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_make3by3__P4460_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_make3by3__P12560_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 = 922; s.pc = 26; return s.tmp_0; + s.callLocIdx = 925; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P4462_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_doBoth__P12562_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 3; s.tmp_0.arg2 = 6; @@ -35960,27 +35960,27 @@ switch (step) { r0 = (s.arg2 + 4); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = false; - s.callLocIdx = 923; s.pc = 27; return s.tmp_0; + s.callLocIdx = 926; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleRoom_stringColumn__P4463_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleRoom_stringColumn__P12563_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 = 924; s.pc = 28; return s.tmp_0; + s.callLocIdx = 927; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleRoom_showRuleMenu__P4464.info = {"start":5336,"length":2147,"line":118,"column":8,"endLine":152,"endColumn":9,"fileName":"spriteRules.ts","functionName":"showRuleMenu","argumentNames":["this","x","y"]} +tileworld_ruleediting_RuleRoom_showRuleMenu__P12564.info = {"start":5336,"length":2147,"line":118,"column":8,"endLine":152,"endColumn":9,"fileName":"spriteRules.ts","functionName":"showRuleMenu","argumentNames":["this","x","y"]} -function tileworld_ruleediting_RuleRoom_showRuleMenu__P4464_mk(s) { +function tileworld_ruleediting_RuleRoom_showRuleMenu__P12564_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleRoom_showRuleMenu__P4464, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleRoom_showRuleMenu__P12564, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35994,7 +35994,7 @@ function tileworld_ruleediting_RuleRoom_showRuleMenu__P4464_mk(s) { -function tileworld_ruleediting_RuleRoom_centerImage__P4459(s) { +function tileworld_ruleediting_RuleRoom_centerImage__P12559(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36009,24 +36009,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C4455_VT)) failedCast(r0); - s.tmp_0 = tileworld_Project_getSpriteImage__P3952_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C12555_VT)) failedCast(r0); + s.tmp_0 = tileworld_Project_getSpriteImage__P6007_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["kind"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 879; s.pc = 1; return s.tmp_0; + s.callLocIdx = 882; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleRoom_centerImage__P4459.info = {"start":3171,"length":90,"line":72,"column":8,"endLine":74,"endColumn":9,"fileName":"spriteRules.ts","functionName":"centerImage","argumentNames":["this"]} +tileworld_ruleediting_RuleRoom_centerImage__P12559.info = {"start":3171,"length":90,"line":72,"column":8,"endLine":74,"endColumn":9,"fileName":"spriteRules.ts","functionName":"centerImage","argumentNames":["this"]} -function tileworld_ruleediting_RuleRoom_centerImage__P4459_mk(s) { +function tileworld_ruleediting_RuleRoom_centerImage__P12559_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleRoom_centerImage__P4459, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleRoom_centerImage__P12559, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36036,7 +36036,7 @@ function tileworld_ruleediting_RuleRoom_centerImage__P4459_mk(s) { -function tileworld_Project_getSpriteImage__P3952(s) { +function tileworld_Project_getSpriteImage__P6007(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36052,7 +36052,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C3937_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); r0 = (0 <= s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -36084,12 +36084,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_getSpriteImage__P3952.info = {"start":3614,"length":134,"line":106,"column":8,"endLine":108,"endColumn":9,"fileName":"project.ts","functionName":"getSpriteImage","argumentNames":["this","kind"]} +tileworld_Project_getSpriteImage__P6007.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__P3952_mk(s) { +function tileworld_Project_getSpriteImage__P6007_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getSpriteImage__P3952, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getSpriteImage__P6007, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36106,7 +36106,7 @@ function tileworld_Project_getSpriteImage__P3952_mk(s) { -function tileworld_ruleediting_RuleRoom_stringColumn__P4463(s) { +function tileworld_ruleediting_RuleRoom_stringColumn__P12563(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36116,7 +36116,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___15140 = undefined; + s.i___12982 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36125,10 +36125,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C4455_VT)) failedCast(r0); - s.i___15140 = (0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C12555_VT)) failedCast(r0); + s.i___12982 = (0); case 1: - s.tmp_1 = r0 = s.i___15140; + s.tmp_1 = r0 = s.i___12982; r0 = pxsim_String_.length(s.arg1); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -36137,7 +36137,7 @@ switch (step) { if (!r0) { step = 2; continue; } s.tmp_3 = helpers_imagePrint__P541_mk(s); s.tmp_3.arg0 = globals.screen___578; - r0 = pxsim_String_.charAt(s.arg1, s.i___15140); + r0 = pxsim_String_.charAt(s.arg1, s.i___12982); s.tmp_3.arg1 = r0; r0 = (s.arg2 << 4); s.tmp_4 = r0; @@ -36145,7 +36145,7 @@ switch (step) { s.tmp_3.arg2 = r0; r0 = (s.arg3 << 4); s.tmp_6 = r0; - r0 = (s.i___15140 << 3); + r0 = (s.i___12982 << 3); s.tmp_7 = r0; r0 = (s.tmp_6 + s.tmp_7); s.tmp_5 = r0; @@ -36154,23 +36154,23 @@ switch (step) { s.tmp_3.arg4 = undefined; s.tmp_3.arg5 = undefined; s.tmp_3.arg6 = undefined; - s.callLocIdx = 897; s.pc = 3; return s.tmp_3; + s.callLocIdx = 900; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - r0 = (s.i___15140 + 1); - s.i___15140 = (r0); + r0 = (s.i___12982 + 1); + s.i___12982 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleRoom_stringColumn__P4463.info = {"start":5109,"length":215,"line":112,"column":8,"endLine":116,"endColumn":9,"fileName":"spriteRules.ts","functionName":"stringColumn","argumentNames":["this","s","col","row"]} +tileworld_ruleediting_RuleRoom_stringColumn__P12563.info = {"start":5109,"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__P4463_mk(s) { +function tileworld_ruleediting_RuleRoom_stringColumn__P12563_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleRoom_stringColumn__P4463, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleRoom_stringColumn__P12563, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36180,7 +36180,7 @@ function tileworld_ruleediting_RuleRoom_stringColumn__P4463_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - i___15140: undefined, + i___12982: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -36191,7 +36191,7 @@ function tileworld_ruleediting_RuleRoom_stringColumn__P4463_mk(s) { -function tileworld_ruleediting_RuleRoom_doBoth__P4462(s) { +function tileworld_ruleediting_RuleRoom_doBoth__P12562(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36201,12 +36201,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scol___15174 = undefined; - s.rules___15175 = undefined; - s.tcol___15188 = undefined; - s.trow___15194 = undefined; - s.tcol___15218 = undefined; - s.trow___15227 = undefined; + s.scol___12864 = undefined; + s.rules___12865 = undefined; + s.tcol___12879 = undefined; + s.trow___12885 = undefined; + s.tcol___12909 = undefined; + s.trow___12918 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36217,18 +36217,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C4455_VT)) failedCast(r0); - s.scol___15174 = (13); - s.tmp_0 = tileworld_RuleVisualsBase_getRulesForTypeDir__P4336_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C12555_VT)) failedCast(r0); + s.scol___12864 = (13); + s.tmp_0 = tileworld_RuleVisualsBase_getRulesForTypeDir__P10845_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 = 881; s.pc = 23; return s.tmp_0; + s.callLocIdx = 884; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.rules___15175 = (r0); + s.rules___12865 = (r0); r0 = (s.arg1 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -36243,52 +36243,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__P3864_mk(s); + s.tmp_4 = tileworld_moveXdelta__P4332_mk(s); s.tmp_4.arg0 = s.arg2; - s.callLocIdx = 882; s.pc = 24; return s.tmp_4; + s.callLocIdx = 885; 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___15188 = (r0); + s.tcol___12879 = (r0); s.tmp_0 = r0 = s.arg4; - s.tmp_2 = tileworld_moveYdelta__P3865_mk(s); + s.tmp_2 = tileworld_moveYdelta__P4344_mk(s); s.tmp_2.arg0 = s.arg2; - s.callLocIdx = 883; s.pc = 25; return s.tmp_2; + s.callLocIdx = 886; 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___15194 = (r0); - s.tmp_0 = tileworld_ruleediting_RuleRoom_setRuleType__P4461_mk(s); + s.trow___12885 = (r0); + s.tmp_0 = tileworld_ruleediting_RuleRoom_setRuleType__P12561_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___15188; - s.tmp_0.arg4 = s.trow___15194; - s.callLocIdx = 884; s.pc = 26; return s.tmp_0; + s.tmp_0.arg3 = s.tcol___12879; + s.tmp_0.arg4 = s.trow___12885; + s.callLocIdx = 887; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - r0 = pxsim_Array__length(s.rules___15175); + r0 = pxsim_Array__length(s.rules___12865); 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__P4344_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_fillTile__P10853_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.tcol___15188; - s.tmp_2.arg2 = s.trow___15194; - s.tmp_2.arg3 = s.scol___15174; - s.callLocIdx = 885; s.pc = 27; return s.tmp_2; + s.tmp_2.arg1 = s.tcol___12879; + s.tmp_2.arg2 = s.trow___12885; + s.tmp_2.arg3 = s.scol___12864; + s.callLocIdx = 888; s.pc = 27; return s.tmp_2; case 27: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P4343_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P10852_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.tcol___15188; - s.tmp_0.arg2 = s.trow___15194; + s.tmp_0.arg1 = s.tcol___12879; + s.tmp_0.arg2 = s.trow___12885; s.tmp_0.arg3 = 1; - s.callLocIdx = 886; s.pc = 28; return s.tmp_0; + s.callLocIdx = 889; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; case 3: @@ -36304,9 +36304,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__P3864_mk(s); + s.tmp_4 = tileworld_moveXdelta__P4332_mk(s); s.tmp_4.arg0 = s.arg2; - s.callLocIdx = 887; s.pc = 29; return s.tmp_4; + s.callLocIdx = 890; s.pc = 29; return s.tmp_4; case 29: r0 = s.retval; s.tmp_3 = r0; @@ -36317,15 +36317,15 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_5 = r0; - s.tcol___15218 = (s.tmp_5); + s.tcol___12909 = (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__P3865_mk(s); + s.tmp_3 = tileworld_moveYdelta__P4344_mk(s); s.tmp_3.arg0 = s.arg2; - s.callLocIdx = 888; s.pc = 30; return s.tmp_3; + s.callLocIdx = 891; s.pc = 30; return s.tmp_3; case 30: r0 = s.retval; s.tmp_2 = r0; @@ -36336,47 +36336,47 @@ switch (step) { case 9: // jmp value (already in r0) s.tmp_4 = r0; - s.trow___15227 = (s.tmp_4); - s.tmp_0 = tileworld_ruleediting_RuleRoom_setRuleType__P4461_mk(s); + s.trow___12918 = (s.tmp_4); + s.tmp_0 = tileworld_ruleediting_RuleRoom_setRuleType__P12561_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___15218; - s.tmp_0.arg4 = s.trow___15227; - s.callLocIdx = 889; s.pc = 31; return s.tmp_0; + s.tmp_0.arg3 = s.tcol___12909; + s.tmp_0.arg4 = s.trow___12918; + s.callLocIdx = 892; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - r0 = pxsim_Array__length(s.rules___15175); + r0 = pxsim_Array__length(s.rules___12865); 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__P4344_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_fillTile__P10853_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.tcol___15218; - s.tmp_2.arg2 = s.trow___15227; - s.tmp_2.arg3 = s.scol___15174; - s.callLocIdx = 890; s.pc = 32; return s.tmp_2; + s.tmp_2.arg1 = s.tcol___12909; + s.tmp_2.arg2 = s.trow___12918; + s.tmp_2.arg3 = s.scol___12864; + s.callLocIdx = 893; s.pc = 32; return s.tmp_2; case 32: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P4343_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P10852_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.tcol___15218; - s.tmp_0.arg2 = s.trow___15227; + s.tmp_0.arg1 = s.tcol___12909; + s.tmp_0.arg2 = s.trow___12918; s.tmp_0.arg3 = 1; - s.callLocIdx = 891; s.pc = 33; return s.tmp_0; + s.callLocIdx = 894; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; case 10: case 11: - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.tcol___15218; - s.tmp_0.arg2 = s.trow___15227; - r0 = pxsim_Array__getAt(globals.buttonImages___4368, s.arg2); + s.tmp_0.arg1 = s.tcol___12909; + s.tmp_0.arg2 = s.trow___12918; + r0 = pxsim_Array__getAt(globals.buttonImages___11238, s.arg2); s.tmp_0.arg3 = r0; - s.callLocIdx = 892; s.pc = 34; return s.tmp_0; + s.callLocIdx = 895; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; { step = 19; continue; } @@ -36394,35 +36394,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__P4461_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleRoom_setRuleType__P12561_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 = 893; s.pc = 35; return s.tmp_2; + s.callLocIdx = 896; s.pc = 35; return s.tmp_2; case 35: r0 = s.retval; - r0 = pxsim_Array__length(s.rules___15175); + r0 = pxsim_Array__length(s.rules___12865); 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__P4344_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_fillTile__P10853_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___15174; - s.callLocIdx = 894; s.pc = 36; return s.tmp_2; + s.tmp_2.arg3 = s.scol___12864; + s.callLocIdx = 897; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P4343_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawOutline__P10852_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 = 895; s.pc = 37; return s.tmp_0; + s.callLocIdx = 898; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; case 15: @@ -36435,14 +36435,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__P4407_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleDisplay_showRuleType__P11275_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 = 896; s.pc = 38; return s.tmp_1; + s.callLocIdx = 899; s.pc = 38; return s.tmp_1; case 38: r0 = s.retval; case 21: @@ -36451,12 +36451,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleRoom_doBoth__P4462.info = {"start":3772,"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__P12562.info = {"start":3772,"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__P4462_mk(s) { +function tileworld_ruleediting_RuleRoom_doBoth__P12562_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleRoom_doBoth__P4462, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleRoom_doBoth__P12562, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36464,12 +36464,12 @@ function tileworld_ruleediting_RuleRoom_doBoth__P4462_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scol___15174: undefined, - rules___15175: undefined, - tcol___15188: undefined, - trow___15194: undefined, - tcol___15218: undefined, - trow___15227: undefined, + scol___12864: undefined, + rules___12865: undefined, + tcol___12879: undefined, + trow___12885: undefined, + tcol___12909: undefined, + trow___12918: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -36482,7 +36482,7 @@ function tileworld_ruleediting_RuleRoom_doBoth__P4462_mk(s) { -function tileworld_ruleediting_RuleRoom_setRuleType__P4461(s) { +function tileworld_ruleediting_RuleRoom_setRuleType__P12561(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36501,7 +36501,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C4455_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C12555_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); @@ -36512,12 +36512,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleRoom_setRuleType__P4461.info = {"start":3530,"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__P12561.info = {"start":3530,"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__P4461_mk(s) { +function tileworld_ruleediting_RuleRoom_setRuleType__P12561_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleRoom_setRuleType__P4461, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleRoom_setRuleType__P12561, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36531,7 +36531,7 @@ function tileworld_ruleediting_RuleRoom_setRuleType__P4461_mk(s) { -function tileworld_moveYdelta__P3865(s) { +function tileworld_moveYdelta__P4344(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36571,12 +36571,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_moveYdelta__P3865.info = {"start":4981,"length":137,"line":136,"column":4,"endLine":138,"endColumn":5,"fileName":"rule.ts","functionName":"moveYdelta","argumentNames":["dir"]} +tileworld_moveYdelta__P4344.info = {"start":4981,"length":137,"line":136,"column":4,"endLine":138,"endColumn":5,"fileName":"rule.ts","functionName":"moveYdelta","argumentNames":["dir"]} -function tileworld_moveYdelta__P3865_mk(s) { +function tileworld_moveYdelta__P4344_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_moveYdelta__P3865, depth: s.depth + 1, + parent: s, fn: tileworld_moveYdelta__P4344, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36589,7 +36589,7 @@ function tileworld_moveYdelta__P3865_mk(s) { -function tileworld_moveXdelta__P3864(s) { +function tileworld_moveXdelta__P4332(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36629,12 +36629,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_moveXdelta__P3864.info = {"start":4835,"length":140,"line":132,"column":4,"endLine":134,"endColumn":5,"fileName":"rule.ts","functionName":"moveXdelta","argumentNames":["dir"]} +tileworld_moveXdelta__P4332.info = {"start":4835,"length":140,"line":132,"column":4,"endLine":134,"endColumn":5,"fileName":"rule.ts","functionName":"moveXdelta","argumentNames":["dir"]} -function tileworld_moveXdelta__P3864_mk(s) { +function tileworld_moveXdelta__P4332_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_moveXdelta__P3864, depth: s.depth + 1, + parent: s, fn: tileworld_moveXdelta__P4332, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36647,7 +36647,7 @@ function tileworld_moveXdelta__P3864_mk(s) { -function tileworld_ruleediting_RuleRoom_make3by3__P4460(s) { +function tileworld_ruleediting_RuleRoom_make3by3__P12560(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36657,8 +36657,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___15327 = undefined; - s.j___15333 = undefined; + s.i___12815 = undefined; + s.j___12821 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36666,52 +36666,52 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C4455_VT)) failedCast(r0); - s.i___15327 = (-1); + if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C12555_VT)) failedCast(r0); + s.i___12815 = (-1); case 1: - r0 = (s.i___15327 <= 1); + r0 = (s.i___12815 <= 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.j___15333 = (-1); + s.j___12821 = (-1); case 2: - r0 = (s.j___15333 <= 1); + r0 = (s.j___12821 <= 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_1.arg0 = s.arg0; - r0 = (s.arg1 + s.i___15327); + r0 = (s.arg1 + s.i___12815); s.tmp_1.arg1 = r0; - r0 = (s.arg2 + s.j___15333); + r0 = (s.arg2 + s.j___12821); s.tmp_1.arg2 = r0; - s.tmp_1.arg3 = globals.emptyTile___4015; - s.callLocIdx = 880; s.pc = 5; return s.tmp_1; + s.tmp_1.arg3 = globals.emptyTile___7244; + s.callLocIdx = 883; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = (s.j___15333 + 1); - s.j___15333 = (r0); + r0 = (s.j___12821 + 1); + s.j___12821 = (r0); { step = 2; continue; } case 3: - r0 = (s.i___15327 + 1); - s.i___15327 = (r0); + r0 = (s.i___12815 + 1); + s.i___12815 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleRoom_make3by3__P4460.info = {"start":3273,"length":245,"line":76,"column":8,"endLine":82,"endColumn":9,"fileName":"spriteRules.ts","functionName":"make3by3","argumentNames":["this","col","row"]} +tileworld_ruleediting_RuleRoom_make3by3__P12560.info = {"start":3273,"length":245,"line":76,"column":8,"endLine":82,"endColumn":9,"fileName":"spriteRules.ts","functionName":"make3by3","argumentNames":["this","col","row"]} -function tileworld_ruleediting_RuleRoom_make3by3__P4460_mk(s) { +function tileworld_ruleediting_RuleRoom_make3by3__P12560_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleRoom_make3by3__P4460, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleRoom_make3by3__P12560, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___15327: undefined, - j___15333: undefined, + i___12815: undefined, + j___12821: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -36731,8 +36731,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___15353 = undefined; - s.sprite___15356 = undefined; + s.scene___23843 = undefined; + s.sprite___23846 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36742,7 +36742,7 @@ switch (step) { s.callLocIdx = 223; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___15353 = (r0); + s.scene___23843 = (r0); r0 = pxsim_pxtcore_mkClassInstance(Sprite__C768_VT); s.tmp_0 = r0; s.tmp_1 = Sprite_constructor__P825_mk(s); @@ -36751,31 +36751,31 @@ switch (step) { s.callLocIdx = 224; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.sprite___15356 = (s.tmp_0); + s.sprite___23846 = (s.tmp_0); s.tmp_0 = Sprite_setKind__P805_mk(s); - s.tmp_0.arg0 = s.sprite___15356; + s.tmp_0.arg0 = s.sprite___23846; 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__C880_v0_2_mk(s); - r0 = s.scene___15353.fields["physicsEngine"]; + r0 = s.scene___23843.fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.sprite___15356; + s.tmp_0.arg1 = s.sprite___23846; if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C880_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__P15371); + r0 = pxsim_pxtcore_mkAction(1, inline__P23861); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtcore_mkAction(1, inline__P15377); + r0 = pxsim_pxtcore_mkAction(1, inline__P23868); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___15356); + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___23846); s.tmp_2 = helpers_arrayForEach__P60_mk(s); s.tmp_3 = helpers_arrayFilter__P61_mk(s); - r0 = s.scene___15353.fields["createdHandlers"]; + r0 = s.scene___23843.fields["createdHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 226; s.pc = 6; return s.tmp_3; @@ -36786,7 +36786,7 @@ switch (step) { s.callLocIdx = 228; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - r0 = s.sprite___15356; + r0 = s.sprite___23846; return leave(s, r0) default: oops() } } } @@ -36801,8 +36801,8 @@ function sprites_create__P763_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - scene___15353: undefined, - sprite___15356: undefined, + scene___23843: undefined, + sprite___23846: undefined, arg0: undefined, arg1: undefined, } } @@ -36811,7 +36811,7 @@ function sprites_create__P763_mk(s) { -function inline__P15371(s) { +function inline__P23861(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36831,12 +36831,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P15371.info = {"start":1195,"length":19,"line":43,"column":20,"endLine":43,"endColumn":39,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} +inline__P23861.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__P15371_mk(s) { +function inline__P23861_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P15371, 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, arg0: undefined, @@ -36846,7 +36846,7 @@ function inline__P15371_mk(s) { -function inline__P15377(s) { +function inline__P23868(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36878,12 +36878,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P15377.info = {"start":1237,"length":22,"line":44,"column":21,"endLine":44,"endColumn":43,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} +inline__P23868.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__P15377_mk(s) { +function inline__P23868_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P15377, depth: s.depth + 1, + parent: s, fn: inline__P23868, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -37597,8 +37597,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.spritesByKind___15395 = undefined; - s.overlapMap___15424 = undefined; + s.spritesByKind___24625 = undefined; + s.overlapMap___24654 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -37629,7 +37629,7 @@ switch (step) { case 16: r0 = s.retval; r0 = r0.fields["spritesByKind"]; - s.spritesByKind___15395 = (r0); + s.spritesByKind___24625 = (r0); r0 = s.arg0.fields["_kind"]; s.tmp_1 = r0; r0 = (s.tmp_1 >= 0); @@ -37641,7 +37641,7 @@ switch (step) { case 5: r0 = s.arg0.fields["_kind"]; s.tmp_2 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___15395, s.tmp_2); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___24625, s.tmp_2); case 6: // jmp value (already in r0) s.tmp_3 = r0; @@ -37650,7 +37650,7 @@ switch (step) { s.tmp_4 = sprites_SpriteSet_remove__P850_mk(s); r0 = s.arg0.fields["_kind"]; s.tmp_5 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___15395, s.tmp_5); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___24625, s.tmp_5); s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.arg0; s.callLocIdx = 293; s.pc = 17; return s.tmp_4; @@ -37662,7 +37662,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___15395, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___24625, s.arg1); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -37677,11 +37677,11 @@ switch (step) { s.callLocIdx = 294; s.pc = 18; return s.tmp_5; case 18: r0 = s.retval; - r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___15395, s.arg1, s.tmp_4); + r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___24625, s.arg1, s.tmp_4); case 9: case 10: s.tmp_0 = sprites_SpriteSet_add__P848_mk(s); - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___15395, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___24625, s.arg1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 295; s.pc = 19; return s.tmp_0; @@ -37694,8 +37694,8 @@ switch (step) { case 20: r0 = s.retval; r0 = r0.fields["overlapMap"]; - s.overlapMap___15424 = (r0); - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___15424, s.arg1); + s.overlapMap___24654 = (r0); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___24654, s.arg1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -37703,7 +37703,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___15424; + s.tmp_3 = r0 = s.overlapMap___24654; s.tmp_4 = r0 = s.arg1; r0 = pxsim_Array__mk(); s.tmp_5 = r0; @@ -37711,7 +37711,7 @@ switch (step) { case 13: case 14: s.tmp_0 = r0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___15424, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___24654, s.arg1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_kindsOverlappedWith"] = (s.tmp_1); r0 = (s.arg0).fields["_kind"] = (s.arg1); @@ -37733,8 +37733,8 @@ function Sprite_setKind__P805_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - spritesByKind___15395: undefined, - overlapMap___15424: undefined, + spritesByKind___24625: undefined, + overlapMap___24654: undefined, arg0: undefined, arg1: undefined, } } @@ -37893,7 +37893,7 @@ function sprites_SpriteSet_contains__P851_mk(s) { -function tileworld_RuleVisualsBase_setTileSaved__P4345(s) { +function tileworld_RuleVisualsBase_setTileSaved__P10854(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37908,18 +37908,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C4330_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C10839_VT)) failedCast(r0); s.tmp_0 = Sprite_x__P771_mk(s); r0 = s.arg0.fields["tileSaved"]; s.tmp_0.arg0 = r0; s.tmp_1 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 683; s.pc = 2; return s.tmp_1; + s.callLocIdx = 686; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 684; s.pc = 1; return s.tmp_0; + s.callLocIdx = 687; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = Sprite_y__P773_mk(s); @@ -37928,11 +37928,11 @@ switch (step) { s.tmp_1 = Sprite_y__P772_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 685; s.pc = 4; return s.tmp_1; + s.callLocIdx = 688; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 686; s.pc = 3; return s.tmp_0; + s.callLocIdx = 689; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; s.tmp_0 = if_z_2_mk(s); @@ -37945,7 +37945,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 = 687; s.pc = 5; return s.tmp_0; } + else { s.callLocIdx = 690; s.pc = 5; return s.tmp_0; } } case 5: r0 = s.retval; @@ -37954,19 +37954,19 @@ switch (step) { s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = false; - s.callLocIdx = 688; s.pc = 6; return s.tmp_0; + s.callLocIdx = 691; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_setTileSaved__P4345.info = {"start":4933,"length":229,"line":128,"column":8,"endLine":133,"endColumn":9,"fileName":"rulesBase.ts","functionName":"setTileSaved","argumentNames":["this"]} +tileworld_RuleVisualsBase_setTileSaved__P10854.info = {"start":4933,"length":229,"line":128,"column":8,"endLine":133,"endColumn":9,"fileName":"rulesBase.ts","functionName":"setTileSaved","argumentNames":["this"]} -function tileworld_RuleVisualsBase_setTileSaved__P4345_mk(s) { +function tileworld_RuleVisualsBase_setTileSaved__P10854_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_setTileSaved__P4345, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_setTileSaved__P10854, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37977,7 +37977,7 @@ function tileworld_RuleVisualsBase_setTileSaved__P4345_mk(s) { -function tileworld_ruleediting_RuleDisplay_constructor__P4423(s) { +function tileworld_ruleediting_RuleDisplay_constructor__P11291(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37994,28 +37994,28 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_VT)) failedCast(r0); r0 = (s.arg0).fields["rule"] = (s.arg2); - s.tmp_0 = tileworld_RuleVisualsBase_constructor__P4348_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_constructor__P10857_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 689; s.pc = 1; return s.tmp_0; + s.callLocIdx = 692; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_AllExport__C3931_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_AllExport__C6025_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_AllExport_constructor__P3936_mk(s); + s.tmp_1 = tileworld_AllExport_constructor__P6030_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 690; s.pc = 2; return s.tmp_1; + s.callLocIdx = 693; 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__P763_mk(s); - s.tmp_2.arg0 = globals.cursorOut___4024; + s.tmp_2.arg0 = globals.cursorOut___7253; s.tmp_2.arg1 = undefined; - s.callLocIdx = 691; 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; @@ -38025,21 +38025,21 @@ switch (step) { s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = true; - s.callLocIdx = 692; s.pc = 4; return s.tmp_0; + s.callLocIdx = 695; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; s.tmp_0 = Sprite_x__P771_mk(s); r0 = s.arg0.fields["otherCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 88; - s.callLocIdx = 693; s.pc = 5; return s.tmp_0; + s.callLocIdx = 696; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; s.tmp_0 = Sprite_y__P773_mk(s); r0 = s.arg0.fields["otherCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 46; - s.callLocIdx = 694; s.pc = 6; return s.tmp_0; + s.callLocIdx = 697; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; s.tmp_0 = if_z_2_mk(s); @@ -38052,7 +38052,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 = 695; s.pc = 7; return s.tmp_0; } + else { s.callLocIdx = 698; s.pc = 7; return s.tmp_0; } } case 7: r0 = s.retval; @@ -38060,12 +38060,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_constructor__P4423.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__P11291.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__P4423_mk(s) { +function tileworld_ruleediting_RuleDisplay_constructor__P11291_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_constructor__P4423, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_constructor__P11291, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38079,7 +38079,7 @@ function tileworld_ruleediting_RuleDisplay_constructor__P4423_mk(s) { -function tileworld_AllExport_constructor__P3936(s) { +function tileworld_AllExport_constructor__P6030(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38095,13 +38095,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_AllExport__C3931_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_AllExport__C6025_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__P15654); + r0 = pxsim_pxtcore_mkAction(1, inline__P6041); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = helpers_arrayForEach__P60_mk(s); @@ -38113,7 +38113,7 @@ switch (step) { s.callLocIdx = 155; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P15665); + r0 = pxsim_pxtcore_mkAction(1, inline__P6052); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = helpers_arrayForEach__P60_mk(s); @@ -38129,12 +38129,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_AllExport_constructor__P3936.info = {"start":693,"length":232,"line":20,"column":8,"endLine":24,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_AllExport_constructor__P6030.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__P3936_mk(s) { +function tileworld_AllExport_constructor__P6030_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_AllExport_constructor__P3936, depth: s.depth + 1, + parent: s, fn: tileworld_AllExport_constructor__P6030, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38147,7 +38147,7 @@ function tileworld_AllExport_constructor__P3936_mk(s) { -function inline__P15654(s) { +function inline__P6041(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38168,12 +38168,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P15654.info = {"start":806,"length":31,"line":22,"column":46,"endLine":22,"endColumn":77,"fileName":"project.ts","functionName":"inline","argumentNames":["img"]} +inline__P6041.info = {"start":806,"length":31,"line":22,"column":46,"endLine":22,"endColumn":77,"fileName":"project.ts","functionName":"inline","argumentNames":["img"]} -function inline__P15654_mk(s) { +function inline__P6041_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P15654, depth: s.depth + 1, + parent: s, fn: inline__P6041, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38183,7 +38183,7 @@ function inline__P15654_mk(s) { -function inline__P15665(s) { +function inline__P6052(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38204,12 +38204,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P15665.info = {"start":882,"length":31,"line":23,"column":42,"endLine":23,"endColumn":73,"fileName":"project.ts","functionName":"inline","argumentNames":["img"]} +inline__P6052.info = {"start":882,"length":31,"line":23,"column":42,"endLine":23,"endColumn":73,"fileName":"project.ts","functionName":"inline","argumentNames":["img"]} -function inline__P15665_mk(s) { +function inline__P6052_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P15665, depth: s.depth + 1, + parent: s, fn: inline__P6052, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38219,7 +38219,7 @@ function inline__P15665_mk(s) { -function tileworld_ImageEditor_constructor__P4326(s) { +function tileworld_ImageEditor_constructor__P10062(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38235,14 +38235,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C4316_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ImageEditor__C10052_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__P4329_mk(s); + s.tmp_0 = tileworld_BackgroundBase_constructor__P9502_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 529; s.pc = 1; return s.tmp_0; + s.callLocIdx = 532; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -38255,9 +38255,9 @@ switch (step) { r0 = (s.tmp_0).fields["image"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; s.tmp_2 = sprites_create__P763_mk(s); - s.tmp_2.arg0 = globals.colorOut___4305; + s.tmp_2.arg0 = globals.colorOut___10041; s.tmp_2.arg1 = undefined; - s.callLocIdx = 531; s.pc = 2; return s.tmp_2; + s.callLocIdx = 534; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1 = r0; @@ -38267,59 +38267,59 @@ switch (step) { s.tmp_0.arg0 = r0; r0 = (5 + 4); s.tmp_0.arg1 = r0; - s.callLocIdx = 532; s.pc = 3; return s.tmp_0; + s.callLocIdx = 535; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; s.tmp_0 = Sprite_y__P773_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 94; - s.callLocIdx = 533; s.pc = 4; return s.tmp_0; + s.callLocIdx = 536; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = tileworld_cursorAnimation__P3838_mk(s); + s.tmp_0 = tileworld_cursorAnimation__P3907_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.colorIn___4308; - s.callLocIdx = 534; s.pc = 5; return s.tmp_0; + s.tmp_0.arg1 = globals.colorIn___10044; + s.callLocIdx = 537; 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__P763_mk(s); - s.tmp_2.arg0 = globals.paintOut___4311; + s.tmp_2.arg0 = globals.paintOut___10047; s.tmp_2.arg1 = undefined; - s.callLocIdx = 535; s.pc = 6; return s.tmp_2; + s.callLocIdx = 538; 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__P3838_mk(s); + s.tmp_0 = tileworld_cursorAnimation__P3907_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.paintIn___4314; - s.callLocIdx = 536; s.pc = 7; return s.tmp_0; + s.tmp_0.arg1 = globals.paintIn___10050; + s.callLocIdx = 539; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; s.tmp_0 = Sprite_x__P771_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 32; - s.callLocIdx = 537; s.pc = 8; return s.tmp_0; + s.callLocIdx = 540; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; s.tmp_0 = Sprite_y__P773_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 26; - s.callLocIdx = 538; s.pc = 9; return s.tmp_0; + s.callLocIdx = 541; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; s.tmp_0 = r0 = s.arg0; s.tmp_2 = sprites_create__P763_mk(s); - s.tmp_2.arg0 = globals.cursorIn___4021; + s.tmp_2.arg0 = globals.cursorIn___7250; s.tmp_2.arg1 = undefined; - s.callLocIdx = 539; s.pc = 10; return s.tmp_2; + s.callLocIdx = 542; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; s.tmp_1 = r0; @@ -38328,156 +38328,156 @@ switch (step) { r0 = s.arg0.fields["menuCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 8; - s.callLocIdx = 540; s.pc = 11; return s.tmp_0; + s.callLocIdx = 543; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; s.tmp_0 = Sprite_y__P773_mk(s); r0 = s.arg0.fields["menuCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 12; - s.callLocIdx = 541; s.pc = 12; return s.tmp_0; + s.callLocIdx = 544; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = tileworld_cursorAnimation__P3838_mk(s); + s.tmp_0 = tileworld_cursorAnimation__P3907_mk(s); r0 = s.arg0.fields["menuCursor"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.cursorOut___4024; - s.callLocIdx = 542; s.pc = 13; return s.tmp_0; + s.tmp_0.arg1 = globals.cursorOut___7253; + s.callLocIdx = 545; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = tileworld_ImageEditor_setCursor__P4324_mk(s); + s.tmp_0 = tileworld_ImageEditor_setCursor__P10060_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; - s.callLocIdx = 543; s.pc = 14; return s.tmp_0; + s.callLocIdx = 546; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = tileworld_ImageEditor__C4316_v0_1_mk(s); + s.tmp_0 = tileworld_ImageEditor__C10052_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_ImageEditor__C4316_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_ImageEditor__C10052_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__P15765); + r0 = pxsim_pxtcore_mkAction(1, inline__P10156); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.left___669; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 545; s.pc = 16; return s.tmp_1; + s.callLocIdx = 548; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P15772); + r0 = pxsim_pxtcore_mkAction(1, inline__P10161); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.left___669; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 547; s.pc = 17; return s.tmp_1; + s.callLocIdx = 550; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P15777); + r0 = pxsim_pxtcore_mkAction(1, inline__P10166); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.right___673; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 549; s.pc = 18; return s.tmp_1; + s.callLocIdx = 552; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P15782); + r0 = pxsim_pxtcore_mkAction(1, inline__P10171); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.right___673; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 551; s.pc = 19; return s.tmp_1; + s.callLocIdx = 554; s.pc = 19; return s.tmp_1; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P15787); + r0 = pxsim_pxtcore_mkAction(1, inline__P10176); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.up___671; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 553; s.pc = 20; return s.tmp_1; + s.callLocIdx = 556; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P15792); + r0 = pxsim_pxtcore_mkAction(1, inline__P10181); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.up___671; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 555; s.pc = 21; return s.tmp_1; + s.callLocIdx = 558; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P15797); + r0 = pxsim_pxtcore_mkAction(1, inline__P10186); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.down___675; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 557; s.pc = 22; return s.tmp_1; + s.callLocIdx = 560; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P15802); + r0 = pxsim_pxtcore_mkAction(1, inline__P10191); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.down___675; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 559; s.pc = 23; return s.tmp_1; + s.callLocIdx = 562; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P15807); + r0 = pxsim_pxtcore_mkAction(1, inline__P10196); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.A___665; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 561; s.pc = 24; return s.tmp_1; + s.callLocIdx = 564; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P15816); + r0 = pxsim_pxtcore_mkAction(1, inline__P10205); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.A___665; s.tmp_1.arg1 = 2048; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 562; s.pc = 25; return s.tmp_1; + s.callLocIdx = 565; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P15822); + r0 = pxsim_pxtcore_mkAction(1, inline__P10211); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.B___667; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 566; s.pc = 26; return s.tmp_1; + s.callLocIdx = 569; s.pc = 26; return s.tmp_1; case 26: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_constructor__P4326.info = {"start":1515,"length":2170,"line":63,"column":8,"endLine":105,"endColumn":9,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_ImageEditor_constructor__P10062.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__P4326_mk(s) { +function tileworld_ImageEditor_constructor__P10062_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_constructor__P4326, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_constructor__P10062, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38491,7 +38491,7 @@ function tileworld_ImageEditor_constructor__P4326_mk(s) { -function inline__P15765(s) { +function inline__P10156(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38501,21 +38501,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_ImageEditor_moveLeft__P4319_mk(s); + s.tmp_0 = tileworld_ImageEditor_moveLeft__P10055_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 544; s.pc = 1; return s.tmp_0; + s.callLocIdx = 547; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P15765.info = {"start":2428,"length":21,"line":86,"column":67,"endLine":86,"endColumn":88,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P10156.info = {"start":2428,"length":21,"line":86,"column":67,"endLine":86,"endColumn":88,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P15765_mk(s) { +function inline__P10156_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P15765, depth: s.depth + 1, + parent: s, fn: inline__P10156, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -38524,7 +38524,7 @@ function inline__P15765_mk(s) { -function inline__P15772(s) { +function inline__P10161(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38534,21 +38534,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_ImageEditor_moveLeft__P4319_mk(s); + s.tmp_0 = tileworld_ImageEditor_moveLeft__P10055_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 546; s.pc = 1; return s.tmp_0; + s.callLocIdx = 549; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P15772.info = {"start":2520,"length":21,"line":87,"column":68,"endLine":87,"endColumn":89,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P10161.info = {"start":2520,"length":21,"line":87,"column":68,"endLine":87,"endColumn":89,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P15772_mk(s) { +function inline__P10161_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P15772, depth: s.depth + 1, + parent: s, fn: inline__P10161, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -38557,7 +38557,7 @@ function inline__P15772_mk(s) { -function inline__P15777(s) { +function inline__P10166(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38567,21 +38567,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_ImageEditor_moveRight__P4320_mk(s); + s.tmp_0 = tileworld_ImageEditor_moveRight__P10056_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 548; s.pc = 1; return s.tmp_0; + s.callLocIdx = 551; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P15777.info = {"start":2612,"length":22,"line":88,"column":68,"endLine":88,"endColumn":90,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P10166.info = {"start":2612,"length":22,"line":88,"column":68,"endLine":88,"endColumn":90,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P15777_mk(s) { +function inline__P10166_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P15777, depth: s.depth + 1, + parent: s, fn: inline__P10166, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -38590,7 +38590,7 @@ function inline__P15777_mk(s) { -function inline__P15782(s) { +function inline__P10171(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38600,21 +38600,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_ImageEditor_moveRight__P4320_mk(s); + s.tmp_0 = tileworld_ImageEditor_moveRight__P10056_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 550; s.pc = 1; return s.tmp_0; + s.callLocIdx = 553; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P15782.info = {"start":2706,"length":22,"line":89,"column":69,"endLine":89,"endColumn":91,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P10171.info = {"start":2706,"length":22,"line":89,"column":69,"endLine":89,"endColumn":91,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P15782_mk(s) { +function inline__P10171_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P15782, depth: s.depth + 1, + parent: s, fn: inline__P10171, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -38623,7 +38623,7 @@ function inline__P15782_mk(s) { -function inline__P15787(s) { +function inline__P10176(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38633,21 +38633,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_ImageEditor_moveUp__P4321_mk(s); + s.tmp_0 = tileworld_ImageEditor_moveUp__P10057_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 552; s.pc = 1; return s.tmp_0; + s.callLocIdx = 555; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P15787.info = {"start":2796,"length":19,"line":90,"column":65,"endLine":90,"endColumn":84,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P10176.info = {"start":2796,"length":19,"line":90,"column":65,"endLine":90,"endColumn":84,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P15787_mk(s) { +function inline__P10176_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P15787, depth: s.depth + 1, + parent: s, fn: inline__P10176, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -38656,7 +38656,7 @@ function inline__P15787_mk(s) { -function inline__P15792(s) { +function inline__P10181(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38666,21 +38666,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_ImageEditor_moveUp__P4321_mk(s); + s.tmp_0 = tileworld_ImageEditor_moveUp__P10057_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 554; s.pc = 1; return s.tmp_0; + s.callLocIdx = 557; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P15792.info = {"start":2884,"length":19,"line":91,"column":66,"endLine":91,"endColumn":85,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P10181.info = {"start":2884,"length":19,"line":91,"column":66,"endLine":91,"endColumn":85,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P15792_mk(s) { +function inline__P10181_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P15792, depth: s.depth + 1, + parent: s, fn: inline__P10181, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -38689,7 +38689,7 @@ function inline__P15792_mk(s) { -function inline__P15797(s) { +function inline__P10186(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38699,21 +38699,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_ImageEditor_moveDown__P4322_mk(s); + s.tmp_0 = tileworld_ImageEditor_moveDown__P10058_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 556; 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__P15797.info = {"start":2973,"length":21,"line":92,"column":67,"endLine":92,"endColumn":88,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P10186.info = {"start":2973,"length":21,"line":92,"column":67,"endLine":92,"endColumn":88,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P15797_mk(s) { +function inline__P10186_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P15797, depth: s.depth + 1, + parent: s, fn: inline__P10186, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -38722,7 +38722,7 @@ function inline__P15797_mk(s) { -function inline__P15802(s) { +function inline__P10191(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38732,21 +38732,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_ImageEditor_moveDown__P4322_mk(s); + s.tmp_0 = tileworld_ImageEditor_moveDown__P10058_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 558; 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__P15802.info = {"start":3065,"length":21,"line":93,"column":68,"endLine":93,"endColumn":89,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P10191.info = {"start":3065,"length":21,"line":93,"column":68,"endLine":93,"endColumn":89,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P15802_mk(s) { +function inline__P10191_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P15802, depth: s.depth + 1, + parent: s, fn: inline__P10191, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -38755,7 +38755,7 @@ function inline__P15802_mk(s) { -function inline__P15807(s) { +function inline__P10196(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38766,21 +38766,21 @@ switch (step) { case 0: r0 = (s.caps[0]).fields["Adown"] = (true); - s.tmp_0 = tileworld_ImageEditor_paintPixel__P4318_mk(s); + s.tmp_0 = tileworld_ImageEditor_paintPixel__P10054_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 560; 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__P15807.info = {"start":3154,"length":46,"line":95,"column":64,"endLine":95,"endColumn":110,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P10196.info = {"start":3154,"length":46,"line":95,"column":64,"endLine":95,"endColumn":110,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P15807_mk(s) { +function inline__P10196_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P15807, depth: s.depth + 1, + parent: s, fn: inline__P10196, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -38789,7 +38789,7 @@ function inline__P15807_mk(s) { -function inline__P15816(s) { +function inline__P10205(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38804,12 +38804,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P15816.info = {"start":3268,"length":29,"line":96,"column":65,"endLine":96,"endColumn":94,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P10205.info = {"start":3268,"length":29,"line":96,"column":65,"endLine":96,"endColumn":94,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P15816_mk(s) { +function inline__P10205_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P15816, depth: s.depth + 1, + parent: s, fn: inline__P10205, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -38817,7 +38817,7 @@ function inline__P15816_mk(s) { -function inline__P15822(s) { +function inline__P10211(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38833,9 +38833,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__P4323_mk(s); + s.tmp_2 = tileworld_ImageEditor_saveAndPop__P10059_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.callLocIdx = 563; s.pc = 5; return s.tmp_2; + s.callLocIdx = 566; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; { step = 4; continue; } @@ -38846,18 +38846,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__P4324_mk(s); + s.tmp_2 = tileworld_ImageEditor_setCursor__P10060_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = 0; - s.callLocIdx = 564; s.pc = 6; return s.tmp_2; + s.callLocIdx = 567; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; { step = 3; continue; } case 2: - s.tmp_0 = tileworld_ImageEditor_setCursor__P4324_mk(s); + s.tmp_0 = tileworld_ImageEditor_setCursor__P10060_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 2; - s.callLocIdx = 565; s.pc = 7; return s.tmp_0; + s.callLocIdx = 568; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; case 3: @@ -38866,12 +38866,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P15822.info = {"start":3364,"length":309,"line":97,"column":64,"endLine":104,"endColumn":13,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} +inline__P10211.info = {"start":3364,"length":309,"line":97,"column":64,"endLine":104,"endColumn":13,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":[]} -function inline__P15822_mk(s) { +function inline__P10211_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P15822, depth: s.depth + 1, + parent: s, fn: inline__P10211, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38882,7 +38882,7 @@ function inline__P15822_mk(s) { -function tileworld_ImageEditor_saveAndPop__P4323(s) { +function tileworld_ImageEditor_saveAndPop__P10059(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38897,29 +38897,29 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C4316_VT)) failedCast(r0); - s.tmp_0 = tileworld_AllExport_saveImage__P3934_mk(s); + if (!checkSubtype(r0, tileworld_ImageEditor__C10052_VT)) failedCast(r0); + s.tmp_0 = tileworld_AllExport_saveImage__P6028_mk(s); r0 = s.arg0.fields["p"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["kind"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 614; s.pc = 1; return s.tmp_0; + s.callLocIdx = 617; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = game_popScene__P1293_mk(s); - s.callLocIdx = 615; s.pc = 2; return s.tmp_0; + s.callLocIdx = 618; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_saveAndPop__P4323.info = {"start":7392,"length":102,"line":196,"column":8,"endLine":199,"endColumn":9,"fileName":"imageeditor.ts","functionName":"saveAndPop","argumentNames":["this"]} +tileworld_ImageEditor_saveAndPop__P10059.info = {"start":7392,"length":102,"line":196,"column":8,"endLine":199,"endColumn":9,"fileName":"imageeditor.ts","functionName":"saveAndPop","argumentNames":["this"]} -function tileworld_ImageEditor_saveAndPop__P4323_mk(s) { +function tileworld_ImageEditor_saveAndPop__P10059_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_saveAndPop__P4323, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_saveAndPop__P10059, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38929,7 +38929,7 @@ function tileworld_ImageEditor_saveAndPop__P4323_mk(s) { -function tileworld_AllExport_saveImage__P3934(s) { +function tileworld_AllExport_saveImage__P6028(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38945,7 +38945,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_AllExport__C3931_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_AllExport__C6025_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; @@ -38957,7 +38957,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__P3953_mk(s); + s.tmp_5 = tileworld_Project_saveBackgroundImage__P6016_mk(s); r0 = s.arg0.fields["p"]; s.tmp_5.arg0 = r0; s.tmp_5.arg1 = s.arg1; @@ -38966,7 +38966,7 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_6 = tileworld_Project_saveSpriteImage__P3954_mk(s); + s.tmp_6 = tileworld_Project_saveSpriteImage__P6021_mk(s); r0 = s.arg0.fields["p"]; s.tmp_6.arg0 = r0; s.tmp_7 = r0 = s.arg1; @@ -38987,12 +38987,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_AllExport_saveImage__P3934.info = {"start":1101,"length":168,"line":31,"column":8,"endLine":33,"endColumn":9,"fileName":"project.ts","functionName":"saveImage","argumentNames":["this","index"]} +tileworld_AllExport_saveImage__P6028.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__P3934_mk(s) { +function tileworld_AllExport_saveImage__P6028_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_AllExport_saveImage__P3934, depth: s.depth + 1, + parent: s, fn: tileworld_AllExport_saveImage__P6028, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39013,7 +39013,7 @@ function tileworld_AllExport_saveImage__P3934_mk(s) { -function tileworld_Project_saveSpriteImage__P3954(s) { +function tileworld_Project_saveSpriteImage__P6021(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39023,19 +39023,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___15867 = undefined; + s.buf___6240 = 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__C3937_VT)) failedCast(r0); - s.tmp_0 = tileworld_saveImage__P3985_mk(s); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); + s.tmp_0 = tileworld_saveImage__P6232_mk(s); r0 = s.arg0.fields["prefix"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.tmp_1 = tileworld_Project_getSpriteImage__P3952_mk(s); + s.tmp_1 = tileworld_Project_getSpriteImage__P6007_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 172; s.pc = 2; return s.tmp_1; @@ -39046,21 +39046,21 @@ switch (step) { s.callLocIdx = 173; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.buf___15867 = (r0); + s.buf___6240 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_Project_saveSpriteImage__P3954.info = {"start":3917,"length":134,"line":114,"column":8,"endLine":116,"endColumn":9,"fileName":"project.ts","functionName":"saveSpriteImage","argumentNames":["this","kind"]} +tileworld_Project_saveSpriteImage__P6021.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__P3954_mk(s) { +function tileworld_Project_saveSpriteImage__P6021_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_saveSpriteImage__P3954, depth: s.depth + 1, + parent: s, fn: tileworld_Project_saveSpriteImage__P6021, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___15867: undefined, + buf___6240: undefined, arg0: undefined, arg1: undefined, } } @@ -39069,7 +39069,7 @@ function tileworld_Project_saveSpriteImage__P3954_mk(s) { -function tileworld_saveImage__P3985(s) { +function tileworld_saveImage__P6232(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39079,7 +39079,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___15878 = undefined; + s.buf___7123 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -39087,18 +39087,18 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_imageToBuffer__P3842_mk(s); + s.tmp_0 = tileworld_imageToBuffer__P4091_mk(s); s.tmp_0.arg0 = s.arg2; s.callLocIdx = 277; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.buf___15878 = (r0); + s.buf___7123 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg3); if (!r0) { step = 1; continue; } - r0 = globals.BackImageKey___3979; + r0 = globals.BackImageKey___6729; { step = 2; continue; } case 1: - r0 = globals.SpriteImageKey___3980; + r0 = globals.SpriteImageKey___6731; case 2: // jmp value (already in r0) s.tmp_0 = r0; @@ -39145,20 +39145,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___15878; + s.tmp_1.arg1 = s.buf___7123; s.callLocIdx = 278; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - r0 = s.buf___15878; + r0 = s.buf___7123; return leave(s, r0) default: oops() } } } -tileworld_saveImage__P3985.info = {"start":13600,"length":255,"line":347,"column":4,"endLine":351,"endColumn":5,"fileName":"project.ts","functionName":"saveImage","argumentNames":["prefix","kind","img","background"]} +tileworld_saveImage__P6232.info = {"start":13600,"length":255,"line":347,"column":4,"endLine":351,"endColumn":5,"fileName":"project.ts","functionName":"saveImage","argumentNames":["prefix","kind","img","background"]} -function tileworld_saveImage__P3985_mk(s) { +function tileworld_saveImage__P6232_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_saveImage__P3985, depth: s.depth + 1, + parent: s, fn: tileworld_saveImage__P6232, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39168,7 +39168,7 @@ function tileworld_saveImage__P3985_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - buf___15878: undefined, + buf___7123: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -39179,7 +39179,7 @@ function tileworld_saveImage__P3985_mk(s) { -function tileworld_imageToBuffer__P3842(s) { +function tileworld_imageToBuffer__P4091(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39189,13 +39189,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___15901 = undefined; - s.index___15914 = undefined; - s.pixel___15933 = undefined; - s.length___15934 = undefined; - s.x___15935 = undefined; - s.y___15942 = undefined; - s.newPixel___15949 = undefined; + s.buf___4093 = undefined; + s.index___4106 = undefined; + s.pixel___4127 = undefined; + s.length___4128 = undefined; + s.x___4129 = undefined; + s.y___4136 = undefined; + s.newPixel___4143 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -39209,129 +39209,129 @@ switch (step) { r0 = (2 + s.tmp_1); s.tmp_0 = r0; r0 = pxsim.control.createBuffer(s.tmp_0); - s.buf___15901 = (r0); - s.index___15914 = (0); - s.tmp_0 = r0 = s.index___15914; + s.buf___4093 = (r0); + s.index___4106 = (0); + s.tmp_0 = r0 = s.index___4106; r0 = (s.tmp_0 + 1); - s.index___15914 = (r0); - s.tmp_1 = r0 = s.buf___15901; + s.index___4106 = (r0); + s.tmp_1 = r0 = s.buf___4093; 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___15914; + s.tmp_0 = r0 = s.index___4106; r0 = (s.tmp_0 + 1); - s.index___15914 = (r0); - s.tmp_1 = r0 = s.buf___15901; + s.index___4106 = (r0); + s.tmp_1 = r0 = s.buf___4093; 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___15933 = (17); - s.length___15934 = (0); - s.x___15935 = (0); + s.pixel___4127 = (17); + s.length___4128 = (0); + s.x___4129 = (0); case 1: - s.tmp_1 = r0 = s.x___15935; + s.tmp_1 = r0 = s.x___4129; 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___15942 = (0); + s.y___4136 = (0); case 2: - s.tmp_1 = r0 = s.y___15942; + s.tmp_1 = r0 = s.y___4136; 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___15935, s.y___15942); - s.newPixel___15949 = (r0); - r0 = (s.newPixel___15949 != s.pixel___15933); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___4129, s.y___4136); + s.newPixel___4143 = (r0); + r0 = (s.newPixel___4143 != s.pixel___4127); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = (s.length___15934 > 0); + r0 = (s.length___4128 > 0); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 3; continue; } - s.tmp_2 = r0 = s.index___15914; + s.tmp_2 = r0 = s.index___4106; r0 = (s.tmp_2 + 1); - s.index___15914 = (r0); - s.tmp_3 = r0 = s.buf___15901; - r0 = (s.length___15934 & 15); + s.index___4106 = (r0); + s.tmp_3 = r0 = s.buf___4093; + r0 = (s.length___4128 & 15); s.tmp_6 = r0; r0 = (s.tmp_6 << 4); s.tmp_5 = r0; - r0 = (s.pixel___15933 & 15); + r0 = (s.pixel___4127 & 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___15933 = (s.newPixel___15949); - s.length___15934 = (1); + s.pixel___4127 = (s.newPixel___4143); + s.length___4128 = (1); { step = 8; continue; } case 5: - r0 = (s.length___15934 == 14); + r0 = (s.length___4128 == 14); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.tmp_1 = r0 = s.index___15914; + s.tmp_1 = r0 = s.index___4106; r0 = (s.tmp_1 + 1); - s.index___15914 = (r0); - s.tmp_2 = r0 = s.buf___15901; - r0 = (s.pixel___15933 & 15); + s.index___4106 = (r0); + s.tmp_2 = r0 = s.buf___4093; + r0 = (s.pixel___4127 & 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___15933 = (17); - s.length___15934 = (0); + s.pixel___4127 = (17); + s.length___4128 = (0); { step = 7; continue; } case 6: - r0 = (s.length___15934 + 1); - s.length___15934 = (r0); + r0 = (s.length___4128 + 1); + s.length___4128 = (r0); case 7: case 8: - r0 = (s.y___15942 + 1); - s.y___15942 = (r0); + r0 = (s.y___4136 + 1); + s.y___4136 = (r0); { step = 2; continue; } case 9: - r0 = (s.x___15935 + 1); - s.x___15935 = (r0); + r0 = (s.x___4129 + 1); + s.x___4129 = (r0); { step = 1; continue; } case 10: - r0 = (s.length___15934 > 0); + r0 = (s.length___4128 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = r0 = s.index___15914; + s.tmp_1 = r0 = s.index___4106; r0 = (s.tmp_1 + 1); - s.index___15914 = (r0); - s.tmp_2 = r0 = s.buf___15901; - r0 = (s.length___15934 & 15); + s.index___4106 = (r0); + s.tmp_2 = r0 = s.buf___4093; + r0 = (s.length___4128 & 15); s.tmp_5 = r0; r0 = (s.tmp_5 << 4); s.tmp_4 = r0; - r0 = (s.pixel___15933 & 15); + r0 = (s.pixel___4127 & 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___15901, 0, s.index___15914); + r0 = pxsim.BufferMethods.slice(s.buf___4093, 0, s.index___4106); return leave(s, r0) default: oops() } } } -tileworld_imageToBuffer__P3842.info = {"start":2360,"length":1477,"line":68,"column":4,"endLine":106,"endColumn":5,"fileName":"utilities.ts","functionName":"imageToBuffer","argumentNames":["img"]} +tileworld_imageToBuffer__P4091.info = {"start":2360,"length":1477,"line":68,"column":4,"endLine":106,"endColumn":5,"fileName":"utilities.ts","functionName":"imageToBuffer","argumentNames":["img"]} -function tileworld_imageToBuffer__P3842_mk(s) { +function tileworld_imageToBuffer__P4091_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_imageToBuffer__P3842, depth: s.depth + 1, + parent: s, fn: tileworld_imageToBuffer__P4091, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39341,13 +39341,13 @@ function tileworld_imageToBuffer__P3842_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - buf___15901: undefined, - index___15914: undefined, - pixel___15933: undefined, - length___15934: undefined, - x___15935: undefined, - y___15942: undefined, - newPixel___15949: undefined, + buf___4093: undefined, + index___4106: undefined, + pixel___4127: undefined, + length___4128: undefined, + x___4129: undefined, + y___4136: undefined, + newPixel___4143: undefined, arg0: undefined, } } @@ -39355,7 +39355,7 @@ function tileworld_imageToBuffer__P3842_mk(s) { -function tileworld_Project_saveBackgroundImage__P3953(s) { +function tileworld_Project_saveBackgroundImage__P6016(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39365,19 +39365,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___16017 = undefined; + s.buf___6230 = 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__C3937_VT)) failedCast(r0); - s.tmp_0 = tileworld_saveImage__P3985_mk(s); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); + s.tmp_0 = tileworld_saveImage__P6232_mk(s); r0 = s.arg0.fields["prefix"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.tmp_1 = tileworld_Project_getBackgroundImage__P3951_mk(s); + s.tmp_1 = tileworld_Project_getBackgroundImage__P6002_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 170; s.pc = 2; return s.tmp_1; @@ -39388,21 +39388,21 @@ switch (step) { s.callLocIdx = 171; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.buf___16017 = (r0); + s.buf___6230 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_Project_saveBackgroundImage__P3953.info = {"start":3758,"length":141,"line":110,"column":8,"endLine":112,"endColumn":9,"fileName":"project.ts","functionName":"saveBackgroundImage","argumentNames":["this","kind"]} +tileworld_Project_saveBackgroundImage__P6016.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__P3953_mk(s) { +function tileworld_Project_saveBackgroundImage__P6016_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_saveBackgroundImage__P3953, depth: s.depth + 1, + parent: s, fn: tileworld_Project_saveBackgroundImage__P6016, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___16017: undefined, + buf___6230: undefined, arg0: undefined, arg1: undefined, } } @@ -39411,7 +39411,7 @@ function tileworld_Project_saveBackgroundImage__P3953_mk(s) { -function tileworld_Project_getBackgroundImage__P3951(s) { +function tileworld_Project_getBackgroundImage__P6002(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39427,7 +39427,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C3937_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); r0 = (0 <= s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -39459,12 +39459,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_getBackgroundImage__P3951.info = {"start":3464,"length":140,"line":102,"column":8,"endLine":104,"endColumn":9,"fileName":"project.ts","functionName":"getBackgroundImage","argumentNames":["this","kind"]} +tileworld_Project_getBackgroundImage__P6002.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__P3951_mk(s) { +function tileworld_Project_getBackgroundImage__P6002_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getBackgroundImage__P3951, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getBackgroundImage__P6002, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39481,7 +39481,7 @@ function tileworld_Project_getBackgroundImage__P3951_mk(s) { -function tileworld_ImageEditor_paintPixel__P4318(s) { +function tileworld_ImageEditor_paintPixel__P10054(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39491,17 +39491,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___16045 = undefined; - s.row___16056 = undefined; - s.col___16085 = undefined; - s.row___16100 = undefined; - s.col___16121 = undefined; + s.col___10236 = undefined; + s.row___10247 = undefined; + s.col___10276 = undefined; + s.row___10291 = undefined; + s.col___10312 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C4316_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ImageEditor__C10052_VT)) failedCast(r0); r0 = s.arg0.fields["Adown"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -39522,7 +39522,7 @@ switch (step) { s.tmp_8 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_8.arg0 = r0; - s.callLocIdx = 567; s.pc = 14; return s.tmp_8; + s.callLocIdx = 570; s.pc = 14; return s.tmp_8; case 14: r0 = s.retval; s.tmp_7 = r0; @@ -39531,11 +39531,11 @@ switch (step) { r0 = (s.tmp_6 / 8); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.col___16045 = (r0); + s.col___10236 = (r0); s.tmp_4 = Sprite_y__P772_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 568; s.pc = 15; return s.tmp_4; + s.callLocIdx = 571; s.pc = 15; return s.tmp_4; case 15: r0 = s.retval; s.tmp_3 = r0; @@ -39546,17 +39546,17 @@ switch (step) { r0 = (s.tmp_1 / 8); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.row___16056 = (r0); + s.row___10247 = (r0); s.tmp_0 = r0 = s.arg0; - r0 = (s.row___16056 * 2); + r0 = (s.row___10247 * 2); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.col___16045); + r0 = (s.tmp_2 + s.col___10236); s.tmp_1 = r0; r0 = (s.tmp_0).fields["selectedColor"] = (s.tmp_1); - s.tmp_0 = tileworld_ImageEditor_setCursor__P4324_mk(s); + s.tmp_0 = tileworld_ImageEditor_setCursor__P10060_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; - s.callLocIdx = 569; s.pc = 16; return s.tmp_0; + s.callLocIdx = 572; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; { step = 12; continue; } @@ -39571,7 +39571,7 @@ switch (step) { s.tmp_3 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 570; s.pc = 17; return s.tmp_3; + s.callLocIdx = 573; s.pc = 17; return s.tmp_3; case 17: r0 = s.retval; s.tmp_2 = r0; @@ -39580,11 +39580,11 @@ switch (step) { r0 = (s.tmp_1 / 6); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.col___16085 = (r0); + s.col___10276 = (r0); s.tmp_3 = Sprite_y__P772_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 571; s.pc = 18; return s.tmp_3; + s.callLocIdx = 574; s.pc = 18; return s.tmp_3; case 18: r0 = s.retval; s.tmp_2 = r0; @@ -39593,31 +39593,31 @@ switch (step) { r0 = (s.tmp_1 / 6); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.row___16100 = (r0); + s.row___10291 = (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___16085, s.row___16100, s.tmp_1); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.col___10276, s.row___10291, s.tmp_1); { step = 11; continue; } case 4: s.tmp_1 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["menuCursor"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 572; s.pc = 19; return s.tmp_1; + s.callLocIdx = 575; s.pc = 19; return s.tmp_1; case 19: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 >> 4); - s.col___16121 = (r0); - r0 = (2 <= s.col___16121); + s.col___10312 = (r0); + r0 = (2 <= s.col___10312); 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___16121; + s.tmp_1 = r0 = s.col___10312; r0 = s.arg0.fields["p"]; s.tmp_5 = r0; r0 = s.tmp_5.fields["allImages"]; @@ -39636,18 +39636,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__P3934_mk(s); + s.tmp_8 = tileworld_AllExport_saveImage__P6028_mk(s); r0 = s.arg0.fields["p"]; s.tmp_8.arg0 = r0; r0 = s.arg0.fields["kind"]; s.tmp_8.arg1 = r0; - s.callLocIdx = 574; s.pc = 20; return s.tmp_8; + s.callLocIdx = 577; 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___16121 - 2); + r0 = (s.col___10312 - 2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["kind"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; @@ -39665,9 +39665,9 @@ switch (step) { case 10: case 11: case 12: - s.tmp_0 = tileworld_ImageEditor__C4316_v0_1_mk(s); + s.tmp_0 = tileworld_ImageEditor__C10052_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_ImageEditor__C4316_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_ImageEditor__C10052_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: @@ -39677,12 +39677,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_paintPixel__P4318.info = {"start":3695,"length":1186,"line":107,"column":8,"endLine":131,"endColumn":9,"fileName":"imageeditor.ts","functionName":"paintPixel","argumentNames":["this"]} +tileworld_ImageEditor_paintPixel__P10054.info = {"start":3695,"length":1186,"line":107,"column":8,"endLine":131,"endColumn":9,"fileName":"imageeditor.ts","functionName":"paintPixel","argumentNames":["this"]} -function tileworld_ImageEditor_paintPixel__P4318_mk(s) { +function tileworld_ImageEditor_paintPixel__P10054_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_paintPixel__P4318, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_paintPixel__P10054, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39693,11 +39693,11 @@ function tileworld_ImageEditor_paintPixel__P4318_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - col___16045: undefined, - row___16056: undefined, - col___16085: undefined, - row___16100: undefined, - col___16121: undefined, + col___10236: undefined, + row___10247: undefined, + col___10276: undefined, + row___10291: undefined, + col___10312: undefined, arg0: undefined, } } @@ -39705,7 +39705,7 @@ function tileworld_ImageEditor_paintPixel__P4318_mk(s) { -function tileworld_ImageEditor_moveDown__P4322(s) { +function tileworld_ImageEditor_moveDown__P10058(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39720,7 +39720,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C4316_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ImageEditor__C10052_VT)) failedCast(r0); r0 = s.arg0.fields["cursorType"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 0); @@ -39730,7 +39730,7 @@ switch (step) { s.tmp_4 = Sprite_y__P772_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 606; s.pc = 9; return s.tmp_4; + s.callLocIdx = 609; s.pc = 9; return s.tmp_4; case 9: r0 = s.retval; s.tmp_3 = r0; @@ -39750,13 +39750,13 @@ switch (step) { s.tmp_8.arg0 = r0; s.tmp_11 = Sprite_y__P772_mk(s); s.tmp_11.arg0 = s.tmp_9; - s.callLocIdx = 607; s.pc = 11; return s.tmp_11; + s.callLocIdx = 610; 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 = 608; s.pc = 10; return s.tmp_8; + s.callLocIdx = 611; s.pc = 10; return s.tmp_8; case 10: r0 = s.retval; case 1: @@ -39769,10 +39769,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = tileworld_ImageEditor_setCursor__P4324_mk(s); + s.tmp_2 = tileworld_ImageEditor_setCursor__P10060_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 1; - s.callLocIdx = 609; s.pc = 12; return s.tmp_2; + s.callLocIdx = 612; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; { step = 7; continue; } @@ -39780,7 +39780,7 @@ switch (step) { s.tmp_2 = Sprite_y__P772_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 610; s.pc = 13; return s.tmp_2; + s.callLocIdx = 613; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; @@ -39794,34 +39794,34 @@ switch (step) { s.tmp_3.arg0 = r0; s.tmp_6 = Sprite_y__P772_mk(s); s.tmp_6.arg0 = s.tmp_4; - s.callLocIdx = 611; s.pc = 15; return s.tmp_6; + s.callLocIdx = 614; 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 = 612; s.pc = 14; return s.tmp_3; + s.callLocIdx = 615; 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__P4318_mk(s); + s.tmp_0 = tileworld_ImageEditor_paintPixel__P10054_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 613; s.pc = 16; return s.tmp_0; + s.callLocIdx = 616; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_moveDown__P4322.info = {"start":6846,"length":536,"line":183,"column":8,"endLine":194,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveDown","argumentNames":["this"]} +tileworld_ImageEditor_moveDown__P10058.info = {"start":6846,"length":536,"line":183,"column":8,"endLine":194,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveDown","argumentNames":["this"]} -function tileworld_ImageEditor_moveDown__P4322_mk(s) { +function tileworld_ImageEditor_moveDown__P10058_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_moveDown__P4322, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_moveDown__P10058, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39842,7 +39842,7 @@ function tileworld_ImageEditor_moveDown__P4322_mk(s) { -function tileworld_ImageEditor_moveUp__P4321(s) { +function tileworld_ImageEditor_moveUp__P10057(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39857,7 +39857,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C4316_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ImageEditor__C10052_VT)) failedCast(r0); r0 = s.arg0.fields["cursorType"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 0); @@ -39867,7 +39867,7 @@ switch (step) { s.tmp_4 = Sprite_y__P772_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 598; s.pc = 9; return s.tmp_4; + s.callLocIdx = 601; s.pc = 9; return s.tmp_4; case 9: r0 = s.retval; s.tmp_3 = r0; @@ -39885,13 +39885,13 @@ switch (step) { s.tmp_7.arg0 = r0; s.tmp_10 = Sprite_y__P772_mk(s); s.tmp_10.arg0 = s.tmp_8; - s.callLocIdx = 599; s.pc = 11; return s.tmp_10; + s.callLocIdx = 602; 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 = 600; s.pc = 10; return s.tmp_7; + s.callLocIdx = 603; s.pc = 10; return s.tmp_7; case 10: r0 = s.retval; case 1: @@ -39907,7 +39907,7 @@ switch (step) { s.tmp_4 = Sprite_y__P772_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 601; s.pc = 12; return s.tmp_4; + s.callLocIdx = 604; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; s.tmp_3 = r0; @@ -39921,42 +39921,42 @@ switch (step) { s.tmp_5.arg0 = r0; s.tmp_8 = Sprite_y__P772_mk(s); s.tmp_8.arg0 = s.tmp_6; - s.callLocIdx = 602; s.pc = 14; return s.tmp_8; + s.callLocIdx = 605; 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 = 603; s.pc = 13; return s.tmp_5; + s.callLocIdx = 606; s.pc = 13; return s.tmp_5; case 13: r0 = s.retval; { step = 5; continue; } case 4: - s.tmp_0 = tileworld_ImageEditor_setCursor__P4324_mk(s); + s.tmp_0 = tileworld_ImageEditor_setCursor__P10060_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; - s.callLocIdx = 604; s.pc = 15; return s.tmp_0; + s.callLocIdx = 607; 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__P4318_mk(s); + s.tmp_0 = tileworld_ImageEditor_paintPixel__P10054_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 605; s.pc = 16; return s.tmp_0; + s.callLocIdx = 608; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_moveUp__P4321.info = {"start":6292,"length":544,"line":169,"column":8,"endLine":181,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveUp","argumentNames":["this"]} +tileworld_ImageEditor_moveUp__P10057.info = {"start":6292,"length":544,"line":169,"column":8,"endLine":181,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveUp","argumentNames":["this"]} -function tileworld_ImageEditor_moveUp__P4321_mk(s) { +function tileworld_ImageEditor_moveUp__P10057_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_moveUp__P4321, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_moveUp__P10057, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39976,7 +39976,7 @@ function tileworld_ImageEditor_moveUp__P4321_mk(s) { -function tileworld_ImageEditor_moveRight__P4320(s) { +function tileworld_ImageEditor_moveRight__P10056(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39991,7 +39991,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C4316_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ImageEditor__C10052_VT)) failedCast(r0); r0 = s.arg0.fields["cursorType"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 0); @@ -40001,7 +40001,7 @@ switch (step) { s.tmp_4 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 587; s.pc = 11; return s.tmp_4; + s.callLocIdx = 590; s.pc = 11; return s.tmp_4; case 11: r0 = s.retval; s.tmp_3 = r0; @@ -40015,21 +40015,21 @@ switch (step) { s.tmp_5.arg0 = r0; s.tmp_8 = Sprite_x__P770_mk(s); s.tmp_8.arg0 = s.tmp_6; - s.callLocIdx = 588; s.pc = 13; return s.tmp_8; + s.callLocIdx = 591; 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 = 589; s.pc = 12; return s.tmp_5; + s.callLocIdx = 592; s.pc = 12; return s.tmp_5; case 12: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = tileworld_ImageEditor_setCursor__P4324_mk(s); + s.tmp_0 = tileworld_ImageEditor_setCursor__P10060_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; - s.callLocIdx = 590; s.pc = 14; return s.tmp_0; + s.callLocIdx = 593; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 2: @@ -40044,7 +40044,7 @@ switch (step) { s.tmp_4 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["menuCursor"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 591; s.pc = 15; return s.tmp_4; + s.callLocIdx = 594; s.pc = 15; return s.tmp_4; case 15: r0 = s.retval; s.tmp_3 = r0; @@ -40058,13 +40058,13 @@ switch (step) { s.tmp_5.arg0 = r0; s.tmp_8 = Sprite_x__P770_mk(s); s.tmp_8.arg0 = s.tmp_6; - s.callLocIdx = 592; s.pc = 17; return s.tmp_8; + s.callLocIdx = 595; 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 = 593; s.pc = 16; return s.tmp_5; + s.callLocIdx = 596; s.pc = 16; return s.tmp_5; case 16: r0 = s.retval; case 4: @@ -40074,7 +40074,7 @@ switch (step) { s.tmp_2 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 594; s.pc = 18; return s.tmp_2; + s.callLocIdx = 597; s.pc = 18; return s.tmp_2; case 18: r0 = s.retval; s.tmp_1 = r0; @@ -40090,34 +40090,34 @@ switch (step) { s.tmp_4.arg0 = r0; s.tmp_7 = Sprite_x__P770_mk(s); s.tmp_7.arg0 = s.tmp_5; - s.callLocIdx = 595; s.pc = 20; return s.tmp_7; + s.callLocIdx = 598; 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 = 596; s.pc = 19; return s.tmp_4; + s.callLocIdx = 599; 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__P4318_mk(s); + s.tmp_0 = tileworld_ImageEditor_paintPixel__P10054_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 597; s.pc = 21; return s.tmp_0; + s.callLocIdx = 600; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_moveRight__P4320.info = {"start":5579,"length":703,"line":151,"column":8,"endLine":167,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveRight","argumentNames":["this"]} +tileworld_ImageEditor_moveRight__P10056.info = {"start":5579,"length":703,"line":151,"column":8,"endLine":167,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveRight","argumentNames":["this"]} -function tileworld_ImageEditor_moveRight__P4320_mk(s) { +function tileworld_ImageEditor_moveRight__P10056_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_moveRight__P4320, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_moveRight__P10056, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40135,7 +40135,7 @@ function tileworld_ImageEditor_moveRight__P4320_mk(s) { -function tileworld_ImageEditor_moveLeft__P4319(s) { +function tileworld_ImageEditor_moveLeft__P10055(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40150,7 +40150,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C4316_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ImageEditor__C10052_VT)) failedCast(r0); r0 = s.arg0.fields["cursorType"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 0); @@ -40160,7 +40160,7 @@ switch (step) { s.tmp_4 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["colorCursor"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 576; s.pc = 11; return s.tmp_4; + s.callLocIdx = 579; s.pc = 11; return s.tmp_4; case 11: r0 = s.retval; s.tmp_3 = r0; @@ -40174,13 +40174,13 @@ switch (step) { s.tmp_5.arg0 = r0; s.tmp_8 = Sprite_x__P770_mk(s); s.tmp_8.arg0 = s.tmp_6; - s.callLocIdx = 577; s.pc = 13; return s.tmp_8; + s.callLocIdx = 580; 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 = 578; s.pc = 12; return s.tmp_5; + s.callLocIdx = 581; s.pc = 12; return s.tmp_5; case 12: r0 = s.retval; case 1: @@ -40196,7 +40196,7 @@ switch (step) { s.tmp_4 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["menuCursor"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 579; s.pc = 14; return s.tmp_4; + s.callLocIdx = 582; s.pc = 14; return s.tmp_4; case 14: r0 = s.retval; s.tmp_3 = r0; @@ -40210,13 +40210,13 @@ switch (step) { s.tmp_5.arg0 = r0; s.tmp_8 = Sprite_x__P770_mk(s); s.tmp_8.arg0 = s.tmp_6; - s.callLocIdx = 580; s.pc = 16; return s.tmp_8; + s.callLocIdx = 583; 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 = 581; s.pc = 15; return s.tmp_5; + s.callLocIdx = 584; s.pc = 15; return s.tmp_5; case 15: r0 = s.retval; case 4: @@ -40226,7 +40226,7 @@ switch (step) { s.tmp_2 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 582; s.pc = 17; return s.tmp_2; + s.callLocIdx = 585; s.pc = 17; return s.tmp_2; case 17: r0 = s.retval; s.tmp_1 = r0; @@ -40240,41 +40240,41 @@ switch (step) { s.tmp_3.arg0 = r0; s.tmp_6 = Sprite_x__P770_mk(s); s.tmp_6.arg0 = s.tmp_4; - s.callLocIdx = 583; s.pc = 19; return s.tmp_6; + s.callLocIdx = 586; 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 = 584; s.pc = 18; return s.tmp_3; + s.callLocIdx = 587; s.pc = 18; return s.tmp_3; case 18: r0 = s.retval; { step = 8; continue; } case 7: - s.tmp_0 = tileworld_ImageEditor_setCursor__P4324_mk(s); + s.tmp_0 = tileworld_ImageEditor_setCursor__P10060_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 585; s.pc = 20; return s.tmp_0; + s.callLocIdx = 588; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; case 8: case 9: case 10: - s.tmp_0 = tileworld_ImageEditor_paintPixel__P4318_mk(s); + s.tmp_0 = tileworld_ImageEditor_paintPixel__P10054_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 586; s.pc = 21; return s.tmp_0; + s.callLocIdx = 589; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_moveLeft__P4319.info = {"start":4891,"length":678,"line":133,"column":8,"endLine":149,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveLeft","argumentNames":["this"]} +tileworld_ImageEditor_moveLeft__P10055.info = {"start":4891,"length":678,"line":133,"column":8,"endLine":149,"endColumn":9,"fileName":"imageeditor.ts","functionName":"moveLeft","argumentNames":["this"]} -function tileworld_ImageEditor_moveLeft__P4319_mk(s) { +function tileworld_ImageEditor_moveLeft__P10055_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_moveLeft__P4319, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_moveLeft__P10055, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40292,7 +40292,7 @@ function tileworld_ImageEditor_moveLeft__P4319_mk(s) { -function tileworld_ImageEditor_update__P4325(s) { +function tileworld_ImageEditor_update__P10061(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40302,21 +40302,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___16409 = undefined; - s.col___16413 = undefined; - s.color___16417 = undefined; - s.yOffset___16422 = undefined; - s.row___16492 = undefined; - s.y___16499 = undefined; - s.col___16505 = undefined; - s.x___16512 = undefined; - s.color___16520 = undefined; + s.row___10634 = undefined; + s.col___10638 = undefined; + s.color___10642 = undefined; + s.yOffset___10647 = undefined; + s.row___10718 = undefined; + s.y___10725 = undefined; + s.col___10731 = undefined; + s.x___10738 = undefined; + s.color___10746 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C4316_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ImageEditor__C10052_VT)) failedCast(r0); r0 = pxsim_ImageMethods.fill(globals.screen___578, 0); s.tmp_0 = helpers_imageFillRect__P517_mk(s); s.tmp_0.arg0 = globals.screen___578; @@ -40325,11 +40325,11 @@ switch (step) { s.tmp_0.arg3 = 16; s.tmp_0.arg4 = 16; s.tmp_0.arg5 = 11; - s.callLocIdx = 619; s.pc = 13; return s.tmp_0; + s.callLocIdx = 622; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___578, globals.paint___4000, 0, 4); - r0 = pxsim_pxtcore_mkAction(1, inline__P16382); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___578, globals.paint___7229, 0, 4); + r0 = pxsim_pxtcore_mkAction(1, inline__P10607); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = helpers_arrayForEach__P60_mk(s); @@ -40338,37 +40338,37 @@ switch (step) { r0 = s.tmp_2.fields["allImages"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 621; s.pc = 14; return s.tmp_1; + s.callLocIdx = 624; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - s.row___16409 = (0); + s.row___10634 = (0); case 1: - r0 = (s.row___16409 < 8); + r0 = (s.row___10634 < 8); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.col___16413 = (0); + s.col___10638 = (0); case 2: - r0 = (s.col___16413 < 2); + r0 = (s.col___10638 < 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = (s.row___16409 * 2); + r0 = (s.row___10634 * 2); s.tmp_1 = r0; - r0 = (s.tmp_1 + s.col___16413); - s.color___16417 = (r0); + r0 = (s.tmp_1 + s.col___10638); + s.color___10642 = (r0); r0 = (38 + 4); - s.yOffset___16422 = (r0); + s.yOffset___10647 = (r0); s.tmp_0 = helpers_imageFillRect__P517_mk(s); s.tmp_0.arg0 = globals.screen___578; - r0 = (s.col___16413 * 8); + r0 = (s.col___10638 * 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___16422; - r0 = (s.row___16409 * 8); + s.tmp_4 = r0 = s.yOffset___10647; + r0 = (s.row___10634 * 8); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -40376,41 +40376,41 @@ switch (step) { s.tmp_0.arg2 = r0; s.tmp_0.arg3 = 6; s.tmp_0.arg4 = 6; - s.tmp_0.arg5 = s.color___16417; - s.callLocIdx = 622; s.pc = 15; return s.tmp_0; + s.tmp_0.arg5 = s.color___10642; + s.callLocIdx = 625; 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___16417); + r0 = (s.tmp_1 == s.color___10642); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } s.tmp_2 = helpers_imageDrawRect__P520_mk(s); s.tmp_2.arg0 = globals.screen___578; - r0 = (s.col___16413 * 8); + r0 = (s.col___10638 * 8); s.tmp_3 = r0; r0 = (5 + s.tmp_3); s.tmp_2.arg1 = r0; - s.tmp_4 = r0 = s.yOffset___16422; - r0 = (s.row___16409 * 8); + s.tmp_4 = r0 = s.yOffset___10647; + r0 = (s.row___10634 * 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 = 623; s.pc = 16; return s.tmp_2; + s.callLocIdx = 626; s.pc = 16; return s.tmp_2; case 16: r0 = s.retval; case 3: case 4: - r0 = (s.col___16413 + 1); - s.col___16413 = (r0); + r0 = (s.col___10638 + 1); + s.col___10638 = (r0); { step = 2; continue; } case 5: - r0 = (s.row___16409 + 1); - s.row___16409 = (r0); + r0 = (s.row___10634 + 1); + s.row___10634 = (r0); { step = 1; continue; } case 6: s.tmp_0 = helpers_imageFillRect__P517_mk(s); @@ -40420,7 +40420,7 @@ switch (step) { s.tmp_0.arg3 = 3; s.tmp_0.arg4 = 3; s.tmp_0.arg5 = 13; - s.callLocIdx = 624; s.pc = 17; return s.tmp_0; + s.callLocIdx = 627; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; s.tmp_0 = helpers_imageFillRect__P517_mk(s); @@ -40430,12 +40430,12 @@ switch (step) { s.tmp_0.arg3 = 3; s.tmp_0.arg4 = 3; s.tmp_0.arg5 = 13; - s.callLocIdx = 625; s.pc = 18; return s.tmp_0; + s.callLocIdx = 628; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.row___16492 = (0); + s.row___10718 = (0); case 7: - s.tmp_1 = r0 = s.row___16492; + s.tmp_1 = r0 = s.row___10718; r0 = s.arg0.fields["image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -40444,13 +40444,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - r0 = (s.row___16492 * 6); + r0 = (s.row___10718 * 6); s.tmp_4 = r0; r0 = (24 + s.tmp_4); - s.y___16499 = (r0); - s.col___16505 = (0); + s.y___10725 = (r0); + s.col___10731 = (0); case 8: - s.tmp_1 = r0 = s.col___16505; + s.tmp_1 = r0 = s.col___10731; r0 = s.arg0.fields["image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); @@ -40459,62 +40459,62 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.col___16505 * 6); + r0 = (s.col___10731 * 6); s.tmp_4 = r0; r0 = (30 + s.tmp_4); - s.x___16512 = (r0); + s.x___10738 = (r0); r0 = s.arg0.fields["image"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.col___16505, s.row___16492); - s.color___16520 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.col___10731, s.row___10718); + s.color___10746 = (r0); s.tmp_0 = helpers_imageFillRect__P517_mk(s); s.tmp_0.arg0 = globals.screen___578; - s.tmp_0.arg1 = s.x___16512; - s.tmp_0.arg2 = s.y___16499; + s.tmp_0.arg1 = s.x___10738; + s.tmp_0.arg2 = s.y___10725; s.tmp_0.arg3 = 5; s.tmp_0.arg4 = 5; - s.tmp_0.arg5 = s.color___16520; - s.callLocIdx = 626; s.pc = 19; return s.tmp_0; + s.tmp_0.arg5 = s.color___10746; + s.callLocIdx = 629; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = (s.color___16520 == 0); + r0 = (s.color___10746 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } s.tmp_1 = helpers_imageFillRect__P517_mk(s); s.tmp_1.arg0 = globals.screen___578; - s.tmp_1.arg1 = s.x___16512; - s.tmp_1.arg2 = s.y___16499; + s.tmp_1.arg1 = s.x___10738; + s.tmp_1.arg2 = s.y___10725; r0 = (3 - 1); s.tmp_1.arg3 = r0; r0 = (3 - 1); s.tmp_1.arg4 = r0; s.tmp_1.arg5 = 13; - s.callLocIdx = 627; s.pc = 20; return s.tmp_1; + s.callLocIdx = 630; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; s.tmp_0 = helpers_imageFillRect__P517_mk(s); s.tmp_0.arg0 = globals.screen___578; - r0 = (s.x___16512 + 3); + r0 = (s.x___10738 + 3); s.tmp_0.arg1 = r0; - r0 = (s.y___16499 + 3); + r0 = (s.y___10725 + 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 = 628; s.pc = 21; return s.tmp_0; + s.callLocIdx = 631; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; case 9: case 10: - r0 = (s.col___16505 + 1); - s.col___16505 = (r0); + r0 = (s.col___10731 + 1); + s.col___10731 = (r0); { step = 8; continue; } case 11: - r0 = (s.row___16492 + 1); - s.row___16492 = (r0); + r0 = (s.row___10718 + 1); + s.row___10718 = (r0); { step = 7; continue; } case 12: s.tmp_0 = helpers_imageDrawRect__P520_mk(s); @@ -40526,19 +40526,19 @@ switch (step) { r0 = (96 + 4); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 1; - s.callLocIdx = 629; s.pc = 22; return s.tmp_0; + s.callLocIdx = 632; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_update__P4325.info = {"start":7850,"length":2296,"line":208,"column":8,"endLine":251,"endColumn":9,"fileName":"imageeditor.ts","functionName":"update","argumentNames":["this"]} +tileworld_ImageEditor_update__P10061.info = {"start":7850,"length":2296,"line":208,"column":8,"endLine":251,"endColumn":9,"fileName":"imageeditor.ts","functionName":"update","argumentNames":["this"]} -function tileworld_ImageEditor_update__P4325_mk(s) { +function tileworld_ImageEditor_update__P10061_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_update__P4325, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_update__P10061, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40546,15 +40546,15 @@ function tileworld_ImageEditor_update__P4325_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - row___16409: undefined, - col___16413: undefined, - color___16417: undefined, - yOffset___16422: undefined, - row___16492: undefined, - y___16499: undefined, - col___16505: undefined, - x___16512: undefined, - color___16520: undefined, + row___10634: undefined, + col___10638: undefined, + color___10642: undefined, + yOffset___10647: undefined, + row___10718: undefined, + y___10725: undefined, + col___10731: undefined, + x___10738: undefined, + color___10746: undefined, arg0: undefined, } } @@ -40562,7 +40562,7 @@ function tileworld_ImageEditor_update__P4325_mk(s) { -function inline__P16382(s) { +function inline__P10607(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40591,7 +40591,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_2 = r0 = globals.screen___578; - s.tmp_3 = r0 = globals.cursorOut___4024; + s.tmp_3 = r0 = globals.cursorOut___7253; r0 = (2 + s.arg1); s.tmp_5 = r0; r0 = (s.tmp_5 * 16); @@ -40603,12 +40603,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P16382.info = {"start":8044,"length":232,"line":212,"column":39,"endLine":217,"endColumn":13,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":["img","index"]} +inline__P10607.info = {"start":8044,"length":232,"line":212,"column":39,"endLine":217,"endColumn":13,"fileName":"imageeditor.ts","functionName":"inline","argumentNames":["img","index"]} -function inline__P16382_mk(s) { +function inline__P10607_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P16382, depth: s.depth + 1, + parent: s, fn: inline__P10607, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40624,7 +40624,7 @@ function inline__P16382_mk(s) { -function tileworld_ImageEditor_setCursor__P4324(s) { +function tileworld_ImageEditor_setCursor__P10060(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40640,14 +40640,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ImageEditor__C4316_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ImageEditor__C10052_VT)) failedCast(r0); s.tmp_0 = Sprite_setFlag__P813_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 = 616; s.pc = 1; return s.tmp_0; + s.callLocIdx = 619; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = Sprite_setFlag__P813_mk(s); @@ -40656,7 +40656,7 @@ switch (step) { s.tmp_0.arg1 = 128; r0 = (s.arg1 != 1); s.tmp_0.arg2 = r0; - s.callLocIdx = 617; s.pc = 2; return s.tmp_0; + s.callLocIdx = 620; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; s.tmp_0 = Sprite_setFlag__P813_mk(s); @@ -40665,7 +40665,7 @@ switch (step) { s.tmp_0.arg1 = 128; r0 = (s.arg1 != 2); s.tmp_0.arg2 = r0; - s.callLocIdx = 618; s.pc = 3; return s.tmp_0; + s.callLocIdx = 621; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = (s.arg0).fields["cursorType"] = (s.arg1); @@ -40673,12 +40673,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ImageEditor_setCursor__P4324.info = {"start":7512,"length":328,"line":201,"column":8,"endLine":206,"endColumn":9,"fileName":"imageeditor.ts","functionName":"setCursor","argumentNames":["this","ct"]} +tileworld_ImageEditor_setCursor__P10060.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__P4324_mk(s) { +function tileworld_ImageEditor_setCursor__P10060_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ImageEditor_setCursor__P4324, depth: s.depth + 1, + parent: s, fn: tileworld_ImageEditor_setCursor__P10060, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -40689,7 +40689,7 @@ function tileworld_ImageEditor_setCursor__P4324_mk(s) { -function tileworld_cursorAnimation__P3838(s) { +function tileworld_cursorAnimation__P3907(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40699,7 +40699,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.anim___16633 = undefined; + s.anim___3910 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -40711,23 +40711,23 @@ switch (step) { s.callLocIdx = 65; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.anim___16633 = (r0); + s.anim___3910 = (r0); s.tmp_0 = animation_Animation_addAnimationFrame__P2113_mk(s); - s.tmp_0.arg0 = s.anim___16633; + s.tmp_0.arg0 = s.anim___3910; r0 = s.arg0.fields["_image"]; s.tmp_0.arg1 = r0; s.callLocIdx = 67; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; s.tmp_0 = animation_Animation_addAnimationFrame__P2113_mk(s); - s.tmp_0.arg0 = s.anim___16633; + s.tmp_0.arg0 = s.anim___3910; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 68; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; s.tmp_0 = animation_attachAnimation__P2118_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.anim___16633; + s.tmp_0.arg1 = s.anim___3910; s.callLocIdx = 69; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -40741,15 +40741,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_cursorAnimation__P3838.info = {"start":670,"length":297,"line":20,"column":4,"endLine":26,"endColumn":5,"fileName":"utilities.ts","functionName":"cursorAnimation","argumentNames":["cursor","second"]} +tileworld_cursorAnimation__P3907.info = {"start":670,"length":297,"line":20,"column":4,"endLine":26,"endColumn":5,"fileName":"utilities.ts","functionName":"cursorAnimation","argumentNames":["cursor","second"]} -function tileworld_cursorAnimation__P3838_mk(s) { +function tileworld_cursorAnimation__P3907_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_cursorAnimation__P3838, depth: s.depth + 1, + parent: s, fn: tileworld_cursorAnimation__P3907, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - anim___16633: undefined, + anim___3910: undefined, arg0: undefined, arg1: undefined, } } @@ -40811,7 +40811,7 @@ switch (step) { s.tmp_0 = animation_Animation_registerSprite__P2114_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 1224; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1226; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; @@ -40957,7 +40957,7 @@ switch (step) { s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.arg1; - s.callLocIdx = 1223; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1225; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = s.tmp_0; @@ -41016,7 +41016,7 @@ switch (step) { r0 = (s.tmp_0).fields["lastTime"] = (s.tmp_1); s.tmp_0 = animation_Animation__init__P2107_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1213; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1215; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; @@ -41067,13 +41067,13 @@ switch (step) { globals.animations___2061 = (r0); s.tmp_0 = control_EventContext_registerFrameHandler__P293_mk(s); s.tmp_1 = game_eventContext__P1290_mk(s); - s.callLocIdx = 1214; s.pc = 4; return s.tmp_1; + s.callLocIdx = 1216; 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__P16728; - s.callLocIdx = 1217; s.pc = 3; return s.tmp_0; + s.tmp_0.arg2 = inline__P25959; + s.callLocIdx = 1219; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 1: @@ -41099,7 +41099,7 @@ function animation_Animation__init__P2107_mk(s) { -function inline__P16728(s) { +function inline__P25959(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41111,20 +41111,20 @@ switch (step) { s.tmp_0 = helpers_arrayForEach__P60_mk(s); s.tmp_0.arg0 = globals.animations___2061; - s.tmp_0.arg1 = inline__P16731; - s.callLocIdx = 1216; s.pc = 1; return s.tmp_0; + s.tmp_0.arg1 = inline__P25962; + s.callLocIdx = 1218; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P16728.info = {"start":1618,"length":88,"line":59,"column":90,"endLine":61,"endColumn":17,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":[]} +inline__P25959.info = {"start":1618,"length":88,"line":59,"column":90,"endLine":61,"endColumn":17,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":[]} -function inline__P16728_mk(s) { +function inline__P25959_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P16728, depth: s.depth + 1, + parent: s, fn: inline__P25959, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -41133,7 +41133,7 @@ function inline__P16728_mk(s) { -function inline__P16731(s) { +function inline__P25962(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41149,19 +41149,19 @@ switch (step) { } s.tmp_0 = animation_Animation_update__P2108_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1215; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1217; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P16731.info = {"start":1665,"length":21,"line":60,"column":39,"endLine":60,"endColumn":60,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["anim"]} +inline__P25962.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__P16731_mk(s) { +function inline__P25962_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P16731, depth: s.depth + 1, + parent: s, fn: inline__P25962, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41181,8 +41181,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currentTime___16739 = undefined; - s.dt___16742 = undefined; + s.currentTime___25970 = undefined; + s.dt___25973 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -41190,14 +41190,14 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, animation_Animation__C2106_VT)) failedCast(r0); r0 = pxsim.control.millis(); - s.currentTime___16739 = (r0); + s.currentTime___25970 = (r0); r0 = s.arg0.fields["lastTime"]; s.tmp_0 = r0; - r0 = (s.currentTime___16739 - s.tmp_0); - s.dt___16742 = (r0); + r0 = (s.currentTime___25970 - s.tmp_0); + s.dt___25973 = (r0); r0 = s.arg0.fields["interval"]; s.tmp_1 = r0; - r0 = (s.dt___16742 >= s.tmp_1); + r0 = (s.dt___25973 >= s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } @@ -41224,27 +41224,27 @@ 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___16739); + r0 = (s.arg0).fields["lastTime"] = (s.currentTime___25970); case 3: case 4: s.tmp_0 = r0 = s.arg0; s.tmp_2 = helpers_arrayFilter__P61_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = inline__P16774; - s.callLocIdx = 1218; s.pc = 5; return s.tmp_2; + s.tmp_2.arg1 = inline__P26005; + s.callLocIdx = 1220; 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__P16785); + r0 = pxsim_pxtcore_mkAction(1, inline__P26016); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = helpers_arrayForEach__P60_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1222; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1224; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; r0 = undefined; @@ -41268,8 +41268,8 @@ function animation_Animation_update__P2108_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - currentTime___16739: undefined, - dt___16742: undefined, + currentTime___25970: undefined, + dt___25973: undefined, arg0: undefined, } } @@ -41277,7 +41277,7 @@ function animation_Animation_update__P2108_mk(s) { -function inline__P16774(s) { +function inline__P26005(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41301,12 +41301,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P16774.info = {"start":2134,"length":50,"line":74,"column":47,"endLine":74,"endColumn":97,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["sprite"]} +inline__P26005.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__P16774_mk(s) { +function inline__P26005_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P16774, depth: s.depth + 1, + parent: s, fn: inline__P26005, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41318,7 +41318,7 @@ function inline__P16774_mk(s) { -function inline__P16785(s) { +function inline__P26016(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41328,7 +41328,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.newImage___16792 = undefined; + s.newImage___26023 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -41346,17 +41346,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___16792 = (r0); + s.newImage___26023 = (r0); r0 = s.arg0.fields["_image"]; s.tmp_1 = r0; - r0 = (s.tmp_1 !== s.newImage___16792); + r0 = (s.tmp_1 !== s.newImage___26023); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_2 = Sprite_setImage__P790_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.newImage___16792; - s.callLocIdx = 1221; s.pc = 5; return s.tmp_2; + s.tmp_2.arg1 = s.newImage___26023; + s.callLocIdx = 1223; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 1: @@ -41367,19 +41367,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P16785.info = {"start":2221,"length":334,"line":76,"column":33,"endLine":84,"endColumn":13,"fileName":"pxt_modules/animation/legacy.ts","functionName":"inline","argumentNames":["sprite"]} +inline__P26016.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__P16785_mk(s) { +function inline__P26016_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P16785, depth: s.depth + 1, + parent: s, fn: inline__P26016, depth: s.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___16792: undefined, + newImage___26023: undefined, arg0: undefined, } } @@ -41427,7 +41427,7 @@ function animation_Animation_getImage__P2109_mk(s) { -function tileworld_BackgroundBase_constructor__P4329(s) { +function tileworld_BackgroundBase_constructor__P9502(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41442,25 +41442,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_BackgroundBase__C4281_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P16808); + if (!checkSubtype(r0, tileworld_BackgroundBase__C9493_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P10835); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = game_onPaint__P1305_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 631; s.pc = 1; return s.tmp_1; + s.callLocIdx = 634; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_BackgroundBase_constructor__P4329.info = {"start":93,"length":110,"line":5,"column":8,"endLine":9,"endColumn":9,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":["this"]} +tileworld_BackgroundBase_constructor__P9502.info = {"start":93,"length":110,"line":5,"column":8,"endLine":9,"endColumn":9,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":["this"]} -function tileworld_BackgroundBase_constructor__P4329_mk(s) { +function tileworld_BackgroundBase_constructor__P9502_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_BackgroundBase_constructor__P4329, depth: s.depth + 1, + parent: s, fn: tileworld_BackgroundBase_constructor__P9502, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41471,7 +41471,7 @@ function tileworld_BackgroundBase_constructor__P4329_mk(s) { -function inline__P16808(s) { +function inline__P10835(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41485,12 +41485,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 = 630; s.pc = 1; return s.tmp_0; + s.callLocIdx = 633; 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 = 630; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 630; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 630; 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 = 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; } } case 1: r0 = s.retval; @@ -41498,12 +41498,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P16808.info = {"start":134,"length":58,"line":6,"column":25,"endLine":8,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P10835.info = {"start":134,"length":58,"line":6,"column":25,"endLine":8,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P16808_mk(s) { +function inline__P10835_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P16808, depth: s.depth + 1, + parent: s, fn: inline__P10835, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -41528,7 +41528,7 @@ switch (step) { } s.tmp_0 = game_init__P1291_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 892; 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); @@ -41544,7 +41544,7 @@ switch (step) { s.tmp_2.arg0 = -20; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = undefined; - s.callLocIdx = 893; s.pc = 5; return s.tmp_2; + s.callLocIdx = 895; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 3: @@ -41579,7 +41579,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.renderable___16823 = undefined; + s.renderable___19478 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -41594,7 +41594,7 @@ switch (step) { r0 = s.tmp_1; { step = 2; continue; } case 1: - r0 = inline__P16829; + r0 = inline__P19484; case 2: // jmp value (already in r0) s.tmp_2 = r0; @@ -41603,11 +41603,11 @@ switch (step) { s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.tmp_2; s.tmp_3.arg3 = s.arg0; - s.callLocIdx = 811; s.pc = 3; return s.tmp_3; + s.callLocIdx = 813; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - s.renderable___16823 = (s.tmp_0); - r0 = s.renderable___16823; + s.renderable___19478 = (s.tmp_0); + r0 = s.renderable___19478; return leave(s, r0) default: oops() } } } @@ -41622,7 +41622,7 @@ function scene_createRenderable__P1147_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - renderable___16823: undefined, + renderable___19478: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -41632,7 +41632,7 @@ function scene_createRenderable__P1147_mk(s) { -function inline__P16829(s) { +function inline__P19484(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41646,12 +41646,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P16829.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} +inline__P19484.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} -function inline__P16829_mk(s) { +function inline__P19484_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P16829, depth: s.depth + 1, + parent: s, fn: inline__P19484, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -41683,7 +41683,7 @@ switch (step) { s.tmp_0 = sprites_BaseSprite_constructor__P647_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; - s.callLocIdx = 808; s.pc = 1; return s.tmp_0; + s.callLocIdx = 810; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; @@ -41708,7 +41708,7 @@ function scene_Renderable_constructor__P1146_mk(s) { -function tileworld_MapEditor_constructor__P4545(s) { +function tileworld_MapEditor_constructor__P13492(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41724,19 +41724,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C4531_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C13477_VT)) failedCast(r0); r0 = (s.arg0).fields["p"] = (s.arg1); - s.tmp_0 = tileworld_BackgroundBase_constructor__P4329_mk(s); + s.tmp_0 = tileworld_BackgroundBase_constructor__P9502_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1194; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1197; 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__P763_mk(s); - s.tmp_2.arg0 = globals.cursorOut___4024; + s.tmp_2.arg0 = globals.cursorOut___7253; s.tmp_2.arg1 = undefined; - s.callLocIdx = 1195; s.pc = 2; return s.tmp_2; + s.callLocIdx = 1198; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1 = r0; @@ -41745,22 +41745,22 @@ switch (step) { r0 = s.arg0.fields["selected"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 24; - s.callLocIdx = 1196; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1199; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; s.tmp_0 = Sprite_y__P773_mk(s); r0 = s.arg0.fields["selected"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 12; - s.callLocIdx = 1197; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1200; 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__P763_mk(s); - s.tmp_2.arg0 = globals.cursorIn___4021; + s.tmp_2.arg0 = globals.cursorIn___7250; s.tmp_2.arg1 = undefined; - s.callLocIdx = 1198; s.pc = 5; return s.tmp_2; + s.callLocIdx = 1201; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; s.tmp_1 = r0; @@ -41769,177 +41769,177 @@ switch (step) { r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 8; - s.callLocIdx = 1199; s.pc = 6; return s.tmp_0; + s.callLocIdx = 1202; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; s.tmp_0 = Sprite_y__P773_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 12; - s.callLocIdx = 1200; s.pc = 7; return s.tmp_0; + s.callLocIdx = 1203; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = tileworld_cursorAnimation__P3838_mk(s); + s.tmp_0 = tileworld_cursorAnimation__P3907_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.cursorOut___4024; - s.callLocIdx = 1201; s.pc = 8; return s.tmp_0; + s.tmp_0.arg1 = globals.cursorOut___7253; + s.callLocIdx = 1204; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; s.tmp_0 = r0 = s.arg0; s.tmp_2 = sprites_create__P763_mk(s); - s.tmp_2.arg0 = globals.paintOut___4526; + s.tmp_2.arg0 = globals.paintOut___14745; s.tmp_2.arg1 = undefined; - s.callLocIdx = 1202; s.pc = 9; return s.tmp_2; + s.callLocIdx = 1205; 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__P3838_mk(s); + s.tmp_0 = tileworld_cursorAnimation__P3907_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.paintIn___4529; - s.callLocIdx = 1203; s.pc = 10; return s.tmp_0; + s.tmp_0.arg1 = globals.paintIn___14748; + s.callLocIdx = 1206; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_0 = tileworld_MapEditor_paintHome__P4533_mk(s); + s.tmp_0 = tileworld_MapEditor_paintHome__P13480_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1204; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1207; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = tileworld_MapEditor_setCursor__P4534_mk(s); + s.tmp_0 = tileworld_MapEditor_setCursor__P13481_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1205; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1208; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = tileworld_MapEditor__C4531_v0_1_mk(s); + s.tmp_0 = tileworld_MapEditor__C13477_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C4531_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C13477_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__P16902); + r0 = pxsim_pxtcore_mkAction(1, inline__P14814); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.left___669; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1207; s.pc = 14; return s.tmp_1; + s.callLocIdx = 1210; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P16907); + r0 = pxsim_pxtcore_mkAction(1, inline__P14819); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.left___669; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1209; s.pc = 15; return s.tmp_1; + s.callLocIdx = 1212; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P16912); + r0 = pxsim_pxtcore_mkAction(1, inline__P14824); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.right___673; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1211; s.pc = 16; return s.tmp_1; + s.callLocIdx = 1214; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P16917); + r0 = pxsim_pxtcore_mkAction(1, inline__P14829); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.right___673; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1213; s.pc = 17; return s.tmp_1; + s.callLocIdx = 1216; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P16922); + r0 = pxsim_pxtcore_mkAction(1, inline__P14834); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.up___671; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1215; s.pc = 18; return s.tmp_1; + s.callLocIdx = 1218; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P16927); + r0 = pxsim_pxtcore_mkAction(1, inline__P14839); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.up___671; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1217; s.pc = 19; return s.tmp_1; + s.callLocIdx = 1220; s.pc = 19; return s.tmp_1; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P16932); + r0 = pxsim_pxtcore_mkAction(1, inline__P14844); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.down___675; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1219; s.pc = 20; return s.tmp_1; + s.callLocIdx = 1222; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P16937); + r0 = pxsim_pxtcore_mkAction(1, inline__P14849); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.down___675; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1221; s.pc = 21; return s.tmp_1; + s.callLocIdx = 1224; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P16942); + r0 = pxsim_pxtcore_mkAction(1, inline__P14854); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.A___665; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1223; s.pc = 22; return s.tmp_1; + s.callLocIdx = 1226; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P16949); + r0 = pxsim_pxtcore_mkAction(1, inline__P14861); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.A___665; s.tmp_1.arg1 = 2048; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1224; s.pc = 23; return s.tmp_1; + s.callLocIdx = 1227; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P16955); + r0 = pxsim_pxtcore_mkAction(1, inline__P14867); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.B___667; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1228; s.pc = 24; return s.tmp_1; + s.callLocIdx = 1231; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_MapEditor_constructor__P4545.info = {"start":956,"length":1952,"line":37,"column":8,"endLine":76,"endColumn":9,"fileName":"editor.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_MapEditor_constructor__P13492.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__P4545_mk(s) { +function tileworld_MapEditor_constructor__P13492_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_constructor__P4545, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_constructor__P13492, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41952,7 +41952,7 @@ function tileworld_MapEditor_constructor__P4545_mk(s) { -function inline__P16902(s) { +function inline__P14814(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41962,21 +41962,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_MapEditor_moveLeft__P4535_mk(s); + s.tmp_0 = tileworld_MapEditor_moveLeft__P13482_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1206; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1209; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P16902.info = {"start":1706,"length":21,"line":58,"column":67,"endLine":58,"endColumn":88,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P14814.info = {"start":1706,"length":21,"line":58,"column":67,"endLine":58,"endColumn":88,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P16902_mk(s) { +function inline__P14814_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P16902, depth: s.depth + 1, + parent: s, fn: inline__P14814, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -41985,7 +41985,7 @@ function inline__P16902_mk(s) { -function inline__P16907(s) { +function inline__P14819(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41995,21 +41995,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_MapEditor_moveLeft__P4535_mk(s); + s.tmp_0 = tileworld_MapEditor_moveLeft__P13482_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1208; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1211; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P16907.info = {"start":1798,"length":21,"line":59,"column":68,"endLine":59,"endColumn":89,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P14819.info = {"start":1798,"length":21,"line":59,"column":68,"endLine":59,"endColumn":89,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P16907_mk(s) { +function inline__P14819_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P16907, depth: s.depth + 1, + parent: s, fn: inline__P14819, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -42018,7 +42018,7 @@ function inline__P16907_mk(s) { -function inline__P16912(s) { +function inline__P14824(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42028,21 +42028,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_MapEditor_moveRight__P4536_mk(s); + s.tmp_0 = tileworld_MapEditor_moveRight__P13483_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1210; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1213; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P16912.info = {"start":1890,"length":22,"line":60,"column":68,"endLine":60,"endColumn":90,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P14824.info = {"start":1890,"length":22,"line":60,"column":68,"endLine":60,"endColumn":90,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P16912_mk(s) { +function inline__P14824_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P16912, depth: s.depth + 1, + parent: s, fn: inline__P14824, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -42051,7 +42051,7 @@ function inline__P16912_mk(s) { -function inline__P16917(s) { +function inline__P14829(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42061,21 +42061,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_MapEditor_moveRight__P4536_mk(s); + s.tmp_0 = tileworld_MapEditor_moveRight__P13483_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1212; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1215; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P16917.info = {"start":1984,"length":22,"line":61,"column":69,"endLine":61,"endColumn":91,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P14829.info = {"start":1984,"length":22,"line":61,"column":69,"endLine":61,"endColumn":91,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P16917_mk(s) { +function inline__P14829_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P16917, depth: s.depth + 1, + parent: s, fn: inline__P14829, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -42084,7 +42084,7 @@ function inline__P16917_mk(s) { -function inline__P16922(s) { +function inline__P14834(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42094,21 +42094,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_MapEditor_moveUp__P4537_mk(s); + s.tmp_0 = tileworld_MapEditor_moveUp__P13484_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1214; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1217; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P16922.info = {"start":2074,"length":19,"line":62,"column":65,"endLine":62,"endColumn":84,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P14834.info = {"start":2074,"length":19,"line":62,"column":65,"endLine":62,"endColumn":84,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P16922_mk(s) { +function inline__P14834_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P16922, depth: s.depth + 1, + parent: s, fn: inline__P14834, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -42117,7 +42117,7 @@ function inline__P16922_mk(s) { -function inline__P16927(s) { +function inline__P14839(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42127,21 +42127,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_MapEditor_moveUp__P4537_mk(s); + s.tmp_0 = tileworld_MapEditor_moveUp__P13484_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1216; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1219; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P16927.info = {"start":2162,"length":19,"line":63,"column":66,"endLine":63,"endColumn":85,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P14839.info = {"start":2162,"length":19,"line":63,"column":66,"endLine":63,"endColumn":85,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P16927_mk(s) { +function inline__P14839_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P16927, depth: s.depth + 1, + parent: s, fn: inline__P14839, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -42150,7 +42150,7 @@ function inline__P16927_mk(s) { -function inline__P16932(s) { +function inline__P14844(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42160,21 +42160,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_MapEditor_moveDown__P4538_mk(s); + s.tmp_0 = tileworld_MapEditor_moveDown__P13485_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1218; 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() } } } -inline__P16932.info = {"start":2251,"length":21,"line":64,"column":67,"endLine":64,"endColumn":88,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P14844.info = {"start":2251,"length":21,"line":64,"column":67,"endLine":64,"endColumn":88,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P16932_mk(s) { +function inline__P14844_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P16932, depth: s.depth + 1, + parent: s, fn: inline__P14844, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -42183,7 +42183,7 @@ function inline__P16932_mk(s) { -function inline__P16937(s) { +function inline__P14849(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42193,21 +42193,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_MapEditor_moveDown__P4538_mk(s); + s.tmp_0 = tileworld_MapEditor_moveDown__P13485_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1220; 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__P16937.info = {"start":2343,"length":21,"line":65,"column":68,"endLine":65,"endColumn":89,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P14849.info = {"start":2343,"length":21,"line":65,"column":68,"endLine":65,"endColumn":89,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P16937_mk(s) { +function inline__P14849_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P16937, depth: s.depth + 1, + parent: s, fn: inline__P14849, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -42216,7 +42216,7 @@ function inline__P16937_mk(s) { -function inline__P16942(s) { +function inline__P14854(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42227,22 +42227,22 @@ switch (step) { case 0: r0 = (s.caps[0]).fields["aDown"] = (true); - s.tmp_0 = tileworld_MapEditor_cursorAction__P4540_mk(s); + s.tmp_0 = tileworld_MapEditor_cursorAction__P13487_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; - s.callLocIdx = 1222; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1225; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P16942.info = {"start":2431,"length":49,"line":66,"column":64,"endLine":66,"endColumn":113,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P14854.info = {"start":2431,"length":49,"line":66,"column":64,"endLine":66,"endColumn":113,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P16942_mk(s) { +function inline__P14854_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P16942, depth: s.depth + 1, + parent: s, fn: inline__P14854, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -42251,7 +42251,7 @@ function inline__P16942_mk(s) { -function inline__P16949(s) { +function inline__P14861(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42266,12 +42266,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P16949.info = {"start":2548,"length":29,"line":67,"column":65,"endLine":67,"endColumn":94,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P14861.info = {"start":2548,"length":29,"line":67,"column":65,"endLine":67,"endColumn":94,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P16949_mk(s) { +function inline__P14861_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P16949, depth: s.depth + 1, + parent: s, fn: inline__P14861, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -42279,7 +42279,7 @@ function inline__P16949_mk(s) { -function inline__P16955(s) { +function inline__P14867(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42295,22 +42295,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__P3958_mk(s); + s.tmp_2 = tileworld_Project_saveWorld__P6123_mk(s); r0 = s.caps[0].fields["p"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 1225; s.pc = 3; return s.tmp_2; + s.callLocIdx = 1228; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_0 = game_popScene__P1293_mk(s); - s.callLocIdx = 1226; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1229; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = tileworld_MapEditor_setCursor__P4534_mk(s); + s.tmp_0 = tileworld_MapEditor_setCursor__P13481_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; - s.callLocIdx = 1227; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1230; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 2: @@ -42318,12 +42318,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P16955.info = {"start":2644,"length":252,"line":68,"column":64,"endLine":75,"endColumn":13,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} +inline__P14867.info = {"start":2644,"length":252,"line":68,"column":64,"endLine":75,"endColumn":13,"fileName":"editor.ts","functionName":"inline","argumentNames":[]} -function inline__P16955_mk(s) { +function inline__P14867_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P16955, depth: s.depth + 1, + parent: s, fn: inline__P14867, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42334,7 +42334,7 @@ function inline__P16955_mk(s) { -function tileworld_Project_saveWorld__P3958(s) { +function tileworld_Project_saveWorld__P6123(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42344,21 +42344,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.worldBuf___16968 = undefined; - s.spritesBuf___16981 = undefined; + s.worldBuf___6331 = undefined; + s.spritesBuf___6345 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C3937_VT)) failedCast(r0); - s.tmp_0 = tileworld_imageToBuffer__P3842_mk(s); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); + s.tmp_0 = tileworld_imageToBuffer__P4091_mk(s); r0 = s.arg0.fields["_backgrounds"]; s.tmp_0.arg0 = r0; s.callLocIdx = 187; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.worldBuf___16968 = (r0); + s.worldBuf___6331 = (r0); s.tmp_0 = settings_writeBuffer__P611_mk(s); r0 = s.arg0.fields["prefix"]; s.tmp_2 = r0; @@ -42371,28 +42371,28 @@ switch (step) { case 3: r0 = s.retval; s.tmp_1 = r0; - if ((globals.WorldBackgroundsKey___3977) && (globals.WorldBackgroundsKey___3977).vtable) { + if ((globals.WorldBackgroundsKey___6341) && (globals.WorldBackgroundsKey___6341).vtable) { setupResume(s, 4); - pxsim_String__stringConv(globals.WorldBackgroundsKey___3977); + pxsim_String__stringConv(globals.WorldBackgroundsKey___6341); checkResumeConsumed(); return; - } else { s.retval = (globals.WorldBackgroundsKey___3977) + ""; } + } else { s.retval = (globals.WorldBackgroundsKey___6341) + ""; } 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___16968; + s.tmp_0.arg1 = s.worldBuf___6331; s.callLocIdx = 188; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tileworld_imageToBuffer__P3842_mk(s); + s.tmp_0 = tileworld_imageToBuffer__P4091_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_0.arg0 = r0; s.callLocIdx = 189; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.spritesBuf___16981 = (r0); + s.spritesBuf___6345 = (r0); s.tmp_0 = settings_writeBuffer__P611_mk(s); r0 = s.arg0.fields["prefix"]; s.tmp_2 = r0; @@ -42405,18 +42405,18 @@ switch (step) { case 7: r0 = s.retval; s.tmp_1 = r0; - if ((globals.WorldSpritesKey___3978) && (globals.WorldSpritesKey___3978).vtable) { + if ((globals.WorldSpritesKey___6355) && (globals.WorldSpritesKey___6355).vtable) { setupResume(s, 8); - pxsim_String__stringConv(globals.WorldSpritesKey___3978); + pxsim_String__stringConv(globals.WorldSpritesKey___6355); checkResumeConsumed(); return; - } else { s.retval = (globals.WorldSpritesKey___3978) + ""; } + } else { s.retval = (globals.WorldSpritesKey___6355) + ""; } 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___16981; + s.tmp_0.arg1 = s.spritesBuf___6345; s.callLocIdx = 190; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -42424,19 +42424,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_saveWorld__P3958.info = {"start":5080,"length":306,"line":146,"column":8,"endLine":151,"endColumn":9,"fileName":"project.ts","functionName":"saveWorld","argumentNames":["this"]} +tileworld_Project_saveWorld__P6123.info = {"start":5080,"length":306,"line":146,"column":8,"endLine":151,"endColumn":9,"fileName":"project.ts","functionName":"saveWorld","argumentNames":["this"]} -function tileworld_Project_saveWorld__P3958_mk(s) { +function tileworld_Project_saveWorld__P6123_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_saveWorld__P3958, depth: s.depth + 1, + parent: s, fn: tileworld_Project_saveWorld__P6123, depth: s.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___16968: undefined, - spritesBuf___16981: undefined, + worldBuf___6331: undefined, + spritesBuf___6345: undefined, arg0: undefined, } } @@ -42444,7 +42444,7 @@ function tileworld_Project_saveWorld__P3958_mk(s) { -function tileworld_MapEditor_cursorAction__P4540(s) { +function tileworld_MapEditor_cursorAction__P13487(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42454,18 +42454,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___17005 = undefined; - s.row___17015 = undefined; - s.backs___17030 = undefined; - s.sprs___17055 = undefined; - s.spriteIndex___17059 = undefined; + s.col___15060 = undefined; + s.row___15069 = undefined; + s.backs___15083 = undefined; + s.sprs___15108 = undefined; + s.spriteIndex___15112 = 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__C4531_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C13477_VT)) failedCast(r0); r0 = s.arg0.fields["aDown"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -42486,7 +42486,7 @@ switch (step) { s.tmp_7 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_7.arg0 = r0; - s.callLocIdx = 1260; s.pc = 20; return s.tmp_7; + s.callLocIdx = 1263; s.pc = 20; return s.tmp_7; case 20: r0 = s.retval; s.tmp_6 = r0; @@ -42495,11 +42495,11 @@ switch (step) { r0 = s.arg0.fields["offsetX"]; s.tmp_8 = r0; r0 = (s.tmp_5 + s.tmp_8); - s.col___17005 = (r0); + s.col___15060 = (r0); s.tmp_3 = Sprite_y__P772_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 1261; s.pc = 21; return s.tmp_3; + s.callLocIdx = 1264; s.pc = 21; return s.tmp_3; case 21: r0 = s.retval; s.tmp_2 = r0; @@ -42510,18 +42510,18 @@ switch (step) { r0 = s.arg0.fields["offsetY"]; s.tmp_4 = r0; r0 = (s.tmp_0 + s.tmp_4); - s.row___17015 = (r0); + s.row___15069 = (r0); r0 = s.arg0.fields["p"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_backgrounds"]; - s.backs___17030 = (r0); + s.backs___15083 = (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___17030, s.col___17005, s.row___17015, 15); + r0 = pxsim_ImageMethods.setPixel(s.backs___15083, s.col___15060, s.row___15069, 15); { step = 8; continue; } case 3: r0 = s.arg0.fields["userSpriteIndex"]; @@ -42538,13 +42538,13 @@ switch (step) { if (!r0) { step = 4; continue; } r0 = s.arg0.fields["userSpriteIndex"]; s.tmp_5 = r0; - r0 = pxsim_ImageMethods.setPixel(s.backs___17030, s.col___17005, s.row___17015, s.tmp_5); + r0 = pxsim_ImageMethods.setPixel(s.backs___15083, s.col___15060, s.row___15069, 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___17055 = (r0); + s.sprs___15108 = (r0); r0 = s.arg0.fields["userSpriteIndex"]; s.tmp_0 = r0; r0 = s.arg0.fields["p"]; @@ -42554,23 +42554,23 @@ switch (step) { r0 = pxsim_Array__length(s.tmp_3); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.spriteIndex___17059 = (r0); - r0 = pxsim_ImageMethods.getPixel(s.sprs___17055, s.col___17005, s.row___17015); + s.spriteIndex___15112 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.sprs___15108, s.col___15060, s.row___15069); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.spriteIndex___17059); + r0 = (s.tmp_1 == s.spriteIndex___15112); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.setPixel(s.sprs___17055, s.col___17005, s.row___17015, 15); + r0 = pxsim_ImageMethods.setPixel(s.sprs___15108, s.col___15060, s.row___15069, 15); { step = 6; continue; } case 5: - r0 = pxsim_ImageMethods.setPixel(s.sprs___17055, s.col___17005, s.row___17015, s.spriteIndex___17059); + r0 = pxsim_ImageMethods.setPixel(s.sprs___15108, s.col___15060, s.row___15069, s.spriteIndex___15112); case 6: case 7: case 8: - s.tmp_0 = tileworld_MapEditor__C4531_v0_1_mk(s); + s.tmp_0 = tileworld_MapEditor__C13477_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C4531_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C13477_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: @@ -42583,10 +42583,10 @@ switch (step) { { step = 19; continue; } case 11: case 12: - s.tmp_2 = tileworld_MapEditor_row__P4542_mk(s); + s.tmp_2 = tileworld_MapEditor_row__P13489_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1266; s.pc = 23; return s.tmp_2; + s.callLocIdx = 1269; s.pc = 23; return s.tmp_2; case 23: r0 = s.retval; s.tmp_1 = r0; @@ -42594,10 +42594,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__P4541_mk(s); + s.tmp_5 = tileworld_MapEditor_col__P13488_mk(s); s.tmp_5.arg0 = s.arg0; s.tmp_5.arg1 = true; - s.callLocIdx = 1267; s.pc = 24; return s.tmp_5; + s.callLocIdx = 1270; s.pc = 24; return s.tmp_5; case 24: r0 = s.retval; s.tmp_4 = r0; @@ -42608,17 +42608,17 @@ switch (step) { r0 = s.tmp_3; { step = 14; continue; } case 13: - s.tmp_7 = tileworld_MapEditor_col__P4541_mk(s); + s.tmp_7 = tileworld_MapEditor_col__P13488_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = true; - s.callLocIdx = 1268; s.pc = 25; return s.tmp_7; + s.callLocIdx = 1271; s.pc = 25; return s.tmp_7; case 25: r0 = s.retval; s.tmp_6 = r0; - s.tmp_10 = tileworld_Project_allCnt__P3948_mk(s); + s.tmp_10 = tileworld_Project_allCnt__P6119_mk(s); r0 = s.arg0.fields["p"]; s.tmp_10.arg0 = r0; - s.callLocIdx = 1269; s.pc = 26; return s.tmp_10; + s.callLocIdx = 1272; s.pc = 26; return s.tmp_10; case 26: r0 = s.retval; s.tmp_9 = r0; @@ -42631,28 +42631,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__P4541_mk(s); + s.tmp_15 = tileworld_MapEditor_col__P13488_mk(s); s.tmp_15.arg0 = s.arg0; s.tmp_15.arg1 = true; - s.callLocIdx = 1270; s.pc = 27; return s.tmp_15; + s.callLocIdx = 1273; 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__P4539_mk(s); + s.tmp_0 = tileworld_MapEditor_updateSelection__P13486_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1271; s.pc = 28; return s.tmp_0; + s.callLocIdx = 1274; 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__C4531_v0_1_mk(s); + s.tmp_0 = tileworld_MapEditor__C13477_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C4531_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C13477_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: @@ -42662,12 +42662,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_cursorAction__P4540.info = {"start":5134,"length":1427,"line":147,"column":8,"endLine":179,"endColumn":9,"fileName":"editor.ts","functionName":"cursorAction","argumentNames":["this","repeated"]} +tileworld_MapEditor_cursorAction__P13487.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__P4540_mk(s) { +function tileworld_MapEditor_cursorAction__P13487_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_cursorAction__P4540, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_cursorAction__P13487, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42685,11 +42685,11 @@ function tileworld_MapEditor_cursorAction__P4540_mk(s) { tmp_13: undefined, tmp_14: undefined, tmp_15: undefined, - col___17005: undefined, - row___17015: undefined, - backs___17030: undefined, - sprs___17055: undefined, - spriteIndex___17059: undefined, + col___15060: undefined, + row___15069: undefined, + backs___15083: undefined, + sprs___15108: undefined, + spriteIndex___15112: undefined, arg0: undefined, arg1: undefined, } } @@ -42698,7 +42698,7 @@ function tileworld_MapEditor_cursorAction__P4540_mk(s) { -function tileworld_MapEditor_updateSelection__P4539(s) { +function tileworld_MapEditor_updateSelection__P13486(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42713,18 +42713,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C4531_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C13477_VT)) failedCast(r0); s.tmp_0 = Sprite_x__P771_mk(s); r0 = s.arg0.fields["selected"]; s.tmp_0.arg0 = r0; s.tmp_1 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1256; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1259; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1257; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1260; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = Sprite_y__P773_mk(s); @@ -42733,23 +42733,23 @@ switch (step) { s.tmp_1 = Sprite_y__P772_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1258; s.pc = 4; return s.tmp_1; + s.callLocIdx = 1261; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1259; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1262; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_MapEditor_updateSelection__P4539.info = {"start":4997,"length":127,"line":142,"column":8,"endLine":145,"endColumn":9,"fileName":"editor.ts","functionName":"updateSelection","argumentNames":["this"]} +tileworld_MapEditor_updateSelection__P13486.info = {"start":4997,"length":127,"line":142,"column":8,"endLine":145,"endColumn":9,"fileName":"editor.ts","functionName":"updateSelection","argumentNames":["this"]} -function tileworld_MapEditor_updateSelection__P4539_mk(s) { +function tileworld_MapEditor_updateSelection__P13486_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_updateSelection__P4539, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_updateSelection__P13486, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42760,7 +42760,7 @@ function tileworld_MapEditor_updateSelection__P4539_mk(s) { -function tileworld_MapEditor_col__P4541(s) { +function tileworld_MapEditor_col__P13488(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42776,11 +42776,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C4531_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C13477_VT)) failedCast(r0); s.tmp_1 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1272; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1275; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; @@ -42788,12 +42788,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_col__P4541.info = {"start":6571,"length":87,"line":181,"column":8,"endLine":183,"endColumn":9,"fileName":"editor.ts","functionName":"col","argumentNames":["this","current"]} +tileworld_MapEditor_col__P13488.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__P4541_mk(s) { +function tileworld_MapEditor_col__P13488_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_col__P4541, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_col__P13488, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42805,7 +42805,7 @@ function tileworld_MapEditor_col__P4541_mk(s) { -function tileworld_MapEditor_row__P4542(s) { +function tileworld_MapEditor_row__P13489(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42821,11 +42821,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C4531_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C13477_VT)) failedCast(r0); s.tmp_2 = Sprite_y__P772_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 1273; s.pc = 1; return s.tmp_2; + s.callLocIdx = 1276; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; @@ -42835,12 +42835,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_row__P4542.info = {"start":6676,"length":96,"line":185,"column":8,"endLine":187,"endColumn":9,"fileName":"editor.ts","functionName":"row","argumentNames":["this","current"]} +tileworld_MapEditor_row__P13489.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__P4542_mk(s) { +function tileworld_MapEditor_row__P13489_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_row__P4542, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_row__P13489, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42853,7 +42853,7 @@ function tileworld_MapEditor_row__P4542_mk(s) { -function tileworld_MapEditor_moveDown__P4538(s) { +function tileworld_MapEditor_moveDown__P13485(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42868,17 +42868,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C4531_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C13477_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__P4534_mk(s); + s.tmp_2 = tileworld_MapEditor_setCursor__P13481_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 1; - s.callLocIdx = 1251; s.pc = 5; return s.tmp_2; + s.callLocIdx = 1254; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; { step = 4; continue; } @@ -42886,7 +42886,7 @@ switch (step) { s.tmp_2 = Sprite_y__P772_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 1252; s.pc = 6; return s.tmp_2; + s.callLocIdx = 1255; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_1 = r0; @@ -42900,13 +42900,13 @@ switch (step) { s.tmp_3.arg0 = r0; s.tmp_6 = Sprite_y__P772_mk(s); s.tmp_6.arg0 = s.tmp_4; - s.callLocIdx = 1253; s.pc = 8; return s.tmp_6; + s.callLocIdx = 1256; 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 = 1254; s.pc = 7; return s.tmp_3; + s.callLocIdx = 1257; s.pc = 7; return s.tmp_3; case 7: r0 = s.retval; { step = 3; continue; } @@ -42918,30 +42918,30 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["offsetY"] = (s.tmp_1); case 3: - s.tmp_0 = tileworld_MapEditor__C4531_v0_1_mk(s); + s.tmp_0 = tileworld_MapEditor__C13477_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C4531_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C13477_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__P4540_mk(s); + s.tmp_0 = tileworld_MapEditor_cursorAction__P13487_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1255; s.pc = 10; return s.tmp_0; + s.callLocIdx = 1258; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_MapEditor_moveDown__P4538.info = {"start":4569,"length":418,"line":129,"column":8,"endLine":140,"endColumn":9,"fileName":"editor.ts","functionName":"moveDown","argumentNames":["this"]} +tileworld_MapEditor_moveDown__P13485.info = {"start":4569,"length":418,"line":129,"column":8,"endLine":140,"endColumn":9,"fileName":"editor.ts","functionName":"moveDown","argumentNames":["this"]} -function tileworld_MapEditor_moveDown__P4538_mk(s) { +function tileworld_MapEditor_moveDown__P13485_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_moveDown__P4538, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_moveDown__P13485, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42957,7 +42957,7 @@ function tileworld_MapEditor_moveDown__P4538_mk(s) { -function tileworld_MapEditor_moveUp__P4537(s) { +function tileworld_MapEditor_moveUp__P13484(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42972,7 +42972,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C4531_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C13477_VT)) failedCast(r0); r0 = s.arg0.fields["cursorType"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 1); @@ -42982,7 +42982,7 @@ switch (step) { s.tmp_4 = Sprite_y__P772_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 1247; s.pc = 5; return s.tmp_4; + s.callLocIdx = 1250; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; s.tmp_3 = r0; @@ -42996,13 +42996,13 @@ switch (step) { s.tmp_5.arg0 = r0; s.tmp_8 = Sprite_y__P772_mk(s); s.tmp_8.arg0 = s.tmp_6; - s.callLocIdx = 1248; s.pc = 7; return s.tmp_8; + s.callLocIdx = 1251; 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 = 1249; s.pc = 6; return s.tmp_5; + s.callLocIdx = 1252; s.pc = 6; return s.tmp_5; case 6: r0 = s.retval; { step = 2; continue; } @@ -43014,31 +43014,31 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["offsetY"] = (s.tmp_1); case 2: - s.tmp_0 = tileworld_MapEditor__C4531_v0_1_mk(s); + s.tmp_0 = tileworld_MapEditor__C13477_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C4531_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C13477_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__P4540_mk(s); + s.tmp_0 = tileworld_MapEditor_cursorAction__P13487_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1250; s.pc = 9; return s.tmp_0; + s.callLocIdx = 1253; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_MapEditor_moveUp__P4537.info = {"start":4216,"length":343,"line":118,"column":8,"endLine":127,"endColumn":9,"fileName":"editor.ts","functionName":"moveUp","argumentNames":["this"]} +tileworld_MapEditor_moveUp__P13484.info = {"start":4216,"length":343,"line":118,"column":8,"endLine":127,"endColumn":9,"fileName":"editor.ts","functionName":"moveUp","argumentNames":["this"]} -function tileworld_MapEditor_moveUp__P4537_mk(s) { +function tileworld_MapEditor_moveUp__P13484_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_moveUp__P4537, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_moveUp__P13484, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43056,7 +43056,7 @@ function tileworld_MapEditor_moveUp__P4537_mk(s) { -function tileworld_MapEditor_moveRight__P4536(s) { +function tileworld_MapEditor_moveRight__P13483(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43071,17 +43071,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C4531_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C13477_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__P4541_mk(s); + s.tmp_4 = tileworld_MapEditor_col__P13488_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1240; s.pc = 7; return s.tmp_4; + s.callLocIdx = 1243; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; s.tmp_3 = r0; @@ -43095,13 +43095,13 @@ switch (step) { s.tmp_5.arg0 = r0; s.tmp_8 = Sprite_x__P770_mk(s); s.tmp_8.arg0 = s.tmp_6; - s.callLocIdx = 1241; s.pc = 9; return s.tmp_8; + s.callLocIdx = 1244; 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 = 1242; s.pc = 8; return s.tmp_5; + s.callLocIdx = 1245; s.pc = 8; return s.tmp_5; case 8: r0 = s.retval; case 1: @@ -43111,7 +43111,7 @@ switch (step) { s.tmp_2 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 1243; s.pc = 10; return s.tmp_2; + s.callLocIdx = 1246; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; s.tmp_1 = r0; @@ -43125,13 +43125,13 @@ switch (step) { s.tmp_3.arg0 = r0; s.tmp_6 = Sprite_x__P770_mk(s); s.tmp_6.arg0 = s.tmp_4; - s.callLocIdx = 1244; s.pc = 12; return s.tmp_6; + s.callLocIdx = 1247; 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 = 1245; s.pc = 11; return s.tmp_3; + s.callLocIdx = 1248; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; { step = 5; continue; } @@ -43143,30 +43143,30 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["offsetX"] = (s.tmp_1); case 5: - s.tmp_0 = tileworld_MapEditor__C4531_v0_1_mk(s); + s.tmp_0 = tileworld_MapEditor__C13477_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C4531_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C13477_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__P4540_mk(s); + s.tmp_0 = tileworld_MapEditor_cursorAction__P13487_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1246; s.pc = 14; return s.tmp_0; + s.callLocIdx = 1249; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_MapEditor_moveRight__P4536.info = {"start":3773,"length":433,"line":104,"column":8,"endLine":116,"endColumn":9,"fileName":"editor.ts","functionName":"moveRight","argumentNames":["this"]} +tileworld_MapEditor_moveRight__P13483.info = {"start":3773,"length":433,"line":104,"column":8,"endLine":116,"endColumn":9,"fileName":"editor.ts","functionName":"moveRight","argumentNames":["this"]} -function tileworld_MapEditor_moveRight__P4536_mk(s) { +function tileworld_MapEditor_moveRight__P13483_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_moveRight__P4536, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_moveRight__P13483, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43184,7 +43184,7 @@ function tileworld_MapEditor_moveRight__P4536_mk(s) { -function tileworld_MapEditor_moveLeft__P4535(s) { +function tileworld_MapEditor_moveLeft__P13482(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43199,17 +43199,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C4531_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C13477_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__P4541_mk(s); + s.tmp_4 = tileworld_MapEditor_col__P13488_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1233; s.pc = 7; return s.tmp_4; + s.callLocIdx = 1236; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; s.tmp_3 = r0; @@ -43223,13 +43223,13 @@ switch (step) { s.tmp_5.arg0 = r0; s.tmp_8 = Sprite_x__P770_mk(s); s.tmp_8.arg0 = s.tmp_6; - s.callLocIdx = 1234; s.pc = 9; return s.tmp_8; + s.callLocIdx = 1237; 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 = 1235; s.pc = 8; return s.tmp_5; + s.callLocIdx = 1238; s.pc = 8; return s.tmp_5; case 8: r0 = s.retval; case 1: @@ -43239,7 +43239,7 @@ switch (step) { s.tmp_2 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 1236; s.pc = 10; return s.tmp_2; + s.callLocIdx = 1239; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; s.tmp_1 = r0; @@ -43253,13 +43253,13 @@ switch (step) { s.tmp_3.arg0 = r0; s.tmp_6 = Sprite_x__P770_mk(s); s.tmp_6.arg0 = s.tmp_4; - s.callLocIdx = 1237; s.pc = 12; return s.tmp_6; + s.callLocIdx = 1240; 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 = 1238; s.pc = 11; return s.tmp_3; + s.callLocIdx = 1241; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; { step = 5; continue; } @@ -43271,30 +43271,30 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["offsetX"] = (s.tmp_1); case 5: - s.tmp_0 = tileworld_MapEditor__C4531_v0_1_mk(s); + s.tmp_0 = tileworld_MapEditor__C13477_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C4531_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_MapEditor__C13477_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__P4540_mk(s); + s.tmp_0 = tileworld_MapEditor_cursorAction__P13487_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1239; s.pc = 14; return s.tmp_0; + s.callLocIdx = 1242; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_MapEditor_moveLeft__P4535.info = {"start":3335,"length":428,"line":90,"column":8,"endLine":102,"endColumn":9,"fileName":"editor.ts","functionName":"moveLeft","argumentNames":["this"]} +tileworld_MapEditor_moveLeft__P13482.info = {"start":3335,"length":428,"line":90,"column":8,"endLine":102,"endColumn":9,"fileName":"editor.ts","functionName":"moveLeft","argumentNames":["this"]} -function tileworld_MapEditor_moveLeft__P4535_mk(s) { +function tileworld_MapEditor_moveLeft__P13482_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_moveLeft__P4535, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_moveLeft__P13482, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43312,7 +43312,7 @@ function tileworld_MapEditor_moveLeft__P4535_mk(s) { -function tileworld_MapEditor_update__P4544(s) { +function tileworld_MapEditor_update__P13491(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43322,24 +43322,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___17268 = undefined; - s.backs___17291 = undefined; - s.x___17295 = undefined; - s.y___17305 = undefined; - s.inRange___17315 = undefined; - s.col___17333 = undefined; - s.row___17338 = undefined; - s.nx___17343 = undefined; - s.ny___17347 = undefined; - s.index___17353 = undefined; - s.img___17362 = undefined; - s.index___17380 = undefined; + s.index___15202 = undefined; + s.backs___15225 = undefined; + s.x___15229 = undefined; + s.y___15239 = undefined; + s.inRange___15249 = undefined; + s.col___15267 = undefined; + s.row___15272 = undefined; + s.nx___15277 = undefined; + s.ny___15281 = undefined; + s.index___15287 = undefined; + s.img___15296 = undefined; + s.index___15314 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C4531_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C13477_VT)) failedCast(r0); r0 = pxsim_ImageMethods.fill(globals.screen___578, 0); s.tmp_0 = helpers_imageFillRect__P517_mk(s); s.tmp_0.arg0 = globals.screen___578; @@ -43348,54 +43348,54 @@ switch (step) { s.tmp_0.arg3 = 16; s.tmp_0.arg4 = 16; s.tmp_0.arg5 = 11; - s.callLocIdx = 1274; s.pc = 21; return s.tmp_0; + s.callLocIdx = 1277; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.tmp_0 = tileworld_MapEditor_drawImage__P4543_mk(s); + s.tmp_0 = tileworld_MapEditor_drawImage__P13490_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.map___3988; + s.tmp_0.arg1 = globals.map___7217; s.tmp_0.arg2 = 0; s.tmp_0.arg3 = 0; - s.callLocIdx = 1275; s.pc = 22; return s.tmp_0; + s.callLocIdx = 1278; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; r0 = pxsim_pxtrt.mklocRef(); - s.index___17268 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.index___17268, 1); - r0 = pxsim_pxtcore_mkAction(2, inline__P17273); + s.index___15202 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.index___15202, 1); + r0 = pxsim_pxtcore_mkAction(2, inline__P15207); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.index___17268); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.index___15202); s.tmp_1 = helpers_arrayForEach__P60_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 = 1278; s.pc = 23; return s.tmp_1; + s.callLocIdx = 1281; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(2, inline__P17284); + r0 = pxsim_pxtcore_mkAction(2, inline__P15218); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.index___17268); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.index___15202); s.tmp_1 = helpers_arrayForEach__P60_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 = 1281; s.pc = 24; return s.tmp_1; + s.callLocIdx = 1284; 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___17291 = (r0); + s.backs___15225 = (r0); r0 = s.arg0.fields["offsetX"]; - s.x___17295 = (r0); + s.x___15229 = (r0); case 1: - s.tmp_1 = r0 = s.x___17295; + s.tmp_1 = r0 = s.x___15229; r0 = s.arg0.fields["offsetX"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 20); @@ -43405,9 +43405,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } r0 = s.arg0.fields["offsetY"]; - s.y___17305 = (r0); + s.y___15239 = (r0); case 2: - s.tmp_1 = r0 = s.y___17305; + s.tmp_1 = r0 = s.y___15239; r0 = s.arg0.fields["offsetY"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 15); @@ -43416,15 +43416,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - r0 = (0 <= s.x___17295); + r0 = (0 <= s.x___15229); 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___17295; - r0 = pxsim_ImageMethods.width(s.backs___17291); + s.tmp_5 = r0 = s.x___15229; + r0 = pxsim_ImageMethods.width(s.backs___15225); s.tmp_6 = r0; r0 = (s.tmp_5 < s.tmp_6); case 4: @@ -43435,7 +43435,7 @@ switch (step) { r0 = s.tmp_7; { step = 6; continue; } case 5: - r0 = (0 <= s.y___17305); + r0 = (0 <= s.y___15239); case 6: // jmp value (already in r0) s.tmp_8 = r0; @@ -43444,57 +43444,57 @@ switch (step) { r0 = s.tmp_8; { step = 8; continue; } case 7: - s.tmp_9 = r0 = s.y___17305; - r0 = pxsim_ImageMethods.height(s.backs___17291); + s.tmp_9 = r0 = s.y___15239; + r0 = pxsim_ImageMethods.height(s.backs___15225); s.tmp_10 = r0; r0 = (s.tmp_9 < s.tmp_10); case 8: // jmp value (already in r0) s.tmp_11 = r0; - s.inRange___17315 = (s.tmp_11); + s.inRange___15249 = (s.tmp_11); r0 = s.arg0.fields["offsetX"]; s.tmp_0 = r0; - r0 = (s.x___17295 - s.tmp_0); - s.col___17333 = (r0); + r0 = (s.x___15229 - s.tmp_0); + s.col___15267 = (r0); r0 = s.arg0.fields["offsetY"]; s.tmp_0 = r0; - r0 = (s.y___17305 - s.tmp_0); - s.row___17338 = (r0); - r0 = (s.col___17333 * 8); - s.nx___17343 = (r0); - r0 = (s.row___17338 * 8); + r0 = (s.y___15239 - s.tmp_0); + s.row___15272 = (r0); + r0 = (s.col___15267 * 8); + s.nx___15277 = (r0); + r0 = (s.row___15272 * 8); s.tmp_0 = r0; r0 = (20 + s.tmp_0); - s.ny___17347 = (r0); - r0 = pxsim_numops_toBoolDecr(s.inRange___17315); + s.ny___15281 = (r0); + r0 = pxsim_numops_toBoolDecr(s.inRange___15249); if (!r0) { step = 9; continue; } - r0 = pxsim_ImageMethods.getPixel(s.backs___17291, s.x___17295, s.y___17305); + r0 = pxsim_ImageMethods.getPixel(s.backs___15225, s.x___15229, s.y___15239); { step = 10; continue; } case 9: r0 = -1; case 10: // jmp value (already in r0) s.tmp_0 = r0; - s.index___17353 = (s.tmp_0); - r0 = (s.index___17353 == -1); + s.index___15287 = (s.tmp_0); + r0 = (s.index___15287 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = globals.emptyTile___4015; + r0 = globals.emptyTile___7244; { step = 14; continue; } case 11: - r0 = (s.index___17353 == 15); + r0 = (s.index___15287 == 15); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 12; continue; } - r0 = globals.emptyDiagTile___4018; + r0 = globals.emptyDiagTile___7247; { step = 13; continue; } case 12: - s.tmp_2 = tileworld_Project_getBackgroundImage__P3951_mk(s); + s.tmp_2 = tileworld_Project_getBackgroundImage__P6002_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.index___17353; - s.callLocIdx = 1283; s.pc = 25; return s.tmp_2; + s.tmp_2.arg1 = s.index___15287; + s.callLocIdx = 1286; s.pc = 25; return s.tmp_2; case 25: r0 = s.retval; case 13: @@ -43504,52 +43504,52 @@ switch (step) { case 14: // jmp value (already in r0) s.tmp_4 = r0; - s.img___17362 = (s.tmp_4); - s.tmp_0 = tileworld_drawHalfSize__P3841_mk(s); - s.tmp_0.arg0 = s.img___17362; - s.tmp_0.arg1 = s.nx___17343; - s.tmp_0.arg2 = s.ny___17347; + s.img___15296 = (s.tmp_4); + s.tmp_0 = tileworld_drawHalfSize__P4005_mk(s); + s.tmp_0.arg0 = s.img___15296; + s.tmp_0.arg1 = s.nx___15277; + s.tmp_0.arg2 = s.ny___15281; s.tmp_0.arg3 = false; - s.callLocIdx = 1284; s.pc = 26; return s.tmp_0; + s.callLocIdx = 1287; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.inRange___17315); + r0 = pxsim_numops_toBoolDecr(s.inRange___15249); 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___17295, s.y___17305); - s.index___17380 = (r0); - r0 = (s.index___17380 != 15); + r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.x___15229, s.y___15239); + s.index___15314 = (r0); + r0 = (s.index___15314 != 15); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_1 = tileworld_drawHalfSize__P3841_mk(s); - s.tmp_2 = tileworld_Project_getSpriteImage__P3952_mk(s); + s.tmp_1 = tileworld_drawHalfSize__P4005_mk(s); + s.tmp_2 = tileworld_Project_getSpriteImage__P6007_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.index___17380; - s.callLocIdx = 1286; s.pc = 28; return s.tmp_2; + s.tmp_2.arg1 = s.index___15314; + s.callLocIdx = 1289; s.pc = 28; return s.tmp_2; case 28: r0 = s.retval; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.nx___17343; - s.tmp_1.arg2 = s.ny___17347; + s.tmp_1.arg1 = s.nx___15277; + s.tmp_1.arg2 = s.ny___15281; s.tmp_1.arg3 = true; - s.callLocIdx = 1287; s.pc = 27; return s.tmp_1; + s.callLocIdx = 1290; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; case 15: case 16: case 17: case 18: - r0 = (s.y___17305 + 1); - s.y___17305 = (r0); + r0 = (s.y___15239 + 1); + s.y___15239 = (r0); { step = 2; continue; } case 19: - r0 = (s.x___17295 + 1); - s.x___17295 = (r0); + r0 = (s.x___15229 + 1); + s.x___15229 = (r0); { step = 1; continue; } case 20: s.tmp_0 = helpers_imageDrawLine__P519_mk(s); @@ -43559,19 +43559,19 @@ switch (step) { s.tmp_0.arg3 = 159; s.tmp_0.arg4 = 20; s.tmp_0.arg5 = 11; - s.callLocIdx = 1288; s.pc = 29; return s.tmp_0; + s.callLocIdx = 1291; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_MapEditor_update__P4544.info = {"start":6932,"length":1668,"line":193,"column":8,"endLine":229,"endColumn":9,"fileName":"editor.ts","functionName":"update","argumentNames":["this"]} +tileworld_MapEditor_update__P13491.info = {"start":6932,"length":1668,"line":193,"column":8,"endLine":229,"endColumn":9,"fileName":"editor.ts","functionName":"update","argumentNames":["this"]} -function tileworld_MapEditor_update__P4544_mk(s) { +function tileworld_MapEditor_update__P13491_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_update__P4544, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_update__P13491, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43585,18 +43585,18 @@ function tileworld_MapEditor_update__P4544_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - index___17268: undefined, - backs___17291: undefined, - x___17295: undefined, - y___17305: undefined, - inRange___17315: undefined, - col___17333: undefined, - row___17338: undefined, - nx___17343: undefined, - ny___17347: undefined, - index___17353: undefined, - img___17362: undefined, - index___17380: undefined, + index___15202: undefined, + backs___15225: undefined, + x___15229: undefined, + y___15239: undefined, + inRange___15249: undefined, + col___15267: undefined, + row___15272: undefined, + nx___15277: undefined, + ny___15281: undefined, + index___15287: undefined, + img___15296: undefined, + index___15314: undefined, arg0: undefined, } } @@ -43604,7 +43604,7 @@ function tileworld_MapEditor_update__P4544_mk(s) { -function inline__P17273(s) { +function inline__P15207(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43618,13 +43618,13 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_MapEditor_drawImage__P4543_mk(s); + s.tmp_0 = tileworld_MapEditor_drawImage__P13490_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 = 1277; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1280; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.caps[1]; @@ -43637,12 +43637,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P17273.info = {"start":7140,"length":96,"line":198,"column":46,"endLine":201,"endColumn":13,"fileName":"editor.ts","functionName":"inline","argumentNames":["img"]} +inline__P15207.info = {"start":7140,"length":96,"line":198,"column":46,"endLine":201,"endColumn":13,"fileName":"editor.ts","functionName":"inline","argumentNames":["img"]} -function inline__P17273_mk(s) { +function inline__P15207_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P17273, depth: s.depth + 1, + parent: s, fn: inline__P15207, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43654,7 +43654,7 @@ function inline__P17273_mk(s) { -function inline__P17284(s) { +function inline__P15218(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43668,13 +43668,13 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_MapEditor_drawImage__P4543_mk(s); + s.tmp_0 = tileworld_MapEditor_drawImage__P13490_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 = 1280; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1283; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.caps[1]; @@ -43687,12 +43687,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P17284.info = {"start":7281,"length":94,"line":202,"column":42,"endLine":205,"endColumn":13,"fileName":"editor.ts","functionName":"inline","argumentNames":["img"]} +inline__P15218.info = {"start":7281,"length":94,"line":202,"column":42,"endLine":205,"endColumn":13,"fileName":"editor.ts","functionName":"inline","argumentNames":["img"]} -function inline__P17284_mk(s) { +function inline__P15218_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P17284, depth: s.depth + 1, + parent: s, fn: inline__P15218, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43704,7 +43704,7 @@ function inline__P17284_mk(s) { -function tileworld_drawHalfSize__P3841(s) { +function tileworld_drawHalfSize__P4005(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43714,11 +43714,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___17415 = undefined; - s.j___17421 = undefined; - s.i___17453 = undefined; - s.j___17459 = undefined; - s.pix___17465 = undefined; + s.i___4012 = undefined; + s.j___4018 = undefined; + s.i___4050 = undefined; + s.j___4056 = undefined; + s.pix___4062 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -43732,18 +43732,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.i___17415 = (0); + s.i___4012 = (0); case 1: - s.tmp_1 = r0 = s.i___17415; + s.tmp_1 = r0 = s.i___4012; 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___17421 = (0); + s.j___4018 = (0); case 2: - s.tmp_1 = r0 = s.j___17421; + s.tmp_1 = r0 = s.j___4018; r0 = pxsim_ImageMethods.height(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -43752,70 +43752,70 @@ switch (step) { if (!r0) { step = 3; continue; } s.tmp_3 = r0 = globals.screen___578; s.tmp_5 = r0 = s.arg1; - r0 = (s.i___17415 >> 1); + r0 = (s.i___4012 >> 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___17421 >> 1); + r0 = (s.j___4018 >> 1); s.tmp_9 = r0; r0 = (s.tmp_8 + s.tmp_9); s.tmp_7 = r0; - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.i___17415, s.j___17421); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.i___4012, s.j___4018); s.tmp_10 = r0; r0 = pxsim_ImageMethods.setPixel(s.tmp_3, s.tmp_4, s.tmp_7, s.tmp_10); - r0 = (s.j___17421 + 2); - s.j___17421 = (r0); + r0 = (s.j___4018 + 2); + s.j___4018 = (r0); { step = 2; continue; } case 3: - r0 = (s.i___17415 + 2); - s.i___17415 = (r0); + r0 = (s.i___4012 + 2); + s.i___4012 = (r0); { step = 1; continue; } case 4: { step = 12; continue; } case 5: - s.i___17453 = (0); + s.i___4050 = (0); case 6: - s.tmp_1 = r0 = s.i___17453; + s.tmp_1 = r0 = s.i___4050; 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___17459 = (0); + s.j___4056 = (0); case 7: - s.tmp_1 = r0 = s.j___17459; + s.tmp_1 = r0 = s.j___4056; 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___17453, s.j___17459); - s.pix___17465 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pix___17465); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.i___4050, s.j___4056); + s.pix___4062 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pix___4062); if (!r0) { step = 8; continue; } s.tmp_0 = r0 = globals.screen___578; s.tmp_2 = r0 = s.arg1; - r0 = (s.i___17453 >> 1); + r0 = (s.i___4050 >> 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___17459 >> 1); + r0 = (s.j___4056 >> 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___17465); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_4, s.pix___4062); case 8: case 9: - r0 = (s.j___17459 + 2); - s.j___17459 = (r0); + r0 = (s.j___4056 + 2); + s.j___4056 = (r0); { step = 7; continue; } case 10: - r0 = (s.i___17453 + 2); - s.i___17453 = (r0); + r0 = (s.i___4050 + 2); + s.i___4050 = (r0); { step = 6; continue; } case 11: case 12: @@ -43823,12 +43823,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_drawHalfSize__P3841.info = {"start":1663,"length":691,"line":50,"column":4,"endLine":66,"endColumn":5,"fileName":"utilities.ts","functionName":"drawHalfSize","argumentNames":["img","nx","ny","transparent"]} +tileworld_drawHalfSize__P4005.info = {"start":1663,"length":691,"line":50,"column":4,"endLine":66,"endColumn":5,"fileName":"utilities.ts","functionName":"drawHalfSize","argumentNames":["img","nx","ny","transparent"]} -function tileworld_drawHalfSize__P3841_mk(s) { +function tileworld_drawHalfSize__P4005_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_drawHalfSize__P3841, depth: s.depth + 1, + parent: s, fn: tileworld_drawHalfSize__P4005, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43841,11 +43841,11 @@ function tileworld_drawHalfSize__P3841_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - i___17415: undefined, - j___17421: undefined, - i___17453: undefined, - j___17459: undefined, - pix___17465: undefined, + i___4012: undefined, + j___4018: undefined, + i___4050: undefined, + j___4056: undefined, + pix___4062: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -43856,7 +43856,7 @@ function tileworld_drawHalfSize__P3841_mk(s) { -function tileworld_MapEditor_drawImage__P4543(s) { +function tileworld_MapEditor_drawImage__P13490(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43874,7 +43874,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C4531_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C13477_VT)) failedCast(r0); s.tmp_0 = r0 = globals.screen___578; s.tmp_1 = r0 = s.arg1; r0 = (s.arg2 << 4); @@ -43888,12 +43888,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_drawImage__P4543.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__P13490.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__P4543_mk(s) { +function tileworld_MapEditor_drawImage__P13490_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_drawImage__P4543, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_drawImage__P13490, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43910,7 +43910,7 @@ function tileworld_MapEditor_drawImage__P4543_mk(s) { -function tileworld_MapEditor_setCursor__P4534(s) { +function tileworld_MapEditor_setCursor__P13481(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43926,14 +43926,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C4531_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C13477_VT)) failedCast(r0); s.tmp_0 = Sprite_setFlag__P813_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 = 1231; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1234; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = Sprite_setFlag__P813_mk(s); @@ -43942,7 +43942,7 @@ switch (step) { s.tmp_0.arg1 = 128; r0 = (s.arg1 != 1); s.tmp_0.arg2 = r0; - s.callLocIdx = 1232; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1235; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = (s.arg0).fields["cursorType"] = (s.arg1); @@ -43950,12 +43950,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_setCursor__P4534.info = {"start":3086,"length":239,"line":84,"column":8,"endLine":88,"endColumn":9,"fileName":"editor.ts","functionName":"setCursor","argumentNames":["this","ct"]} +tileworld_MapEditor_setCursor__P13481.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__P4534_mk(s) { +function tileworld_MapEditor_setCursor__P13481_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_setCursor__P4534, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_setCursor__P13481, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -43966,7 +43966,7 @@ function tileworld_MapEditor_setCursor__P4534_mk(s) { -function tileworld_MapEditor_paintHome__P4533(s) { +function tileworld_MapEditor_paintHome__P13480(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43981,19 +43981,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_MapEditor__C4531_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_MapEditor__C13477_VT)) failedCast(r0); s.tmp_0 = Sprite_x__P771_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1229; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1232; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = Sprite_y__P773_mk(s); r0 = s.arg0.fields["paintCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 24; - s.callLocIdx = 1230; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1233; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = (s.arg0).fields["offsetY"] = (-3); @@ -44002,12 +44002,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_MapEditor_paintHome__P4533.info = {"start":2918,"length":158,"line":78,"column":8,"endLine":82,"endColumn":9,"fileName":"editor.ts","functionName":"paintHome","argumentNames":["this"]} +tileworld_MapEditor_paintHome__P13480.info = {"start":2918,"length":158,"line":78,"column":8,"endLine":82,"endColumn":9,"fileName":"editor.ts","functionName":"paintHome","argumentNames":["this"]} -function tileworld_MapEditor_paintHome__P4533_mk(s) { +function tileworld_MapEditor_paintHome__P13480_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_MapEditor_paintHome__P4533, depth: s.depth + 1, + parent: s, fn: tileworld_MapEditor_paintHome__P13480, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -44017,7 +44017,7 @@ function tileworld_MapEditor_paintHome__P4533_mk(s) { -function tileworld_RunGame_start__P4285(s) { +function tileworld_RunGame_start__P9497(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44027,60 +44027,60 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.signal___17549 = undefined; - s.halfway___17573 = undefined; - s.playerId___17574 = undefined; + s.signal___9723 = undefined; + s.halfway___9744 = undefined; + s.playerId___9745 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RunGame__C4279_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RunGame__C9491_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__C4240_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_TileSprite__C7459_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_TileSprite_constructor__P4247_mk(s); + s.tmp_1 = tileworld_TileSprite_constructor__P7466_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.cursorIn___4021; + s.tmp_1.arg1 = globals.cursorIn___7250; s.tmp_1.arg2 = 0; s.tmp_1.arg3 = false; - s.callLocIdx = 474; s.pc = 5; return s.tmp_1; + s.callLocIdx = 477; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.signal___17549 = (s.tmp_0); + s.signal___9723 = (s.tmp_0); s.tmp_0 = Sprite_setFlag__P813_mk(s); - s.tmp_0.arg0 = s.signal___17549; + s.tmp_0.arg0 = s.signal___9723; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = true; - s.callLocIdx = 475; s.pc = 6; return s.tmp_0; + s.callLocIdx = 478; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; s.tmp_0 = Sprite_y__P773_mk(s); - s.tmp_0.arg0 = s.signal___17549; + s.tmp_0.arg0 = s.signal___9723; s.tmp_0.arg1 = 8; - s.callLocIdx = 476; s.pc = 7; return s.tmp_0; + s.callLocIdx = 479; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; s.tmp_1 = Sprite_x__P771_mk(s); - s.tmp_1.arg0 = s.signal___17549; + s.tmp_1.arg0 = s.signal___9723; s.tmp_1.arg1 = 8; - s.callLocIdx = 477; s.pc = 8; return s.tmp_1; + s.callLocIdx = 480; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = (s.signal___17549).fields["dir"] = (2); - r0 = (s.signal___17549).fields["inst"] = (-1); - r0 = (s.arg0).fields["signal"] = (s.signal___17549); + r0 = (s.signal___9723).fields["dir"] = (2); + r0 = (s.signal___9723).fields["inst"] = (-1); + r0 = (s.arg0).fields["signal"] = (s.signal___9723); r0 = pxsim_pxtrt.mklocRef(); - s.halfway___17573 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.halfway___17573, false); + s.halfway___9744 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.halfway___9744, false); r0 = s.arg0.fields["p"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_player"]; - s.playerId___17574 = (r0); - r0 = (s.playerId___17574 != -1); + s.playerId___9745 = (r0); + r0 = (s.playerId___9745 != -1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } @@ -44090,7 +44090,7 @@ switch (step) { r0 = s.arg0.fields["state"]; r0 = r0.fields["sprites"]; s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.tmp_1, s.playerId___17574); + r0 = pxsim_Array__getAt(s.tmp_1, s.playerId___9745); case 2: // jmp value (already in r0) s.tmp_2 = r0; @@ -44100,77 +44100,77 @@ switch (step) { r0 = s.arg0.fields["state"]; r0 = r0.fields["sprites"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.playerId___17574); + r0 = pxsim_Array__getAt(s.tmp_5, s.playerId___9745); s.tmp_4 = r0; r0 = pxsim_Array__getAt(s.tmp_4, 0); s.tmp_3.arg0 = r0; - s.callLocIdx = 479; s.pc = 9; return s.tmp_3; + s.callLocIdx = 482; s.pc = 9; return s.tmp_3; case 9: r0 = s.retval; case 3: case 4: - s.tmp_0 = tileworld_TileWorldVM_setState__P4255_mk(s); + s.tmp_0 = tileworld_TileWorldVM_setState__P7666_mk(s); r0 = s.arg0.fields["vm"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["state"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 480; s.pc = 10; return s.tmp_0; + s.callLocIdx = 483; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_0 = tileworld_RunGame_roundToCompletion__P4284_mk(s); + s.tmp_0 = tileworld_RunGame_roundToCompletion__P9496_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_0.arg1 = r0; - s.callLocIdx = 481; s.pc = 11; return s.tmp_0; + s.callLocIdx = 484; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = (s.arg0).fields["running"] = (true); - r0 = pxsim_pxtcore_mkAction(2, inline__P17608); + r0 = pxsim_pxtcore_mkAction(2, inline__P9775); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.halfway___17573); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.halfway___9744); s.tmp_1 = game_onUpdate__P1300_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 493; s.pc = 12; return s.tmp_1; + s.callLocIdx = 496; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P17710); + r0 = pxsim_pxtcore_mkAction(1, inline__P9871); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = game_onShade__P1306_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 496; s.pc = 13; return s.tmp_1; + s.callLocIdx = 499; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P17741); + r0 = pxsim_pxtcore_mkAction(1, inline__P9901); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = game_onPaint__P1305_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 497; s.pc = 14; return s.tmp_1; + s.callLocIdx = 500; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - s.tmp_0 = tileworld_RunGame_registerController__P4287_mk(s); + s.tmp_0 = tileworld_RunGame_registerController__P9499_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 498; s.pc = 15; return s.tmp_0; + s.callLocIdx = 501; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; s.tmp_0 = Sprite_vx__P775_mk(s); - s.tmp_0.arg0 = s.signal___17549; + s.tmp_0.arg0 = s.signal___9723; s.tmp_0.arg1 = 100; - s.callLocIdx = 499; s.pc = 16; return s.tmp_0; + s.callLocIdx = 502; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RunGame_start__P4285.info = {"start":33350,"length":2735,"line":749,"column":8,"endLine":818,"endColumn":9,"fileName":"vm.ts","functionName":"start","argumentNames":["this"]} +tileworld_RunGame_start__P9497.info = {"start":33469,"length":2735,"line":752,"column":8,"endLine":821,"endColumn":9,"fileName":"vm.ts","functionName":"start","argumentNames":["this"]} -function tileworld_RunGame_start__P4285_mk(s) { +function tileworld_RunGame_start__P9497_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RunGame_start__P4285, depth: s.depth + 1, + parent: s, fn: tileworld_RunGame_start__P9497, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44178,9 +44178,9 @@ function tileworld_RunGame_start__P4285_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - signal___17549: undefined, - halfway___17573: undefined, - playerId___17574: undefined, + signal___9723: undefined, + halfway___9744: undefined, + playerId___9745: undefined, arg0: undefined, } } @@ -44188,7 +44188,7 @@ function tileworld_RunGame_start__P4285_mk(s) { -function inline__P17608(s) { +function inline__P9775(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44198,7 +44198,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.message___17625 = undefined; + s.message___9790 = undefined; r0 = s.caps[0].fields["running"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -44213,7 +44213,7 @@ switch (step) { s.tmp_5 = Sprite_x__P770_mk(s); r0 = s.caps[0].fields["signal"]; s.tmp_5.arg0 = r0; - s.callLocIdx = 482; s.pc = 18; return s.tmp_5; + s.callLocIdx = 485; s.pc = 18; return s.tmp_5; case 18: r0 = s.retval; s.tmp_4 = r0; @@ -44243,7 +44243,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.message___17625 = (s.tmp_2); + s.message___9790 = (s.tmp_2); r0 = s.caps[0].fields["state"]; r0 = r0.fields["highScore"]; s.tmp_1 = r0; @@ -44254,21 +44254,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__P3960_mk(s); + s.tmp_3 = tileworld_Project_newHighScore__P6125_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 = 483; s.pc = 19; return s.tmp_3; + s.callLocIdx = 486; s.pc = 19; return s.tmp_3; case 19: r0 = s.retval; - if ((s.message___17625) && (s.message___17625).vtable) { + if ((s.message___9790) && (s.message___9790).vtable) { setupResume(s, 20); - pxsim_String__stringConv(s.message___17625); + pxsim_String__stringConv(s.message___9790); checkResumeConsumed(); return; - } else { s.retval = (s.message___17625) + ""; } + } else { s.retval = (s.message___9790) + ""; } case 20: r0 = s.retval; s.tmp_0 = r0; @@ -44298,23 +44298,23 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.message___17625 = (r0); + s.message___9790 = (r0); case 5: case 6: s.tmp_0 = game_showDialog__P1295_mk(s); s.tmp_0.arg0 = "Game Over"; - s.tmp_0.arg1 = s.message___17625; + s.tmp_0.arg1 = s.message___9790; s.tmp_0.arg2 = undefined; - s.callLocIdx = 484; s.pc = 23; return s.tmp_0; + s.callLocIdx = 487; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; s.tmp_0 = pause__P309_mk(s); s.tmp_0.arg0 = 500; - s.callLocIdx = 485; s.pc = 24; return s.tmp_0; + s.callLocIdx = 488; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; s.tmp_0 = game_waitAnyButton__P1289_mk(s); - s.callLocIdx = 486; s.pc = 25; return s.tmp_0; + s.callLocIdx = 489; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; { step = 17; continue; } @@ -44324,14 +44324,14 @@ switch (step) { r0 = s.caps[0].fields["signal"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 8; - s.callLocIdx = 487; s.pc = 26; return s.tmp_0; + s.callLocIdx = 490; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.tmp_0 = tileworld_RunGame_roundToCompletion__P4284_mk(s); + s.tmp_0 = tileworld_RunGame_roundToCompletion__P9496_mk(s); s.tmp_0.arg0 = s.caps[0]; r0 = s.caps[0].fields["currentDirection"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 488; s.pc = 27; return s.tmp_0; + s.callLocIdx = 491; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; r0 = pxsim_pxtrt_stlocRef(s.caps[1], false); @@ -44355,7 +44355,7 @@ switch (step) { s.tmp_4 = Sprite_x__P770_mk(s); r0 = s.caps[0].fields["signal"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 489; s.pc = 28; return s.tmp_4; + s.callLocIdx = 492; s.pc = 28; return s.tmp_4; case 28: r0 = s.retval; s.tmp_3 = r0; @@ -44372,7 +44372,7 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 12; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P17693); + r0 = pxsim_pxtcore_mkAction(1, inline__P9854); s.tmp_8 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_8, 0, s.caps[0]); s.tmp_9 = helpers_arrayForEach__P60_mk(s); @@ -44380,7 +44380,7 @@ switch (step) { r0 = r0.fields["deadSprites"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.tmp_8; - s.callLocIdx = 492; s.pc = 29; return s.tmp_9; + s.callLocIdx = 495; s.pc = 29; return s.tmp_9; case 29: r0 = s.retval; case 12: @@ -44394,12 +44394,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P17608.info = {"start":34081,"length":1507,"line":770,"column":26,"endLine":801,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P9775.info = {"start":34200,"length":1507,"line":773,"column":26,"endLine":804,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P17608_mk(s) { +function inline__P9775_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P17608, depth: s.depth + 1, + parent: s, fn: inline__P9775, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44411,14 +44411,14 @@ function inline__P17608_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - message___17625: undefined, + message___9790: undefined, } } -function inline__P17693(s) { +function inline__P9854(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44444,19 +44444,19 @@ switch (step) { s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; - s.callLocIdx = 491; s.pc = 1; return s.tmp_0; + s.callLocIdx = 494; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P17693.info = {"start":35344,"length":152,"line":794,"column":55,"endLine":797,"endColumn":25,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P9854.info = {"start":35463,"length":152,"line":797,"column":55,"endLine":800,"endColumn":25,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P17693_mk(s) { +function inline__P9854_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P17693, depth: s.depth + 1, + parent: s, fn: inline__P9854, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44468,7 +44468,7 @@ function inline__P17693_mk(s) { -function inline__P17710(s) { +function inline__P9871(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44501,7 +44501,7 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 494; s.pc = 1; return s.tmp_0; + s.callLocIdx = 497; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = helpers_imagePrint__P541_mk(s); @@ -44527,19 +44527,19 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 495; s.pc = 3; return s.tmp_0; + s.callLocIdx = 498; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P17710.info = {"start":35629,"length":174,"line":803,"column":25,"endLine":806,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P9871.info = {"start":35748,"length":174,"line":806,"column":25,"endLine":809,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P17710_mk(s) { +function inline__P9871_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P17710, depth: s.depth + 1, + parent: s, fn: inline__P9871, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44551,7 +44551,7 @@ function inline__P17710_mk(s) { -function inline__P17741(s) { +function inline__P9901(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44565,19 +44565,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___578, globals.debug___3994, 0, 0); + r0 = pxsim_ImageMethods.drawImage(globals.screen___578, globals.debug___7223, 0, 0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P17741.info = {"start":35831,"length":173,"line":808,"column":25,"endLine":814,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P9901.info = {"start":35950,"length":173,"line":811,"column":25,"endLine":817,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P17741_mk(s) { +function inline__P9901_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P17741, depth: s.depth + 1, + parent: s, fn: inline__P9901, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -44586,7 +44586,7 @@ function inline__P17741_mk(s) { -function tileworld_RunGame_registerController__P4287(s) { +function tileworld_RunGame_registerController__P9499(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44601,143 +44601,143 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RunGame__C4279_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RunGame__C9491_VT)) failedCast(r0); s.tmp_0 = controller_setRepeatDefault__P709_mk(s); s.tmp_0.arg0 = 200; s.tmp_0.arg1 = 80; - s.callLocIdx = 500; s.pc = 1; return s.tmp_0; + s.callLocIdx = 503; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P17757); + r0 = pxsim_pxtcore_mkAction(1, inline__P9920); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.left___669; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 502; s.pc = 2; return s.tmp_1; + s.callLocIdx = 505; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P17763); + r0 = pxsim_pxtcore_mkAction(1, inline__P9928); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.left___669; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 504; s.pc = 3; return s.tmp_1; + s.callLocIdx = 507; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P17769); + r0 = pxsim_pxtcore_mkAction(1, inline__P9934); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.right___673; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 506; s.pc = 4; return s.tmp_1; + s.callLocIdx = 509; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P17775); + r0 = pxsim_pxtcore_mkAction(1, inline__P9940); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.right___673; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 508; s.pc = 5; return s.tmp_1; + s.callLocIdx = 511; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P17781); + r0 = pxsim_pxtcore_mkAction(1, inline__P9946); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.up___671; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 510; s.pc = 6; return s.tmp_1; + s.callLocIdx = 513; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P17787); + r0 = pxsim_pxtcore_mkAction(1, inline__P9952); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.up___671; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 512; s.pc = 7; return s.tmp_1; + s.callLocIdx = 515; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P17793); + r0 = pxsim_pxtcore_mkAction(1, inline__P9958); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.down___675; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 514; s.pc = 8; return s.tmp_1; + s.callLocIdx = 517; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P17799); + r0 = pxsim_pxtcore_mkAction(1, inline__P9964); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.down___675; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 516; s.pc = 9; return s.tmp_1; + s.callLocIdx = 519; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P17805); + r0 = pxsim_pxtcore_mkAction(1, inline__P9970); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.A___665; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 518; s.pc = 10; return s.tmp_1; + s.callLocIdx = 521; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P17811); + r0 = pxsim_pxtcore_mkAction(1, inline__P9976); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.A___665; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 520; s.pc = 11; return s.tmp_1; + s.callLocIdx = 523; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P17817); + r0 = pxsim_pxtcore_mkAction(1, inline__P9983); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.A___665; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 522; s.pc = 12; return s.tmp_1; + s.callLocIdx = 525; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P17823); + r0 = pxsim_pxtcore_mkAction(1, inline__P9989); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.B___667; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 526; s.pc = 13; return s.tmp_1; + s.callLocIdx = 529; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RunGame_registerController__P4287.info = {"start":36177,"length":1999,"line":825,"column":8,"endLine":868,"endColumn":9,"fileName":"vm.ts","functionName":"registerController","argumentNames":["this"]} +tileworld_RunGame_registerController__P9499.info = {"start":36296,"length":1999,"line":828,"column":8,"endLine":871,"endColumn":9,"fileName":"vm.ts","functionName":"registerController","argumentNames":["this"]} -function tileworld_RunGame_registerController__P4287_mk(s) { +function tileworld_RunGame_registerController__P9499_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RunGame_registerController__P4287, depth: s.depth + 1, + parent: s, fn: tileworld_RunGame_registerController__P9499, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44748,7 +44748,7 @@ function tileworld_RunGame_registerController__P4287_mk(s) { -function inline__P17757(s) { +function inline__P9920(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44758,22 +44758,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P4288_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P9500_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; - s.callLocIdx = 501; s.pc = 1; return s.tmp_0; + s.callLocIdx = 504; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P17757.info = {"start":36325,"length":74,"line":827,"column":67,"endLine":829,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P9920.info = {"start":36444,"length":74,"line":830,"column":67,"endLine":832,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P17757_mk(s) { +function inline__P9920_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P17757, depth: s.depth + 1, + parent: s, fn: inline__P9920, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -44782,7 +44782,7 @@ function inline__P17757_mk(s) { -function inline__P17763(s) { +function inline__P9928(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44792,22 +44792,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P4288_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P9500_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; - s.callLocIdx = 503; 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__P17763.info = {"start":36469,"length":74,"line":830,"column":68,"endLine":832,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P9928.info = {"start":36588,"length":74,"line":833,"column":68,"endLine":835,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P17763_mk(s) { +function inline__P9928_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P17763, depth: s.depth + 1, + parent: s, fn: inline__P9928, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -44816,7 +44816,7 @@ function inline__P17763_mk(s) { -function inline__P17769(s) { +function inline__P9934(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44826,22 +44826,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P4288_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P9500_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 2; - s.callLocIdx = 505; s.pc = 1; return s.tmp_0; + s.callLocIdx = 508; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P17769.info = {"start":36613,"length":75,"line":833,"column":68,"endLine":835,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P9934.info = {"start":36732,"length":75,"line":836,"column":68,"endLine":838,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P17769_mk(s) { +function inline__P9934_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P17769, depth: s.depth + 1, + parent: s, fn: inline__P9934, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -44850,7 +44850,7 @@ function inline__P17769_mk(s) { -function inline__P17775(s) { +function inline__P9940(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44860,22 +44860,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P4288_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P9500_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 2; - s.callLocIdx = 507; s.pc = 1; return s.tmp_0; + s.callLocIdx = 510; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P17775.info = {"start":36759,"length":75,"line":836,"column":69,"endLine":838,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P9940.info = {"start":36878,"length":75,"line":839,"column":69,"endLine":841,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P17775_mk(s) { +function inline__P9940_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P17775, depth: s.depth + 1, + parent: s, fn: inline__P9940, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -44884,7 +44884,7 @@ function inline__P17775_mk(s) { -function inline__P17781(s) { +function inline__P9946(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44894,22 +44894,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P4288_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P9500_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 1; - s.callLocIdx = 509; s.pc = 1; return s.tmp_0; + s.callLocIdx = 512; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P17781.info = {"start":36901,"length":72,"line":839,"column":65,"endLine":841,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P9946.info = {"start":37020,"length":72,"line":842,"column":65,"endLine":844,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P17781_mk(s) { +function inline__P9946_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P17781, 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, } } @@ -44918,7 +44918,7 @@ function inline__P17781_mk(s) { -function inline__P17787(s) { +function inline__P9952(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44928,22 +44928,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P4288_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P9500_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 1; - s.callLocIdx = 511; s.pc = 1; return s.tmp_0; + s.callLocIdx = 514; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P17787.info = {"start":37041,"length":72,"line":842,"column":66,"endLine":844,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P9952.info = {"start":37160,"length":72,"line":845,"column":66,"endLine":847,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P17787_mk(s) { +function inline__P9952_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P17787, depth: s.depth + 1, + parent: s, fn: inline__P9952, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -44952,7 +44952,7 @@ function inline__P17787_mk(s) { -function inline__P17793(s) { +function inline__P9958(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44962,22 +44962,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P4288_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P9500_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 3; - s.callLocIdx = 513; 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__P17793.info = {"start":37182,"length":74,"line":845,"column":67,"endLine":847,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P9958.info = {"start":37301,"length":74,"line":848,"column":67,"endLine":850,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P17793_mk(s) { +function inline__P9958_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P17793, depth: s.depth + 1, + parent: s, fn: inline__P9958, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -44986,7 +44986,7 @@ function inline__P17793_mk(s) { -function inline__P17799(s) { +function inline__P9964(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44996,22 +44996,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P4288_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P9500_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 3; - s.callLocIdx = 515; 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__P17799.info = {"start":37326,"length":74,"line":848,"column":68,"endLine":850,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P9964.info = {"start":37445,"length":74,"line":851,"column":68,"endLine":853,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P17799_mk(s) { +function inline__P9964_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P17799, depth: s.depth + 1, + parent: s, fn: inline__P9964, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -45020,7 +45020,7 @@ function inline__P17799_mk(s) { -function inline__P17805(s) { +function inline__P9970(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45030,22 +45030,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P4288_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P9500_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 3; - s.callLocIdx = 517; 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__P17805.info = {"start":37466,"length":75,"line":851,"column":64,"endLine":853,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P9970.info = {"start":37585,"length":75,"line":854,"column":64,"endLine":856,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P17805_mk(s) { +function inline__P9970_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P17805, depth: s.depth + 1, + parent: s, fn: inline__P9970, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -45054,7 +45054,7 @@ function inline__P17805_mk(s) { -function inline__P17811(s) { +function inline__P9976(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45064,22 +45064,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P4288_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P9500_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 4; - s.callLocIdx = 519; 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__P17811.info = {"start":37608,"length":68,"line":854,"column":64,"endLine":856,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P9976.info = {"start":37727,"length":68,"line":857,"column":64,"endLine":859,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P17811_mk(s) { +function inline__P9976_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P17811, depth: s.depth + 1, + parent: s, fn: inline__P9976, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -45088,7 +45088,7 @@ function inline__P17811_mk(s) { -function inline__P17817(s) { +function inline__P9983(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45098,22 +45098,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RunGame_requestMove__P4288_mk(s); + s.tmp_0 = tileworld_RunGame_requestMove__P9500_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 4; - s.callLocIdx = 521; 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__P17817.info = {"start":37744,"length":68,"line":857,"column":65,"endLine":859,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P9983.info = {"start":37863,"length":68,"line":860,"column":65,"endLine":862,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P17817_mk(s) { +function inline__P9983_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P17817, depth: s.depth + 1, + parent: s, fn: inline__P9983, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -45122,7 +45122,7 @@ function inline__P17817_mk(s) { -function inline__P17823(s) { +function inline__P9989(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45142,13 +45142,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = tileworld_Project_newHighScore__P3960_mk(s); + s.tmp_3 = tileworld_Project_newHighScore__P6125_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 = 523; s.pc = 3; return s.tmp_3; + s.callLocIdx = 526; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; case 1: @@ -45156,23 +45156,23 @@ switch (step) { s.tmp_0 = controller_setRepeatDefault__P709_mk(s); s.tmp_0.arg0 = 500; s.tmp_0.arg1 = 80; - s.callLocIdx = 524; s.pc = 4; return s.tmp_0; + s.callLocIdx = 527; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; s.tmp_0 = game_popScene__P1293_mk(s); - s.callLocIdx = 525; s.pc = 5; return s.tmp_0; + s.callLocIdx = 528; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P17823.info = {"start":37879,"length":286,"line":860,"column":64,"endLine":867,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} +inline__P9989.info = {"start":37998,"length":286,"line":863,"column":64,"endLine":870,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":[]} -function inline__P17823_mk(s) { +function inline__P9989_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P17823, depth: s.depth + 1, + parent: s, fn: inline__P9989, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45184,7 +45184,7 @@ function inline__P17823_mk(s) { -function tileworld_RunGame_requestMove__P4288(s) { +function tileworld_RunGame_requestMove__P9500(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45200,7 +45200,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RunGame__C4279_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RunGame__C9491_VT)) failedCast(r0); r0 = s.arg0.fields["running"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -45212,11 +45212,11 @@ switch (step) { s.tmp_3 = controller_setRepeatDefault__P709_mk(s); s.tmp_3.arg0 = 500; s.tmp_3.arg1 = 80; - s.callLocIdx = 527; s.pc = 5; return s.tmp_3; + s.callLocIdx = 530; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_0 = game_popScene__P1293_mk(s); - s.callLocIdx = 528; s.pc = 6; return s.tmp_0; + s.callLocIdx = 531; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; { step = 4; continue; } @@ -45239,12 +45239,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RunGame_requestMove__P4288.info = {"start":38186,"length":309,"line":870,"column":8,"endLine":877,"endColumn":9,"fileName":"vm.ts","functionName":"requestMove","argumentNames":["this","dir"]} +tileworld_RunGame_requestMove__P9500.info = {"start":38305,"length":309,"line":873,"column":8,"endLine":880,"endColumn":9,"fileName":"vm.ts","functionName":"requestMove","argumentNames":["this","dir"]} -function tileworld_RunGame_requestMove__P4288_mk(s) { +function tileworld_RunGame_requestMove__P9500_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RunGame_requestMove__P4288, depth: s.depth + 1, + parent: s, fn: tileworld_RunGame_requestMove__P9500, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45274,7 +45274,7 @@ switch (step) { } s.tmp_0 = game_init__P1291_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 894; 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); @@ -45290,7 +45290,7 @@ switch (step) { s.tmp_2.arg0 = 80; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = undefined; - s.callLocIdx = 895; s.pc = 5; return s.tmp_2; + s.callLocIdx = 897; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 3: @@ -45330,14 +45330,14 @@ switch (step) { s.tmp_0 = lambda_1_mk(s); s.tmp_0.argL = globals.__waitAnyButton___1284; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 844; 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__P309_mk(s); s.tmp_0.arg0 = 3000; - s.callLocIdx = 845; s.pc = 4; return s.tmp_0; + s.callLocIdx = 847; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 2: @@ -45359,7 +45359,7 @@ function game_waitAnyButton__P1289_mk(s) { -function tileworld_Project_newHighScore__P3960(s) { +function tileworld_Project_newHighScore__P6125(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45375,7 +45375,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C3937_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); r0 = (s.arg0).fields["highScore"] = (s.arg1); s.tmp_0 = settings_writeNumber__P613_mk(s); r0 = s.arg0.fields["prefix"]; @@ -45389,12 +45389,12 @@ switch (step) { case 2: r0 = s.retval; s.tmp_1 = r0; - if ((globals.HighScoreKey___3982) && (globals.HighScoreKey___3982).vtable) { + if ((globals.HighScoreKey___6382) && (globals.HighScoreKey___6382).vtable) { setupResume(s, 3); - pxsim_String__stringConv(globals.HighScoreKey___3982); + pxsim_String__stringConv(globals.HighScoreKey___6382); checkResumeConsumed(); return; - } else { s.retval = (globals.HighScoreKey___3982) + ""; } + } else { s.retval = (globals.HighScoreKey___6382) + ""; } case 3: r0 = s.retval; s.tmp_3 = r0; @@ -45408,12 +45408,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_newHighScore__P3960.info = {"start":5509,"length":158,"line":157,"column":8,"endLine":160,"endColumn":9,"fileName":"project.ts","functionName":"newHighScore","argumentNames":["this","newScore"]} +tileworld_Project_newHighScore__P6125.info = {"start":5509,"length":158,"line":157,"column":8,"endLine":160,"endColumn":9,"fileName":"project.ts","functionName":"newHighScore","argumentNames":["this","newScore"]} -function tileworld_Project_newHighScore__P3960_mk(s) { +function tileworld_Project_newHighScore__P6125_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_newHighScore__P3960, depth: s.depth + 1, + parent: s, fn: tileworld_Project_newHighScore__P6125, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45427,7 +45427,7 @@ function tileworld_Project_newHighScore__P3960_mk(s) { -function tileworld_RunGame_roundToCompletion__P4284(s) { +function tileworld_RunGame_roundToCompletion__P9496(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45437,20 +45437,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rcs___17900 = undefined; - s.rc___17910 = undefined; + s.rcs___9700 = undefined; + s.rc___9710 = 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__C4279_VT)) failedCast(r0); - s.tmp_0 = tileworld_TileWorldVM_startRound__P4256_mk(s); + if (!checkSubtype(r0, tileworld_RunGame__C9491_VT)) failedCast(r0); + s.tmp_0 = tileworld_TileWorldVM_startRound__P7667_mk(s); r0 = s.arg0.fields["vm"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 471; s.pc = 7; return s.tmp_0; + s.callLocIdx = 474; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; case 1: @@ -45461,21 +45461,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__P4258_mk(s); + s.tmp_2 = tileworld_TileWorldVM_continueRound__P7669_mk(s); r0 = s.arg0.fields["vm"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 472; s.pc = 8; return s.tmp_2; + s.callLocIdx = 475; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.rcs___17900 = (r0); + s.rcs___9700 = (r0); case 2: - s.tmp_0 = r0 = s.rcs___17900; + s.tmp_0 = r0 = s.rcs___9700; 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___17900); + r0 = pxsim_Array__length(s.rcs___9700); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); case 4: @@ -45483,13 +45483,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___17900); - s.rc___17910 = (r0); - s.tmp_0 = tileworld_TileWorldVM_processClosure__P4257_mk(s); + r0 = pxsim_Array_.pop(s.rcs___9700); + s.rc___9710 = (r0); + s.tmp_0 = tileworld_TileWorldVM_processClosure__P7668_mk(s); r0 = s.arg0.fields["vm"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.rc___17910; - s.callLocIdx = 473; s.pc = 9; return s.tmp_0; + s.tmp_0.arg1 = s.rc___9710; + s.callLocIdx = 476; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; { step = 2; continue; } @@ -45500,18 +45500,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RunGame_roundToCompletion__P4284.info = {"start":32934,"length":355,"line":737,"column":8,"endLine":746,"endColumn":9,"fileName":"vm.ts","functionName":"roundToCompletion","argumentNames":["this","dirs"]} +tileworld_RunGame_roundToCompletion__P9496.info = {"start":33053,"length":355,"line":740,"column":8,"endLine":749,"endColumn":9,"fileName":"vm.ts","functionName":"roundToCompletion","argumentNames":["this","dirs"]} -function tileworld_RunGame_roundToCompletion__P4284_mk(s) { +function tileworld_RunGame_roundToCompletion__P9496_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RunGame_roundToCompletion__P4284, depth: s.depth + 1, + parent: s, fn: tileworld_RunGame_roundToCompletion__P9496, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rcs___17900: undefined, - rc___17910: undefined, + rcs___9700: undefined, + rc___9710: undefined, arg0: undefined, arg1: undefined, } } @@ -45520,7 +45520,7 @@ function tileworld_RunGame_roundToCompletion__P4284_mk(s) { -function tileworld_TileWorldVM_processClosure__P4257(s) { +function tileworld_TileWorldVM_processClosure__P7668(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45536,11 +45536,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C4254_VT)) failedCast(r0); - s.tmp_0 = tileworld_TileWorldVM_evaluateRuleClosure__P4276_mk(s); + if (!checkSubtype(r0, tileworld_TileWorldVM__C7665_VT)) failedCast(r0); + s.tmp_0 = tileworld_TileWorldVM_evaluateRuleClosure__P7687_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 307; s.pc = 15; return s.tmp_0; + s.callLocIdx = 308; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; r0 = s.arg1.fields["rv"]; @@ -45641,12 +45641,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_processClosure__P4257.info = {"start":6579,"length":964,"line":158,"column":8,"endLine":175,"endColumn":9,"fileName":"vm.ts","functionName":"processClosure","argumentNames":["this","rc"]} +tileworld_TileWorldVM_processClosure__P7668.info = {"start":6612,"length":964,"line":159,"column":8,"endLine":176,"endColumn":9,"fileName":"vm.ts","functionName":"processClosure","argumentNames":["this","rc"]} -function tileworld_TileWorldVM_processClosure__P4257_mk(s) { +function tileworld_TileWorldVM_processClosure__P7668_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_processClosure__P4257, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_processClosure__P7668, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45666,7 +45666,7 @@ function tileworld_TileWorldVM_processClosure__P4257_mk(s) { -function tileworld_TileWorldVM_evaluateRuleClosure__P4276(s) { +function tileworld_TileWorldVM_evaluateRuleClosure__P7687(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45676,58 +45676,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___17999 = undefined; - s.row___18003 = undefined; + s.col___9022 = undefined; + s.row___9026 = 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__C4254_VT)) failedCast(r0); - s.col___17999 = (1); + if (!checkSubtype(r0, tileworld_TileWorldVM__C7665_VT)) failedCast(r0); + s.col___9022 = (1); case 1: - r0 = (s.col___17999 <= 3); + r0 = (s.col___9022 <= 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.row___18003 = (1); + s.row___9026 = (1); case 2: - r0 = (s.row___18003 <= 3); + r0 = (s.row___9026 <= 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = tileworld_TileWorldVM_evaluateWhenDoCommands__P4277_mk(s); + s.tmp_1 = tileworld_TileWorldVM_evaluateWhenDoCommands__P7688_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; - s.tmp_1.arg2 = s.col___17999; - s.tmp_1.arg3 = s.row___18003; - s.callLocIdx = 426; s.pc = 5; return s.tmp_1; + s.tmp_1.arg2 = s.col___9022; + s.tmp_1.arg3 = s.row___9026; + s.callLocIdx = 429; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = (s.row___18003 + 1); - s.row___18003 = (r0); + r0 = (s.row___9026 + 1); + s.row___9026 = (r0); { step = 2; continue; } case 3: - r0 = (s.col___17999 + 1); - s.col___17999 = (r0); + r0 = (s.col___9022 + 1); + s.col___9022 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_evaluateRuleClosure__P4276.info = {"start":23971,"length":253,"line":545,"column":8,"endLine":551,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateRuleClosure","argumentNames":["this","rc"]} +tileworld_TileWorldVM_evaluateRuleClosure__P7687.info = {"start":24090,"length":253,"line":548,"column":8,"endLine":554,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateRuleClosure","argumentNames":["this","rc"]} -function tileworld_TileWorldVM_evaluateRuleClosure__P4276_mk(s) { +function tileworld_TileWorldVM_evaluateRuleClosure__P7687_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_evaluateRuleClosure__P4276, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_evaluateRuleClosure__P7687, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - col___17999: undefined, - row___18003: undefined, + col___9022: undefined, + row___9026: undefined, arg0: undefined, arg1: undefined, } } @@ -45736,7 +45736,7 @@ function tileworld_TileWorldVM_evaluateRuleClosure__P4276_mk(s) { -function tileworld_TileWorldVM_evaluateWhenDoCommands__P4277(s) { +function tileworld_TileWorldVM_evaluateWhenDoCommands__P7688(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45746,26 +45746,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wid___18019 = undefined; - s.wcol___18038 = undefined; - s.wrow___18051 = undefined; - s.spawned___18064 = undefined; - s.portal___18066 = undefined; - s.ok___18068 = undefined; - s.cid___18069 = undefined; - s.inst___18088 = undefined; - s.arg___18098 = undefined; - s.colliding___18130 = undefined; - s.button___18137 = undefined; - s.self___18144 = undefined; - s.witness___18150 = undefined; - s.witness___18225 = undefined; - s.tm___18339 = undefined; - s.copy___18343 = undefined; - s.kindCnt___18376 = undefined; - s.x___18377 = undefined; - s.y___18378 = undefined; - s.index___18414 = undefined; + s.wid___9042 = undefined; + s.wcol___9061 = undefined; + s.wrow___9074 = undefined; + s.spawned___9087 = undefined; + s.portal___9089 = undefined; + s.ok___9091 = undefined; + s.cid___9092 = undefined; + s.inst___9109 = undefined; + s.arg___9119 = undefined; + s.colliding___9152 = undefined; + s.button___9159 = undefined; + s.self___9166 = undefined; + s.witness___9172 = undefined; + s.witness___9245 = undefined; + s.tm___9355 = undefined; + s.copy___9359 = undefined; + s.kindCnt___9391 = undefined; + s.x___9392 = undefined; + s.y___9393 = undefined; + s.index___9429 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -45774,29 +45774,29 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C4254_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getWhenDo__P3897_mk(s); + if (!checkSubtype(r0, tileworld_TileWorldVM__C7665_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getWhenDo__P4608_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 = 427; s.pc = 100; return s.tmp_0; + s.callLocIdx = 430; s.pc = 100; return s.tmp_0; case 100: r0 = s.retval; - s.wid___18019 = (r0); - r0 = (s.wid___18019 == -1); + s.wid___9042 = (r0); + r0 = (s.wid___9042 == -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__P3911_mk(s); + s.tmp_2 = tileworld_RuleView_getCmdInst__P5000_mk(s); r0 = s.arg1.fields["rv"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.wid___18019; + s.tmp_2.arg1 = s.wid___9042; s.tmp_2.arg2 = 0; - s.callLocIdx = 428; s.pc = 101; return s.tmp_2; + s.callLocIdx = 431; s.pc = 101; return s.tmp_2; case 101: r0 = s.retval; s.tmp_1 = r0; @@ -45810,15 +45810,15 @@ switch (step) { case 3: case 4: r0 = pxsim_pxtrt.mklocRef(); - s.wcol___18038 = (r0); + s.wcol___9061 = (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__P4242_mk(s); + s.tmp_6 = tileworld_TileSprite_col__P7461_mk(s); r0 = s.arg1.fields["self"]; s.tmp_6.arg0 = r0; - s.callLocIdx = 429; s.pc = 102; return s.tmp_6; + s.callLocIdx = 432; s.pc = 102; return s.tmp_6; case 102: r0 = s.retval; s.tmp_5 = r0; @@ -45831,17 +45831,17 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_8 = r0; - r0 = pxsim_pxtrt_stlocRef(s.wcol___18038, s.tmp_8); + r0 = pxsim_pxtrt_stlocRef(s.wcol___9061, s.tmp_8); r0 = pxsim_pxtrt.mklocRef(); - s.wrow___18051 = (r0); + s.wrow___9074 = (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__P4243_mk(s); + s.tmp_2 = tileworld_TileSprite_row__P7462_mk(s); r0 = s.arg1.fields["self"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 430; s.pc = 103; return s.tmp_2; + s.callLocIdx = 433; s.pc = 103; return s.tmp_2; case 103: r0 = s.retval; s.tmp_1 = r0; @@ -45854,26 +45854,26 @@ switch (step) { case 8: // jmp value (already in r0) s.tmp_4 = r0; - r0 = pxsim_pxtrt_stlocRef(s.wrow___18051, s.tmp_4); - s.spawned___18064 = (null); - s.portal___18066 = (null); - s.ok___18068 = (true); - s.cid___18069 = (0); + r0 = pxsim_pxtrt_stlocRef(s.wrow___9074, s.tmp_4); + s.spawned___9087 = (null); + s.portal___9089 = (null); + s.ok___9091 = (true); + s.cid___9092 = (0); case 9: - s.tmp_1 = r0 = s.cid___18069; + s.tmp_1 = r0 = s.cid___9092; 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___18019); + r0 = pxsim_Array__getAt(s.tmp_4, s.wid___9042); 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___18068); + r0 = pxsim_numops_toBoolDecr(s.ok___9091); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -45882,42 +45882,42 @@ switch (step) { { step = 98; continue; } case 10: case 11: - r0 = pxsim_numops_toBoolDecr(s.portal___18066); + r0 = pxsim_numops_toBoolDecr(s.portal___9089); if (!r0) { step = 12; continue; } - r0 = s.portal___18066.fields["col"]; + r0 = s.portal___9089.fields["col"]; s.tmp_7 = r0; - r0 = pxsim_pxtrt_stlocRef(s.wcol___18038, s.tmp_7); - r0 = s.portal___18066.fields["row"]; + r0 = pxsim_pxtrt_stlocRef(s.wcol___9061, s.tmp_7); + r0 = s.portal___9089.fields["row"]; s.tmp_0 = r0; - r0 = pxsim_pxtrt_stlocRef(s.wrow___18051, s.tmp_0); + r0 = pxsim_pxtrt_stlocRef(s.wrow___9074, s.tmp_0); case 12: case 13: - s.tmp_0 = tileworld_RuleView_getCmdInst__P3911_mk(s); + s.tmp_0 = tileworld_RuleView_getCmdInst__P5000_mk(s); r0 = s.arg1.fields["rv"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.wid___18019; - s.tmp_0.arg2 = s.cid___18069; - s.callLocIdx = 432; s.pc = 104; return s.tmp_0; + s.tmp_0.arg1 = s.wid___9042; + s.tmp_0.arg2 = s.cid___9092; + s.callLocIdx = 435; s.pc = 104; return s.tmp_0; case 104: r0 = s.retval; - s.inst___18088 = (r0); - r0 = (s.inst___18088 == -1); + s.inst___9109 = (r0); + r0 = (s.inst___9109 == -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__P3912_mk(s); + s.tmp_1 = tileworld_RuleView_getCmdArg__P5001_mk(s); r0 = s.arg1.fields["rv"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.wid___18019; - s.tmp_1.arg2 = s.cid___18069; - s.callLocIdx = 433; s.pc = 105; return s.tmp_1; + s.tmp_1.arg1 = s.wid___9042; + s.tmp_1.arg2 = s.cid___9092; + s.callLocIdx = 436; s.pc = 105; return s.tmp_1; case 105: r0 = s.retval; - s.arg___18098 = (r0); - s.tmp_0 = r0 = s.inst___18088; + s.arg___9119 = (r0); + s.tmp_0 = r0 = s.inst___9109; r0 = pxsim_pxtcore.switch_eq(1, s.tmp_0); if (r0) { step = 16; continue; } r0 = pxsim_pxtcore.switch_eq(0, s.tmp_0); @@ -45946,16 +45946,16 @@ switch (step) { { step = 97; continue; } case 17: case 18: - r0 = pxsim_pxtcore_mkClassInstance(tileworld_Tile__C4248_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_Tile__C7646_VT); s.tmp_4 = r0; - s.tmp_5 = tileworld_Tile_constructor__P4249_mk(s); + s.tmp_5 = tileworld_Tile_constructor__P7647_mk(s); s.tmp_5.arg0 = s.tmp_4; - r0 = pxsim_pxtrt_ldlocRef(s.wcol___18038); + r0 = pxsim_pxtrt_ldlocRef(s.wcol___9061); s.tmp_5.arg1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.wrow___18051); + r0 = pxsim_pxtrt_ldlocRef(s.wrow___9074); s.tmp_5.arg2 = r0; - s.tmp_5.arg3 = s.arg___18098; - s.callLocIdx = 434; s.pc = 106; return s.tmp_5; + s.tmp_5.arg3 = s.arg___9119; + s.callLocIdx = 437; s.pc = 106; return s.tmp_5; case 106: r0 = s.retval; r0 = s.arg0.fields["vm"]; @@ -45981,14 +45981,14 @@ switch (step) { r0 = r0.fields["ruleType"]; s.tmp_3 = r0; r0 = (s.tmp_3 == 2); - s.colliding___18130 = (r0); + s.colliding___9152 = (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___18137 = (r0); + s.button___9159 = (r0); r0 = (s.arg2 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -46000,33 +46000,33 @@ switch (step) { case 23: // jmp value (already in r0) s.tmp_1 = r0; - s.self___18144 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.spawned___18064); + s.self___9166 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.spawned___9087); if (!r0) { step = 24; continue; } - r0 = s.spawned___18064; + r0 = s.spawned___9087; { step = 29; continue; } case 24: - r0 = pxsim_numops_toBoolDecr(s.self___18144); + r0 = pxsim_numops_toBoolDecr(s.self___9166); if (!r0) { step = 25; continue; } r0 = s.arg1.fields["self"]; { step = 28; continue; } case 25: - r0 = pxsim_numops_toBoolDecr(s.colliding___18130); + r0 = pxsim_numops_toBoolDecr(s.colliding___9152); 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__P18162); + r0 = pxsim_pxtcore_mkAction(2, inline__P9184); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.wcol___18038); - r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.wrow___18051); + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.wcol___9061); + r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.wrow___9074); s.tmp_2 = helpers_arrayFind__P62_mk(s); r0 = s.arg1.fields["witnesses"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 439; s.pc = 107; return s.tmp_2; + s.callLocIdx = 442; s.pc = 107; return s.tmp_2; case 107: r0 = s.retval; case 27: @@ -46040,14 +46040,14 @@ switch (step) { case 29: // jmp value (already in r0) s.tmp_5 = r0; - s.witness___18150 = (s.tmp_5); - s.tmp_0 = r0 = s.witness___18150; + s.witness___9172 = (s.tmp_5); + s.tmp_0 = r0 = s.witness___9172; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 30; continue; } r0 = s.tmp_0; { step = 37; continue; } case 30: - r0 = s.witness___18150.fields["inst"]; + r0 = s.witness___9172.fields["inst"]; s.tmp_2 = r0; r0 = (s.tmp_2 == -1); s.tmp_1 = r0; @@ -46067,7 +46067,7 @@ switch (step) { r0 = s.tmp_4; { step = 34; continue; } case 33: - r0 = s.colliding___18130; + r0 = s.colliding___9152; case 34: // jmp value (already in r0) s.tmp_5 = r0; @@ -46076,7 +46076,7 @@ switch (step) { r0 = s.tmp_5; { step = 36; continue; } case 35: - r0 = s.button___18137; + r0 = s.button___9159; case 36: // jmp value (already in r0) s.tmp_6 = r0; @@ -46086,13 +46086,13 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 50; continue; } - s.tmp_8 = r0 = s.colliding___18130; + s.tmp_8 = r0 = s.colliding___9152; 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___18144); + r0 = pxsim_numops_toBoolDecr(s.self___9166); s.tmp_9 = r0; r0 = pxsim_Boolean__bang(s.tmp_9); case 39: @@ -46103,7 +46103,7 @@ switch (step) { r0 = s.tmp_10; { step = 41; continue; } case 40: - r0 = s.witness___18150.fields["inst"]; + r0 = s.witness___9172.fields["inst"]; s.tmp_11 = r0; r0 = (s.tmp_11 == 0); case 41: @@ -46114,7 +46114,7 @@ switch (step) { r0 = s.tmp_12; { step = 43; continue; } case 42: - r0 = s.witness___18150.fields["arg"]; + r0 = s.witness___9172.fields["arg"]; s.tmp_13 = r0; r0 = (s.tmp_13 < 4); case 43: @@ -46122,26 +46122,26 @@ switch (step) { s.tmp_14 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_14); if (!r0) { step = 48; continue; } - r0 = (s.arg___18098 == 4); + r0 = (s.arg___9119 == 4); s.tmp_15 = r0; r0 = pxsim_numops_toBool(s.tmp_15); if (!r0) { step = 44; continue; } r0 = s.tmp_15; { step = 45; continue; } case 44: - r0 = (s.arg___18098 == 5); + r0 = (s.arg___9119 == 5); 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___18150).fields["movedToStopped"] = (true); + r0 = (s.witness___9172).fields["movedToStopped"] = (true); case 46: case 47: case 48: case 49: - r0 = (s.witness___18150).fields["inst"] = (s.inst___18088); - r0 = (s.witness___18150).fields["arg"] = (s.arg___18098); + r0 = (s.witness___9172).fields["inst"] = (s.inst___9109); + r0 = (s.witness___9172).fields["arg"] = (s.arg___9119); case 50: case 51: { step = 97; continue; } @@ -46157,18 +46157,18 @@ switch (step) { { step = 97; continue; } case 53: case 54: - r0 = pxsim_pxtcore_mkAction(2, inline__P18229); + r0 = pxsim_pxtcore_mkAction(2, inline__P9249); s.tmp_3 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_3, 0, s.wcol___18038); - r0 = pxsim_pxtrt_stclo(s.tmp_3, 1, s.wrow___18051); + r0 = pxsim_pxtrt_stclo(s.tmp_3, 0, s.wcol___9061); + r0 = pxsim_pxtrt_stclo(s.tmp_3, 1, s.wrow___9074); s.tmp_4 = helpers_arrayFind__P62_mk(s); r0 = s.arg1.fields["witnesses"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.tmp_3; - s.callLocIdx = 442; s.pc = 108; return s.tmp_4; + s.callLocIdx = 445; s.pc = 108; return s.tmp_4; case 108: r0 = s.retval; - s.witness___18225 = (r0); + s.witness___9245 = (r0); r0 = s.arg1.fields["rv"]; s.tmp_2 = r0; r0 = s.tmp_2.fields["r"]; @@ -46200,27 +46200,27 @@ switch (step) { case 58: // jmp value (already in r0) s.tmp_6 = r0; - s.witness___18225 = (s.tmp_6); + s.witness___9245 = (s.tmp_6); case 59: case 60: - r0 = (s.arg___18098 == 0); + r0 = (s.arg___9119 == 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___18225; + r0 = s.witness___9245; 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___18225).fields["state"] = (1); + r0 = (s.witness___9245).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___18225, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.witness___9245, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 == -1); s.tmp_0 = r0; @@ -46229,7 +46229,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___18225); + r0 = pxsim_Array__push(s.tmp_3, s.witness___9245); case 63: case 64: case 65: @@ -46247,53 +46247,53 @@ switch (step) { { step = 97; continue; } case 68: case 69: - r0 = pxsim_pxtcore_mkClassInstance(tileworld_TileSprite__C4240_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_TileSprite__C7459_VT); s.tmp_3 = r0; - s.tmp_4 = tileworld_TileSprite_constructor__P4247_mk(s); + s.tmp_4 = tileworld_TileSprite_constructor__P7466_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___18098); + r0 = pxsim_Array__getAt(s.tmp_5, s.arg___9119); s.tmp_4.arg1 = r0; - s.tmp_4.arg2 = s.arg___18098; + s.tmp_4.arg2 = s.arg___9119; s.tmp_4.arg3 = false; - s.callLocIdx = 445; s.pc = 109; return s.tmp_4; + s.callLocIdx = 448; s.pc = 109; return s.tmp_4; case 109: r0 = s.retval; - s.spawned___18064 = (s.tmp_3); + s.spawned___9087 = (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___18064); + r0 = pxsim_Array__push(s.tmp_0, s.spawned___9087); s.tmp_0 = Sprite_x__P771_mk(s); - s.tmp_0.arg0 = s.spawned___18064; - r0 = pxsim_pxtrt_ldlocRef(s.wcol___18038); + s.tmp_0.arg0 = s.spawned___9087; + r0 = pxsim_pxtrt_ldlocRef(s.wcol___9061); 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 = 446; s.pc = 110; return s.tmp_0; + s.callLocIdx = 449; s.pc = 110; return s.tmp_0; case 110: r0 = s.retval; s.tmp_0 = Sprite_y__P773_mk(s); - s.tmp_0.arg0 = s.spawned___18064; - r0 = pxsim_pxtrt_ldlocRef(s.wrow___18051); + s.tmp_0.arg0 = s.spawned___9087; + r0 = pxsim_pxtrt_ldlocRef(s.wrow___9074); 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 = 447; s.pc = 111; return s.tmp_0; + s.callLocIdx = 450; s.pc = 111; return s.tmp_0; case 111: r0 = s.retval; s.tmp_0 = Sprite_setFlag__P813_mk(s); - s.tmp_0.arg0 = s.spawned___18064; + s.tmp_0.arg0 = s.spawned___9087; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = true; - s.callLocIdx = 448; s.pc = 112; return s.tmp_0; + s.callLocIdx = 451; s.pc = 112; return s.tmp_0; case 112: r0 = s.retval; { step = 97; continue; } @@ -46301,7 +46301,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___18098, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.arg___9119, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 == -1); s.tmp_0 = r0; @@ -46310,64 +46310,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___18098); + r0 = pxsim_Array__push(s.tmp_3, s.arg___9119); case 71: case 72: { step = 97; continue; } case 73: s.tmp_0 = game_currentScene__P961_mk(s); - s.callLocIdx = 449; s.pc = 113; return s.tmp_0; + s.callLocIdx = 452; s.pc = 113; return s.tmp_0; case 113: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___18339 = (r0); + s.tm___9355 = (r0); r0 = s.arg0.fields["vm"]; r0 = r0.fields["changed"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.copy___18343 = (r0); - r0 = pxsim_ImageMethods.fill(s.copy___18343, 0); - r0 = pxsim_pxtcore_mkAction(1, inline__P18354); + s.copy___9359 = (r0); + r0 = pxsim_ImageMethods.fill(s.copy___9359, 0); + r0 = pxsim_pxtcore_mkAction(1, inline__P9369); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.copy___18343); - s.tmp_1 = tileworld_TileWorldVM_allSprites__P4259_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.copy___9359); + s.tmp_1 = tileworld_TileWorldVM_allSprites__P7670_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 452; s.pc = 114; return s.tmp_1; + s.callLocIdx = 455; s.pc = 114; return s.tmp_1; case 114: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P18367); + r0 = pxsim_pxtcore_mkAction(1, inline__P9382); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.copy___18343); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.copy___9359); s.tmp_1 = helpers_arrayForEach__P60_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 = 455; s.pc = 115; return s.tmp_1; + s.callLocIdx = 458; s.pc = 115; return s.tmp_1; case 115: r0 = s.retval; - s.kindCnt___18376 = (0); - s.x___18377 = (0); - s.y___18378 = (0); + s.kindCnt___9391 = (0); + s.x___9392 = (0); + s.y___9393 = (0); case 74: - s.tmp_1 = r0 = s.x___18377; - r0 = pxsim_ImageMethods.width(s.copy___18343); + s.tmp_1 = r0 = s.x___9392; + r0 = pxsim_ImageMethods.width(s.copy___9359); 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___18378 = (0); + s.y___9393 = (0); case 75: - s.tmp_1 = r0 = s.y___18378; - r0 = pxsim_ImageMethods.height(s.copy___18343); + s.tmp_1 = r0 = s.y___9393; + r0 = pxsim_ImageMethods.height(s.copy___9359); 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___18343, s.x___18377, s.y___18378); + r0 = pxsim_ImageMethods.getPixel(s.copy___9359, s.x___9392, s.y___9393); s.tmp_4 = r0; r0 = (s.tmp_4 == 0); s.tmp_3 = r0; @@ -46377,61 +46377,61 @@ switch (step) { { step = 77; continue; } case 76: s.tmp_6 = tiles_TileMap__C1086_v8_3_mk(s); - s.tmp_6.arg0 = s.tm___18339; - s.tmp_6.arg1 = s.x___18377; - s.tmp_6.arg2 = s.y___18378; + s.tmp_6.arg0 = s.tm___9355; + s.tmp_6.arg1 = s.x___9392; + s.tmp_6.arg2 = s.y___9393; if (!checkSubtype(s.tmp_6.arg0, tiles_TileMap__C1086_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___18098); + r0 = (s.tmp_5 == s.arg___9119); 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___18376 + 1); - s.kindCnt___18376 = (r0); + r0 = (s.kindCnt___9391 + 1); + s.kindCnt___9391 = (r0); case 78: case 79: - r0 = (s.y___18378 + 1); - s.y___18378 = (r0); + r0 = (s.y___9393 + 1); + s.y___9393 = (r0); { step = 75; continue; } case 80: - r0 = (s.x___18377 + 1); - s.x___18377 = (r0); + r0 = (s.x___9392 + 1); + s.x___9392 = (r0); { step = 74; continue; } case 81: - r0 = (s.kindCnt___18376 > 0); + r0 = (s.kindCnt___9391 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 94; continue; } - r0 = (s.kindCnt___18376 - 1); + r0 = (s.kindCnt___9391 - 1); s.tmp_1 = r0; r0 = pxsim.Math_.randomRange(0, s.tmp_1); - s.index___18414 = (r0); - s.kindCnt___18376 = (0); - s.x___18377 = (0); + s.index___9429 = (r0); + s.kindCnt___9391 = (0); + s.x___9392 = (0); case 82: - s.tmp_1 = r0 = s.x___18377; - r0 = pxsim_ImageMethods.width(s.copy___18343); + s.tmp_1 = r0 = s.x___9392; + r0 = pxsim_ImageMethods.width(s.copy___9359); 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___18378 = (0); + s.y___9393 = (0); case 83: - s.tmp_1 = r0 = s.y___18378; - r0 = pxsim_ImageMethods.height(s.copy___18343); + s.tmp_1 = r0 = s.y___9393; + r0 = pxsim_ImageMethods.height(s.copy___9359); 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___18343, s.x___18377, s.y___18378); + r0 = pxsim_ImageMethods.getPixel(s.copy___9359, s.x___9392, s.y___9393); s.tmp_4 = r0; r0 = (s.tmp_4 == 0); s.tmp_3 = r0; @@ -46441,71 +46441,71 @@ switch (step) { { step = 85; continue; } case 84: s.tmp_6 = tiles_TileMap__C1086_v8_3_mk(s); - s.tmp_6.arg0 = s.tm___18339; - s.tmp_6.arg1 = s.x___18377; - s.tmp_6.arg2 = s.y___18378; + s.tmp_6.arg0 = s.tm___9355; + s.tmp_6.arg1 = s.x___9392; + s.tmp_6.arg2 = s.y___9393; if (!checkSubtype(s.tmp_6.arg0, tiles_TileMap__C1086_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___18098); + r0 = (s.tmp_5 == s.arg___9119); 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___18376 == s.index___18414); + r0 = (s.kindCnt___9391 == s.index___9429); s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 86; continue; } - r0 = pxsim_pxtcore_mkClassInstance(tileworld_Tile__C4248_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_Tile__C7646_VT); s.tmp_9 = r0; - s.tmp_10 = tileworld_Tile_constructor__P4249_mk(s); + s.tmp_10 = tileworld_Tile_constructor__P7647_mk(s); s.tmp_10.arg0 = s.tmp_9; - s.tmp_10.arg1 = s.x___18377; - s.tmp_10.arg2 = s.y___18378; + s.tmp_10.arg1 = s.x___9392; + s.tmp_10.arg2 = s.y___9393; s.tmp_10.arg3 = 0; - s.callLocIdx = 456; s.pc = 118; return s.tmp_10; + s.callLocIdx = 459; s.pc = 118; return s.tmp_10; case 118: r0 = s.retval; - s.portal___18066 = (s.tmp_9); + s.portal___9089 = (s.tmp_9); { step = 90; continue; } case 86: case 87: - r0 = (s.kindCnt___18376 + 1); - s.kindCnt___18376 = (r0); + r0 = (s.kindCnt___9391 + 1); + s.kindCnt___9391 = (r0); case 88: case 89: - r0 = (s.y___18378 + 1); - s.y___18378 = (r0); + r0 = (s.y___9393 + 1); + s.y___9393 = (r0); { step = 83; continue; } case 90: - r0 = pxsim_numops_toBoolDecr(s.portal___18066); + r0 = pxsim_numops_toBoolDecr(s.portal___9089); if (!r0) { step = 91; continue; } { step = 93; continue; } case 91: case 92: - r0 = (s.x___18377 + 1); - s.x___18377 = (r0); + r0 = (s.x___9392 + 1); + s.x___9392 = (r0); { step = 82; continue; } case 93: { step = 95; continue; } case 94: - s.ok___18068 = (false); + s.ok___9091 = (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___18088); + r0 = pxsim_Array__push(s.tmp_0, s.inst___9109); r0 = s.arg0.fields["globalArgs"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.arg___18098); + r0 = pxsim_Array__push(s.tmp_0, s.arg___9119); case 97: - r0 = (s.cid___18069 + 1); - s.cid___18069 = (r0); + r0 = (s.cid___9092 + 1); + s.cid___9092 = (r0); { step = 9; continue; } case 98: case 99: @@ -46513,12 +46513,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_evaluateWhenDoCommands__P4277.info = {"start":24234,"length":6890,"line":553,"column":8,"endLine":690,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateWhenDoCommands","argumentNames":["this","rc","col","row"]} +tileworld_TileWorldVM_evaluateWhenDoCommands__P7688.info = {"start":24353,"length":6890,"line":556,"column":8,"endLine":693,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateWhenDoCommands","argumentNames":["this","rc","col","row"]} -function tileworld_TileWorldVM_evaluateWhenDoCommands__P4277_mk(s) { +function tileworld_TileWorldVM_evaluateWhenDoCommands__P7688_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_evaluateWhenDoCommands__P4277, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_evaluateWhenDoCommands__P7688, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46537,26 +46537,26 @@ function tileworld_TileWorldVM_evaluateWhenDoCommands__P4277_mk(s) { tmp_14: undefined, tmp_15: undefined, tmp_16: undefined, - wid___18019: undefined, - wcol___18038: undefined, - wrow___18051: undefined, - spawned___18064: undefined, - portal___18066: undefined, - ok___18068: undefined, - cid___18069: undefined, - inst___18088: undefined, - arg___18098: undefined, - colliding___18130: undefined, - button___18137: undefined, - self___18144: undefined, - witness___18150: undefined, - witness___18225: undefined, - tm___18339: undefined, - copy___18343: undefined, - kindCnt___18376: undefined, - x___18377: undefined, - y___18378: undefined, - index___18414: undefined, + wid___9042: undefined, + wcol___9061: undefined, + wrow___9074: undefined, + spawned___9087: undefined, + portal___9089: undefined, + ok___9091: undefined, + cid___9092: undefined, + inst___9109: undefined, + arg___9119: undefined, + colliding___9152: undefined, + button___9159: undefined, + self___9166: undefined, + witness___9172: undefined, + witness___9245: undefined, + tm___9355: undefined, + copy___9359: undefined, + kindCnt___9391: undefined, + x___9392: undefined, + y___9393: undefined, + index___9429: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -46567,7 +46567,7 @@ function tileworld_TileWorldVM_evaluateWhenDoCommands__P4277_mk(s) { -function inline__P18162(s) { +function inline__P9184(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46581,9 +46581,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_2 = tileworld_TileSprite_col__P4242_mk(s); + s.tmp_2 = tileworld_TileSprite_col__P7461_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 437; s.pc = 3; return s.tmp_2; + s.callLocIdx = 440; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1 = r0; @@ -46596,9 +46596,9 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_5 = tileworld_TileSprite_row__P4243_mk(s); + s.tmp_5 = tileworld_TileSprite_row__P7462_mk(s); s.tmp_5.arg0 = s.arg0; - s.callLocIdx = 438; s.pc = 4; return s.tmp_5; + s.callLocIdx = 441; s.pc = 4; return s.tmp_5; case 4: r0 = s.retval; s.tmp_4 = r0; @@ -46612,12 +46612,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P18162.info = {"start":25942,"length":42,"line":589,"column":59,"endLine":589,"endColumn":101,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P9184.info = {"start":26061,"length":42,"line":592,"column":59,"endLine":592,"endColumn":101,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P18162_mk(s) { +function inline__P9184_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P18162, depth: s.depth + 1, + parent: s, fn: inline__P9184, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46634,7 +46634,7 @@ function inline__P18162_mk(s) { -function inline__P18229(s) { +function inline__P9249(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46648,9 +46648,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_2 = tileworld_TileSprite_col__P4242_mk(s); + s.tmp_2 = tileworld_TileSprite_col__P7461_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 440; s.pc = 3; return s.tmp_2; + s.callLocIdx = 443; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1 = r0; @@ -46663,9 +46663,9 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_5 = tileworld_TileSprite_row__P4243_mk(s); + s.tmp_5 = tileworld_TileSprite_row__P7462_mk(s); s.tmp_5.arg0 = s.arg0; - s.callLocIdx = 441; s.pc = 4; return s.tmp_5; + s.callLocIdx = 444; s.pc = 4; return s.tmp_5; case 4: r0 = s.retval; s.tmp_4 = r0; @@ -46679,12 +46679,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P18229.info = {"start":26998,"length":42,"line":606,"column":56,"endLine":606,"endColumn":98,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P9249.info = {"start":27117,"length":42,"line":609,"column":56,"endLine":609,"endColumn":98,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P18229_mk(s) { +function inline__P9249_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P18229, depth: s.depth + 1, + parent: s, fn: inline__P9249, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46701,7 +46701,7 @@ function inline__P18229_mk(s) { -function inline__P18354(s) { +function inline__P9369(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46716,15 +46716,15 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.caps[0]; - s.tmp_2 = tileworld_TileSprite_col__P4242_mk(s); + s.tmp_2 = tileworld_TileSprite_col__P7461_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 450; s.pc = 1; return s.tmp_2; + s.callLocIdx = 453; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_TileSprite_row__P4243_mk(s); + s.tmp_4 = tileworld_TileSprite_row__P7462_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 451; s.pc = 2; return s.tmp_4; + s.callLocIdx = 454; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; @@ -46733,12 +46733,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P18354.info = {"start":28851,"length":99,"line":640,"column":40,"endLine":642,"endColumn":25,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P9369.info = {"start":28970,"length":99,"line":643,"column":40,"endLine":645,"endColumn":25,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P18354_mk(s) { +function inline__P9369_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P18354, depth: s.depth + 1, + parent: s, fn: inline__P9369, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46752,7 +46752,7 @@ function inline__P18354_mk(s) { -function inline__P18367(s) { +function inline__P9382(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46767,15 +46767,15 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.caps[0]; - s.tmp_2 = tileworld_TileSprite_col__P4242_mk(s); + s.tmp_2 = tileworld_TileSprite_col__P7461_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 453; s.pc = 1; return s.tmp_2; + s.callLocIdx = 456; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_TileSprite_row__P4243_mk(s); + s.tmp_4 = tileworld_TileSprite_row__P7462_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 454; s.pc = 2; return s.tmp_4; + s.callLocIdx = 457; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; @@ -46784,12 +46784,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P18367.info = {"start":29008,"length":100,"line":643,"column":55,"endLine":645,"endColumn":25,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P9382.info = {"start":29127,"length":100,"line":646,"column":55,"endLine":648,"endColumn":25,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P18367_mk(s) { +function inline__P9382_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P18367, depth: s.depth + 1, + parent: s, fn: inline__P9382, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46832,7 +46832,7 @@ switch (step) { s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.callLocIdx = 750; s.pc = 1; return s.tmp_0; + s.callLocIdx = 752; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) @@ -46913,7 +46913,7 @@ switch (step) { s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; - s.callLocIdx = 731; s.pc = 4; return s.tmp_1; + s.callLocIdx = 733; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0 = r0; @@ -47048,7 +47048,7 @@ function tiles_TileMapData_isOutsideMap__P1084_mk(s) { -function tileworld_TileWorldVM_allSprites__P4259(s) { +function tileworld_TileWorldVM_allSprites__P7670(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47064,8 +47064,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C4254_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P18532); + if (!checkSubtype(r0, tileworld_TileWorldVM__C7665_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P8079); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); s.tmp_1 = helpers_arrayForEach__P60_mk(s); @@ -47073,19 +47073,19 @@ switch (step) { r0 = r0.fields["sprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 321; s.pc = 1; return s.tmp_1; + s.callLocIdx = 322; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_allSprites__P4259.info = {"start":10413,"length":179,"line":243,"column":8,"endLine":247,"endColumn":9,"fileName":"vm.ts","functionName":"allSprites","argumentNames":["this","handler"]} +tileworld_TileWorldVM_allSprites__P7670.info = {"start":10446,"length":179,"line":244,"column":8,"endLine":248,"endColumn":9,"fileName":"vm.ts","functionName":"allSprites","argumentNames":["this","handler"]} -function tileworld_TileWorldVM_allSprites__P4259_mk(s) { +function tileworld_TileWorldVM_allSprites__P7670_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_allSprites__P4259, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_allSprites__P7670, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47097,7 +47097,7 @@ function tileworld_TileWorldVM_allSprites__P4259_mk(s) { -function inline__P18532(s) { +function inline__P8079(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47113,13 +47113,13 @@ switch (step) { } r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P18537); + r0 = pxsim_pxtcore_mkAction(1, inline__P8084); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.caps[0]); s.tmp_1 = helpers_arrayForEach__P60_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 320; s.pc = 3; return s.tmp_1; + s.callLocIdx = 321; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; case 1: @@ -47128,12 +47128,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P18532.info = {"start":10503,"length":77,"line":244,"column":36,"endLine":246,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ls"]} +inline__P8079.info = {"start":10536,"length":77,"line":245,"column":36,"endLine":247,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ls"]} -function inline__P18532_mk(s) { +function inline__P8079_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P18532, depth: s.depth + 1, + parent: s, fn: inline__P8079, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47144,7 +47144,7 @@ function inline__P18532_mk(s) { -function inline__P18537(s) { +function inline__P8084(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47162,19 +47162,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 = 319; s.pc = 1; return s.tmp_0; + s.callLocIdx = 320; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P18537.info = {"start":10547,"length":17,"line":245,"column":35,"endLine":245,"endColumn":52,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P8084.info = {"start":10580,"length":17,"line":246,"column":35,"endLine":246,"endColumn":52,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P18537_mk(s) { +function inline__P8084_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P18537, depth: s.depth + 1, + parent: s, fn: inline__P8084, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -47184,7 +47184,7 @@ function inline__P18537_mk(s) { -function tileworld_Tile_constructor__P4249(s) { +function tileworld_Tile_constructor__P7647(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47202,7 +47202,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Tile__C4248_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Tile__C7646_VT)) failedCast(r0); r0 = (s.arg0).fields["col"] = (s.arg1); r0 = (s.arg0).fields["row"] = (s.arg2); r0 = (s.arg0).fields["kind"] = (s.arg3); @@ -47210,12 +47210,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Tile_constructor__P4249.info = {"start":2885,"length":84,"line":62,"column":8,"endLine":63,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","col","row","kind"]} +tileworld_Tile_constructor__P7647.info = {"start":2918,"length":84,"line":63,"column":8,"endLine":64,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","col","row","kind"]} -function tileworld_Tile_constructor__P4249_mk(s) { +function tileworld_Tile_constructor__P7647_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Tile_constructor__P4249, depth: s.depth + 1, + parent: s, fn: tileworld_Tile_constructor__P7647, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -47227,7 +47227,7 @@ function tileworld_Tile_constructor__P4249_mk(s) { -function tileworld_TileSprite_row__P4243(s) { +function tileworld_TileSprite_row__P7462(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47242,10 +47242,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileSprite__C4240_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileSprite__C7459_VT)) failedCast(r0); s.tmp_1 = Sprite_y__P772_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 288; s.pc = 1; return s.tmp_1; + s.callLocIdx = 289; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; @@ -47253,12 +47253,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileSprite_row__P4243.info = {"start":1135,"length":36,"line":27,"column":8,"endLine":27,"endColumn":44,"fileName":"vm.ts","functionName":"row","argumentNames":["this"]} +tileworld_TileSprite_row__P7462.info = {"start":1168,"length":36,"line":28,"column":8,"endLine":28,"endColumn":44,"fileName":"vm.ts","functionName":"row","argumentNames":["this"]} -function tileworld_TileSprite_row__P4243_mk(s) { +function tileworld_TileSprite_row__P7462_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileSprite_row__P4243, depth: s.depth + 1, + parent: s, fn: tileworld_TileSprite_row__P7462, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47269,7 +47269,7 @@ function tileworld_TileSprite_row__P4243_mk(s) { -function tileworld_TileSprite_col__P4242(s) { +function tileworld_TileSprite_col__P7461(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47284,10 +47284,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileSprite__C4240_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileSprite__C7459_VT)) failedCast(r0); s.tmp_1 = Sprite_x__P770_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 287; s.pc = 1; return s.tmp_1; + s.callLocIdx = 288; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; @@ -47295,12 +47295,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileSprite_col__P4242.info = {"start":1047,"length":36,"line":26,"column":8,"endLine":26,"endColumn":44,"fileName":"vm.ts","functionName":"col","argumentNames":["this"]} +tileworld_TileSprite_col__P7461.info = {"start":1080,"length":36,"line":27,"column":8,"endLine":27,"endColumn":44,"fileName":"vm.ts","functionName":"col","argumentNames":["this"]} -function tileworld_TileSprite_col__P4242_mk(s) { +function tileworld_TileSprite_col__P7461_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileSprite_col__P4242, depth: s.depth + 1, + parent: s, fn: tileworld_TileSprite_col__P7461, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47311,7 +47311,7 @@ function tileworld_TileSprite_col__P4242_mk(s) { -function tileworld_TileWorldVM_continueRound__P4258(s) { +function tileworld_TileWorldVM_continueRound__P7669(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47321,16 +47321,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ruleClosures___18555 = undefined; - s.ts___18606 = undefined; - s.ts___18648 = undefined; - s.ts___18682 = undefined; + s.ruleClosures___7921 = undefined; + s.ts___7971 = undefined; + s.ts___8013 = undefined; + s.ts___8047 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C4254_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C7665_VT)) failedCast(r0); r0 = s.arg0.fields["vm"]; r0 = r0.fields["phase"]; s.tmp_1 = r0; @@ -47339,24 +47339,24 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = pxsim_Array__mk(); - s.ruleClosures___18555 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P18562); + s.ruleClosures___7921 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P7927); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.ruleClosures___18555); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.ruleClosures___7921); s.tmp_1 = helpers_arrayForEach__P60_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 = 311; s.pc = 22; return s.tmp_1; + s.callLocIdx = 312; 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___18555; + r0 = s.ruleClosures___7921; { step = 21; continue; } case 1: case 2: @@ -47380,12 +47380,12 @@ switch (step) { r0 = r0.fields["queued"]; s.tmp_5 = r0; r0 = pxsim_Array_.pop(s.tmp_5); - s.ts___18606 = (r0); - s.tmp_0 = tileworld_TileWorldVM_applyRules__P4264_mk(s); + s.ts___7971 = (r0); + s.tmp_0 = tileworld_TileWorldVM_applyRules__P7675_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = s.ts___18606; - s.callLocIdx = 312; s.pc = 23; return s.tmp_0; + s.tmp_0.arg2 = s.ts___7971; + s.callLocIdx = 313; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; { step = 21; continue; } @@ -47394,13 +47394,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__P18620); + r0 = pxsim_pxtcore_mkAction(1, inline__P7985); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = tileworld_TileWorldVM_allSprites__P4259_mk(s); + s.tmp_1 = tileworld_TileWorldVM_allSprites__P7670_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 313; s.pc = 24; return s.tmp_1; + s.callLocIdx = 314; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; case 4: @@ -47426,21 +47426,21 @@ switch (step) { r0 = r0.fields["queued"]; s.tmp_5 = r0; r0 = pxsim_Array_.pop(s.tmp_5); - s.ts___18648 = (r0); - s.tmp_1 = tileworld_TileWorldVM_contextChanged__P4260_mk(s); + s.ts___8013 = (r0); + s.tmp_1 = tileworld_TileWorldVM_contextChanged__P7671_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.ts___18648; - s.callLocIdx = 314; s.pc = 25; return s.tmp_1; + s.tmp_1.arg1 = s.ts___8013; + s.callLocIdx = 315; 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__P4264_mk(s); + s.tmp_2 = tileworld_TileWorldVM_applyRules__P7675_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 1; - s.tmp_2.arg2 = s.ts___18648; - s.callLocIdx = 315; s.pc = 26; return s.tmp_2; + s.tmp_2.arg2 = s.ts___8013; + s.callLocIdx = 316; s.pc = 26; return s.tmp_2; case 26: r0 = s.retval; { step = 21; continue; } @@ -47451,13 +47451,13 @@ switch (step) { r0 = s.arg0.fields["vm"]; s.tmp_3 = r0; r0 = (s.tmp_3).fields["phase"] = (2); - r0 = pxsim_pxtcore_mkAction(1, inline__P18664); + r0 = pxsim_pxtcore_mkAction(1, inline__P8029); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = tileworld_TileWorldVM_allSprites__P4259_mk(s); + s.tmp_1 = tileworld_TileWorldVM_allSprites__P7670_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 316; s.pc = 27; return s.tmp_1; + s.callLocIdx = 317; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; case 10: @@ -47483,11 +47483,11 @@ switch (step) { r0 = r0.fields["queued"]; s.tmp_5 = r0; r0 = pxsim_Array_.pop(s.tmp_5); - s.ts___18682 = (r0); - s.tmp_0 = tileworld_TileWorldVM_collisionDetection__P4267_mk(s); + s.ts___8047 = (r0); + s.tmp_0 = tileworld_TileWorldVM_collisionDetection__P7678_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ts___18682; - s.callLocIdx = 317; s.pc = 28; return s.tmp_0; + s.tmp_0.arg1 = s.ts___8047; + s.callLocIdx = 318; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; { step = 21; continue; } @@ -47518,9 +47518,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - s.tmp_2 = tileworld_TileWorldVM_updateWorld__P4270_mk(s); + s.tmp_2 = tileworld_TileWorldVM_updateWorld__P7681_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 318; s.pc = 29; return s.tmp_2; + s.callLocIdx = 319; s.pc = 29; return s.tmp_2; case 29: r0 = s.retval; case 19: @@ -47530,12 +47530,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_continueRound__P4258.info = {"start":7553,"length":2850,"line":177,"column":8,"endLine":241,"endColumn":10,"fileName":"vm.ts","functionName":"continueRound","argumentNames":["this"]} +tileworld_TileWorldVM_continueRound__P7669.info = {"start":7586,"length":2850,"line":178,"column":8,"endLine":242,"endColumn":10,"fileName":"vm.ts","functionName":"continueRound","argumentNames":["this"]} -function tileworld_TileWorldVM_continueRound__P4258_mk(s) { +function tileworld_TileWorldVM_continueRound__P7669_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_continueRound__P4258, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_continueRound__P7669, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47543,10 +47543,10 @@ function tileworld_TileWorldVM_continueRound__P4258_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - ruleClosures___18555: undefined, - ts___18606: undefined, - ts___18648: undefined, - ts___18682: undefined, + ruleClosures___7921: undefined, + ts___7971: undefined, + ts___8013: undefined, + ts___8047: undefined, arg0: undefined, } } @@ -47554,7 +47554,7 @@ function tileworld_TileWorldVM_continueRound__P4258_mk(s) { -function inline__P18562(s) { +function inline__P7927(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47564,22 +47564,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.kind___18564 = undefined; - s.witnesses___18571 = undefined; + s.kind___7929 = undefined; + s.witnesses___7936 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleView_findWitnessColRow__P3907_mk(s); + s.tmp_0 = tileworld_RuleView_findWitnessColRow__P4997_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 = 309; s.pc = 8; return s.tmp_0; + s.callLocIdx = 310; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.kind___18564 = (r0); - r0 = (s.kind___18564 == -1); + s.kind___7929 = (r0); + r0 = (s.kind___7929 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -47589,9 +47589,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___18564); - s.witnesses___18571 = (r0); - r0 = pxsim_numops_toBoolDecr(s.witnesses___18571); + r0 = pxsim_Array__getAt(s.tmp_1, s.kind___7929); + s.witnesses___7936 = (r0); + r0 = pxsim_numops_toBoolDecr(s.witnesses___7936); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -47600,7 +47600,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = pxsim_Array__length(s.witnesses___18571); + r0 = pxsim_Array__length(s.witnesses___7936); s.tmp_2 = r0; r0 = (s.tmp_2 == 0); case 4: @@ -47608,15 +47608,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__C4252_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleClosure__C7659_VT); s.tmp_4 = r0; - s.tmp_5 = tileworld_RuleClosure_constructor__P4253_mk(s); + s.tmp_5 = tileworld_RuleClosure_constructor__P7660_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 = 310; s.pc = 9; return s.tmp_5; + s.callLocIdx = 311; s.pc = 9; return s.tmp_5; case 9: r0 = s.retval; r0 = pxsim_Array__push(s.caps[1], s.tmp_4); @@ -47627,12 +47627,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P18562.info = {"start":7810,"length":640,"line":181,"column":63,"endLine":194,"endColumn":17,"fileName":"vm.ts","functionName":"inline","argumentNames":["rv"]} +inline__P7927.info = {"start":7843,"length":640,"line":182,"column":63,"endLine":195,"endColumn":17,"fileName":"vm.ts","functionName":"inline","argumentNames":["rv"]} -function inline__P18562_mk(s) { +function inline__P7927_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P18562, depth: s.depth + 1, + parent: s, fn: inline__P7927, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47640,8 +47640,8 @@ function inline__P18562_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - kind___18564: undefined, - witnesses___18571: undefined, + kind___7929: undefined, + witnesses___7936: undefined, arg0: undefined, } } @@ -47649,7 +47649,7 @@ function inline__P18562_mk(s) { -function inline__P18620(s) { +function inline__P7985(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47682,12 +47682,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P18620.info = {"start":8937,"length":222,"line":205,"column":36,"endLine":209,"endColumn":21,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P7985.info = {"start":8970,"length":222,"line":206,"column":36,"endLine":210,"endColumn":21,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P18620_mk(s) { +function inline__P7985_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P18620, depth: s.depth + 1, + parent: s, fn: inline__P7985, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47700,7 +47700,7 @@ function inline__P18620_mk(s) { -function inline__P18664(s) { +function inline__P8029(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47722,12 +47722,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P18664.info = {"start":9650,"length":33,"line":221,"column":36,"endLine":221,"endColumn":69,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P8029.info = {"start":9683,"length":33,"line":222,"column":36,"endLine":222,"endColumn":69,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P18664_mk(s) { +function inline__P8029_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P18664, depth: s.depth + 1, + parent: s, fn: inline__P8029, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -47737,7 +47737,7 @@ function inline__P18664_mk(s) { -function tileworld_TileWorldVM_updateWorld__P4270(s) { +function tileworld_TileWorldVM_updateWorld__P7681(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47747,20 +47747,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___18844 = undefined; - s.inst___18851 = undefined; - s.arg___18855 = undefined; + s.i___8695 = undefined; + s.inst___8702 = undefined; + s.arg___8706 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C4254_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C7665_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__P18718); + r0 = pxsim_pxtcore_mkAction(1, inline__P8563); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = helpers_arrayForEach__P60_mk(s); @@ -47768,7 +47768,7 @@ switch (step) { r0 = r0.fields["spawnedSprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 391; s.pc = 15; return s.tmp_1; + s.callLocIdx = 394; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; r0 = s.arg0.fields["vm"]; @@ -47776,7 +47776,7 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["spawnedSprites"] = (s.tmp_1); - r0 = pxsim_pxtcore_mkAction(1, inline__P18749); + r0 = pxsim_pxtcore_mkAction(1, inline__P8601); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = helpers_arrayForEach__P60_mk(s); @@ -47784,19 +47784,19 @@ switch (step) { r0 = r0.fields["deadSprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 394; s.pc = 16; return s.tmp_1; + s.callLocIdx = 397; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P18761); + r0 = pxsim_pxtcore_mkAction(1, inline__P8613); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = tileworld_TileWorldVM_allSprites__P4259_mk(s); + s.tmp_1 = tileworld_TileWorldVM_allSprites__P7670_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 402; s.pc = 17; return s.tmp_1; + s.callLocIdx = 405; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P18810); + r0 = pxsim_pxtcore_mkAction(1, inline__P8661); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = helpers_arrayForEach__P60_mk(s); @@ -47804,12 +47804,12 @@ switch (step) { r0 = r0.fields["paintTile"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 404; s.pc = 18; return s.tmp_1; + s.callLocIdx = 407; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - s.i___18844 = (0); + s.i___8695 = (0); case 1: - s.tmp_1 = r0 = s.i___18844; + s.tmp_1 = r0 = s.i___8695; r0 = s.arg0.fields["globalInsts"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -47820,32 +47820,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___18844); - s.inst___18851 = (r0); + r0 = pxsim_Array__getAt(s.tmp_4, s.i___8695); + s.inst___8702 = (r0); r0 = s.arg0.fields["globalArgs"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.i___18844); - s.arg___18855 = (r0); - s.tmp_0 = r0 = s.inst___18851; + r0 = pxsim_Array__getAt(s.tmp_0, s.i___8695); + s.arg___8706 = (r0); + s.tmp_0 = r0 = s.inst___8702; 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___18855 == 0); + r0 = (s.arg___8706 == 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___18855 == 1); + r0 = (s.arg___8706 == 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___18855 == 0); + r0 = (s.arg___8706 == 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 5; continue; } @@ -47861,7 +47861,7 @@ switch (step) { r0 = (s.tmp_5).fields["game"] = (s.tmp_4); { step = 12; continue; } case 7: - r0 = (s.arg___18855 == 2); + r0 = (s.arg___8706 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } @@ -47894,20 +47894,20 @@ switch (step) { case 11: case 12: case 13: - r0 = (s.i___18844 + 1); - s.i___18844 = (r0); + r0 = (s.i___8695 + 1); + s.i___8695 = (r0); { step = 1; continue; } case 14: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_updateWorld__P4270.info = {"start":16909,"length":2527,"line":387,"column":8,"endLine":441,"endColumn":9,"fileName":"vm.ts","functionName":"updateWorld","argumentNames":["this"]} +tileworld_TileWorldVM_updateWorld__P7681.info = {"start":16942,"length":2613,"line":388,"column":8,"endLine":444,"endColumn":9,"fileName":"vm.ts","functionName":"updateWorld","argumentNames":["this"]} -function tileworld_TileWorldVM_updateWorld__P4270_mk(s) { +function tileworld_TileWorldVM_updateWorld__P7681_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_updateWorld__P4270, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_updateWorld__P7681, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47915,9 +47915,9 @@ function tileworld_TileWorldVM_updateWorld__P4270_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - i___18844: undefined, - inst___18851: undefined, - arg___18855: undefined, + i___8695: undefined, + inst___8702: undefined, + arg___8706: undefined, arg0: undefined, } } @@ -47925,7 +47925,7 @@ function tileworld_TileWorldVM_updateWorld__P4270_mk(s) { -function inline__P18718(s) { +function inline__P8563(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47950,16 +47950,16 @@ switch (step) { r0 = s.caps[0].fields["vm"]; r0 = r0.fields["changed"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_TileSprite_col__P4242_mk(s); + s.tmp_2 = tileworld_TileSprite_col__P7461_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 388; s.pc = 1; return s.tmp_2; - case 1: + s.callLocIdx = 389; s.pc = 3; return s.tmp_2; + case 3: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_TileSprite_row__P4243_mk(s); + s.tmp_4 = tileworld_TileSprite_row__P7462_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 389; s.pc = 2; return s.tmp_4; - case 2: + s.callLocIdx = 390; 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); @@ -47967,19 +47967,32 @@ switch (step) { s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = false; - s.callLocIdx = 390; s.pc = 3; return s.tmp_0; - case 3: + s.callLocIdx = 391; s.pc = 5; return s.tmp_0; + case 5: + r0 = s.retval; + r0 = s.arg0.fields["_kind"]; + 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 = scene_cameraFollowSprite__P1213_mk(s); + s.tmp_2.arg0 = s.arg0; + s.callLocIdx = 393; s.pc = 6; return s.tmp_2; + case 6: r0 = s.retval; + case 1: + case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P18718.info = {"start":17040,"length":196,"line":390,"column":43,"endLine":394,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P8563.info = {"start":17073,"length":282,"line":391,"column":43,"endLine":397,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P18718_mk(s) { +function inline__P8563_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P18718, depth: s.depth + 1, + parent: s, fn: inline__P8563, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47993,7 +48006,7 @@ function inline__P18718_mk(s) { -function inline__P18749(s) { +function inline__P8601(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48010,15 +48023,15 @@ switch (step) { r0 = s.caps[0].fields["vm"]; r0 = r0.fields["changed"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_TileSprite_col__P4242_mk(s); + s.tmp_2 = tileworld_TileSprite_col__P7461_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 392; s.pc = 1; return s.tmp_2; + s.callLocIdx = 395; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_TileSprite_row__P4243_mk(s); + s.tmp_4 = tileworld_TileSprite_row__P7462_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 393; s.pc = 2; return s.tmp_4; + s.callLocIdx = 396; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; @@ -48027,12 +48040,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P18749.info = {"start":17375,"length":86,"line":397,"column":40,"endLine":399,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P8601.info = {"start":17494,"length":86,"line":400,"column":40,"endLine":402,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P18749_mk(s) { +function inline__P8601_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P18749, depth: s.depth + 1, + parent: s, fn: inline__P8601, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48046,7 +48059,7 @@ function inline__P18749_mk(s) { -function inline__P18761(s) { +function inline__P8613(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48060,9 +48073,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_TileSprite_update__P4244_mk(s); + s.tmp_0 = tileworld_TileSprite_update__P7463_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 395; s.pc = 5; return s.tmp_0; + s.callLocIdx = 398; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = s.arg0.fields["dir"]; @@ -48087,15 +48100,15 @@ switch (step) { r0 = s.caps[0].fields["vm"]; r0 = r0.fields["changed"]; s.tmp_5 = r0; - s.tmp_7 = tileworld_TileSprite_col__P4242_mk(s); + s.tmp_7 = tileworld_TileSprite_col__P7461_mk(s); s.tmp_7.arg0 = s.arg0; - s.callLocIdx = 396; s.pc = 6; return s.tmp_7; + s.callLocIdx = 399; s.pc = 6; return s.tmp_7; case 6: r0 = s.retval; s.tmp_6 = r0; - s.tmp_9 = tileworld_TileSprite_row__P4243_mk(s); + s.tmp_9 = tileworld_TileSprite_row__P7462_mk(s); s.tmp_9.arg0 = s.arg0; - s.callLocIdx = 397; s.pc = 7; return s.tmp_9; + s.callLocIdx = 400; s.pc = 7; return s.tmp_9; case 7: r0 = s.retval; s.tmp_8 = r0; @@ -48103,31 +48116,31 @@ switch (step) { r0 = s.caps[0].fields["vm"]; r0 = r0.fields["changed"]; s.tmp_0 = r0; - s.tmp_3 = tileworld_TileSprite_col__P4242_mk(s); + s.tmp_3 = tileworld_TileSprite_col__P7461_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 398; s.pc = 8; return s.tmp_3; + s.callLocIdx = 401; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; s.tmp_2 = r0; - s.tmp_5 = tileworld_moveXdelta__P3864_mk(s); + s.tmp_5 = tileworld_moveXdelta__P4332_mk(s); r0 = s.arg0.fields["dir"]; s.tmp_5.arg0 = r0; - s.callLocIdx = 399; s.pc = 9; return s.tmp_5; + s.callLocIdx = 402; 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__P4243_mk(s); + s.tmp_8 = tileworld_TileSprite_row__P7462_mk(s); s.tmp_8.arg0 = s.arg0; - s.callLocIdx = 400; s.pc = 10; return s.tmp_8; + s.callLocIdx = 403; s.pc = 10; return s.tmp_8; case 10: r0 = s.retval; s.tmp_7 = r0; - s.tmp_10 = tileworld_moveYdelta__P3865_mk(s); + s.tmp_10 = tileworld_moveYdelta__P4344_mk(s); r0 = s.arg0.fields["dir"]; s.tmp_10.arg0 = r0; - s.callLocIdx = 401; s.pc = 11; return s.tmp_10; + s.callLocIdx = 404; s.pc = 11; return s.tmp_10; case 11: r0 = s.retval; s.tmp_9 = r0; @@ -48140,12 +48153,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P18761.info = {"start":17562,"length":475,"line":401,"column":28,"endLine":410,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P8613.info = {"start":17681,"length":475,"line":404,"column":28,"endLine":413,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P18761_mk(s) { +function inline__P8613_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P18761, depth: s.depth + 1, + parent: s, fn: inline__P8613, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48165,7 +48178,7 @@ function inline__P18761_mk(s) { -function inline__P18810(s) { +function inline__P8661(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48175,20 +48188,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___18812 = undefined; - s.old___18816 = undefined; + s.tm___8663 = undefined; + s.old___8667 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } s.tmp_0 = game_currentScene__P961_mk(s); - s.callLocIdx = 403; s.pc = 3; return s.tmp_0; + s.callLocIdx = 406; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___18812 = (r0); + s.tm___8663 = (r0); s.tmp_0 = tiles_TileMap__C1086_v8_3_mk(s); - s.tmp_0.arg0 = s.tm___18812; + s.tmp_0.arg0 = s.tm___8663; r0 = s.arg0.fields["col"]; s.tmp_0.arg1 = r0; r0 = s.arg0.fields["row"]; @@ -48198,15 +48211,15 @@ switch (step) { s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.old___18816 = (r0); + s.old___8667 = (r0); r0 = s.arg0.fields["kind"]; s.tmp_1 = r0; - r0 = (s.old___18816 != s.tmp_1); + r0 = (s.old___8667 != s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_2 = tiles_TileMap__C1086_v9_4_mk(s); - s.tmp_2.arg0 = s.tm___18812; + s.tmp_2.arg0 = s.tm___8663; r0 = s.arg0.fields["col"]; s.tmp_2.arg1 = r0; r0 = s.arg0.fields["row"]; @@ -48232,18 +48245,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P18810.info = {"start":18147,"length":316,"line":412,"column":38,"endLine":419,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["pt"]} +inline__P8661.info = {"start":18266,"length":316,"line":415,"column":38,"endLine":422,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["pt"]} -function inline__P18810_mk(s) { +function inline__P8661_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P18810, depth: s.depth + 1, + parent: s, fn: inline__P8661, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - tm___18812: undefined, - old___18816: undefined, + tm___8663: undefined, + old___8667: undefined, arg0: undefined, } } @@ -48275,7 +48288,7 @@ switch (step) { s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.arg2; - s.callLocIdx = 751; s.pc = 5; return s.tmp_3; + s.callLocIdx = 753; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_2 = r0; @@ -48311,7 +48324,7 @@ switch (step) { s.tmp_8.arg1 = s.arg1; s.tmp_8.arg2 = s.arg2; s.tmp_8.arg3 = s.arg3; - s.callLocIdx = 752; s.pc = 7; return s.tmp_8; + s.callLocIdx = 754; s.pc = 7; return s.tmp_8; case 7: r0 = s.retval; case 3: @@ -48418,7 +48431,7 @@ switch (step) { s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; - s.callLocIdx = 733; s.pc = 6; return s.tmp_1; + s.callLocIdx = 735; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; s.tmp_0 = r0; @@ -48485,7 +48498,7 @@ function tiles_TileMapData_setTile__P1079_mk(s) { -function tileworld_TileSprite_update__P4244(s) { +function tileworld_TileSprite_update__P7463(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48500,7 +48513,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileSprite__C4240_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileSprite__C7459_VT)) failedCast(r0); r0 = s.arg0.fields["dir"]; s.tmp_0 = r0; r0 = (s.arg0).fields["lastDir"] = (s.tmp_0); @@ -48558,7 +48571,7 @@ switch (step) { s.tmp_6 = Sprite_vx__P775_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = s.tmp_5; - s.callLocIdx = 289; s.pc = 13; return s.tmp_6; + s.callLocIdx = 290; s.pc = 13; return s.tmp_6; case 13: r0 = s.retval; r0 = s.arg0.fields["dir"]; @@ -48590,19 +48603,19 @@ switch (step) { s.tmp_6 = Sprite_vy__P777_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = s.tmp_5; - s.callLocIdx = 290; s.pc = 14; return s.tmp_6; + s.callLocIdx = 291; s.pc = 14; return s.tmp_6; case 14: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_TileSprite_update__P4244.info = {"start":1207,"length":442,"line":29,"column":8,"endLine":35,"endColumn":9,"fileName":"vm.ts","functionName":"update","argumentNames":["this"]} +tileworld_TileSprite_update__P7463.info = {"start":1240,"length":442,"line":30,"column":8,"endLine":36,"endColumn":9,"fileName":"vm.ts","functionName":"update","argumentNames":["this"]} -function tileworld_TileSprite_update__P4244_mk(s) { +function tileworld_TileSprite_update__P7463_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileSprite_update__P4244, depth: s.depth + 1, + parent: s, fn: tileworld_TileSprite_update__P7463, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48618,7 +48631,7 @@ function tileworld_TileSprite_update__P4244_mk(s) { -function tileworld_TileWorldVM_collisionDetection__P4267(s) { +function tileworld_TileWorldVM_collisionDetection__P7678(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48628,23 +48641,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rcs___19013 = undefined; - s.wcol___19020 = undefined; - s.wrow___19029 = undefined; - s.tm___19044 = undefined; + s.rcs___8270 = undefined; + s.wcol___8277 = undefined; + s.wrow___8286 = undefined; + s.tm___8301 = 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__C4254_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C7665_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.rcs___19013 = (r0); - s.tmp_3 = tileworld_TileWorldVM_moving__P4266_mk(s); + s.rcs___8270 = (r0); + s.tmp_3 = tileworld_TileWorldVM_moving__P7677_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 341; s.pc = 6; return s.tmp_3; + s.callLocIdx = 342; s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; s.tmp_2 = r0; @@ -48654,45 +48667,45 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = s.rcs___19013; + r0 = s.rcs___8270; { step = 5; continue; } case 1: case 2: - s.tmp_5 = tileworld_TileSprite_col__P4242_mk(s); + s.tmp_5 = tileworld_TileSprite_col__P7461_mk(s); s.tmp_5.arg0 = s.arg1; - s.callLocIdx = 342; s.pc = 7; return s.tmp_5; + s.callLocIdx = 343; s.pc = 7; return s.tmp_5; case 7: r0 = s.retval; s.tmp_4 = r0; - s.tmp_7 = tileworld_moveXdelta__P3864_mk(s); + s.tmp_7 = tileworld_moveXdelta__P4332_mk(s); r0 = s.arg1.fields["arg"]; s.tmp_7.arg0 = r0; - s.callLocIdx = 343; s.pc = 8; return s.tmp_7; + s.callLocIdx = 344; s.pc = 8; return s.tmp_7; case 8: r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_4 + s.tmp_6); - s.wcol___19020 = (r0); - s.tmp_1 = tileworld_TileSprite_row__P4243_mk(s); + s.wcol___8277 = (r0); + s.tmp_1 = tileworld_TileSprite_row__P7462_mk(s); s.tmp_1.arg0 = s.arg1; - s.callLocIdx = 344; s.pc = 9; return s.tmp_1; + s.callLocIdx = 345; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = tileworld_moveYdelta__P3865_mk(s); + s.tmp_3 = tileworld_moveYdelta__P4344_mk(s); r0 = s.arg1.fields["arg"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 345; s.pc = 10; return s.tmp_3; + s.callLocIdx = 346; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.wrow___19029 = (r0); - s.tmp_3 = tileworld_TileWorldVM_inBounds__P4273_mk(s); + s.wrow___8286 = (r0); + s.tmp_3 = tileworld_TileWorldVM_inBounds__P7684_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.wcol___19020; - s.tmp_3.arg2 = s.wrow___19029; - s.callLocIdx = 346; s.pc = 11; return s.tmp_3; + s.tmp_3.arg1 = s.wcol___8277; + s.tmp_3.arg2 = s.wrow___8286; + s.callLocIdx = 347; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; @@ -48702,42 +48715,42 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = s.rcs___19013; + r0 = s.rcs___8270; { step = 5; continue; } case 3: case 4: s.tmp_4 = game_currentScene__P961_mk(s); - s.callLocIdx = 347; s.pc = 12; return s.tmp_4; + s.callLocIdx = 348; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___19044 = (r0); - r0 = pxsim_pxtcore_mkAction(6, inline__P19050); + s.tm___8301 = (r0); + r0 = pxsim_pxtcore_mkAction(6, inline__P8308); 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___19044); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.wcol___19020); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.wrow___19029); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.rcs___19013); - s.tmp_1 = tileworld_TileWorldVM_collidingRules__P4265_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.tm___8301); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.wcol___8277); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.wrow___8286); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.rcs___8270); + s.tmp_1 = tileworld_TileWorldVM_collidingRules__P7676_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 385; s.pc = 13; return s.tmp_1; + s.callLocIdx = 386; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = s.rcs___19013; + r0 = s.rcs___8270; case 5: return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_collisionDetection__P4267.info = {"start":13152,"length":3389,"line":309,"column":8,"endLine":374,"endColumn":9,"fileName":"vm.ts","functionName":"collisionDetection","argumentNames":["this","ts"]} +tileworld_TileWorldVM_collisionDetection__P7678.info = {"start":13185,"length":3389,"line":310,"column":8,"endLine":375,"endColumn":9,"fileName":"vm.ts","functionName":"collisionDetection","argumentNames":["this","ts"]} -function tileworld_TileWorldVM_collisionDetection__P4267_mk(s) { +function tileworld_TileWorldVM_collisionDetection__P7678_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_collisionDetection__P4267, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_collisionDetection__P7678, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48747,10 +48760,10 @@ function tileworld_TileWorldVM_collisionDetection__P4267_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - rcs___19013: undefined, - wcol___19020: undefined, - wrow___19029: undefined, - tm___19044: undefined, + rcs___8270: undefined, + wcol___8277: undefined, + wrow___8286: undefined, + tm___8301: undefined, arg0: undefined, arg1: undefined, } } @@ -48759,7 +48772,7 @@ function tileworld_TileWorldVM_collisionDetection__P4267_mk(s) { -function inline__P19050(s) { +function inline__P8308(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48769,50 +48782,50 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wd___19052 = undefined; - s.includePassed___19071 = undefined; - s.kind___19072 = undefined; - s.hasInclude___19103 = undefined; - s.kind___19104 = undefined; + s.wd___8310 = undefined; + s.includePassed___8329 = undefined; + s.kind___8330 = undefined; + s.hasInclude___8361 = undefined; + s.kind___8362 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleView_getWhenDo__P3897_mk(s); + s.tmp_0 = tileworld_RuleView_getWhenDo__P4608_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = tileworld_moveXdelta__P3864_mk(s); + s.tmp_2 = tileworld_moveXdelta__P4332_mk(s); r0 = s.caps[0].fields["arg"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 348; s.pc = 17; return s.tmp_2; + s.callLocIdx = 349; s.pc = 17; return s.tmp_2; case 17: r0 = s.retval; s.tmp_1 = r0; r0 = (2 + s.tmp_1); s.tmp_0.arg1 = r0; - s.tmp_4 = tileworld_moveYdelta__P3865_mk(s); + s.tmp_4 = tileworld_moveYdelta__P4344_mk(s); r0 = s.caps[0].fields["arg"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 349; s.pc = 18; return s.tmp_4; + s.callLocIdx = 350; s.pc = 18; return s.tmp_4; case 18: r0 = s.retval; s.tmp_3 = r0; r0 = (2 + s.tmp_3); s.tmp_0.arg2 = r0; - s.callLocIdx = 350; s.pc = 16; return s.tmp_0; + s.callLocIdx = 351; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.wd___19052 = (r0); - r0 = (s.wd___19052 == -1); + s.wd___8310 = (r0); + r0 = (s.wd___8310 == -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } { step = 15; continue; } case 1: case 2: - s.includePassed___19071 = (false); - s.kind___19072 = (0); + s.includePassed___8329 = (false); + s.kind___8330 = (0); case 3: - s.tmp_1 = r0 = s.kind___19072; + s.tmp_1 = r0 = s.kind___8330; r0 = s.caps[1].fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_backgroundsI"]; @@ -48823,12 +48836,12 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.tmp_7 = tileworld_RuleView_getSetBgAttr__P3902_mk(s); + s.tmp_7 = tileworld_RuleView_getSetBgAttr__P4993_mk(s); s.tmp_7.arg0 = s.arg0; - s.tmp_7.arg1 = s.wd___19052; - s.tmp_7.arg2 = s.kind___19072; + s.tmp_7.arg1 = s.wd___8310; + s.tmp_7.arg2 = s.kind___8330; s.tmp_7.arg3 = 65535; - s.callLocIdx = 352; s.pc = 19; return s.tmp_7; + s.callLocIdx = 353; s.pc = 19; return s.tmp_7; case 19: r0 = s.retval; s.tmp_6 = r0; @@ -48846,19 +48859,19 @@ switch (step) { case 20: r0 = s.retval; s.tmp_9 = r0; - r0 = (s.tmp_9 == s.kind___19072); + r0 = (s.tmp_9 == s.kind___8330); s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 4; continue; } - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleClosure__C4252_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleClosure__C7659_VT); s.tmp_11 = r0; - s.tmp_12 = tileworld_RuleClosure_constructor__P4253_mk(s); + s.tmp_12 = tileworld_RuleClosure_constructor__P7660_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 = 353; s.pc = 21; return s.tmp_12; + s.callLocIdx = 354; s.pc = 21; return s.tmp_12; case 21: r0 = s.retval; r0 = pxsim_Array__push(s.caps[5], s.tmp_11); @@ -48867,14 +48880,14 @@ switch (step) { case 5: case 6: case 7: - r0 = (s.kind___19072 + 1); - s.kind___19072 = (r0); + r0 = (s.kind___8330 + 1); + s.kind___8330 = (r0); { step = 3; continue; } case 8: - s.hasInclude___19103 = (false); - s.kind___19104 = (0); + s.hasInclude___8361 = (false); + s.kind___8362 = (0); case 9: - s.tmp_1 = r0 = s.kind___19104; + s.tmp_1 = r0 = s.kind___8362; r0 = s.caps[1].fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_spritesI"]; @@ -48885,12 +48898,12 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - s.tmp_7 = tileworld_RuleView_getSetSpAttr__P3903_mk(s); + s.tmp_7 = tileworld_RuleView_getSetSpAttr__P4994_mk(s); s.tmp_7.arg0 = s.arg0; - s.tmp_7.arg1 = s.wd___19052; - s.tmp_7.arg2 = s.kind___19104; + s.tmp_7.arg1 = s.wd___8310; + s.tmp_7.arg2 = s.kind___8362; s.tmp_7.arg3 = 65535; - s.callLocIdx = 355; s.pc = 22; return s.tmp_7; + s.callLocIdx = 356; s.pc = 22; return s.tmp_7; case 22: r0 = s.retval; s.tmp_6 = r0; @@ -48898,14 +48911,14 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 10; continue; } - s.hasInclude___19103 = (true); + s.hasInclude___8361 = (true); case 10: case 11: - r0 = (s.kind___19104 + 1); - s.kind___19104 = (r0); + r0 = (s.kind___8362 + 1); + s.kind___8362 = (r0); { step = 9; continue; } case 12: - r0 = pxsim_numops_toBoolDecr(s.hasInclude___19103); + r0 = pxsim_numops_toBoolDecr(s.hasInclude___8361); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -48914,19 +48927,19 @@ switch (step) { { step = 15; continue; } case 13: case 14: - r0 = pxsim_pxtcore_mkAction(7, inline__P19124); + r0 = pxsim_pxtcore_mkAction(7, inline__P8382); 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___19052); + r0 = pxsim_pxtrt_stclo(s.tmp_2, 2, s.wd___8310); 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, 5, s.caps[1]); r0 = pxsim_pxtrt_stclo(s.tmp_2, 6, s.caps[5]); - s.tmp_3 = tileworld_TileWorldVM_allSprites__P4259_mk(s); + s.tmp_3 = tileworld_TileWorldVM_allSprites__P7670_mk(s); s.tmp_3.arg0 = s.caps[1]; s.tmp_3.arg1 = s.tmp_2; - s.callLocIdx = 384; s.pc = 23; return s.tmp_3; + s.callLocIdx = 385; s.pc = 23; return s.tmp_3; case 23: r0 = s.retval; case 15: @@ -48934,12 +48947,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P19050.info = {"start":13552,"length":2953,"line":317,"column":36,"endLine":372,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rv"]} +inline__P8308.info = {"start":13585,"length":2953,"line":318,"column":36,"endLine":373,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rv"]} -function inline__P19050_mk(s) { +function inline__P8308_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P19050, depth: s.depth + 1, + parent: s, fn: inline__P8308, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48954,11 +48967,11 @@ function inline__P19050_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - wd___19052: undefined, - includePassed___19071: undefined, - kind___19072: undefined, - hasInclude___19103: undefined, - kind___19104: undefined, + wd___8310: undefined, + includePassed___8329: undefined, + kind___8330: undefined, + hasInclude___8361: undefined, + kind___8362: undefined, arg0: undefined, } } @@ -48966,7 +48979,7 @@ function inline__P19050_mk(s) { -function inline__P19124(s) { +function inline__P8382(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48976,10 +48989,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.leftRotate___19166 = undefined; - s.osCol___19171 = undefined; - s.osRow___19177 = undefined; - s.rightRotate___19204 = undefined; + s.leftRotate___8424 = undefined; + s.osCol___8429 = undefined; + s.osRow___8435 = undefined; + s.rightRotate___8462 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -48991,13 +49004,13 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = tileworld_RuleView_getSetSpAttr__P3903_mk(s); + s.tmp_2 = tileworld_RuleView_getSetSpAttr__P4994_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 = 357; s.pc = 34; return s.tmp_2; + s.callLocIdx = 358; s.pc = 34; return s.tmp_2; case 34: r0 = s.retval; s.tmp_1 = r0; @@ -49010,9 +49023,9 @@ switch (step) { { step = 33; continue; } case 3: case 4: - s.tmp_6 = tileworld_TileSprite_col__P4242_mk(s); + s.tmp_6 = tileworld_TileSprite_col__P7461_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 358; s.pc = 35; return s.tmp_6; + s.callLocIdx = 359; s.pc = 35; return s.tmp_6; case 35: r0 = s.retval; s.tmp_5 = r0; @@ -49023,9 +49036,9 @@ switch (step) { r0 = s.tmp_4; { step = 6; continue; } case 5: - s.tmp_8 = tileworld_TileSprite_row__P4243_mk(s); + s.tmp_8 = tileworld_TileSprite_row__P7462_mk(s); s.tmp_8.arg0 = s.arg0; - s.callLocIdx = 359; s.pc = 36; return s.tmp_8; + s.callLocIdx = 360; s.pc = 36; return s.tmp_8; case 36: r0 = s.retval; s.tmp_7 = r0; @@ -49035,10 +49048,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__P4266_mk(s); + s.tmp_13 = tileworld_TileWorldVM_moving__P7677_mk(s); s.tmp_13.arg0 = s.caps[5]; s.tmp_13.arg1 = s.arg0; - s.callLocIdx = 360; s.pc = 37; return s.tmp_13; + s.callLocIdx = 361; s.pc = 37; return s.tmp_13; case 37: r0 = s.retval; s.tmp_12 = r0; @@ -49065,74 +49078,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__P4269_mk(s); + s.tmp_19 = tileworld_TileWorldVM_collide__P7680_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 = 362; s.pc = 38; return s.tmp_19; + s.callLocIdx = 363; 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__P4266_mk(s); + s.tmp_1 = tileworld_TileWorldVM_moving__P7677_mk(s); s.tmp_1.arg0 = s.caps[5]; s.tmp_1.arg1 = s.arg0; - s.callLocIdx = 363; s.pc = 39; return s.tmp_1; + s.callLocIdx = 364; 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__P3867_mk(s); + s.tmp_2 = tileworld_flipRotateDir__P4366_mk(s); r0 = s.caps[0].fields["arg"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 3; - s.callLocIdx = 364; s.pc = 40; return s.tmp_2; + s.callLocIdx = 365; s.pc = 40; return s.tmp_2; case 40: r0 = s.retval; - s.leftRotate___19166 = (r0); + s.leftRotate___8424 = (r0); s.tmp_0 = r0 = s.caps[3]; - s.tmp_2 = tileworld_moveXdelta__P3864_mk(s); - s.tmp_2.arg0 = s.leftRotate___19166; - s.callLocIdx = 365; s.pc = 41; return s.tmp_2; + s.tmp_2 = tileworld_moveXdelta__P4332_mk(s); + s.tmp_2.arg0 = s.leftRotate___8424; + s.callLocIdx = 366; 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___19171 = (r0); + s.osCol___8429 = (r0); s.tmp_0 = r0 = s.caps[4]; - s.tmp_2 = tileworld_moveYdelta__P3865_mk(s); - s.tmp_2.arg0 = s.leftRotate___19166; - s.callLocIdx = 366; s.pc = 42; return s.tmp_2; + s.tmp_2 = tileworld_moveYdelta__P4344_mk(s); + s.tmp_2.arg0 = s.leftRotate___8424; + s.callLocIdx = 367; 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___19177 = (r0); - s.tmp_2 = tileworld_TileSprite_col__P4242_mk(s); + s.osRow___8435 = (r0); + s.tmp_2 = tileworld_TileSprite_col__P7461_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 367; s.pc = 43; return s.tmp_2; + s.callLocIdx = 368; s.pc = 43; return s.tmp_2; case 43: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.osCol___19171); + r0 = (s.tmp_1 == s.osCol___8429); 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__P4243_mk(s); + s.tmp_4 = tileworld_TileSprite_row__P7462_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 368; s.pc = 44; return s.tmp_4; + s.callLocIdx = 369; s.pc = 44; return s.tmp_4; case 44: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 == s.osRow___19177); + r0 = (s.tmp_3 == s.osRow___8435); case 14: // jmp value (already in r0) s.tmp_5 = r0; @@ -49143,7 +49156,7 @@ switch (step) { case 15: r0 = s.arg0.fields["arg"]; s.tmp_6 = r0; - r0 = (s.leftRotate___19166 + 2); + r0 = (s.leftRotate___8424 + 2); s.tmp_8 = r0; r0 = (s.tmp_8 % 4); s.tmp_7 = r0; @@ -49153,63 +49166,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__P4269_mk(s); + s.tmp_10 = tileworld_TileWorldVM_collide__P7680_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 = 370; s.pc = 45; return s.tmp_10; + s.callLocIdx = 371; s.pc = 45; return s.tmp_10; case 45: r0 = s.retval; case 17: case 18: - s.tmp_0 = tileworld_flipRotateDir__P3867_mk(s); + s.tmp_0 = tileworld_flipRotateDir__P4366_mk(s); r0 = s.caps[0].fields["arg"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 5; - s.callLocIdx = 371; s.pc = 46; return s.tmp_0; + s.callLocIdx = 372; s.pc = 46; return s.tmp_0; case 46: r0 = s.retval; - s.rightRotate___19204 = (r0); + s.rightRotate___8462 = (r0); s.tmp_0 = r0 = s.caps[3]; - s.tmp_2 = tileworld_moveXdelta__P3864_mk(s); - s.tmp_2.arg0 = s.rightRotate___19204; - s.callLocIdx = 372; s.pc = 47; return s.tmp_2; + s.tmp_2 = tileworld_moveXdelta__P4332_mk(s); + s.tmp_2.arg0 = s.rightRotate___8462; + s.callLocIdx = 373; 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___19171 = (r0); + s.osCol___8429 = (r0); s.tmp_0 = r0 = s.caps[4]; - s.tmp_2 = tileworld_moveYdelta__P3865_mk(s); - s.tmp_2.arg0 = s.rightRotate___19204; - s.callLocIdx = 373; s.pc = 48; return s.tmp_2; + s.tmp_2 = tileworld_moveYdelta__P4344_mk(s); + s.tmp_2.arg0 = s.rightRotate___8462; + s.callLocIdx = 374; 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___19177 = (r0); - s.tmp_2 = tileworld_TileSprite_col__P4242_mk(s); + s.osRow___8435 = (r0); + s.tmp_2 = tileworld_TileSprite_col__P7461_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 374; s.pc = 49; return s.tmp_2; + s.callLocIdx = 375; s.pc = 49; return s.tmp_2; case 49: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.osCol___19171); + r0 = (s.tmp_1 == s.osCol___8429); 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__P4243_mk(s); + s.tmp_4 = tileworld_TileSprite_row__P7462_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 375; s.pc = 50; return s.tmp_4; + s.callLocIdx = 376; s.pc = 50; return s.tmp_4; case 50: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 == s.osRow___19177); + r0 = (s.tmp_3 == s.osRow___8435); case 20: // jmp value (already in r0) s.tmp_5 = r0; @@ -49220,7 +49233,7 @@ switch (step) { case 21: r0 = s.arg0.fields["arg"]; s.tmp_6 = r0; - r0 = (s.rightRotate___19204 + 2); + r0 = (s.rightRotate___8462 + 2); s.tmp_8 = r0; r0 = (s.tmp_8 % 4); s.tmp_7 = r0; @@ -49230,57 +49243,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__P4269_mk(s); + s.tmp_10 = tileworld_TileWorldVM_collide__P7680_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 = 377; s.pc = 51; return s.tmp_10; + s.callLocIdx = 378; 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__P3864_mk(s); + s.tmp_2 = tileworld_moveXdelta__P4332_mk(s); r0 = s.caps[0].fields["arg"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 378; s.pc = 52; return s.tmp_2; + s.callLocIdx = 379; 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___19171 = (r0); + s.osCol___8429 = (r0); s.tmp_0 = r0 = s.caps[4]; - s.tmp_2 = tileworld_moveYdelta__P3865_mk(s); + s.tmp_2 = tileworld_moveYdelta__P4344_mk(s); r0 = s.caps[0].fields["arg"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 379; s.pc = 53; return s.tmp_2; + s.callLocIdx = 380; 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___19177 = (r0); - s.tmp_2 = tileworld_TileSprite_col__P4242_mk(s); + s.osRow___8435 = (r0); + s.tmp_2 = tileworld_TileSprite_col__P7461_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 380; s.pc = 54; return s.tmp_2; + s.callLocIdx = 381; s.pc = 54; return s.tmp_2; case 54: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.osCol___19171); + r0 = (s.tmp_1 == s.osCol___8429); 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__P4243_mk(s); + s.tmp_4 = tileworld_TileSprite_row__P7462_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 381; s.pc = 55; return s.tmp_4; + s.callLocIdx = 382; s.pc = 55; return s.tmp_4; case 55: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 == s.osRow___19177); + r0 = (s.tmp_3 == s.osRow___8435); case 26: // jmp value (already in r0) s.tmp_5 = r0; @@ -49303,13 +49316,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__P4269_mk(s); + s.tmp_11 = tileworld_TileWorldVM_collide__P7680_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 = 383; s.pc = 56; return s.tmp_11; + s.callLocIdx = 384; s.pc = 56; return s.tmp_11; case 56: r0 = s.retval; case 29: @@ -49321,12 +49334,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P19124.info = {"start":14799,"length":1690,"line":342,"column":32,"endLine":371,"endColumn":17,"fileName":"vm.ts","functionName":"inline","argumentNames":["os"]} +inline__P8382.info = {"start":14832,"length":1690,"line":343,"column":32,"endLine":372,"endColumn":17,"fileName":"vm.ts","functionName":"inline","argumentNames":["os"]} -function inline__P19124_mk(s) { +function inline__P8382_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P19124, depth: s.depth + 1, + parent: s, fn: inline__P8382, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49348,10 +49361,10 @@ function inline__P19124_mk(s) { tmp_17: undefined, tmp_18: undefined, tmp_19: undefined, - leftRotate___19166: undefined, - osCol___19171: undefined, - osRow___19177: undefined, - rightRotate___19204: undefined, + leftRotate___8424: undefined, + osCol___8429: undefined, + osRow___8435: undefined, + rightRotate___8462: undefined, arg0: undefined, } } @@ -49359,7 +49372,7 @@ function inline__P19124_mk(s) { -function tileworld_TileWorldVM_collide__P4269(s) { +function tileworld_TileWorldVM_collide__P7680(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49378,18 +49391,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C4254_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleClosure__C4252_VT); + if (!checkSubtype(r0, tileworld_TileWorldVM__C7665_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleClosure__C7659_VT); s.tmp_0 = r0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_1, s.arg3); - s.tmp_2 = tileworld_RuleClosure_constructor__P4253_mk(s); + s.tmp_2 = tileworld_RuleClosure_constructor__P7660_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 = 386; s.pc = 1; return s.tmp_2; + s.callLocIdx = 387; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; r0 = pxsim_Array__push(s.arg4, s.tmp_0); @@ -49397,12 +49410,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_collide__P4269.info = {"start":16616,"length":150,"line":380,"column":8,"endLine":382,"endColumn":9,"fileName":"vm.ts","functionName":"collide","argumentNames":["this","rv","ts","os","rcs"]} +tileworld_TileWorldVM_collide__P7680.info = {"start":16649,"length":150,"line":381,"column":8,"endLine":383,"endColumn":9,"fileName":"vm.ts","functionName":"collide","argumentNames":["this","rv","ts","os","rcs"]} -function tileworld_TileWorldVM_collide__P4269_mk(s) { +function tileworld_TileWorldVM_collide__P7680_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_collide__P4269, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_collide__P7680, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49418,7 +49431,7 @@ function tileworld_TileWorldVM_collide__P4269_mk(s) { -function tileworld_oppDir__P3866(s) { +function tileworld_oppDir__P4356(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49441,12 +49454,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_oppDir__P3866.info = {"start":5124,"length":109,"line":140,"column":4,"endLine":142,"endColumn":5,"fileName":"rule.ts","functionName":"oppDir","argumentNames":["dir","dir2"]} +tileworld_oppDir__P4356.info = {"start":5124,"length":109,"line":140,"column":4,"endLine":142,"endColumn":5,"fileName":"rule.ts","functionName":"oppDir","argumentNames":["dir","dir2"]} -function tileworld_oppDir__P3866_mk(s) { +function tileworld_oppDir__P4356_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_oppDir__P3866, depth: s.depth + 1, + parent: s, fn: tileworld_oppDir__P4356, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49458,7 +49471,7 @@ function tileworld_oppDir__P3866_mk(s) { -function tileworld_TileWorldVM_collidingRules__P4265(s) { +function tileworld_TileWorldVM_collidingRules__P7676(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49475,8 +49488,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C4254_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(3, inline__P19309); + if (!checkSubtype(r0, tileworld_TileWorldVM__C7665_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(3, inline__P8244); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg1); @@ -49487,19 +49500,19 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_2, 2); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 340; s.pc = 1; return s.tmp_1; + s.callLocIdx = 341; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_collidingRules__P4265.info = {"start":12402,"length":308,"line":292,"column":8,"endLine":298,"endColumn":9,"fileName":"vm.ts","functionName":"collidingRules","argumentNames":["this","ts","handler"]} +tileworld_TileWorldVM_collidingRules__P7676.info = {"start":12435,"length":308,"line":293,"column":8,"endLine":299,"endColumn":9,"fileName":"vm.ts","functionName":"collidingRules","argumentNames":["this","ts","handler"]} -function tileworld_TileWorldVM_collidingRules__P4265_mk(s) { +function tileworld_TileWorldVM_collidingRules__P7676_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_collidingRules__P4265, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_collidingRules__P7676, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49513,7 +49526,7 @@ function tileworld_TileWorldVM_collidingRules__P4265_mk(s) { -function inline__P19309(s) { +function inline__P8244(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49527,11 +49540,11 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = tileworld_TileWorldVM_ruleMatchesSprite__P4261_mk(s); + s.tmp_1 = tileworld_TileWorldVM_ruleMatchesSprite__P7672_mk(s); s.tmp_1.arg0 = s.caps[0]; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.caps[1]; - s.callLocIdx = 337; s.pc = 5; return s.tmp_1; + s.callLocIdx = 338; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0 = r0; @@ -49540,12 +49553,12 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = tileworld_TileWorldVM_ruleMatchesDirection__P4263_mk(s); + s.tmp_2 = tileworld_TileWorldVM_ruleMatchesDirection__P7674_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 = 338; s.pc = 6; return s.tmp_2; + s.callLocIdx = 339; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; case 2: @@ -49557,7 +49570,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 = 339; s.pc = 7; return s.tmp_4; + s.callLocIdx = 340; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; case 3: @@ -49566,12 +49579,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P19309.info = {"start":12531,"length":167,"line":293,"column":55,"endLine":297,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rv"]} +inline__P8244.info = {"start":12564,"length":167,"line":294,"column":55,"endLine":298,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rv"]} -function inline__P19309_mk(s) { +function inline__P8244_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P19309, depth: s.depth + 1, + parent: s, fn: inline__P8244, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49585,7 +49598,7 @@ function inline__P19309_mk(s) { -function tileworld_TileWorldVM_ruleMatchesDirection__P4263(s) { +function tileworld_TileWorldVM_ruleMatchesDirection__P7674(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49602,28 +49615,28 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C4254_VT)) failedCast(r0); - s.tmp_0 = tileworld_TileWorldVM_exprMatchesDirection__P4262_mk(s); + if (!checkSubtype(r0, tileworld_TileWorldVM__C7665_VT)) failedCast(r0); + s.tmp_0 = tileworld_TileWorldVM_exprMatchesDirection__P7673_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = tileworld_RuleView_getDirFromRule__P3895_mk(s); + s.tmp_1 = tileworld_RuleView_getDirFromRule__P4987_mk(s); s.tmp_1.arg0 = s.arg1; - s.callLocIdx = 330; s.pc = 2; return s.tmp_1; + s.callLocIdx = 331; 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 = 331; s.pc = 1; return s.tmp_0; + s.callLocIdx = 332; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_ruleMatchesDirection__P4263.info = {"start":11582,"length":141,"line":273,"column":8,"endLine":275,"endColumn":9,"fileName":"vm.ts","functionName":"ruleMatchesDirection","argumentNames":["this","rv","dir"]} +tileworld_TileWorldVM_ruleMatchesDirection__P7674.info = {"start":11615,"length":141,"line":274,"column":8,"endLine":276,"endColumn":9,"fileName":"vm.ts","functionName":"ruleMatchesDirection","argumentNames":["this","rv","dir"]} -function tileworld_TileWorldVM_ruleMatchesDirection__P4263_mk(s) { +function tileworld_TileWorldVM_ruleMatchesDirection__P7674_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_ruleMatchesDirection__P4263, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_ruleMatchesDirection__P7674, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49636,7 +49649,7 @@ function tileworld_TileWorldVM_ruleMatchesDirection__P4263_mk(s) { -function tileworld_TileWorldVM_exprMatchesDirection__P4262(s) { +function tileworld_TileWorldVM_exprMatchesDirection__P7673(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49653,7 +49666,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C4254_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C7665_VT)) failedCast(r0); r0 = (s.arg1 == 6); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -49689,12 +49702,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_exprMatchesDirection__P4262.info = {"start":11397,"length":175,"line":269,"column":8,"endLine":271,"endColumn":9,"fileName":"vm.ts","functionName":"exprMatchesDirection","argumentNames":["this","dirExpr","dir"]} +tileworld_TileWorldVM_exprMatchesDirection__P7673.info = {"start":11430,"length":175,"line":270,"column":8,"endLine":272,"endColumn":9,"fileName":"vm.ts","functionName":"exprMatchesDirection","argumentNames":["this","dirExpr","dir"]} -function tileworld_TileWorldVM_exprMatchesDirection__P4262_mk(s) { +function tileworld_TileWorldVM_exprMatchesDirection__P7673_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_exprMatchesDirection__P4262, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_exprMatchesDirection__P7673, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49710,7 +49723,7 @@ function tileworld_TileWorldVM_exprMatchesDirection__P4262_mk(s) { -function tileworld_TileWorldVM_ruleMatchesSprite__P4261(s) { +function tileworld_TileWorldVM_ruleMatchesSprite__P7672(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49727,12 +49740,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C4254_VT)) failedCast(r0); - s.tmp_1 = tileworld_RuleView_hasSpriteKind__P3917_mk(s); + if (!checkSubtype(r0, tileworld_TileWorldVM__C7665_VT)) failedCast(r0); + s.tmp_1 = tileworld_RuleView_hasSpriteKind__P5006_mk(s); s.tmp_1.arg0 = s.arg1; r0 = s.arg2.fields["_kind"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 328; s.pc = 3; return s.tmp_1; + s.callLocIdx = 329; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; @@ -49756,12 +49769,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_ruleMatchesSprite__P4261.info = {"start":11217,"length":170,"line":265,"column":8,"endLine":267,"endColumn":9,"fileName":"vm.ts","functionName":"ruleMatchesSprite","argumentNames":["this","rv","ts"]} +tileworld_TileWorldVM_ruleMatchesSprite__P7672.info = {"start":11250,"length":170,"line":266,"column":8,"endLine":268,"endColumn":9,"fileName":"vm.ts","functionName":"ruleMatchesSprite","argumentNames":["this","rv","ts"]} -function tileworld_TileWorldVM_ruleMatchesSprite__P4261_mk(s) { +function tileworld_TileWorldVM_ruleMatchesSprite__P7672_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_ruleMatchesSprite__P4261, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_ruleMatchesSprite__P7672, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49778,7 +49791,7 @@ function tileworld_TileWorldVM_ruleMatchesSprite__P4261_mk(s) { -function tileworld_TileWorldVM_inBounds__P4273(s) { +function tileworld_TileWorldVM_inBounds__P7684(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49795,7 +49808,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C4254_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C7665_VT)) failedCast(r0); r0 = (0 <= s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -49841,12 +49854,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_inBounds__P4273.info = {"start":20537,"length":177,"line":468,"column":8,"endLine":471,"endColumn":9,"fileName":"vm.ts","functionName":"inBounds","argumentNames":["this","col","row"]} +tileworld_TileWorldVM_inBounds__P7684.info = {"start":20656,"length":177,"line":471,"column":8,"endLine":474,"endColumn":9,"fileName":"vm.ts","functionName":"inBounds","argumentNames":["this","col","row"]} -function tileworld_TileWorldVM_inBounds__P4273_mk(s) { +function tileworld_TileWorldVM_inBounds__P7684_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_inBounds__P4273, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_inBounds__P7684, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49867,7 +49880,7 @@ function tileworld_TileWorldVM_inBounds__P4273_mk(s) { -function tileworld_TileWorldVM_moving__P4266(s) { +function tileworld_TileWorldVM_moving__P7677(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49883,7 +49896,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C4254_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C7665_VT)) failedCast(r0); r0 = s.arg1.fields["inst"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 0); @@ -49903,12 +49916,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_moving__P4266.info = {"start":12805,"length":115,"line":301,"column":8,"endLine":303,"endColumn":9,"fileName":"vm.ts","functionName":"moving","argumentNames":["this","ts"]} +tileworld_TileWorldVM_moving__P7677.info = {"start":12838,"length":115,"line":302,"column":8,"endLine":304,"endColumn":9,"fileName":"vm.ts","functionName":"moving","argumentNames":["this","ts"]} -function tileworld_TileWorldVM_moving__P4266_mk(s) { +function tileworld_TileWorldVM_moving__P7677_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_moving__P4266, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_moving__P7677, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49922,7 +49935,7 @@ function tileworld_TileWorldVM_moving__P4266_mk(s) { -function tileworld_TileWorldVM_contextChanged__P4260(s) { +function tileworld_TileWorldVM_contextChanged__P7671(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49932,38 +49945,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___19408 = undefined; - s.j___19414 = undefined; - s.x___19428 = undefined; - s.y___19434 = undefined; + s.i___8090 = undefined; + s.j___8096 = undefined; + s.x___8110 = undefined; + s.y___8116 = 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__C4254_VT)) failedCast(r0); - s.i___19408 = (-2); + if (!checkSubtype(r0, tileworld_TileWorldVM__C7665_VT)) failedCast(r0); + s.i___8090 = (-2); case 1: - r0 = (s.i___19408 <= 2); + r0 = (s.i___8090 <= 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - s.j___19414 = (-2); + s.j___8096 = (-2); case 2: - r0 = (s.j___19414 <= 2); + r0 = (s.j___8096 <= 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } s.tmp_4 = Math_abs__P76_mk(s); - s.tmp_4.arg0 = s.i___19408; - s.callLocIdx = 322; s.pc = 12; return s.tmp_4; + s.tmp_4.arg0 = s.i___8090; + s.callLocIdx = 323; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; s.tmp_3 = r0; s.tmp_6 = Math_abs__P76_mk(s); - s.tmp_6.arg0 = s.j___19414; - s.callLocIdx = 323; s.pc = 13; return s.tmp_6; + s.tmp_6.arg0 = s.j___8096; + s.callLocIdx = 324; s.pc = 13; return s.tmp_6; case 13: r0 = s.retval; s.tmp_5 = r0; @@ -49973,27 +49986,27 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.tmp_8 = tileworld_TileSprite_col__P4242_mk(s); + s.tmp_8 = tileworld_TileSprite_col__P7461_mk(s); s.tmp_8.arg0 = s.arg1; - s.callLocIdx = 324; s.pc = 14; return s.tmp_8; + s.callLocIdx = 325; s.pc = 14; return s.tmp_8; case 14: r0 = s.retval; s.tmp_7 = r0; - r0 = (s.tmp_7 + s.i___19408); - s.x___19428 = (r0); - s.tmp_1 = tileworld_TileSprite_row__P4243_mk(s); + r0 = (s.tmp_7 + s.i___8090); + s.x___8110 = (r0); + s.tmp_1 = tileworld_TileSprite_row__P7462_mk(s); s.tmp_1.arg0 = s.arg1; - s.callLocIdx = 325; s.pc = 15; return s.tmp_1; + s.callLocIdx = 326; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 + s.j___19414); - s.y___19434 = (r0); - s.tmp_1 = tileworld_TileWorldVM_inBounds__P4273_mk(s); + r0 = (s.tmp_0 + s.j___8096); + s.y___8116 = (r0); + s.tmp_1 = tileworld_TileWorldVM_inBounds__P7684_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.x___19428; - s.tmp_1.arg2 = s.y___19434; - s.callLocIdx = 326; s.pc = 16; return s.tmp_1; + s.tmp_1.arg1 = s.x___8110; + s.tmp_1.arg2 = s.y___8116; + s.callLocIdx = 327; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; s.tmp_0 = r0; @@ -50005,7 +50018,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___19428, s.y___19434); + r0 = pxsim_ImageMethods.getPixel(s.tmp_2, s.x___8110, s.y___8116); case 4: // jmp value (already in r0) s.tmp_3 = r0; @@ -50017,12 +50030,12 @@ switch (step) { case 6: case 7: case 8: - r0 = (s.j___19414 + 1); - s.j___19414 = (r0); + r0 = (s.j___8096 + 1); + s.j___8096 = (r0); { step = 2; continue; } case 9: - r0 = (s.i___19408 + 1); - s.i___19408 = (r0); + r0 = (s.i___8090 + 1); + s.i___8090 = (r0); { step = 1; continue; } case 10: r0 = false; @@ -50030,12 +50043,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_contextChanged__P4260.info = {"start":10680,"length":527,"line":250,"column":8,"endLine":263,"endColumn":9,"fileName":"vm.ts","functionName":"contextChanged","argumentNames":["this","ts"]} +tileworld_TileWorldVM_contextChanged__P7671.info = {"start":10713,"length":527,"line":251,"column":8,"endLine":264,"endColumn":9,"fileName":"vm.ts","functionName":"contextChanged","argumentNames":["this","ts"]} -function tileworld_TileWorldVM_contextChanged__P4260_mk(s) { +function tileworld_TileWorldVM_contextChanged__P7671_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_contextChanged__P4260, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_contextChanged__P7671, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50046,10 +50059,10 @@ function tileworld_TileWorldVM_contextChanged__P4260_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - i___19408: undefined, - j___19414: undefined, - x___19428: undefined, - y___19434: undefined, + i___8090: undefined, + j___8096: undefined, + x___8110: undefined, + y___8116: undefined, arg0: undefined, arg1: undefined, } } @@ -50058,7 +50071,7 @@ function tileworld_TileWorldVM_contextChanged__P4260_mk(s) { -function tileworld_TileWorldVM_applyRules__P4264(s) { +function tileworld_TileWorldVM_applyRules__P7675(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50068,7 +50081,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ruleClosures___19459 = undefined; + s.ruleClosures___8190 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -50076,39 +50089,39 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C4254_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C7665_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.ruleClosures___19459 = (r0); - r0 = pxsim_pxtcore_mkAction(4, inline__P19465); + s.ruleClosures___8190 = (r0); + r0 = pxsim_pxtcore_mkAction(4, inline__P8196); 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___19459); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.ruleClosures___8190); s.tmp_1 = helpers_arrayForEach__P60_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 = 336; s.pc = 1; return s.tmp_1; + s.callLocIdx = 337; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - r0 = s.ruleClosures___19459; + r0 = s.ruleClosures___8190; return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_applyRules__P4264.info = {"start":11733,"length":623,"line":277,"column":8,"endLine":289,"endColumn":9,"fileName":"vm.ts","functionName":"applyRules","argumentNames":["this","phase","ts"]} +tileworld_TileWorldVM_applyRules__P7675.info = {"start":11766,"length":623,"line":278,"column":8,"endLine":290,"endColumn":9,"fileName":"vm.ts","functionName":"applyRules","argumentNames":["this","phase","ts"]} -function tileworld_TileWorldVM_applyRules__P4264_mk(s) { +function tileworld_TileWorldVM_applyRules__P7675_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_applyRules__P4264, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_applyRules__P7675, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ruleClosures___19459: undefined, + ruleClosures___8190: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -50118,7 +50131,7 @@ function tileworld_TileWorldVM_applyRules__P4264_mk(s) { -function inline__P19465(s) { +function inline__P8196(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50128,16 +50141,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.closure___19497 = undefined; + s.closure___8227 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = tileworld_TileWorldVM_ruleMatchesSprite__P4261_mk(s); + s.tmp_1 = tileworld_TileWorldVM_ruleMatchesSprite__P7672_mk(s); s.tmp_1.arg0 = s.caps[0]; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.caps[1]; - s.callLocIdx = 332; s.pc = 13; return s.tmp_1; + s.callLocIdx = 333; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; s.tmp_0 = r0; @@ -50153,12 +50166,12 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - s.tmp_3 = tileworld_TileWorldVM_ruleMatchesDirection__P4263_mk(s); + s.tmp_3 = tileworld_TileWorldVM_ruleMatchesDirection__P7674_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 = 333; s.pc = 14; return s.tmp_3; + s.callLocIdx = 334; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; case 3: @@ -50178,9 +50191,9 @@ switch (step) { case 5: r0 = s.caps[0].fields["dpad"]; s.tmp_7 = r0; - s.tmp_9 = tileworld_RuleView_getRuleArg__P3893_mk(s); + s.tmp_9 = tileworld_RuleView_getRuleArg__P4985_mk(s); s.tmp_9.arg0 = s.arg0; - s.callLocIdx = 334; s.pc = 15; return s.tmp_9; + s.callLocIdx = 335; s.pc = 15; return s.tmp_9; case 15: r0 = s.retval; s.tmp_8 = r0; @@ -50200,17 +50213,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__P4271_mk(s); + s.tmp_13 = tileworld_TileWorldVM_evaluateRule__P7682_mk(s); s.tmp_13.arg0 = s.caps[0]; s.tmp_13.arg1 = s.caps[1]; s.tmp_13.arg2 = s.arg0; - s.callLocIdx = 335; s.pc = 16; return s.tmp_13; + s.callLocIdx = 336; s.pc = 16; return s.tmp_13; case 16: r0 = s.retval; - s.closure___19497 = (r0); - r0 = pxsim_numops_toBoolDecr(s.closure___19497); + s.closure___8227 = (r0); + r0 = pxsim_numops_toBoolDecr(s.closure___8227); if (!r0) { step = 9; continue; } - r0 = pxsim_Array__push(s.caps[3], s.closure___19497); + r0 = pxsim_Array__push(s.caps[3], s.closure___8227); case 9: case 10: case 11: @@ -50219,12 +50232,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P19465.info = {"start":11879,"length":432,"line":279,"column":42,"endLine":287,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rv"]} +inline__P8196.info = {"start":11912,"length":432,"line":280,"column":42,"endLine":288,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rv"]} -function inline__P19465_mk(s) { +function inline__P8196_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P19465, depth: s.depth + 1, + parent: s, fn: inline__P8196, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50240,7 +50253,7 @@ function inline__P19465_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - closure___19497: undefined, + closure___8227: undefined, arg0: undefined, } } @@ -50248,7 +50261,7 @@ function inline__P19465_mk(s) { -function tileworld_TileWorldVM_evaluateRule__P4271(s) { +function tileworld_TileWorldVM_evaluateRule__P7682(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50258,9 +50271,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.witnesses___19510 = undefined; - s.col___19512 = undefined; - s.row___19516 = undefined; + s.witnesses___8763 = undefined; + s.col___8765 = undefined; + s.row___8769 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -50268,29 +50281,29 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C4254_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C7665_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.witnesses___19510 = (r0); - s.col___19512 = (1); + s.witnesses___8763 = (r0); + s.col___8765 = (1); case 1: - r0 = (s.col___19512 <= 3); + r0 = (s.col___8765 <= 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___19516 = (1); + s.row___8769 = (1); case 2: - r0 = (s.row___19516 <= 3); + r0 = (s.row___8769 <= 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = tileworld_TileWorldVM_evaluateWhenDo__P4274_mk(s); + s.tmp_4 = tileworld_TileWorldVM_evaluateWhenDo__P7685_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___19512; - s.tmp_4.arg4 = s.row___19516; - s.tmp_4.arg5 = s.witnesses___19510; - s.callLocIdx = 405; s.pc = 8; return s.tmp_4; + s.tmp_4.arg3 = s.col___8765; + s.tmp_4.arg4 = s.row___8769; + s.tmp_4.arg5 = s.witnesses___8763; + s.callLocIdx = 408; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; s.tmp_3 = r0; @@ -50304,22 +50317,22 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___19516 + 1); - s.row___19516 = (r0); + r0 = (s.row___8769 + 1); + s.row___8769 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___19512 + 1); - s.col___19512 = (r0); + r0 = (s.col___8765 + 1); + s.col___8765 = (r0); { step = 1; continue; } case 6: - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleClosure__C4252_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleClosure__C7659_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_RuleClosure_constructor__P4253_mk(s); + s.tmp_1 = tileworld_RuleClosure_constructor__P7660_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___19510; - s.callLocIdx = 406; s.pc = 9; return s.tmp_1; + s.tmp_1.arg3 = s.witnesses___8763; + s.callLocIdx = 409; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; r0 = s.tmp_0; @@ -50327,21 +50340,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_evaluateRule__P4271.info = {"start":19587,"length":726,"line":446,"column":8,"endLine":461,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateRule","argumentNames":["this","ts","rv"]} +tileworld_TileWorldVM_evaluateRule__P7682.info = {"start":19706,"length":726,"line":449,"column":8,"endLine":464,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateRule","argumentNames":["this","ts","rv"]} -function tileworld_TileWorldVM_evaluateRule__P4271_mk(s) { +function tileworld_TileWorldVM_evaluateRule__P7682_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_evaluateRule__P4271, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_evaluateRule__P7682, depth: s.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___19510: undefined, - col___19512: undefined, - row___19516: undefined, + witnesses___8763: undefined, + col___8765: undefined, + row___8769: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -50351,7 +50364,7 @@ function tileworld_TileWorldVM_evaluateRule__P4271_mk(s) { -function tileworld_TileWorldVM_evaluateWhenDo__P4274(s) { +function tileworld_TileWorldVM_evaluateWhenDo__P7685(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50361,23 +50374,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.whendo___19544 = undefined; - s.wcol___19557 = undefined; - s.wrow___19565 = undefined; - s.hasInclude___19578 = undefined; - s.includePassed___19579 = undefined; - s.includeWitness___19580 = undefined; - s.hasInclude2___19582 = undefined; - s.include2Passed___19583 = undefined; - s.tm___19584 = undefined; - s.kind___19588 = undefined; - s.hasKind___19595 = undefined; - s.attr___19603 = undefined; - s.adjacent___19627 = undefined; - s.kind___19633 = undefined; - s.attr___19640 = undefined; - s.witness___19645 = undefined; - s.ret___19675 = undefined; + s.whendo___8849 = undefined; + s.wcol___8862 = undefined; + s.wrow___8870 = undefined; + s.hasInclude___8883 = undefined; + s.includePassed___8884 = undefined; + s.includeWitness___8885 = undefined; + s.hasInclude2___8887 = undefined; + s.include2Passed___8888 = undefined; + s.tm___8889 = undefined; + s.kind___8893 = undefined; + s.hasKind___8900 = undefined; + s.attr___8908 = undefined; + s.adjacent___8932 = undefined; + s.kind___8938 = undefined; + s.attr___8945 = undefined; + s.witness___8950 = undefined; + s.ret___8980 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -50388,26 +50401,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C4254_VT)) failedCast(r0); - s.tmp_0 = tileworld_RuleView_getWhenDo__P3897_mk(s); + if (!checkSubtype(r0, tileworld_TileWorldVM__C7665_VT)) failedCast(r0); + s.tmp_0 = tileworld_RuleView_getWhenDo__P4608_mk(s); s.tmp_0.arg0 = s.arg2; s.tmp_0.arg1 = s.arg3; s.tmp_0.arg2 = s.arg4; - s.callLocIdx = 410; s.pc = 52; return s.tmp_0; + s.callLocIdx = 413; s.pc = 52; return s.tmp_0; case 52: r0 = s.retval; - s.whendo___19544 = (r0); - r0 = (s.whendo___19544 == -1); + s.whendo___8849 = (r0); + r0 = (s.whendo___8849 == -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__P3918_mk(s); + s.tmp_1 = tileworld_RuleView_whendoTrue__P5007_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.whendo___19544; - s.callLocIdx = 411; s.pc = 53; return s.tmp_1; + s.tmp_1.arg1 = s.whendo___8849; + s.callLocIdx = 414; s.pc = 53; return s.tmp_1; case 53: r0 = s.retval; case 2: @@ -50419,31 +50432,31 @@ switch (step) { { step = 51; continue; } case 3: case 4: - s.tmp_4 = tileworld_TileSprite_col__P4242_mk(s); + s.tmp_4 = tileworld_TileSprite_col__P7461_mk(s); s.tmp_4.arg0 = s.arg1; - s.callLocIdx = 412; s.pc = 54; return s.tmp_4; + s.callLocIdx = 415; 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___19557 = (r0); - s.tmp_1 = tileworld_TileSprite_row__P4243_mk(s); + s.wcol___8862 = (r0); + s.tmp_1 = tileworld_TileSprite_row__P7462_mk(s); s.tmp_1.arg0 = s.arg1; - s.callLocIdx = 413; s.pc = 55; return s.tmp_1; + s.callLocIdx = 416; 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___19565 = (r0); - s.tmp_3 = tileworld_TileWorldVM_inBounds__P4273_mk(s); + s.wrow___8870 = (r0); + s.tmp_3 = tileworld_TileWorldVM_inBounds__P7684_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.wcol___19557; - s.tmp_3.arg2 = s.wrow___19565; - s.callLocIdx = 414; s.pc = 56; return s.tmp_3; + s.tmp_3.arg1 = s.wcol___8862; + s.tmp_3.arg2 = s.wrow___8870; + s.callLocIdx = 417; s.pc = 56; return s.tmp_3; case 56: r0 = s.retval; s.tmp_2 = r0; @@ -50457,20 +50470,20 @@ switch (step) { { step = 51; continue; } case 5: case 6: - s.hasInclude___19578 = (false); - s.includePassed___19579 = (false); - s.includeWitness___19580 = (null); - s.hasInclude2___19582 = (false); - s.include2Passed___19583 = (false); + s.hasInclude___8883 = (false); + s.includePassed___8884 = (false); + s.includeWitness___8885 = (null); + s.hasInclude2___8887 = (false); + s.include2Passed___8888 = (false); s.tmp_0 = game_currentScene__P961_mk(s); - s.callLocIdx = 415; s.pc = 57; return s.tmp_0; + s.callLocIdx = 418; s.pc = 57; return s.tmp_0; case 57: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___19584 = (r0); - s.kind___19588 = (0); + s.tm___8889 = (r0); + s.kind___8893 = (0); case 7: - s.tmp_1 = r0 = s.kind___19588; + s.tmp_1 = r0 = s.kind___8893; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_backgroundsI"]; @@ -50482,34 +50495,34 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } s.tmp_6 = tiles_TileMap__C1086_v8_3_mk(s); - s.tmp_6.arg0 = s.tm___19584; - s.tmp_6.arg1 = s.wcol___19557; - s.tmp_6.arg2 = s.wrow___19565; + s.tmp_6.arg0 = s.tm___8889; + s.tmp_6.arg1 = s.wcol___8862; + s.tmp_6.arg2 = s.wrow___8870; if (!checkSubtype(s.tmp_6.arg0, tiles_TileMap__C1086_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___19588); - s.hasKind___19595 = (r0); - s.tmp_0 = tileworld_RuleView_getSetBgAttr__P3902_mk(s); + r0 = (s.tmp_5 == s.kind___8893); + s.hasKind___8900 = (r0); + s.tmp_0 = tileworld_RuleView_getSetBgAttr__P4993_mk(s); s.tmp_0.arg0 = s.arg2; - s.tmp_0.arg1 = s.whendo___19544; - s.tmp_0.arg2 = s.kind___19588; + s.tmp_0.arg1 = s.whendo___8849; + s.tmp_0.arg2 = s.kind___8893; s.tmp_0.arg3 = 65535; - s.callLocIdx = 417; s.pc = 59; return s.tmp_0; + s.callLocIdx = 420; s.pc = 59; return s.tmp_0; case 59: r0 = s.retval; - s.attr___19603 = (r0); - r0 = (s.attr___19603 == 3); + s.attr___8908 = (r0); + r0 = (s.attr___8908 == 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___19595; + r0 = s.hasKind___8900; case 9: // jmp value (already in r0) s.tmp_1 = r0; @@ -50519,49 +50532,49 @@ switch (step) { { step = 51; continue; } { step = 19; continue; } case 10: - r0 = (s.attr___19603 == 1); + r0 = (s.attr___8908 == 1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 13; continue; } - s.hasInclude___19578 = (true); - r0 = pxsim_numops_toBoolDecr(s.hasKind___19595); + s.hasInclude___8883 = (true); + r0 = pxsim_numops_toBoolDecr(s.hasKind___8900); if (!r0) { step = 11; continue; } - s.includePassed___19579 = (true); + s.includePassed___8884 = (true); case 11: case 12: { step = 18; continue; } case 13: - r0 = (s.attr___19603 == 2); + r0 = (s.attr___8908 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - s.hasInclude2___19582 = (true); - r0 = pxsim_numops_toBoolDecr(s.hasKind___19595); + s.hasInclude2___8887 = (true); + r0 = pxsim_numops_toBoolDecr(s.hasKind___8900); if (!r0) { step = 14; continue; } - s.include2Passed___19583 = (true); + s.include2Passed___8888 = (true); case 14: case 15: case 16: case 17: case 18: case 19: - r0 = (s.kind___19588 + 1); - s.kind___19588 = (r0); + r0 = (s.kind___8893 + 1); + s.kind___8893 = (r0); { step = 7; continue; } case 20: - s.tmp_1 = tileworld_TileWorldVM_manhattan__P4275_mk(s); + s.tmp_1 = tileworld_TileWorldVM_manhattan__P7686_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg3; s.tmp_1.arg2 = s.arg4; - s.callLocIdx = 418; s.pc = 60; return s.tmp_1; + s.callLocIdx = 421; s.pc = 60; return s.tmp_1; case 60: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 <= 1); - s.adjacent___19627 = (r0); - s.kind___19633 = (0); + s.adjacent___8932 = (r0); + s.kind___8938 = (0); case 21: - s.tmp_1 = r0 = s.kind___19633; + s.tmp_1 = r0 = s.kind___8938; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_spritesI"]; @@ -50572,32 +50585,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__P3903_mk(s); + s.tmp_5 = tileworld_RuleView_getSetSpAttr__P4994_mk(s); s.tmp_5.arg0 = s.arg2; - s.tmp_5.arg1 = s.whendo___19544; - s.tmp_5.arg2 = s.kind___19633; + s.tmp_5.arg1 = s.whendo___8849; + s.tmp_5.arg2 = s.kind___8938; s.tmp_5.arg3 = 65535; - s.callLocIdx = 420; s.pc = 61; return s.tmp_5; + s.callLocIdx = 423; s.pc = 61; return s.tmp_5; case 61: r0 = s.retval; - s.attr___19640 = (r0); - s.tmp_0 = tileworld_TileWorldVM_getWitness__P4272_mk(s); + s.attr___8945 = (r0); + s.tmp_0 = tileworld_TileWorldVM_getWitness__P7683_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.kind___19633; - s.tmp_0.arg2 = s.wcol___19557; - s.tmp_0.arg3 = s.wrow___19565; - s.callLocIdx = 421; s.pc = 62; return s.tmp_0; + s.tmp_0.arg1 = s.kind___8938; + s.tmp_0.arg2 = s.wcol___8862; + s.tmp_0.arg3 = s.wrow___8870; + s.callLocIdx = 424; s.pc = 62; return s.tmp_0; case 62: r0 = s.retval; - s.witness___19645 = (r0); - r0 = (s.attr___19640 == 3); + s.witness___8950 = (r0); + r0 = (s.attr___8945 == 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___19645; + r0 = s.witness___8950; case 23: // jmp value (already in r0) s.tmp_1 = r0; @@ -50607,21 +50620,21 @@ switch (step) { { step = 51; continue; } { step = 37; continue; } case 24: - r0 = (s.attr___19640 == 1); + r0 = (s.attr___8945 == 1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 31; continue; } - s.hasInclude___19578 = (true); - r0 = pxsim_numops_toBoolDecr(s.witness___19645); + s.hasInclude___8883 = (true); + r0 = pxsim_numops_toBoolDecr(s.witness___8950); if (!r0) { step = 29; continue; } - s.includePassed___19579 = (true); - s.tmp_0 = r0 = s.adjacent___19627; + s.includePassed___8884 = (true); + s.tmp_0 = r0 = s.adjacent___8932; 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___19580); + r0 = pxsim_numops_toBoolDecr(s.includeWitness___8885); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); case 26: @@ -50629,32 +50642,32 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 27; continue; } - s.includeWitness___19580 = (s.witness___19645); + s.includeWitness___8885 = (s.witness___8950); case 27: case 28: case 29: case 30: { step = 36; continue; } case 31: - r0 = (s.attr___19640 == 2); + r0 = (s.attr___8945 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 34; continue; } - s.hasInclude2___19582 = (true); - r0 = pxsim_numops_toBoolDecr(s.witness___19645); + s.hasInclude2___8887 = (true); + r0 = pxsim_numops_toBoolDecr(s.witness___8950); if (!r0) { step = 32; continue; } - s.include2Passed___19583 = (true); + s.include2Passed___8888 = (true); case 32: case 33: case 34: case 35: case 36: case 37: - r0 = (s.kind___19633 + 1); - s.kind___19633 = (r0); + r0 = (s.kind___8938 + 1); + s.kind___8938 = (r0); { step = 21; continue; } case 38: - r0 = pxsim_numops_toBoolDecr(s.hasInclude___19578); + r0 = pxsim_numops_toBoolDecr(s.hasInclude___8883); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -50663,35 +50676,35 @@ switch (step) { r0 = s.tmp_0; { step = 40; continue; } case 39: - r0 = s.includePassed___19579; + r0 = s.includePassed___8884; case 40: // jmp value (already in r0) s.tmp_2 = r0; - s.ret___19675 = (s.tmp_2); - s.tmp_0 = r0 = s.ret___19675; + s.ret___8980 = (s.tmp_2); + s.tmp_0 = r0 = s.ret___8980; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 41; continue; } r0 = s.tmp_0; { step = 42; continue; } case 41: - r0 = s.includeWitness___19580; + r0 = s.includeWitness___8885; 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__P4262_mk(s); + s.tmp_5 = tileworld_TileWorldVM_exprMatchesDirection__P7673_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_6 = tileworld_RuleView_getWitnessDirection__P3908_mk(s); + s.tmp_6 = tileworld_RuleView_getWitnessDirection__P4998_mk(s); s.tmp_6.arg0 = s.arg2; - s.tmp_6.arg1 = s.whendo___19544; - s.callLocIdx = 422; s.pc = 64; return s.tmp_6; + s.tmp_6.arg1 = s.whendo___8849; + s.callLocIdx = 425; s.pc = 64; return s.tmp_6; case 64: r0 = s.retval; s.tmp_5.arg1 = r0; - r0 = s.includeWitness___19580.fields["dir"]; + r0 = s.includeWitness___8885.fields["dir"]; s.tmp_5.arg2 = r0; - s.callLocIdx = 423; s.pc = 63; return s.tmp_5; + s.callLocIdx = 426; s.pc = 63; return s.tmp_5; case 63: r0 = s.retval; s.tmp_4 = r0; @@ -50705,16 +50718,16 @@ switch (step) { { step = 51; continue; } case 43: case 44: - r0 = pxsim_Array__push(s.arg5, s.includeWitness___19580); + r0 = pxsim_Array__push(s.arg5, s.includeWitness___8885); case 45: case 46: - s.tmp_0 = r0 = s.ret___19675; + s.tmp_0 = r0 = s.ret___8980; 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___19582); + r0 = pxsim_numops_toBoolDecr(s.hasInclude2___8887); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -50723,7 +50736,7 @@ switch (step) { r0 = s.tmp_1; { step = 49; continue; } case 48: - r0 = s.include2Passed___19583; + r0 = s.include2Passed___8888; case 49: // jmp value (already in r0) s.tmp_3 = r0; @@ -50736,12 +50749,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_evaluateWhenDo__P4274.info = {"start":20772,"length":3062,"line":474,"column":8,"endLine":539,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateWhenDo","argumentNames":["this","ts","rv","col","row","witnesses"]} +tileworld_TileWorldVM_evaluateWhenDo__P7685.info = {"start":20891,"length":3062,"line":477,"column":8,"endLine":542,"endColumn":9,"fileName":"vm.ts","functionName":"evaluateWhenDo","argumentNames":["this","ts","rv","col","row","witnesses"]} -function tileworld_TileWorldVM_evaluateWhenDo__P4274_mk(s) { +function tileworld_TileWorldVM_evaluateWhenDo__P7685_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_evaluateWhenDo__P4274, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_evaluateWhenDo__P7685, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50750,23 +50763,23 @@ function tileworld_TileWorldVM_evaluateWhenDo__P4274_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - whendo___19544: undefined, - wcol___19557: undefined, - wrow___19565: undefined, - hasInclude___19578: undefined, - includePassed___19579: undefined, - includeWitness___19580: undefined, - hasInclude2___19582: undefined, - include2Passed___19583: undefined, - tm___19584: undefined, - kind___19588: undefined, - hasKind___19595: undefined, - attr___19603: undefined, - adjacent___19627: undefined, - kind___19633: undefined, - attr___19640: undefined, - witness___19645: undefined, - ret___19675: undefined, + whendo___8849: undefined, + wcol___8862: undefined, + wrow___8870: undefined, + hasInclude___8883: undefined, + includePassed___8884: undefined, + includeWitness___8885: undefined, + hasInclude2___8887: undefined, + include2Passed___8888: undefined, + tm___8889: undefined, + kind___8893: undefined, + hasKind___8900: undefined, + attr___8908: undefined, + adjacent___8932: undefined, + kind___8938: undefined, + attr___8945: undefined, + witness___8950: undefined, + ret___8980: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -50779,7 +50792,7 @@ function tileworld_TileWorldVM_evaluateWhenDo__P4274_mk(s) { -function tileworld_TileWorldVM_getWitness__P4272(s) { +function tileworld_TileWorldVM_getWitness__P7683(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50797,7 +50810,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C4254_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C7665_VT)) failedCast(r0); r0 = s.arg0.fields["vm"]; r0 = r0.fields["sprites"]; s.tmp_1 = r0; @@ -50808,7 +50821,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_pxtcore_mkAction(2, inline__P19716); + r0 = pxsim_pxtcore_mkAction(2, inline__P8806); s.tmp_2 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.arg2); r0 = pxsim_pxtrt_stclo(s.tmp_2, 1, s.arg3); @@ -50819,7 +50832,7 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_4, s.arg1); s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_2; - s.callLocIdx = 409; s.pc = 3; return s.tmp_3; + s.callLocIdx = 412; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; case 2: @@ -50829,12 +50842,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_getWitness__P4272.info = {"start":20323,"length":204,"line":463,"column":8,"endLine":466,"endColumn":9,"fileName":"vm.ts","functionName":"getWitness","argumentNames":["this","kind","col","row"]} +tileworld_TileWorldVM_getWitness__P7683.info = {"start":20442,"length":204,"line":466,"column":8,"endLine":469,"endColumn":9,"fileName":"vm.ts","functionName":"getWitness","argumentNames":["this","kind","col","row"]} -function tileworld_TileWorldVM_getWitness__P4272_mk(s) { +function tileworld_TileWorldVM_getWitness__P7683_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_getWitness__P4272, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_getWitness__P7683, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50852,7 +50865,7 @@ function tileworld_TileWorldVM_getWitness__P4272_mk(s) { -function inline__P19716(s) { +function inline__P8806(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50866,9 +50879,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_2 = tileworld_TileSprite_col__P4242_mk(s); + s.tmp_2 = tileworld_TileSprite_col__P7461_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 407; s.pc = 3; return s.tmp_2; + s.callLocIdx = 410; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1 = r0; @@ -50879,9 +50892,9 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_TileSprite_row__P4243_mk(s); + s.tmp_4 = tileworld_TileSprite_row__P7462_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 408; s.pc = 4; return s.tmp_4; + s.callLocIdx = 411; s.pc = 4; return s.tmp_4; case 4: r0 = s.retval; s.tmp_3 = r0; @@ -50893,12 +50906,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P19716.info = {"start":20475,"length":40,"line":465,"column":46,"endLine":465,"endColumn":86,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P8806.info = {"start":20594,"length":40,"line":468,"column":46,"endLine":468,"endColumn":86,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P19716_mk(s) { +function inline__P8806_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P19716, depth: s.depth + 1, + parent: s, fn: inline__P8806, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50913,7 +50926,7 @@ function inline__P19716_mk(s) { -function tileworld_TileWorldVM_manhattan__P4275(s) { +function tileworld_TileWorldVM_manhattan__P7686(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50930,18 +50943,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C4254_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C7665_VT)) failedCast(r0); s.tmp_1 = Math_abs__P76_mk(s); r0 = (2 - s.arg1); s.tmp_1.arg0 = r0; - s.callLocIdx = 424; s.pc = 1; return s.tmp_1; + s.callLocIdx = 427; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; s.tmp_3 = Math_abs__P76_mk(s); r0 = (2 - s.arg2); s.tmp_3.arg0 = r0; - s.callLocIdx = 425; s.pc = 2; return s.tmp_3; + s.callLocIdx = 428; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; @@ -50949,12 +50962,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_manhattan__P4275.info = {"start":23844,"length":113,"line":541,"column":8,"endLine":543,"endColumn":9,"fileName":"vm.ts","functionName":"manhattan","argumentNames":["this","col","row"]} +tileworld_TileWorldVM_manhattan__P7686.info = {"start":23963,"length":113,"line":544,"column":8,"endLine":546,"endColumn":9,"fileName":"vm.ts","functionName":"manhattan","argumentNames":["this","col","row"]} -function tileworld_TileWorldVM_manhattan__P4275_mk(s) { +function tileworld_TileWorldVM_manhattan__P7686_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_manhattan__P4275, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_manhattan__P7686, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50969,7 +50982,7 @@ function tileworld_TileWorldVM_manhattan__P4275_mk(s) { -function tileworld_RuleClosure_constructor__P4253(s) { +function tileworld_RuleClosure_constructor__P7660(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50987,7 +51000,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleClosure__C4252_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleClosure__C7659_VT)) failedCast(r0); r0 = (s.arg0).fields["rv"] = (s.arg1); r0 = (s.arg0).fields["self"] = (s.arg2); r0 = (s.arg0).fields["witnesses"] = (s.arg3); @@ -50995,12 +51008,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleClosure_constructor__P4253.info = {"start":4415,"length":147,"line":96,"column":8,"endLine":101,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","rv","self","witnesses"]} +tileworld_RuleClosure_constructor__P7660.info = {"start":4448,"length":147,"line":97,"column":8,"endLine":102,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","rv","self","witnesses"]} -function tileworld_RuleClosure_constructor__P4253_mk(s) { +function tileworld_RuleClosure_constructor__P7660_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleClosure_constructor__P4253, depth: s.depth + 1, + parent: s, fn: tileworld_RuleClosure_constructor__P7660, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -51012,7 +51025,7 @@ function tileworld_RuleClosure_constructor__P4253_mk(s) { -function tileworld_TileWorldVM_startRound__P4256(s) { +function tileworld_TileWorldVM_startRound__P7667(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51028,7 +51041,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C4254_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C7665_VT)) failedCast(r0); r0 = s.arg0.fields["vm"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -51093,13 +51106,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__P19797); + r0 = pxsim_pxtcore_mkAction(1, inline__P7808); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = tileworld_TileWorldVM_allSprites__P4259_mk(s); + s.tmp_1 = tileworld_TileWorldVM_allSprites__P7670_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 306; s.pc = 4; return s.tmp_1; + s.callLocIdx = 307; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; case 3: @@ -51107,12 +51120,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_startRound__P4256.info = {"start":5614,"length":955,"line":133,"column":8,"endLine":156,"endColumn":9,"fileName":"vm.ts","functionName":"startRound","argumentNames":["this","currDir"]} +tileworld_TileWorldVM_startRound__P7667.info = {"start":5647,"length":955,"line":134,"column":8,"endLine":157,"endColumn":9,"fileName":"vm.ts","functionName":"startRound","argumentNames":["this","currDir"]} -function tileworld_TileWorldVM_startRound__P4256_mk(s) { +function tileworld_TileWorldVM_startRound__P7667_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_startRound__P4256, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_startRound__P7667, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51125,7 +51138,7 @@ function tileworld_TileWorldVM_startRound__P4256_mk(s) { -function inline__P19797(s) { +function inline__P7808(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51143,7 +51156,7 @@ switch (step) { s.tmp_0.arg0 = s.arg0; s.tmp_4 = Sprite_x__P770_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 302; s.pc = 2; return s.tmp_4; + s.callLocIdx = 303; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; @@ -51153,14 +51166,14 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 8); s.tmp_0.arg1 = r0; - s.callLocIdx = 303; s.pc = 1; return s.tmp_0; + s.callLocIdx = 304; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = Sprite_y__P773_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_4 = Sprite_y__P772_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 304; s.pc = 4; return s.tmp_4; + s.callLocIdx = 305; s.pc = 4; return s.tmp_4; case 4: r0 = s.retval; s.tmp_3 = r0; @@ -51170,7 +51183,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 8); s.tmp_0.arg1 = r0; - s.callLocIdx = 305; s.pc = 3; return s.tmp_0; + s.callLocIdx = 306; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = (s.arg0).fields["inst"] = (-1); @@ -51183,12 +51196,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P19797.info = {"start":6228,"length":329,"line":149,"column":28,"endLine":155,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} +inline__P7808.info = {"start":6261,"length":329,"line":150,"column":28,"endLine":156,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["ts"]} -function inline__P19797_mk(s) { +function inline__P7808_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P19797, depth: s.depth + 1, + parent: s, fn: inline__P7808, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51202,7 +51215,7 @@ function inline__P19797_mk(s) { -function tileworld_TileWorldVM_setState__P4255(s) { +function tileworld_TileWorldVM_setState__P7666(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51218,18 +51231,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C4254_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C7665_VT)) failedCast(r0); r0 = (s.arg0).fields["vm"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_setState__P4255.info = {"start":5540,"length":64,"line":129,"column":8,"endLine":131,"endColumn":9,"fileName":"vm.ts","functionName":"setState","argumentNames":["this","v"]} +tileworld_TileWorldVM_setState__P7666.info = {"start":5573,"length":64,"line":130,"column":8,"endLine":132,"endColumn":9,"fileName":"vm.ts","functionName":"setState","argumentNames":["this","v"]} -function tileworld_TileWorldVM_setState__P4255_mk(s) { +function tileworld_TileWorldVM_setState__P7666_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_setState__P4255, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_setState__P7666, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -51249,17 +51262,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___19837 = undefined; + s.scene___24467 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } s.tmp_0 = game_currentScene__P961_mk(s); - s.callLocIdx = 842; s.pc = 1; return s.tmp_0; + s.callLocIdx = 844; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___19837 = (r0); - r0 = s.scene___19837.fields["camera"]; + s.scene___24467 = (r0); + r0 = s.scene___24467.fields["camera"]; s.tmp_0 = r0; r0 = (s.tmp_0).fields["sprite"] = (s.arg0); r0 = undefined; @@ -51274,7 +51287,7 @@ function scene_cameraFollowSprite__P1213_mk(s) { parent: s, fn: scene_cameraFollowSprite__P1213, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___19837: undefined, + scene___24467: undefined, arg0: undefined, } } @@ -51282,7 +51295,7 @@ function scene_cameraFollowSprite__P1213_mk(s) { -function tileworld_Project_getPlayer__P3941(s) { +function tileworld_Project_getPlayer__P6114(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51297,17 +51310,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C3937_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); r0 = s.arg0.fields["_player"]; return leave(s, r0) default: oops() } } } -tileworld_Project_getPlayer__P3941.info = {"start":2574,"length":63,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"project.ts","functionName":"getPlayer","argumentNames":["this"]} +tileworld_Project_getPlayer__P6114.info = {"start":2574,"length":63,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"project.ts","functionName":"getPlayer","argumentNames":["this"]} -function tileworld_Project_getPlayer__P3941_mk(s) { +function tileworld_Project_getPlayer__P6114_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getPlayer__P3941, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getPlayer__P6114, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -51316,7 +51329,7 @@ function tileworld_Project_getPlayer__P3941_mk(s) { -function tileworld_TileSprite_constructor__P4247(s) { +function tileworld_TileSprite_constructor__P7466(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51326,7 +51339,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___19854 = undefined; + s.scene___7473 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -51335,7 +51348,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileSprite__C4240_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileSprite__C7459_VT)) failedCast(r0); s.tmp_0 = Sprite_constructor__P825_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; @@ -51346,9 +51359,9 @@ switch (step) { s.callLocIdx = 285; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.scene___19854 = (r0); + s.scene___7473 = (r0); s.tmp_0 = PhysicsEngine__C880_v0_2_mk(s); - r0 = s.scene___19854.fields["physicsEngine"]; + r0 = s.scene___7473.fields["physicsEngine"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C880_VT)) failedCast(s.tmp_0.arg0); @@ -51367,19 +51380,33 @@ switch (step) { r0 = (s.arg0).fields["lastDir"] = (4); r0 = (s.arg0).fields["inst"] = (-1); r0 = (s.arg0).fields["state"] = (0); + s.tmp_0 = if_z_2_mk(s); + s.tmp_0.arg0 = s.arg0; + r0 = (100 - 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); + } else { + s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["set/z"]; + if (s.tmp_0.fn === null) { s.tmp_0.arg0.fields["z"] = s.tmp_0.arg1; } + else if (s.tmp_0.fn === undefined) { failedCast(s.tmp_0.arg0) } + else { s.callLocIdx = 287; s.pc = 5; return s.tmp_0; } + } + case 5: + r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_TileSprite_constructor__P4247.info = {"start":648,"length":389,"line":14,"column":8,"endLine":24,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","img","kind","d"]} +tileworld_TileSprite_constructor__P7466.info = {"start":648,"length":422,"line":14,"column":8,"endLine":25,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","img","kind","d"]} -function tileworld_TileSprite_constructor__P4247_mk(s) { +function tileworld_TileSprite_constructor__P7466_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileSprite_constructor__P4247, depth: s.depth + 1, + parent: s, fn: tileworld_TileSprite_constructor__P7466, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___19854: undefined, + scene___7473: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -51390,7 +51417,7 @@ function tileworld_TileSprite_constructor__P4247_mk(s) { -function tileworld_Project_getWorldSprites__P3945(s) { +function tileworld_Project_getWorldSprites__P6118(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51405,17 +51432,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C3937_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; return leave(s, r0) default: oops() } } } -tileworld_Project_getWorldSprites__P3945.info = {"start":3049,"length":70,"line":91,"column":8,"endLine":93,"endColumn":9,"fileName":"project.ts","functionName":"getWorldSprites","argumentNames":["this"]} +tileworld_Project_getWorldSprites__P6118.info = {"start":3049,"length":70,"line":91,"column":8,"endLine":93,"endColumn":9,"fileName":"project.ts","functionName":"getWorldSprites","argumentNames":["this"]} -function tileworld_Project_getWorldSprites__P3945_mk(s) { +function tileworld_Project_getWorldSprites__P6118_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getWorldSprites__P3945, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getWorldSprites__P6118, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -51424,7 +51451,7 @@ function tileworld_Project_getWorldSprites__P3945_mk(s) { -function tileworld_RunGame_setWorld__P4283(s) { +function tileworld_RunGame_setWorld__P9495(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51434,13 +51461,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currScene___19910 = undefined; - s.kind___19948 = undefined; - s.x___19963 = undefined; - s.y___19969 = undefined; - s.kind___19975 = undefined; - s.art___19983 = undefined; - s.ts___19988 = undefined; + s.currScene___9545 = undefined; + s.kind___9615 = undefined; + s.x___9630 = undefined; + s.y___9636 = undefined; + s.kind___9642 = undefined; + s.art___9650 = undefined; + s.ts___9655 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -51448,13 +51475,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RunGame__C4279_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RunGame__C9491_VT)) failedCast(r0); r0 = (s.arg0).fields["signal"] = (null); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_VMState__C4250_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_VMState__C7652_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_VMState_constructor__P4251_mk(s); + s.tmp_1 = tileworld_VMState_constructor__P7653_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 459; s.pc = 12; return s.tmp_1; + s.callLocIdx = 462; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; r0 = (s.arg0).fields["state"] = (s.tmp_0); @@ -51476,11 +51503,11 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["sprites"] = (s.tmp_1); s.tmp_0 = game_currentScene__P961_mk(s); - s.callLocIdx = 460; s.pc = 13; return s.tmp_0; + s.callLocIdx = 463; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.currScene___19910 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(tiles_legacy_LegacyTilemap__C4600_VT); + s.currScene___9545 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(tiles_legacy_LegacyTilemap__C9551_VT); s.tmp_0 = r0; r0 = s.arg0.fields["debug"]; s.tmp_1 = r0; @@ -51493,19 +51520,19 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.tmp_3 = tiles_legacy_LegacyTilemap_constructor__P4629_mk(s); + s.tmp_3 = tiles_legacy_LegacyTilemap_constructor__P9581_mk(s); s.tmp_3.arg0 = s.tmp_0; s.tmp_3.arg1 = 4; s.tmp_3.arg2 = s.tmp_2; - s.callLocIdx = 461; s.pc = 14; return s.tmp_3; + s.callLocIdx = 464; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; - r0 = (s.currScene___19910).fields["tileMap"] = (s.tmp_0); - s.tmp_0 = scene_setTileMap__P4595_mk(s); + r0 = (s.currScene___9545).fields["tileMap"] = (s.tmp_0); + s.tmp_0 = scene_setTileMap__P9587_mk(s); r0 = pxsim_ImageMethods.clone(s.arg1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 462; s.pc = 15; return s.tmp_0; + s.callLocIdx = 465; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; r0 = s.arg0.fields["state"]; @@ -51522,13 +51549,13 @@ switch (step) { s.tmp_1 = r0; r0 = s.tmp_1.fields["_backgroundsI"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P19941; - s.callLocIdx = 465; s.pc = 16; return s.tmp_0; + s.tmp_0.arg1 = inline__P9607; + s.callLocIdx = 468; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.kind___19948 = (0); + s.kind___9615 = (0); case 3: - s.tmp_1 = r0 = s.kind___19948; + s.tmp_1 = r0 = s.kind___9615; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_spritesI"]; @@ -51542,104 +51569,104 @@ switch (step) { r0 = s.arg0.fields["state"]; r0 = r0.fields["sprites"]; s.tmp_5 = r0; - s.tmp_6 = r0 = s.kind___19948; + s.tmp_6 = r0 = s.kind___9615; r0 = pxsim_Array__mk(); s.tmp_7 = r0; r0 = pxsim_Array_.setAt(s.tmp_5, s.tmp_6, s.tmp_7); - r0 = (s.kind___19948 + 1); - s.kind___19948 = (r0); + r0 = (s.kind___9615 + 1); + s.kind___9615 = (r0); { step = 3; continue; } case 4: - s.x___19963 = (0); + s.x___9630 = (0); case 5: - s.tmp_1 = r0 = s.x___19963; + s.tmp_1 = r0 = s.x___9630; 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___19969 = (0); + s.y___9636 = (0); case 6: - s.tmp_1 = r0 = s.y___19969; + s.tmp_1 = r0 = s.y___9636; 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___19963, s.y___19969); - s.kind___19975 = (r0); - r0 = (s.kind___19975 == 15); + r0 = pxsim_ImageMethods.getPixel(s.arg2, s.x___9630, s.y___9636); + s.kind___9642 = (r0); + r0 = (s.kind___9642 == 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__P3952_mk(s); + s.tmp_1 = tileworld_Project_getSpriteImage__P6007_mk(s); r0 = s.arg0.fields["p"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.kind___19975; - s.callLocIdx = 467; s.pc = 17; return s.tmp_1; + s.tmp_1.arg1 = s.kind___9642; + s.callLocIdx = 470; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.art___19983 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_TileSprite__C4240_VT); + s.art___9650 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_TileSprite__C7459_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_TileSprite_constructor__P4247_mk(s); + s.tmp_1 = tileworld_TileSprite_constructor__P7466_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.art___19983; - s.tmp_1.arg2 = s.kind___19975; + s.tmp_1.arg1 = s.art___9650; + s.tmp_1.arg2 = s.kind___9642; r0 = s.arg0.fields["debug"]; s.tmp_1.arg3 = r0; - s.callLocIdx = 468; s.pc = 18; return s.tmp_1; + s.callLocIdx = 471; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - s.ts___19988 = (s.tmp_0); + s.ts___9655 = (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___19975); + r0 = pxsim_Array__getAt(s.tmp_1, s.kind___9642); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.ts___19988); + r0 = pxsim_Array__push(s.tmp_0, s.ts___9655); s.tmp_0 = Sprite_x__P771_mk(s); - s.tmp_0.arg0 = s.ts___19988; - r0 = (s.x___19963 << 4); + s.tmp_0.arg0 = s.ts___9655; + r0 = (s.x___9630 << 4); s.tmp_1 = r0; r0 = (s.tmp_1 + 8); s.tmp_0.arg1 = r0; - s.callLocIdx = 469; s.pc = 19; return s.tmp_0; + s.callLocIdx = 472; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; s.tmp_0 = Sprite_y__P773_mk(s); - s.tmp_0.arg0 = s.ts___19988; - r0 = (s.y___19969 << 4); + s.tmp_0.arg0 = s.ts___9655; + r0 = (s.y___9636 << 4); s.tmp_1 = r0; r0 = (s.tmp_1 + 8); s.tmp_0.arg1 = r0; - s.callLocIdx = 470; s.pc = 20; return s.tmp_0; + s.callLocIdx = 473; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; case 9: - r0 = (s.y___19969 + 1); - s.y___19969 = (r0); + r0 = (s.y___9636 + 1); + s.y___9636 = (r0); { step = 6; continue; } case 10: - r0 = (s.x___19963 + 1); - s.x___19963 = (r0); + r0 = (s.x___9630 + 1); + s.x___9630 = (r0); { step = 5; continue; } case 11: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RunGame_setWorld__P4283.info = {"start":31507,"length":1417,"line":703,"column":8,"endLine":735,"endColumn":9,"fileName":"vm.ts","functionName":"setWorld","argumentNames":["this","w","sprites"]} +tileworld_RunGame_setWorld__P9495.info = {"start":31626,"length":1417,"line":706,"column":8,"endLine":738,"endColumn":9,"fileName":"vm.ts","functionName":"setWorld","argumentNames":["this","w","sprites"]} -function tileworld_RunGame_setWorld__P4283_mk(s) { +function tileworld_RunGame_setWorld__P9495_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RunGame_setWorld__P4283, depth: s.depth + 1, + parent: s, fn: tileworld_RunGame_setWorld__P9495, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51649,13 +51676,13 @@ function tileworld_RunGame_setWorld__P4283_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - currScene___19910: undefined, - kind___19948: undefined, - x___19963: undefined, - y___19969: undefined, - kind___19975: undefined, - art___19983: undefined, - ts___19988: undefined, + currScene___9545: undefined, + kind___9615: undefined, + x___9630: undefined, + y___9636: undefined, + kind___9642: undefined, + art___9650: undefined, + ts___9655: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -51665,7 +51692,7 @@ function tileworld_RunGame_setWorld__P4283_mk(s) { -function inline__P19941(s) { +function inline__P9607(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51680,23 +51707,23 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = scene_setTile__P4596_mk(s); + s.tmp_0 = scene_setTile__P9611_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = undefined; - s.callLocIdx = 464; s.pc = 1; return s.tmp_0; + s.callLocIdx = 467; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P19941.info = {"start":32173,"length":71,"line":717,"column":46,"endLine":719,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["img","kind"]} +inline__P9607.info = {"start":32292,"length":71,"line":720,"column":46,"endLine":722,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["img","kind"]} -function inline__P19941_mk(s) { +function inline__P9607_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P19941, depth: s.depth + 1, + parent: s, fn: inline__P9607, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -51707,7 +51734,7 @@ function inline__P19941_mk(s) { -function scene_setTile__P4596(s) { +function scene_setTile__P9611(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51717,7 +51744,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___20023 = undefined; + s.scene___18335 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -51725,12 +51752,12 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = game_currentScene__P961_mk(s); - s.callLocIdx = 1695; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1698; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___20023 = (r0); - s.tmp_0 = tiles_legacy_LegacyTilemap_setTile__P4613_mk(s); - r0 = s.scene___20023.fields["tileMap"]; + s.scene___18335 = (r0); + s.tmp_0 = tiles_legacy_LegacyTilemap_setTile__P9565_mk(s); + r0 = s.scene___18335.fields["tileMap"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; @@ -51742,25 +51769,25 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0.arg3 = r0; - s.callLocIdx = 1696; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1699; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_setTile__P4596.info = {"start":249,"length":200,"line":8,"column":4,"endLine":11,"endColumn":5,"fileName":"mytilemap.ts","functionName":"setTile","argumentNames":["index","img","wall"]} +scene_setTile__P9611.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__P4596_mk(s) { +function scene_setTile__P9611_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_setTile__P4596, depth: s.depth + 1, + parent: s, fn: scene_setTile__P9611, depth: s.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___20023: undefined, + scene___18335: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -51770,7 +51797,7 @@ function scene_setTile__P4596_mk(s) { -function tiles_legacy_LegacyTilemap_setTile__P4613(s) { +function tiles_legacy_LegacyTilemap_setTile__P9565(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51788,11 +51815,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(r0); - s.tmp_1 = tiles_legacy_LegacyTilemap__C4600_v10_2_mk(s); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C9551_VT)) failedCast(r0); + s.tmp_1 = tiles_legacy_LegacyTilemap__C9551_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__C4600_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tiles_legacy_LegacyTilemap__C9551_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: @@ -51803,14 +51830,14 @@ switch (step) { { step = 3; continue; } case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(tiles_legacy_TileSet__C4597_VT); + r0 = pxsim_pxtcore_mkClassInstance(tiles_legacy_TileSet__C18346_VT); s.tmp_2 = r0; - s.tmp_3 = tiles_legacy_TileSet_constructor__P4599_mk(s); + s.tmp_3 = tiles_legacy_TileSet_constructor__P18348_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 = 1708; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1711; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; r0 = s.arg0.fields["_tileSets"]; @@ -51821,12 +51848,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_setTile__P4613.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__P9565.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__P4613_mk(s) { +function tiles_legacy_LegacyTilemap_setTile__P9565_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_setTile__P4613, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_setTile__P9565, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51843,7 +51870,7 @@ function tiles_legacy_LegacyTilemap_setTile__P4613_mk(s) { -function tiles_legacy_TileSet_constructor__P4599(s) { +function tiles_legacy_TileSet_constructor__P18348(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51861,7 +51888,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_TileSet__C4597_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_TileSet__C18346_VT)) failedCast(r0); r0 = (s.arg0).fields["originalImage"] = (s.arg1); r0 = (s.arg0).fields["obstacle"] = (s.arg2); r0 = (s.arg0).fields["map"] = (s.arg3); @@ -51869,12 +51896,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_TileSet_constructor__P4599.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__P18348.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__P4599_mk(s) { +function tiles_legacy_TileSet_constructor__P18348_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_TileSet_constructor__P4599, depth: s.depth + 1, + parent: s, fn: tiles_legacy_TileSet_constructor__P18348, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -51886,7 +51913,7 @@ function tiles_legacy_TileSet_constructor__P4599_mk(s) { -function tiles_legacy_LegacyTilemap_isInvalidIndex__P4622(s) { +function tiles_legacy_LegacyTilemap_isInvalidIndex__P9574(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51902,7 +51929,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C9551_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -51918,12 +51945,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_isInvalidIndex__P4622.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__P9574.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__P4622_mk(s) { +function tiles_legacy_LegacyTilemap_isInvalidIndex__P9574_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_isInvalidIndex__P4622, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_isInvalidIndex__P9574, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51935,7 +51962,7 @@ function tiles_legacy_LegacyTilemap_isInvalidIndex__P4622_mk(s) { -function scene_setTileMap__P4595(s) { +function scene_setTileMap__P9587(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51945,44 +51972,44 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___20074 = undefined; + s.scene___18321 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } s.tmp_0 = game_currentScene__P961_mk(s); - s.callLocIdx = 1692; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1695; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___20074 = (r0); - s.tmp_0 = tiles_legacy_LegacyTilemap_setMap__P4614_mk(s); - r0 = s.scene___20074.fields["tileMap"]; + s.scene___18321 = (r0); + s.tmp_0 = tiles_legacy_LegacyTilemap_setMap__P9566_mk(s); + r0 = s.scene___18321.fields["tileMap"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 1693; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1696; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; s.tmp_0 = tiles_TileMap_scale__P1088_mk(s); - r0 = s.scene___20074.fields["tileMap"]; + r0 = s.scene___18321.fields["tileMap"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1694; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1697; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_setTileMap__P4595.info = {"start":23,"length":220,"line":2,"column":4,"endLine":6,"endColumn":5,"fileName":"mytilemap.ts","functionName":"setTileMap","argumentNames":["map","scale"]} +scene_setTileMap__P9587.info = {"start":23,"length":220,"line":2,"column":4,"endLine":6,"endColumn":5,"fileName":"mytilemap.ts","functionName":"setTileMap","argumentNames":["map","scale"]} -function scene_setTileMap__P4595_mk(s) { +function scene_setTileMap__P9587_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_setTileMap__P4595, depth: s.depth + 1, + parent: s, fn: scene_setTileMap__P9587, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___20074: undefined, + scene___18321: undefined, arg0: undefined, arg1: undefined, } } @@ -52017,7 +52044,7 @@ switch (step) { r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 740; s.pc = 3; return s.tmp_1; + s.callLocIdx = 742; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; case 1: @@ -52121,7 +52148,7 @@ function tiles_TileMapData_scale__P1076_mk(s) { -function tiles_legacy_LegacyTilemap_setMap__P4614(s) { +function tiles_legacy_LegacyTilemap_setMap__P9566(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52137,18 +52164,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C9551_VT)) failedCast(r0); r0 = (s.arg0).fields["_mapImage"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_setMap__P4614.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__P9566.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__P4614_mk(s) { +function tiles_legacy_LegacyTilemap_setMap__P9566_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_setMap__P4614, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_setMap__P9566, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -52158,7 +52185,7 @@ function tiles_legacy_LegacyTilemap_setMap__P4614_mk(s) { -function tiles_legacy_LegacyTilemap_constructor__P4629(s) { +function tiles_legacy_LegacyTilemap_constructor__P9581(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52175,11 +52202,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C9551_VT)) failedCast(r0); s.tmp_0 = tiles_TileMap_constructor__P1110_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1698; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1701; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = (s.arg0).fields["_screenX"] = (s.arg2); @@ -52192,12 +52219,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_constructor__P4629.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__P9581.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__P4629_mk(s) { +function tiles_legacy_LegacyTilemap_constructor__P9581_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_constructor__P4629, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_constructor__P9581, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52231,17 +52258,17 @@ switch (step) { s.tmp_0 = tiles_TileMap_scale__P1088_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 738; s.pc = 1; return s.tmp_0; + s.callLocIdx = 740; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P20140); + r0 = pxsim_pxtcore_mkAction(1, inline__P19179); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = scene_createRenderable__P1147_mk(s); s.tmp_1.arg0 = -1; s.tmp_1.arg1 = s.tmp_0; s.tmp_1.arg2 = undefined; - s.callLocIdx = 739; s.pc = 2; return s.tmp_1; + s.callLocIdx = 741; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; r0 = undefined; @@ -52265,7 +52292,7 @@ function tiles_TileMap_constructor__P1110_mk(s) { -function inline__P20140(s) { +function inline__P19179(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52293,12 +52320,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P20140.info = {"start":5999,"length":25,"line":214,"column":16,"endLine":214,"endColumn":41,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} +inline__P19179.info = {"start":5999,"length":25,"line":214,"column":16,"endLine":214,"endColumn":41,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} -function inline__P20140_mk(s) { +function inline__P19179_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P20140, depth: s.depth + 1, + parent: s, fn: inline__P19179, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -52319,21 +52346,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bitmask___20151 = undefined; - s.offsetX___20157 = undefined; - s.offsetY___20162 = undefined; - s.x0___20167 = undefined; - s.xn___20174 = undefined; - s.y0___20191 = undefined; - s.yn___20198 = undefined; - s.x___20215 = undefined; - s.y___20221 = undefined; - s.index___20227 = undefined; - s.tile___20234 = undefined; - s.x___20270 = undefined; - s.xLine___20276 = undefined; - s.y___20302 = undefined; - s.yLine___20308 = undefined; + s.bitmask___19190 = undefined; + s.offsetX___19196 = undefined; + s.offsetY___19201 = undefined; + s.x0___19206 = undefined; + s.xn___19213 = undefined; + s.y0___19231 = undefined; + s.yn___19238 = undefined; + s.x___19255 = undefined; + s.y___19261 = undefined; + s.index___19267 = undefined; + s.tile___19274 = undefined; + s.x___19310 = undefined; + s.xLine___19316 = undefined; + s.y___19342 = undefined; + s.yLine___19348 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -52364,15 +52391,15 @@ switch (step) { r0 = (1 << s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_4 - 1); - s.bitmask___20151 = (r0); + s.bitmask___19190 = (r0); r0 = s.arg2.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___20151); - s.offsetX___20157 = (r0); + r0 = (s.tmp_0 & s.bitmask___19190); + s.offsetX___19196 = (r0); r0 = s.arg2.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___20151); - s.offsetY___20162 = (r0); + r0 = (s.tmp_0 & s.bitmask___19190); + s.offsetY___19201 = (r0); s.tmp_0 = Math_max__P78_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetX"]; @@ -52381,10 +52408,10 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 >> s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 755; s.pc = 25; return s.tmp_0; + s.callLocIdx = 757; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.x0___20167 = (r0); + s.x0___19206 = (r0); s.tmp_0 = Math_min__P79_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; @@ -52402,10 +52429,10 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_0.arg1 = r0; - s.callLocIdx = 758; s.pc = 26; return s.tmp_0; + s.callLocIdx = 760; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.xn___20174 = (r0); + s.xn___19213 = (r0); s.tmp_0 = Math_max__P78_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetY"]; @@ -52414,10 +52441,10 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 >> s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 760; s.pc = 27; return s.tmp_0; + s.callLocIdx = 762; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.y0___20191 = (r0); + s.y0___19231 = (r0); s.tmp_0 = Math_min__P79_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; @@ -52435,94 +52462,94 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_0.arg1 = r0; - s.callLocIdx = 763; s.pc = 28; return s.tmp_0; + s.callLocIdx = 765; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; - s.yn___20198 = (r0); - s.x___20215 = (s.x0___20167); + s.yn___19238 = (r0); + s.x___19255 = (s.x0___19206); case 3: - r0 = (s.x___20215 <= s.xn___20174); + r0 = (s.x___19255 <= s.xn___19213); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___20221 = (s.y0___20191); + s.y___19261 = (s.y0___19231); case 4: - r0 = (s.y___20221 <= s.yn___20198); + r0 = (s.y___19261 <= s.yn___19238); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } s.tmp_1 = tiles_TileMapData_getTile__P1078_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.x___20215; - s.tmp_1.arg2 = s.y___20221; - s.callLocIdx = 764; s.pc = 29; return s.tmp_1; + s.tmp_1.arg1 = s.x___19255; + s.tmp_1.arg2 = s.y___19261; + s.callLocIdx = 766; s.pc = 29; return s.tmp_1; case 29: r0 = s.retval; - s.index___20227 = (r0); + s.index___19267 = (r0); s.tmp_0 = tiles_TileMapData_getTileImage__P1081_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___20227; - s.callLocIdx = 765; s.pc = 30; return s.tmp_0; + s.tmp_0.arg1 = s.index___19267; + s.callLocIdx = 767; s.pc = 30; return s.tmp_0; case 30: r0 = s.retval; - s.tile___20234 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tile___20234); + s.tile___19274 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tile___19274); if (!r0) { step = 5; continue; } s.tmp_0 = r0 = s.arg1; - s.tmp_1 = r0 = s.tile___20234; - r0 = (s.x___20215 - s.x0___20167); + s.tmp_1 = r0 = s.tile___19274; + r0 = (s.x___19255 - s.x0___19206); 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___20157); + r0 = (s.tmp_3 - s.offsetX___19196); s.tmp_2 = r0; - r0 = (s.y___20221 - s.y0___20191); + r0 = (s.y___19261 - s.y0___19231); 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___20162); + r0 = (s.tmp_7 - s.offsetY___19201); 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___20221 + 1); - s.y___20221 = (r0); + r0 = (s.y___19261 + 1); + s.y___19261 = (r0); { step = 4; continue; } case 7: - r0 = (s.x___20215 + 1); - s.x___20215 = (r0); + r0 = (s.x___19255 + 1); + s.x___19255 = (r0); { step = 3; continue; } case 8: r0 = pxsim_numops_toBoolDecr(globals.debug___1269); if (!r0) { step = 21; continue; } - s.x___20270 = (s.x0___20167); + s.x___19310 = (s.x0___19206); case 9: - r0 = (s.x___20270 <= s.xn___20174); + r0 = (s.x___19310 <= s.xn___19213); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.x___20270 - s.x0___20167); + r0 = (s.x___19310 - s.x0___19206); 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___20157); - s.xLine___20276 = (r0); - r0 = (s.xLine___20276 >= 0); + r0 = (s.tmp_1 - s.offsetX___19196); + s.xLine___19316 = (r0); + r0 = (s.xLine___19316 >= 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___20276; + s.tmp_1 = r0 = s.xLine___19316; r0 = pxsim_ImageMethods.width(globals.screen___578); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); @@ -52533,43 +52560,43 @@ switch (step) { if (!r0) { step = 12; continue; } s.tmp_4 = helpers_imageDrawLine__P519_mk(s); s.tmp_4.arg0 = s.arg1; - s.tmp_4.arg1 = s.xLine___20276; + s.tmp_4.arg1 = s.xLine___19316; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.xLine___20276; + s.tmp_4.arg3 = s.xLine___19316; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_4.arg4 = r0; s.tmp_4.arg5 = 1; - s.callLocIdx = 769; s.pc = 31; return s.tmp_4; + s.callLocIdx = 771; s.pc = 31; return s.tmp_4; case 31: r0 = s.retval; case 12: case 13: - r0 = (s.x___20270 + 1); - s.x___20270 = (r0); + r0 = (s.x___19310 + 1); + s.x___19310 = (r0); { step = 9; continue; } case 14: - s.y___20302 = (s.y0___20191); + s.y___19342 = (s.y0___19231); case 15: - r0 = (s.y___20302 <= s.yn___20198); + r0 = (s.y___19342 <= s.yn___19238); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.y___20302 - s.y0___20191); + r0 = (s.y___19342 - s.y0___19231); 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___20162); - s.yLine___20308 = (r0); - r0 = (s.yLine___20308 >= 0); + r0 = (s.tmp_1 - s.offsetY___19201); + s.yLine___19348 = (r0); + r0 = (s.yLine___19348 >= 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___20308; + s.tmp_1 = r0 = s.yLine___19348; r0 = pxsim_ImageMethods.height(globals.screen___578); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); @@ -52581,18 +52608,18 @@ switch (step) { s.tmp_4 = helpers_imageDrawLine__P519_mk(s); s.tmp_4.arg0 = s.arg1; s.tmp_4.arg1 = 0; - s.tmp_4.arg2 = s.yLine___20308; + s.tmp_4.arg2 = s.yLine___19348; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_4.arg3 = r0; - s.tmp_4.arg4 = s.yLine___20308; + s.tmp_4.arg4 = s.yLine___19348; s.tmp_4.arg5 = 1; - s.callLocIdx = 771; s.pc = 32; return s.tmp_4; + s.callLocIdx = 773; s.pc = 32; return s.tmp_4; case 32: r0 = s.retval; case 18: case 19: - r0 = (s.y___20302 + 1); - s.y___20302 = (r0); + r0 = (s.y___19342 + 1); + s.y___19342 = (r0); { step = 15; continue; } case 20: case 21: @@ -52619,21 +52646,21 @@ function tiles_TileMap_draw__P1105_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - bitmask___20151: undefined, - offsetX___20157: undefined, - offsetY___20162: undefined, - x0___20167: undefined, - xn___20174: undefined, - y0___20191: undefined, - yn___20198: undefined, - x___20215: undefined, - y___20221: undefined, - index___20227: undefined, - tile___20234: undefined, - x___20270: undefined, - xLine___20276: undefined, - y___20302: undefined, - yLine___20308: undefined, + bitmask___19190: undefined, + offsetX___19196: undefined, + offsetY___19201: undefined, + x0___19206: undefined, + xn___19213: undefined, + y0___19231: undefined, + yn___19238: undefined, + x___19255: undefined, + y___19261: undefined, + index___19267: undefined, + tile___19274: undefined, + x___19310: undefined, + xLine___19316: undefined, + y___19342: undefined, + yLine___19348: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -52653,9 +52680,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.size___20336 = undefined; - s.cachedImage___20340 = undefined; - s.originalImage___20346 = undefined; + s.size___19376 = undefined; + s.cachedImage___19380 = undefined; + s.originalImage___19387 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -52666,12 +52693,12 @@ switch (step) { r0 = s.arg0.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.size___20336 = (r0); + s.size___19376 = (r0); r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.cachedImage___20340 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cachedImage___20340); + s.cachedImage___19380 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cachedImage___19380); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -52680,41 +52707,41 @@ switch (step) { r0 = s.arg0.fields["tileset"]; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.arg1); - s.originalImage___20346 = (r0); - r0 = pxsim_numops_toBoolDecr(s.originalImage___20346); + s.originalImage___19387 = (r0); + r0 = pxsim_numops_toBoolDecr(s.originalImage___19387); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.width(s.originalImage___20346); + r0 = pxsim_ImageMethods.width(s.originalImage___19387); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.size___20336); + r0 = (s.tmp_1 <= s.size___19376); 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___20346); + r0 = pxsim_ImageMethods.height(s.originalImage___19387); s.tmp_2 = r0; - r0 = (s.tmp_2 <= s.size___20336); + r0 = (s.tmp_2 <= s.size___19376); 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___20340 = (s.originalImage___20346); + s.cachedImage___19380 = (s.originalImage___19387); { step = 4; continue; } case 3: - r0 = pxsim.image.create(s.size___20336, s.size___20336); - s.cachedImage___20340 = (r0); - r0 = pxsim_ImageMethods.drawImage(s.cachedImage___20340, s.originalImage___20346, 0, 0); + r0 = pxsim.image.create(s.size___19376, s.size___19376); + s.cachedImage___19380 = (r0); + r0 = pxsim_ImageMethods.drawImage(s.cachedImage___19380, s.originalImage___19387, 0, 0); case 4: r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___20340); + r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___19380); case 5: case 6: case 7: case 8: - r0 = s.cachedImage___20340; + r0 = s.cachedImage___19380; return leave(s, r0) default: oops() } } } @@ -52729,9 +52756,9 @@ function tiles_TileMapData_getTileImage__P1081_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - size___20336: undefined, - cachedImage___20340: undefined, - originalImage___20346: undefined, + size___19376: undefined, + cachedImage___19380: undefined, + originalImage___19387: undefined, arg0: undefined, arg1: undefined, } } @@ -52740,7 +52767,7 @@ function tiles_TileMapData_getTileImage__P1081_mk(s) { -function tileworld_VMState_constructor__P4251(s) { +function tileworld_VMState_constructor__P7653(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52755,7 +52782,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_VMState__C4250_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_VMState__C7652_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -52764,12 +52791,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_VMState_constructor__P4251.info = {"start":4191,"length":67,"line":88,"column":8,"endLine":90,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this"]} +tileworld_VMState_constructor__P7653.info = {"start":4224,"length":67,"line":89,"column":8,"endLine":91,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this"]} -function tileworld_VMState_constructor__P4251_mk(s) { +function tileworld_VMState_constructor__P7653_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_VMState_constructor__P4251, depth: s.depth + 1, + parent: s, fn: tileworld_VMState_constructor__P7653, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52780,7 +52807,7 @@ function tileworld_VMState_constructor__P4251_mk(s) { -function tileworld_RunGame_constructor__P4289(s) { +function tileworld_RunGame_constructor__P9501(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52798,21 +52825,21 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RunGame__C4279_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RunGame__C9491_VT)) failedCast(r0); r0 = (s.arg0).fields["p"] = (s.arg1); r0 = (s.arg0).fields["debug"] = (s.arg3); - s.tmp_0 = tileworld_BackgroundBase_constructor__P4329_mk(s); + s.tmp_0 = tileworld_BackgroundBase_constructor__P9502_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 457; s.pc = 1; return s.tmp_0; + s.callLocIdx = 460; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(tileworld_TileWorldVM__C4254_VT); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_TileWorldVM__C7665_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_TileWorldVM_constructor__P4278_mk(s); + s.tmp_1 = tileworld_TileWorldVM_constructor__P7689_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; - s.callLocIdx = 458; s.pc = 2; return s.tmp_1; + s.callLocIdx = 461; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; r0 = (s.arg0).fields["vm"] = (s.tmp_0); @@ -52820,12 +52847,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RunGame_constructor__P4289.info = {"start":31325,"length":164,"line":698,"column":8,"endLine":701,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","p","rules","debug"]} +tileworld_RunGame_constructor__P9501.info = {"start":31444,"length":164,"line":701,"column":8,"endLine":704,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","p","rules","debug"]} -function tileworld_RunGame_constructor__P4289_mk(s) { +function tileworld_RunGame_constructor__P9501_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RunGame_constructor__P4289, depth: s.depth + 1, + parent: s, fn: tileworld_RunGame_constructor__P9501, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52839,7 +52866,7 @@ function tileworld_RunGame_constructor__P4289_mk(s) { -function tileworld_TileWorldVM_constructor__P4278(s) { +function tileworld_TileWorldVM_constructor__P7689(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52849,7 +52876,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rt___20398 = undefined; + s.rt___7699 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -52857,7 +52884,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_TileWorldVM__C4254_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileWorldVM__C7665_VT)) failedCast(r0); r0 = (s.arg0).fields["p"] = (s.arg1); r0 = (s.arg0).fields["rules"] = (s.arg2); s.tmp_0 = r0 = s.arg0; @@ -52865,48 +52892,48 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["ruleIndex"] = (s.tmp_1); r0 = (s.arg0).fields["vm"] = (null); - s.rt___20398 = (0); + s.rt___7699 = (0); case 1: - r0 = (s.rt___20398 <= 3); + r0 = (s.rt___7699 <= 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___20398; + s.tmp_2 = r0 = s.rt___7699; r0 = pxsim_Array__mk(); s.tmp_3 = r0; r0 = pxsim_Array_.setAt(s.tmp_1, s.tmp_2, s.tmp_3); - r0 = (s.rt___20398 + 1); - s.rt___20398 = (r0); + r0 = (s.rt___7699 + 1); + s.rt___7699 = (r0); { step = 1; continue; } case 2: - r0 = pxsim_pxtcore_mkAction(1, inline__P20416); + r0 = pxsim_pxtcore_mkAction(1, inline__P7717); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = helpers_arrayForEach__P60_mk(s); r0 = s.arg0.fields["rules"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 301; s.pc = 3; return s.tmp_1; + s.callLocIdx = 302; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_TileWorldVM_constructor__P4278.info = {"start":4876,"length":654,"line":112,"column":8,"endLine":127,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","p","rules"]} +tileworld_TileWorldVM_constructor__P7689.info = {"start":4909,"length":654,"line":113,"column":8,"endLine":128,"endColumn":9,"fileName":"vm.ts","functionName":"inline","argumentNames":["this","p","rules"]} -function tileworld_TileWorldVM_constructor__P4278_mk(s) { +function tileworld_TileWorldVM_constructor__P7689_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileWorldVM_constructor__P4278, depth: s.depth + 1, + parent: s, fn: tileworld_TileWorldVM_constructor__P7689, depth: s.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___20398: undefined, + rt___7699: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -52916,7 +52943,7 @@ function tileworld_TileWorldVM_constructor__P4278_mk(s) { -function inline__P20416(s) { +function inline__P7717(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52926,41 +52953,41 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.derivedRules___20418 = undefined; + s.derivedRules___7719 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleView_getDerivedRules__P3886_mk(s); + s.tmp_0 = tileworld_RuleView_getDerivedRules__P4978_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 298; s.pc = 1; return s.tmp_0; + s.callLocIdx = 299; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.derivedRules___20418 = (r0); - r0 = pxsim_Array__push(s.derivedRules___20418, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P20427); + s.derivedRules___7719 = (r0); + r0 = pxsim_Array__push(s.derivedRules___7719, s.arg0); + r0 = pxsim_pxtcore_mkAction(1, inline__P7728); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.caps[0]); s.tmp_1 = helpers_arrayForEach__P60_mk(s); - s.tmp_1.arg0 = s.derivedRules___20418; + s.tmp_1.arg0 = s.derivedRules___7719; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 300; s.pc = 2; return s.tmp_1; + s.callLocIdx = 301; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P20416.info = {"start":5240,"length":278,"line":119,"column":31,"endLine":126,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rv"]} +inline__P7717.info = {"start":5273,"length":278,"line":120,"column":31,"endLine":127,"endColumn":13,"fileName":"vm.ts","functionName":"inline","argumentNames":["rv"]} -function inline__P20416_mk(s) { +function inline__P7717_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P20416, depth: s.depth + 1, + parent: s, fn: inline__P7717, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - derivedRules___20418: undefined, + derivedRules___7719: undefined, arg0: undefined, } } @@ -52968,7 +52995,7 @@ function inline__P20416_mk(s) { -function inline__P20427(s) { +function inline__P7728(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52978,33 +53005,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rt___20429 = undefined; + s.rt___7730 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0.fields["r"]; r0 = r0.fields["ruleType"]; - s.rt___20429 = (r0); + s.rt___7730 = (r0); r0 = s.caps[0].fields["ruleIndex"]; s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.tmp_1, s.rt___20429); + r0 = pxsim_Array__getAt(s.tmp_1, s.rt___7730); s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P20427.info = {"start":5381,"length":121,"line":122,"column":37,"endLine":125,"endColumn":17,"fileName":"vm.ts","functionName":"inline","argumentNames":["rv"]} +inline__P7728.info = {"start":5414,"length":121,"line":123,"column":37,"endLine":126,"endColumn":17,"fileName":"vm.ts","functionName":"inline","argumentNames":["rv"]} -function inline__P20427_mk(s) { +function inline__P7728_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P20427, depth: s.depth + 1, + parent: s, fn: inline__P7728, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - rt___20429: undefined, + rt___7730: undefined, arg0: undefined, } } @@ -53012,7 +53039,7 @@ function inline__P20427_mk(s) { -function tileworld_Project_getRules__P3939(s) { +function tileworld_Project_getRules__P6112(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53027,17 +53054,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C3937_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); r0 = s.arg0.fields["rules"]; return leave(s, r0) default: oops() } } } -tileworld_Project_getRules__P3939.info = {"start":2419,"length":60,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"project.ts","functionName":"getRules","argumentNames":["this"]} +tileworld_Project_getRules__P6112.info = {"start":2419,"length":60,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"project.ts","functionName":"getRules","argumentNames":["this"]} -function tileworld_Project_getRules__P3939_mk(s) { +function tileworld_Project_getRules__P6112_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_getRules__P3939, depth: s.depth + 1, + parent: s, fn: tileworld_Project_getRules__P6112, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -53046,7 +53073,7 @@ function tileworld_Project_getRules__P3939_mk(s) { -function tileworld_SwitchExport_constructor__P3930(s) { +function tileworld_SwitchExport_constructor__P5982(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53063,19 +53090,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_SwitchExport__C3926_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_SwitchExport__C5978_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__P3930.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__P5982.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__P3930_mk(s) { +function tileworld_SwitchExport_constructor__P5982_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_SwitchExport_constructor__P3930, depth: s.depth + 1, + parent: s, fn: tileworld_SwitchExport_constructor__P5982, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -53086,7 +53113,7 @@ function tileworld_SwitchExport_constructor__P3930_mk(s) { -function tileworld_Gallery_constructor__P4549(s) { +function tileworld_Gallery_constructor__P15347(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53105,22 +53132,22 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Gallery__C4546_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Gallery__C15344_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__P4348_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_constructor__P10857_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1289; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1292; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_3 = tileworld_SwitchExport_getImage__P3928_mk(s); + s.tmp_3 = tileworld_SwitchExport_getImage__P5980_mk(s); r0 = s.arg0.fields["wrapper"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.arg2; - s.callLocIdx = 1290; s.pc = 2; return s.tmp_3; + s.callLocIdx = 1293; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; @@ -53133,65 +53160,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__P4337_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P10846_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; - s.callLocIdx = 1291; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1294; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P4338_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P10847_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; - s.callLocIdx = 1292; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1295; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P4345_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setTileSaved__P10854_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1293; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1296; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setCol__P4337_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setCol__P10846_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1294; s.pc = 6; return s.tmp_0; + s.callLocIdx = 1297; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_setRow__P4338_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_setRow__P10847_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1295; s.pc = 7; return s.tmp_0; + s.callLocIdx = 1298; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P20475); + r0 = pxsim_pxtcore_mkAction(1, inline__P15379); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.A___665; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1301; s.pc = 8; return s.tmp_1; + s.callLocIdx = 1304; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P20512); + r0 = pxsim_pxtcore_mkAction(1, inline__P15416); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.B___667; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1305; s.pc = 9; return s.tmp_1; + s.callLocIdx = 1308; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_Gallery_constructor__P4549.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__P15347.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__P4549_mk(s) { +function tileworld_Gallery_constructor__P15347_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Gallery_constructor__P4549, depth: s.depth + 1, + parent: s, fn: tileworld_Gallery_constructor__P15347, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53208,7 +53235,7 @@ function tileworld_Gallery_constructor__P4549_mk(s) { -function inline__P20475(s) { +function inline__P15379(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53218,13 +53245,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.isCurrent___20476 = undefined; - s.index___20484 = undefined; - s.img___20496 = undefined; - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.isCurrent___15380 = undefined; + s.index___15388 = undefined; + s.img___15400 = undefined; + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 1296; s.pc = 9; return s.tmp_2; + s.callLocIdx = 1299; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; s.tmp_1 = r0; @@ -53235,10 +53262,10 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 1297; s.pc = 10; return s.tmp_4; + s.callLocIdx = 1300; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; s.tmp_3 = r0; @@ -53246,52 +53273,52 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_5 = r0; - s.isCurrent___20476 = (s.tmp_5); + s.isCurrent___15380 = (s.tmp_5); r0 = s.caps[0].fields["dirMap"]; s.tmp_0 = r0; - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.caps[0]; s.tmp_2.arg1 = true; - s.callLocIdx = 1298; s.pc = 11; return s.tmp_2; + s.callLocIdx = 1301; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_4.arg0 = s.caps[0]; s.tmp_4.arg1 = true; - s.callLocIdx = 1299; s.pc = 12; return s.tmp_4; + s.callLocIdx = 1302; 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___20484 = (r0); - s.tmp_0 = r0 = s.isCurrent___20476; + s.index___15388 = (r0); + s.tmp_0 = r0 = s.isCurrent___15380; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = (s.index___20484 != 15); + r0 = (s.index___15388 != 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__P4345_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_setTileSaved__P10854_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.callLocIdx = 1300; s.pc = 13; return s.tmp_2; + s.callLocIdx = 1303; 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___20484); - s.img___20496 = (r0); - r0 = pxsim_numops_toBoolDecr(s.isCurrent___20476); + r0 = pxsim_Array__getAt(s.tmp_0, s.index___15388); + s.img___15400 = (r0); + r0 = pxsim_numops_toBoolDecr(s.isCurrent___15380); if (!r0) { step = 5; continue; } r0 = s.caps[0].fields["current"]; { step = 6; continue; } case 5: - r0 = s.img___20496; + r0 = s.img___15400; case 6: // jmp value (already in r0) s.tmp_0 = r0; @@ -53304,12 +53331,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P20475.info = {"start":615,"length":399,"line":15,"column":64,"endLine":23,"endColumn":13,"fileName":"gallery.ts","functionName":"inline","argumentNames":[]} +inline__P15379.info = {"start":615,"length":399,"line":15,"column":64,"endLine":23,"endColumn":13,"fileName":"gallery.ts","functionName":"inline","argumentNames":[]} -function inline__P20475_mk(s) { +function inline__P15379_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P20475, depth: s.depth + 1, + parent: s, fn: inline__P15379, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53317,16 +53344,16 @@ function inline__P20475_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - isCurrent___20476: undefined, - index___20484: undefined, - img___20496: undefined, + isCurrent___15380: undefined, + index___15388: undefined, + img___15400: undefined, } } -function inline__P20512(s) { +function inline__P15416(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53336,40 +53363,40 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_1 = tileworld_SwitchExport_getImage__P3928_mk(s); + s.tmp_1 = tileworld_SwitchExport_getImage__P5980_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 = 1302; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1305; 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__P3929_mk(s); + s.tmp_0 = tileworld_SwitchExport_saveImage__P5981_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 = 1303; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1306; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; s.tmp_0 = game_popScene__P1293_mk(s); - s.callLocIdx = 1304; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1307; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P20512.info = {"start":1082,"length":179,"line":25,"column":64,"endLine":29,"endColumn":13,"fileName":"gallery.ts","functionName":"inline","argumentNames":[]} +inline__P15416.info = {"start":1082,"length":179,"line":25,"column":64,"endLine":29,"endColumn":13,"fileName":"gallery.ts","functionName":"inline","argumentNames":[]} -function inline__P20512_mk(s) { +function inline__P15416_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P20512, depth: s.depth + 1, + parent: s, fn: inline__P15416, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53380,7 +53407,7 @@ function inline__P20512_mk(s) { -function tileworld_SwitchExport_saveImage__P3929(s) { +function tileworld_SwitchExport_saveImage__P5981(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53396,12 +53423,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_SwitchExport__C3926_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_SwitchExport__C5978_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__P3953_mk(s); + s.tmp_1 = tileworld_Project_saveBackgroundImage__P6016_mk(s); r0 = s.arg0.fields["p"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -53410,7 +53437,7 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_2 = tileworld_Project_saveSpriteImage__P3954_mk(s); + s.tmp_2 = tileworld_Project_saveSpriteImage__P6021_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; @@ -53423,12 +53450,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_SwitchExport_saveImage__P3929.info = {"start":475,"length":137,"line":13,"column":8,"endLine":15,"endColumn":9,"fileName":"project.ts","functionName":"saveImage","argumentNames":["this","kind"]} +tileworld_SwitchExport_saveImage__P5981.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__P3929_mk(s) { +function tileworld_SwitchExport_saveImage__P5981_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_SwitchExport_saveImage__P3929, depth: s.depth + 1, + parent: s, fn: tileworld_SwitchExport_saveImage__P5981, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53441,7 +53468,7 @@ function tileworld_SwitchExport_saveImage__P3929_mk(s) { -function tileworld_SwitchExport_getImage__P3928(s) { +function tileworld_SwitchExport_getImage__P5980(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53457,12 +53484,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_SwitchExport__C3926_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_SwitchExport__C5978_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__P3951_mk(s); + s.tmp_1 = tileworld_Project_getBackgroundImage__P6002_mk(s); r0 = s.arg0.fields["p"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -53471,7 +53498,7 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_2 = tileworld_Project_getSpriteImage__P3952_mk(s); + s.tmp_2 = tileworld_Project_getSpriteImage__P6007_mk(s); r0 = s.arg0.fields["p"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; @@ -53485,12 +53512,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_SwitchExport_getImage__P3928.info = {"start":324,"length":142,"line":10,"column":8,"endLine":12,"endColumn":9,"fileName":"project.ts","functionName":"getImage","argumentNames":["this","kind"]} +tileworld_SwitchExport_getImage__P5980.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__P3928_mk(s) { +function tileworld_SwitchExport_getImage__P5980_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_SwitchExport_getImage__P3928, depth: s.depth + 1, + parent: s, fn: tileworld_SwitchExport_getImage__P5980, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53514,18 +53541,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___20552 = undefined; + s.oldScene___21008 = undefined; s.tmp_0 = game_currentScene__P961_mk(s); - s.callLocIdx = 850; s.pc = 5; return s.tmp_0; + s.callLocIdx = 852; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.oldScene___20552 = (r0); + s.oldScene___21008 = (r0); s.tmp_0 = particles_clearAll__P1749_mk(s); - s.callLocIdx = 851; s.pc = 6; return s.tmp_0; + s.callLocIdx = 853; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; s.tmp_0 = particles_disableAll__P1750_mk(s); - s.callLocIdx = 852; s.pc = 7; return s.tmp_0; + s.callLocIdx = 854; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(globals._sceneStack___1281); @@ -53541,18 +53568,18 @@ switch (step) { r0 = pxsim_Array__push(globals._sceneStack___1281, globals._scene___1280); s.tmp_0 = game_init__P1291_mk(s); s.tmp_0.arg0 = true; - s.callLocIdx = 853; 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___1282); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P20569); + r0 = pxsim_pxtcore_mkAction(1, inline__P21025); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___20552); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___21008); s.tmp_1 = helpers_arrayForEach__P60_mk(s); s.tmp_1.arg0 = globals._scenePushHandlers___1282; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 855; s.pc = 9; return s.tmp_1; + s.callLocIdx = 857; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; case 3: @@ -53570,14 +53597,14 @@ function game_pushScene__P1292_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___20552: undefined, + oldScene___21008: undefined, } } -function inline__P20569(s) { +function inline__P21025(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53595,19 +53622,19 @@ switch (step) { s.tmp_0.argL = s.arg0; s.tmp_0.arg0 = s.caps[0]; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 854; s.pc = 1; return s.tmp_0; + s.callLocIdx = 856; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P20569.info = {"start":1991,"length":18,"line":71,"column":39,"endLine":71,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +inline__P21025.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__P20569_mk(s) { +function inline__P21025_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P20569, depth: s.depth + 1, + parent: s, fn: inline__P21025, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -53627,22 +53654,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___20573 = undefined; + s.sources___23741 = undefined; s.tmp_0 = particles_particleSources__P1752_mk(s); - s.callLocIdx = 1112; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1114; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___20573 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___20573); + s.sources___23741 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___23741); if (!r0) { step = 1; continue; } s.tmp_0 = helpers_arrayForEach__P60_mk(s); - s.tmp_0.arg0 = s.sources___20573; - s.tmp_0.arg1 = inline__P20579; - s.callLocIdx = 1114; s.pc = 4; return s.tmp_0; + s.tmp_0.arg0 = s.sources___23741; + s.tmp_0.arg1 = inline__P23747; + s.callLocIdx = 1116; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; s.tmp_0 = particles_pruneParticles__P1739_mk(s); - s.callLocIdx = 1115; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1117; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -53659,14 +53686,14 @@ function particles_disableAll__P1750_mk(s) { parent: s, fn: particles_disableAll__P1750, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___20573: undefined, + sources___23741: undefined, } } -function inline__P20579(s) { +function inline__P23747(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53683,19 +53710,19 @@ switch (step) { s.tmp_0 = particles_ParticleSource_enabled__P1724_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; - s.callLocIdx = 1113; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1115; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = false; return leave(s, r0) default: oops() } } } -inline__P20579.info = {"start":12478,"length":22,"line":404,"column":28,"endLine":404,"endColumn":50,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P23747.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__P20579_mk(s) { +function inline__P23747_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P20579, depth: s.depth + 1, + parent: s, fn: inline__P23747, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -53715,22 +53742,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___20584 = undefined; + s.sources___23752 = undefined; s.tmp_0 = particles_particleSources__P1752_mk(s); - s.callLocIdx = 1108; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1110; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___20584 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___20584); + s.sources___23752 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___23752); if (!r0) { step = 1; continue; } s.tmp_0 = helpers_arrayForEach__P60_mk(s); - s.tmp_0.arg0 = s.sources___20584; - s.tmp_0.arg1 = inline__P20590; - s.callLocIdx = 1110; s.pc = 4; return s.tmp_0; + s.tmp_0.arg0 = s.sources___23752; + s.tmp_0.arg1 = inline__P23758; + s.callLocIdx = 1112; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; s.tmp_0 = particles_pruneParticles__P1739_mk(s); - s.callLocIdx = 1111; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1113; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -53747,14 +53774,14 @@ function particles_clearAll__P1749_mk(s) { parent: s, fn: particles_clearAll__P1749, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___20584: undefined, + sources___23752: undefined, } } -function inline__P20590(s) { +function inline__P23758(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53770,19 +53797,19 @@ switch (step) { } s.tmp_0 = particles_ParticleSource_clear__P1726_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1109; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1111; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P20590.info = {"start":12204,"length":14,"line":393,"column":28,"endLine":393,"endColumn":42,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P23758.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__P20590_mk(s) { +function inline__P23758_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P20590, depth: s.depth + 1, + parent: s, fn: inline__P23758, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -53792,7 +53819,7 @@ function inline__P20590_mk(s) { -function tileworld_Project_saveProject__P3962(s) { +function tileworld_Project_saveProject__P6127(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53802,33 +53829,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.prefix___20596 = undefined; - s.worldBuf___20660 = undefined; - s.spritesBuf___20670 = undefined; + s.prefix___6410 = undefined; + s.worldBuf___6479 = undefined; + s.spritesBuf___6489 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C3937_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); r0 = s.arg0.fields["prefix"]; - s.prefix___20596 = (r0); + s.prefix___6410 = (r0); s.tmp_0 = settings_writeString__P612_mk(s); - if ((s.prefix___20596) && (s.prefix___20596).vtable) { + if ((s.prefix___6410) && (s.prefix___6410).vtable) { setupResume(s, 4); - pxsim_String__stringConv(s.prefix___20596); + pxsim_String__stringConv(s.prefix___6410); checkResumeConsumed(); return; - } else { s.retval = (s.prefix___20596) + ""; } + } else { s.retval = (s.prefix___6410) + ""; } case 4: r0 = s.retval; s.tmp_1 = r0; - if ((globals.VersionKey___3972) && (globals.VersionKey___3972).vtable) { + if ((globals.VersionKey___6418) && (globals.VersionKey___6418).vtable) { setupResume(s, 5); - pxsim_String__stringConv(globals.VersionKey___3972); + pxsim_String__stringConv(globals.VersionKey___6418); checkResumeConsumed(); return; - } else { s.retval = (globals.VersionKey___3972) + ""; } + } else { s.retval = (globals.VersionKey___6418) + ""; } case 5: r0 = s.retval; s.tmp_2 = r0; @@ -53851,21 +53878,21 @@ switch (step) { // jmp value (already in r0) s.tmp_1 = r0; s.tmp_2 = settings_writeNumber__P613_mk(s); - if ((s.prefix___20596) && (s.prefix___20596).vtable) { + if ((s.prefix___6410) && (s.prefix___6410).vtable) { setupResume(s, 7); - pxsim_String__stringConv(s.prefix___20596); + pxsim_String__stringConv(s.prefix___6410); checkResumeConsumed(); return; - } else { s.retval = (s.prefix___20596) + ""; } + } else { s.retval = (s.prefix___6410) + ""; } case 7: r0 = s.retval; s.tmp_3 = r0; - if ((globals.HelpKey___3973) && (globals.HelpKey___3973).vtable) { + if ((globals.HelpKey___6366) && (globals.HelpKey___6366).vtable) { setupResume(s, 8); - pxsim_String__stringConv(globals.HelpKey___3973); + pxsim_String__stringConv(globals.HelpKey___6366); checkResumeConsumed(); return; - } else { s.retval = (globals.HelpKey___3973) + ""; } + } else { s.retval = (globals.HelpKey___6366) + ""; } case 8: r0 = s.retval; s.tmp_4 = r0; @@ -53876,21 +53903,21 @@ switch (step) { case 6: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); - if ((s.prefix___20596) && (s.prefix___20596).vtable) { + if ((s.prefix___6410) && (s.prefix___6410).vtable) { setupResume(s, 10); - pxsim_String__stringConv(s.prefix___20596); + pxsim_String__stringConv(s.prefix___6410); checkResumeConsumed(); return; - } else { s.retval = (s.prefix___20596) + ""; } + } else { s.retval = (s.prefix___6410) + ""; } case 10: r0 = s.retval; s.tmp_1 = r0; - if ((globals.BackImgCntKey___3974) && (globals.BackImgCntKey___3974).vtable) { + if ((globals.BackImgCntKey___6437) && (globals.BackImgCntKey___6437).vtable) { setupResume(s, 11); - pxsim_String__stringConv(globals.BackImgCntKey___3974); + pxsim_String__stringConv(globals.BackImgCntKey___6437); checkResumeConsumed(); return; - } else { s.retval = (globals.BackImgCntKey___3974) + ""; } + } else { s.retval = (globals.BackImgCntKey___6437) + ""; } case 11: r0 = s.retval; s.tmp_2 = r0; @@ -53904,21 +53931,21 @@ switch (step) { case 9: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); - if ((s.prefix___20596) && (s.prefix___20596).vtable) { + if ((s.prefix___6410) && (s.prefix___6410).vtable) { setupResume(s, 13); - pxsim_String__stringConv(s.prefix___20596); + pxsim_String__stringConv(s.prefix___6410); checkResumeConsumed(); return; - } else { s.retval = (s.prefix___20596) + ""; } + } else { s.retval = (s.prefix___6410) + ""; } case 13: r0 = s.retval; s.tmp_1 = r0; - if ((globals.SpriteImgCntKey___3975) && (globals.SpriteImgCntKey___3975).vtable) { + if ((globals.SpriteImgCntKey___6446) && (globals.SpriteImgCntKey___6446).vtable) { setupResume(s, 14); - pxsim_String__stringConv(globals.SpriteImgCntKey___3975); + pxsim_String__stringConv(globals.SpriteImgCntKey___6446); checkResumeConsumed(); return; - } else { s.retval = (globals.SpriteImgCntKey___3975) + ""; } + } else { s.retval = (globals.SpriteImgCntKey___6446) + ""; } case 14: r0 = s.retval; s.tmp_2 = r0; @@ -53932,21 +53959,21 @@ switch (step) { case 12: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); - if ((s.prefix___20596) && (s.prefix___20596).vtable) { + if ((s.prefix___6410) && (s.prefix___6410).vtable) { setupResume(s, 16); - pxsim_String__stringConv(s.prefix___20596); + pxsim_String__stringConv(s.prefix___6410); checkResumeConsumed(); return; - } else { s.retval = (s.prefix___20596) + ""; } + } else { s.retval = (s.prefix___6410) + ""; } case 16: r0 = s.retval; s.tmp_1 = r0; - if ((globals.PlayerIndexKey___3976) && (globals.PlayerIndexKey___3976).vtable) { + if ((globals.PlayerIndexKey___6455) && (globals.PlayerIndexKey___6455).vtable) { setupResume(s, 17); - pxsim_String__stringConv(globals.PlayerIndexKey___3976); + pxsim_String__stringConv(globals.PlayerIndexKey___6455); checkResumeConsumed(); return; - } else { s.retval = (globals.PlayerIndexKey___3976) + ""; } + } else { s.retval = (globals.PlayerIndexKey___6455) + ""; } case 17: r0 = s.retval; s.tmp_2 = r0; @@ -53957,9 +53984,9 @@ switch (step) { s.callLocIdx = 204; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P20642); + r0 = pxsim_pxtcore_mkAction(1, inline__P6461); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.prefix___20596); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.prefix___6410); s.tmp_1 = helpers_arrayForEach__P60_mk(s); r0 = s.arg0.fields["_backgroundsI"]; s.tmp_1.arg0 = r0; @@ -53967,9 +53994,9 @@ switch (step) { s.callLocIdx = 207; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P20652); + r0 = pxsim_pxtcore_mkAction(1, inline__P6471); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.prefix___20596); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.prefix___6410); s.tmp_1 = helpers_arrayForEach__P60_mk(s); r0 = s.arg0.fields["_spritesI"]; s.tmp_1.arg0 = r0; @@ -53977,74 +54004,74 @@ switch (step) { s.callLocIdx = 210; s.pc = 19; return s.tmp_1; case 19: r0 = s.retval; - s.tmp_0 = tileworld_imageToBuffer__P3842_mk(s); + s.tmp_0 = tileworld_imageToBuffer__P4091_mk(s); r0 = s.arg0.fields["_backgrounds"]; s.tmp_0.arg0 = r0; s.callLocIdx = 212; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.worldBuf___20660 = (r0); + s.worldBuf___6479 = (r0); s.tmp_0 = settings_writeBuffer__P611_mk(s); - if ((s.prefix___20596) && (s.prefix___20596).vtable) { + if ((s.prefix___6410) && (s.prefix___6410).vtable) { setupResume(s, 22); - pxsim_String__stringConv(s.prefix___20596); + pxsim_String__stringConv(s.prefix___6410); checkResumeConsumed(); return; - } else { s.retval = (s.prefix___20596) + ""; } + } else { s.retval = (s.prefix___6410) + ""; } case 22: r0 = s.retval; s.tmp_1 = r0; - if ((globals.WorldBackgroundsKey___3977) && (globals.WorldBackgroundsKey___3977).vtable) { + if ((globals.WorldBackgroundsKey___6341) && (globals.WorldBackgroundsKey___6341).vtable) { setupResume(s, 23); - pxsim_String__stringConv(globals.WorldBackgroundsKey___3977); + pxsim_String__stringConv(globals.WorldBackgroundsKey___6341); checkResumeConsumed(); return; - } else { s.retval = (globals.WorldBackgroundsKey___3977) + ""; } + } else { s.retval = (globals.WorldBackgroundsKey___6341) + ""; } 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___20660; + s.tmp_0.arg1 = s.worldBuf___6479; s.callLocIdx = 213; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.tmp_0 = tileworld_imageToBuffer__P3842_mk(s); + s.tmp_0 = tileworld_imageToBuffer__P4091_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_0.arg0 = r0; s.callLocIdx = 215; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.spritesBuf___20670 = (r0); + s.spritesBuf___6489 = (r0); s.tmp_0 = settings_writeBuffer__P611_mk(s); - if ((s.prefix___20596) && (s.prefix___20596).vtable) { + if ((s.prefix___6410) && (s.prefix___6410).vtable) { setupResume(s, 26); - pxsim_String__stringConv(s.prefix___20596); + pxsim_String__stringConv(s.prefix___6410); checkResumeConsumed(); return; - } else { s.retval = (s.prefix___20596) + ""; } + } else { s.retval = (s.prefix___6410) + ""; } case 26: r0 = s.retval; s.tmp_1 = r0; - if ((globals.WorldSpritesKey___3978) && (globals.WorldSpritesKey___3978).vtable) { + if ((globals.WorldSpritesKey___6355) && (globals.WorldSpritesKey___6355).vtable) { setupResume(s, 27); - pxsim_String__stringConv(globals.WorldSpritesKey___3978); + pxsim_String__stringConv(globals.WorldSpritesKey___6355); checkResumeConsumed(); return; - } else { s.retval = (globals.WorldSpritesKey___3978) + ""; } + } else { s.retval = (globals.WorldSpritesKey___6355) + ""; } 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___20670; + s.tmp_0.arg1 = s.spritesBuf___6489; s.callLocIdx = 216; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(2, inline__P20682); + r0 = pxsim_pxtcore_mkAction(2, inline__P6501); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.prefix___20596); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.prefix___6410); s.tmp_1 = helpers_arrayForEach__P60_mk(s); r0 = s.arg0.fields["rules"]; s.tmp_1.arg0 = r0; @@ -54056,21 +54083,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_saveProject__P3962.info = {"start":5927,"length":1127,"line":168,"column":8,"endLine":188,"endColumn":9,"fileName":"project.ts","functionName":"saveProject","argumentNames":["this"]} +tileworld_Project_saveProject__P6127.info = {"start":5927,"length":1127,"line":168,"column":8,"endLine":188,"endColumn":9,"fileName":"project.ts","functionName":"saveProject","argumentNames":["this"]} -function tileworld_Project_saveProject__P3962_mk(s) { +function tileworld_Project_saveProject__P6127_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_saveProject__P3962, depth: s.depth + 1, + parent: s, fn: tileworld_Project_saveProject__P6127, depth: s.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___20596: undefined, - worldBuf___20660: undefined, - spritesBuf___20670: undefined, + prefix___6410: undefined, + worldBuf___6479: undefined, + spritesBuf___6489: undefined, arg0: undefined, } } @@ -54078,7 +54105,7 @@ function tileworld_Project_saveProject__P3962_mk(s) { -function inline__P20642(s) { +function inline__P6461(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54088,13 +54115,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___20645 = undefined; + s.buf___6464 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_saveImage__P3985_mk(s); + s.tmp_0 = tileworld_saveImage__P6232_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg0; @@ -54102,20 +54129,20 @@ switch (step) { s.callLocIdx = 206; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.buf___20645 = (r0); + s.buf___6464 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P20642.info = {"start":6401,"length":86,"line":175,"column":44,"endLine":177,"endColumn":13,"fileName":"project.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P6461.info = {"start":6401,"length":86,"line":175,"column":44,"endLine":177,"endColumn":13,"fileName":"project.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P20642_mk(s) { +function inline__P6461_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P20642, depth: s.depth + 1, + parent: s, fn: inline__P6461, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - buf___20645: undefined, + buf___6464: undefined, arg0: undefined, arg1: undefined, } } @@ -54124,7 +54151,7 @@ function inline__P20642_mk(s) { -function inline__P20652(s) { +function inline__P6471(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54134,13 +54161,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___20655 = undefined; + s.buf___6474 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_saveImage__P3985_mk(s); + s.tmp_0 = tileworld_saveImage__P6232_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg0; @@ -54148,20 +54175,20 @@ switch (step) { s.callLocIdx = 209; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.buf___20655 = (r0); + s.buf___6474 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P20652.info = {"start":6530,"length":87,"line":178,"column":40,"endLine":180,"endColumn":13,"fileName":"project.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P6471.info = {"start":6530,"length":87,"line":178,"column":40,"endLine":180,"endColumn":13,"fileName":"project.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P20652_mk(s) { +function inline__P6471_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P20652, depth: s.depth + 1, + parent: s, fn: inline__P6471, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - buf___20655: undefined, + buf___6474: undefined, arg0: undefined, arg1: undefined, } } @@ -54170,7 +54197,7 @@ function inline__P20652_mk(s) { -function inline__P20682(s) { +function inline__P6501(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54180,12 +54207,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___20684 = undefined; + s.buf___6503 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_Project_storeRule__P3961_mk(s); + s.tmp_0 = tileworld_Project_storeRule__P6126_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.caps[1]; r0 = s.arg0.fields["rid"]; @@ -54195,20 +54222,20 @@ switch (step) { s.callLocIdx = 220; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.buf___20684 = (r0); + s.buf___6503 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P20682.info = {"start":6940,"length":102,"line":185,"column":36,"endLine":187,"endColumn":13,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} +inline__P6501.info = {"start":6940,"length":102,"line":185,"column":36,"endLine":187,"endColumn":13,"fileName":"project.ts","functionName":"inline","argumentNames":["r"]} -function inline__P20682_mk(s) { +function inline__P6501_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P20682, depth: s.depth + 1, + parent: s, fn: inline__P6501, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - buf___20684: undefined, + buf___6503: undefined, arg0: undefined, } } @@ -54258,7 +54285,7 @@ function settings_writeString__P612_mk(s) { -function tileworld_emptyProject__P3986(s) { +function tileworld_emptyProject__P7143(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54268,71 +54295,71 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.fixed___20699 = undefined; - s.movable___20701 = undefined; - s.f___20703 = undefined; - s.f___20716 = undefined; - s.rules___20729 = undefined; - s.p___20731 = undefined; - s.world___20737 = undefined; - s.sprites___20742 = undefined; + s.fixed___7145 = undefined; + s.movable___7147 = undefined; + s.f___7149 = undefined; + s.f___7167 = undefined; + s.rules___7185 = undefined; + s.p___7187 = undefined; + s.world___7193 = undefined; + s.sprites___7198 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.fixed___20699 = (r0); + s.fixed___7145 = (r0); r0 = pxsim_Array__mk(); - s.movable___20701 = (r0); - s.f___20703 = (0); + s.movable___7147 = (r0); + s.f___7149 = (0); case 1: - r0 = (s.f___20703 < 4); + r0 = (s.f___7149 < 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.fixed___20699; - r0 = pxsim_Array__getAt(globals.galleryTiles___4232, s.f___20703); + s.tmp_1 = r0 = s.fixed___7145; + r0 = pxsim_Array__getAt(globals.galleryTiles___7160, s.f___7149); 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___20703 + 1); - s.f___20703 = (r0); + r0 = (s.f___7149 + 1); + s.f___7149 = (r0); { step = 1; continue; } case 2: - s.f___20716 = (0); + s.f___7167 = (0); case 3: - r0 = (s.f___20716 < 4); + r0 = (s.f___7167 < 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = r0 = s.movable___20701; - r0 = pxsim_Array__getAt(globals.gallerySprites___4219, s.f___20716); + s.tmp_1 = r0 = s.movable___7147; + r0 = pxsim_Array__getAt(globals.gallerySprites___7178, s.f___7167); 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___20716 + 1); - s.f___20716 = (r0); + r0 = (s.f___7167 + 1); + s.f___7167 = (r0); { step = 3; continue; } case 4: r0 = pxsim_Array__mk(); - s.rules___20729 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_Project__C3937_VT); + s.rules___7185 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_Project__C6110_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_Project_constructor__P3966_mk(s); + s.tmp_1 = tileworld_Project_constructor__P6131_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.fixed___20699; - s.tmp_1.arg3 = s.movable___20701; + s.tmp_1.arg2 = s.fixed___7145; + s.tmp_1.arg3 = s.movable___7147; s.callLocIdx = 279; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.p___20731 = (s.tmp_0); + s.p___7187 = (s.tmp_0); r0 = pxsim.image.create(32, 24); - s.world___20737 = (r0); + s.world___7193 = (r0); s.tmp_0 = helpers_imageFillRect__P517_mk(s); - s.tmp_0.arg0 = s.world___20737; + s.tmp_0.arg0 = s.world___7193; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 1; s.tmp_0.arg3 = 30; @@ -54342,50 +54369,50 @@ switch (step) { case 6: r0 = s.retval; r0 = pxsim.image.create(32, 24); - s.sprites___20742 = (r0); - r0 = pxsim_ImageMethods.fill(s.sprites___20742, 15); - s.tmp_0 = tileworld_Project_setWorldBackgrounds__P3942_mk(s); - s.tmp_0.arg0 = s.p___20731; - s.tmp_0.arg1 = s.world___20737; + s.sprites___7198 = (r0); + r0 = pxsim_ImageMethods.fill(s.sprites___7198, 15); + s.tmp_0 = tileworld_Project_setWorldBackgrounds__P6115_mk(s); + s.tmp_0.arg0 = s.p___7187; + s.tmp_0.arg1 = s.world___7193; s.callLocIdx = 281; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = tileworld_Project_setWorldSprites__P3944_mk(s); - s.tmp_0.arg0 = s.p___20731; - s.tmp_0.arg1 = s.sprites___20742; + s.tmp_0 = tileworld_Project_setWorldSprites__P6117_mk(s); + s.tmp_0.arg0 = s.p___7187; + s.tmp_0.arg1 = s.sprites___7198; s.callLocIdx = 282; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = tileworld_Project_setPlayer__P3940_mk(s); - s.tmp_0.arg0 = s.p___20731; + s.tmp_0 = tileworld_Project_setPlayer__P6113_mk(s); + s.tmp_0.arg0 = s.p___7187; s.tmp_0.arg1 = 0; s.callLocIdx = 283; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - r0 = (s.p___20731).fields["version"] = (globals.TileWorldVersion___3925); - r0 = s.p___20731; + r0 = (s.p___7187).fields["version"] = (globals.TileWorldVersion___5977); + r0 = s.p___7187; return leave(s, r0) default: oops() } } } -tileworld_emptyProject__P3986.info = {"start":13861,"length":719,"line":353,"column":4,"endLine":373,"endColumn":5,"fileName":"project.ts","functionName":"emptyProject","argumentNames":["prefix"]} +tileworld_emptyProject__P7143.info = {"start":13861,"length":719,"line":353,"column":4,"endLine":373,"endColumn":5,"fileName":"project.ts","functionName":"emptyProject","argumentNames":["prefix"]} -function tileworld_emptyProject__P3986_mk(s) { +function tileworld_emptyProject__P7143_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_emptyProject__P3986, depth: s.depth + 1, + parent: s, fn: tileworld_emptyProject__P7143, depth: s.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___20699: undefined, - movable___20701: undefined, - f___20703: undefined, - f___20716: undefined, - rules___20729: undefined, - p___20731: undefined, - world___20737: undefined, - sprites___20742: undefined, + fixed___7145: undefined, + movable___7147: undefined, + f___7149: undefined, + f___7167: undefined, + rules___7185: undefined, + p___7187: undefined, + world___7193: undefined, + sprites___7198: undefined, arg0: undefined, } } @@ -54393,7 +54420,7 @@ function tileworld_emptyProject__P3986_mk(s) { -function tileworld_Project_setPlayer__P3940(s) { +function tileworld_Project_setPlayer__P6113(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54409,18 +54436,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C3937_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); r0 = (s.arg0).fields["_player"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_Project_setPlayer__P3940.info = {"start":2489,"length":75,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"project.ts","functionName":"setPlayer","argumentNames":["this","kind"]} +tileworld_Project_setPlayer__P6113.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__P3940_mk(s) { +function tileworld_Project_setPlayer__P6113_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_setPlayer__P3940, depth: s.depth + 1, + parent: s, fn: tileworld_Project_setPlayer__P6113, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -54430,7 +54457,7 @@ function tileworld_Project_setPlayer__P3940_mk(s) { -function tileworld_Project_setWorldSprites__P3944(s) { +function tileworld_Project_setWorldSprites__P6117(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54446,18 +54473,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C3937_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); r0 = (s.arg0).fields["_sprites"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_Project_setWorldSprites__P3944.info = {"start":2959,"length":80,"line":87,"column":8,"endLine":89,"endColumn":9,"fileName":"project.ts","functionName":"setWorldSprites","argumentNames":["this","img"]} +tileworld_Project_setWorldSprites__P6117.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__P3944_mk(s) { +function tileworld_Project_setWorldSprites__P6117_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_setWorldSprites__P3944, depth: s.depth + 1, + parent: s, fn: tileworld_Project_setWorldSprites__P6117, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -54467,7 +54494,7 @@ function tileworld_Project_setWorldSprites__P3944_mk(s) { -function tileworld_Project_setWorldBackgrounds__P3942(s) { +function tileworld_Project_setWorldBackgrounds__P6115(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54483,18 +54510,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C3937_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); r0 = (s.arg0).fields["_backgrounds"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_Project_setWorldBackgrounds__P3942.info = {"start":2774,"length":87,"line":79,"column":8,"endLine":81,"endColumn":9,"fileName":"project.ts","functionName":"setWorldBackgrounds","argumentNames":["this","img"]} +tileworld_Project_setWorldBackgrounds__P6115.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__P3942_mk(s) { +function tileworld_Project_setWorldBackgrounds__P6115_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_setWorldBackgrounds__P3942, depth: s.depth + 1, + parent: s, fn: tileworld_Project_setWorldBackgrounds__P6115, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -54504,7 +54531,7 @@ function tileworld_Project_setWorldBackgrounds__P3942_mk(s) { -function tileworld_Project_constructor__P3966(s) { +function tileworld_Project_constructor__P6131(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54522,7 +54549,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C3937_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); r0 = (s.arg0).fields["prefix"] = (s.arg1); r0 = (s.arg0).fields["_backgroundsI"] = (s.arg2); r0 = (s.arg0).fields["_spritesI"] = (s.arg3); @@ -54541,12 +54568,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_Project_constructor__P3966.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__P6131.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__P3966_mk(s) { +function tileworld_Project_constructor__P6131_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_constructor__P3966, depth: s.depth + 1, + parent: s, fn: tileworld_Project_constructor__P6131, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -54560,7 +54587,7 @@ function tileworld_Project_constructor__P3966_mk(s) { -function tileworld_LoadScreen_update__P4576(s) { +function tileworld_LoadScreen_update__P16015(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54570,111 +54597,111 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___20784 = undefined; - s.row___20788 = undefined; - s.i___20800 = undefined; - s.i___20820 = undefined; - s.r___20926 = undefined; + s.col___16209 = undefined; + s.row___16213 = undefined; + s.i___16225 = undefined; + s.i___16245 = undefined; + s.r___16351 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_LoadScreen__C4572_VT)) failedCast(r0); - s.col___20784 = (0); + if (!checkSubtype(r0, tileworld_LoadScreen__C16011_VT)) failedCast(r0); + s.col___16209 = (0); case 1: - r0 = (s.col___20784 < 10); + r0 = (s.col___16209 < 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.row___20788 = (0); + s.row___16213 = (0); case 2: - r0 = (s.row___20788 < 7); + r0 = (s.row___16213 < 7); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.col___20784; - s.tmp_1.arg2 = s.row___20788; - s.tmp_1.arg3 = globals.emptyTile___4015; - s.callLocIdx = 1442; s.pc = 22; return s.tmp_1; + s.tmp_1.arg1 = s.col___16209; + s.tmp_1.arg2 = s.row___16213; + s.tmp_1.arg3 = globals.emptyTile___7244; + s.callLocIdx = 1445; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - r0 = (s.row___20788 + 1); - s.row___20788 = (r0); + r0 = (s.row___16213 + 1); + s.row___16213 = (r0); { step = 2; continue; } case 3: - r0 = (s.col___20784 + 1); - s.col___20784 = (r0); + r0 = (s.col___16209 + 1); + s.col___16209 = (r0); { step = 1; continue; } case 4: - s.i___20800 = (0); + s.i___16225 = (0); case 5: - r0 = (s.i___20800 < 10); + r0 = (s.i___16225 < 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.i___20800; + s.tmp_1.arg1 = s.i___16225; s.tmp_1.arg2 = 0; - s.tmp_1.arg3 = globals.genericSprite___4030; - s.callLocIdx = 1443; s.pc = 23; return s.tmp_1; + s.tmp_1.arg3 = globals.genericSprite___7259; + s.callLocIdx = 1446; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.i___20800; + s.tmp_0.arg1 = s.i___16225; s.tmp_0.arg2 = 6; - s.tmp_0.arg3 = globals.genericSprite___4030; - s.callLocIdx = 1444; s.pc = 24; return s.tmp_0; + s.tmp_0.arg3 = globals.genericSprite___7259; + s.callLocIdx = 1447; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - r0 = (s.i___20800 > 6); + r0 = (s.i___16225 > 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__P4341_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = s.i___20800; - s.tmp_1.arg3 = globals.genericSprite___4030; - s.callLocIdx = 1445; s.pc = 25; return s.tmp_1; + s.tmp_1.arg2 = s.i___16225; + s.tmp_1.arg3 = globals.genericSprite___7259; + s.callLocIdx = 1448; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 9; - s.tmp_0.arg2 = s.i___20800; - s.tmp_0.arg3 = globals.genericSprite___4030; - s.callLocIdx = 1446; s.pc = 26; return s.tmp_0; + s.tmp_0.arg2 = s.i___16225; + s.tmp_0.arg3 = globals.genericSprite___7259; + s.callLocIdx = 1449; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; case 8: - r0 = (s.i___20800 + 1); - s.i___20800 = (r0); + r0 = (s.i___16225 + 1); + s.i___16225 = (r0); { step = 5; continue; } case 9: - s.i___20820 = (0); + s.i___16245 = (0); case 10: - r0 = (s.i___20820 < 4); + r0 = (s.i___16245 < 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = tileworld_RuleVisualsBase_fillTile__P4344_mk(s); + s.tmp_1 = tileworld_RuleVisualsBase_fillTile__P10853_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.i___20820; + s.tmp_1.arg1 = s.i___16245; s.tmp_1.arg2 = 0; s.tmp_1.arg3 = 12; - s.callLocIdx = 1447; s.pc = 27; return s.tmp_1; + s.callLocIdx = 1450; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; - r0 = (s.i___20820 + 1); - s.i___20820 = (r0); + r0 = (s.i___16245 + 1); + s.i___16245 = (r0); { step = 10; continue; } case 11: r0 = s.arg0.fields["lastDir"]; @@ -54683,23 +54710,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - r0 = globals.downButton___4072; + r0 = globals.downButton___7301; { step = 13; continue; } case 12: - s.tmp_2 = tileworld_greyImage__P3839_mk(s); - s.tmp_2.arg0 = globals.downButton___4072; - s.callLocIdx = 1448; s.pc = 28; return s.tmp_2; + s.tmp_2 = tileworld_greyImage__P3924_mk(s); + s.tmp_2.arg0 = globals.downButton___7301; + s.callLocIdx = 1451; 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__P4341_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P10850_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 = 1449; s.pc = 29; return s.tmp_4; + s.callLocIdx = 1452; s.pc = 29; return s.tmp_4; case 29: r0 = s.retval; r0 = s.arg0.fields["lastDir"]; @@ -54708,23 +54735,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = globals.upButton___4075; + r0 = globals.upButton___7304; { step = 15; continue; } case 14: - s.tmp_2 = tileworld_greyImage__P3839_mk(s); - s.tmp_2.arg0 = globals.upButton___4075; - s.callLocIdx = 1450; s.pc = 30; return s.tmp_2; + s.tmp_2 = tileworld_greyImage__P3924_mk(s); + s.tmp_2.arg0 = globals.upButton___7304; + s.callLocIdx = 1453; 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__P4341_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P10850_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 = 1451; s.pc = 31; return s.tmp_4; + s.callLocIdx = 1454; s.pc = 31; return s.tmp_4; case 31: r0 = s.retval; r0 = s.arg0.fields["lastDir"]; @@ -54733,23 +54760,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = globals.leftButton___4066; + r0 = globals.leftButton___7295; { step = 17; continue; } case 16: - s.tmp_2 = tileworld_greyImage__P3839_mk(s); - s.tmp_2.arg0 = globals.leftButton___4066; - s.callLocIdx = 1452; s.pc = 32; return s.tmp_2; + s.tmp_2 = tileworld_greyImage__P3924_mk(s); + s.tmp_2.arg0 = globals.leftButton___7295; + s.callLocIdx = 1455; 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__P4341_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P10850_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 = 1453; s.pc = 33; return s.tmp_4; + s.callLocIdx = 1456; s.pc = 33; return s.tmp_4; case 33: r0 = s.retval; r0 = s.arg0.fields["lastDir"]; @@ -54758,23 +54785,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - r0 = globals.rightButton___4069; + r0 = globals.rightButton___7298; { step = 19; continue; } case 18: - s.tmp_2 = tileworld_greyImage__P3839_mk(s); - s.tmp_2.arg0 = globals.rightButton___4069; - s.callLocIdx = 1454; s.pc = 34; return s.tmp_2; + s.tmp_2 = tileworld_greyImage__P3924_mk(s); + s.tmp_2.arg0 = globals.rightButton___7298; + s.callLocIdx = 1457; 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__P4341_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_drawImage__P10850_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 = 1455; s.pc = 35; return s.tmp_4; + s.callLocIdx = 1458; s.pc = 35; return s.tmp_4; case 35: r0 = s.retval; s.tmp_0 = helpers_imagePrint__P541_mk(s); @@ -54785,23 +54812,23 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1456; s.pc = 36; return s.tmp_0; + s.callLocIdx = 1459; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P4344_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P10853_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 = 1457; s.pc = 37; return s.tmp_0; + s.callLocIdx = 1460; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P4344_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P10853_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 = 1458; s.pc = 38; return s.tmp_0; + s.callLocIdx = 1461; s.pc = 38; return s.tmp_0; case 38: r0 = s.retval; s.tmp_0 = helpers_imagePrint__P541_mk(s); @@ -54816,23 +54843,23 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1459; s.pc = 39; return s.tmp_0; + s.callLocIdx = 1462; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P4344_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P10853_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 = 1460; s.pc = 40; return s.tmp_0; + s.callLocIdx = 1463; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P4344_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_fillTile__P10853_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 = 1461; s.pc = 41; return s.tmp_0; + s.callLocIdx = 1464; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; s.tmp_0 = helpers_imagePrint__P541_mk(s); @@ -54849,106 +54876,106 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1462; s.pc = 42; return s.tmp_0; + s.callLocIdx = 1465; s.pc = 42; return s.tmp_0; case 42: r0 = s.retval; - s.r___20926 = (0); + s.r___16351 = (0); case 20: - r0 = (s.r___20926 < 4); + r0 = (s.r___16351 < 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 21; continue; } - s.tmp_1 = tileworld_LoadScreen_makeIt__P4575_mk(s); + s.tmp_1 = tileworld_LoadScreen_makeIt__P16014_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 3; - r0 = (2 + s.r___20926); + r0 = (2 + s.r___16351); s.tmp_1.arg2 = r0; - r0 = (s.r___20926 + 1); + r0 = (s.r___16351 + 1); s.tmp_2 = r0; r0 = pxsim_numops.toString(s.tmp_2); s.tmp_1.arg3 = r0; - s.callLocIdx = 1463; s.pc = 43; return s.tmp_1; + s.callLocIdx = 1466; s.pc = 43; return s.tmp_1; case 43: r0 = s.retval; - s.tmp_0 = tileworld_LoadScreen_makeIt__P4575_mk(s); + s.tmp_0 = tileworld_LoadScreen_makeIt__P16014_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 5; - r0 = (2 + s.r___20926); + r0 = (2 + s.r___16351); s.tmp_0.arg2 = r0; - r0 = (s.r___20926 + 1); + r0 = (s.r___16351 + 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 = 1464; s.pc = 44; return s.tmp_0; + s.callLocIdx = 1467; s.pc = 44; return s.tmp_0; case 44: r0 = s.retval; - r0 = (s.r___20926 + 1); - s.r___20926 = (r0); + r0 = (s.r___16351 + 1); + s.r___16351 = (r0); { step = 20; continue; } case 21: - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 8; s.tmp_0.arg2 = 4; - s.tmp_0.arg3 = globals.player___4183; - s.callLocIdx = 1465; s.pc = 45; return s.tmp_0; + s.tmp_0.arg3 = globals.player___7180; + s.callLocIdx = 1468; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 8; s.tmp_0.arg2 = 6; - s.tmp_0.arg3 = globals.dog___4177; - s.callLocIdx = 1466; s.pc = 46; return s.tmp_0; + s.tmp_0.arg3 = globals.dog___7406; + s.callLocIdx = 1469; s.pc = 46; return s.tmp_0; case 46: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 7; s.tmp_0.arg2 = 5; - s.tmp_0.arg3 = globals.snakeHead___4156; - s.callLocIdx = 1467; s.pc = 47; return s.tmp_0; + s.tmp_0.arg3 = globals.snakeHead___7385; + s.callLocIdx = 1470; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 9; s.tmp_0.arg2 = 5; - s.tmp_0.arg3 = globals.enemy___4192; - s.callLocIdx = 1468; s.pc = 48; return s.tmp_0; + s.tmp_0.arg3 = globals.enemy___7419; + s.callLocIdx = 1471; s.pc = 48; return s.tmp_0; case 48: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 9; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.settingsIcon___4009; - s.callLocIdx = 1469; s.pc = 49; return s.tmp_0; + s.tmp_0.arg3 = globals.settingsIcon___7238; + s.callLocIdx = 1472; s.pc = 49; return s.tmp_0; case 49: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_LoadScreen_update__P4576.info = {"start":2047,"length":1909,"line":48,"column":8,"endLine":86,"endColumn":9,"fileName":"loadScreen.ts","functionName":"update","argumentNames":["this"]} +tileworld_LoadScreen_update__P16015.info = {"start":2047,"length":1909,"line":48,"column":8,"endLine":86,"endColumn":9,"fileName":"loadScreen.ts","functionName":"update","argumentNames":["this"]} -function tileworld_LoadScreen_update__P4576_mk(s) { +function tileworld_LoadScreen_update__P16015_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_LoadScreen_update__P4576, depth: s.depth + 1, + parent: s, fn: tileworld_LoadScreen_update__P16015, depth: s.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___20784: undefined, - row___20788: undefined, - i___20800: undefined, - i___20820: undefined, - r___20926: undefined, + col___16209: undefined, + row___16213: undefined, + i___16225: undefined, + i___16245: undefined, + r___16351: undefined, arg0: undefined, } } @@ -54956,7 +54983,7 @@ function tileworld_LoadScreen_update__P4576_mk(s) { -function tileworld_LoadScreen_makeIt__P4575(s) { +function tileworld_LoadScreen_makeIt__P16014(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54966,8 +54993,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.prefix___20971 = undefined; - s.projectAvailable___20981 = undefined; + s.prefix___16145 = undefined; + s.projectAvailable___16155 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -54976,7 +55003,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_LoadScreen__C4572_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_LoadScreen__C16011_VT)) failedCast(r0); if ((s.arg3) && (s.arg3).vtable) { setupResume(s, 9); pxsim_String__stringConv(s.arg3); @@ -54998,29 +55025,29 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "-"); - s.prefix___20971 = (r0); + s.prefix___16145 = (r0); s.tmp_2 = settings_list__P619_mk(s); - s.tmp_2.arg0 = s.prefix___20971; - s.callLocIdx = 1435; s.pc = 11; return s.tmp_2; + s.tmp_2.arg0 = s.prefix___16145; + s.callLocIdx = 1438; 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___20981 = (r0); - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.projectAvailable___16155 = (r0); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_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___4141; - s.callLocIdx = 1436; s.pc = 12; return s.tmp_0; + s.tmp_0.arg3 = globals.diskIcon___7370; + s.callLocIdx = 1439; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1437; s.pc = 13; return s.tmp_2; + s.callLocIdx = 1440; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; @@ -55031,10 +55058,10 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1438; s.pc = 14; return s.tmp_4; + s.callLocIdx = 1441; s.pc = 14; return s.tmp_4; case 14: r0 = s.retval; s.tmp_3 = r0; @@ -55049,10 +55076,10 @@ switch (step) { r0 = s.tmp_6; { step = 4; continue; } case 3: - s.tmp_8 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_8 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_8.arg0 = s.arg0; s.tmp_8.arg1 = true; - s.callLocIdx = 1439; s.pc = 15; return s.tmp_8; + s.callLocIdx = 1442; s.pc = 15; return s.tmp_8; case 15: r0 = s.retval; s.tmp_7 = r0; @@ -55065,7 +55092,7 @@ switch (step) { r0 = 7; { step = 8; continue; } case 5: - r0 = pxsim_numops_toBoolDecr(s.projectAvailable___20981); + r0 = pxsim_numops_toBoolDecr(s.projectAvailable___16155); if (!r0) { step = 6; continue; } r0 = 6; { step = 7; continue; } @@ -55078,13 +55105,13 @@ switch (step) { case 8: // jmp value (already in r0) s.tmp_11 = r0; - s.tmp_12 = tileworld_RuleVisualsBase_fillTile__P4344_mk(s); + s.tmp_12 = tileworld_RuleVisualsBase_fillTile__P10853_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 = 1440; s.pc = 16; return s.tmp_12; + s.callLocIdx = 1443; s.pc = 16; return s.tmp_12; case 16: r0 = s.retval; s.tmp_0 = helpers_imagePrint__P541_mk(s); @@ -55105,19 +55132,19 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1441; s.pc = 17; return s.tmp_0; + s.callLocIdx = 1444; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_LoadScreen_makeIt__P4575.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__P16014.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__P4575_mk(s) { +function tileworld_LoadScreen_makeIt__P16014_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_LoadScreen_makeIt__P4575, depth: s.depth + 1, + parent: s, fn: tileworld_LoadScreen_makeIt__P16014, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55132,8 +55159,8 @@ function tileworld_LoadScreen_makeIt__P4575_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - prefix___20971: undefined, - projectAvailable___20981: undefined, + prefix___16145: undefined, + projectAvailable___16155: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -55144,7 +55171,7 @@ function tileworld_LoadScreen_makeIt__P4575_mk(s) { -function tileworld_loadProject__P3984(s) { +function tileworld_loadProject__P6784(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55154,27 +55181,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.names___21036 = undefined; - s.version___21047 = undefined; - s.buf___21052 = undefined; - s.world___21057 = undefined; - s.sprites___21076 = undefined; - s.backCnt___21090 = undefined; - s.backImages___21095 = undefined; - s.spriteCnt___21101 = undefined; - s.spriteImages___21106 = undefined; - s.helpNum___21112 = undefined; - s.help___21117 = undefined; - s.highScore___21119 = undefined; - s.p___21129 = undefined; - s.ruleName___21135 = undefined; - s.ruleids___21141 = undefined; - s.rules___21164 = undefined; - s.derivedRules___21166 = undefined; - s.whenDoCount___21167 = undefined; - s.commandCount___21168 = undefined; - s.attrCount___21169 = undefined; - s.player___21243 = undefined; + s.names___6787 = undefined; + s.version___6798 = undefined; + s.buf___6803 = undefined; + s.world___6808 = undefined; + s.sprites___6827 = undefined; + s.backCnt___6841 = undefined; + s.backImages___6846 = undefined; + s.spriteCnt___6852 = undefined; + s.spriteImages___6857 = undefined; + s.helpNum___6863 = undefined; + s.help___6868 = undefined; + s.highScore___6870 = undefined; + s.p___6880 = undefined; + s.ruleName___6886 = undefined; + s.ruleids___6892 = undefined; + s.rules___6915 = undefined; + s.derivedRules___6917 = undefined; + s.whenDoCount___6918 = undefined; + s.commandCount___6919 = undefined; + s.attrCount___6920 = undefined; + s.player___6995 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -55185,8 +55212,8 @@ switch (step) { s.callLocIdx = 240; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; - s.names___21036 = (r0); - r0 = pxsim_Array__length(s.names___21036); + s.names___6787 = (r0); + r0 = pxsim_Array__length(s.names___6787); s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; @@ -55214,29 +55241,29 @@ switch (step) { r0 = s.retval; case 5: case 6: - s.tmp_0 = tileworld_settingsReadString__P3970_mk(s); + s.tmp_0 = tileworld_settingsReadString__P6681_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.VersionKey___3972; + s.tmp_0.arg1 = globals.VersionKey___6418; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 243; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - s.version___21047 = (r0); - s.tmp_0 = tileworld_settingsReadBuffer__P3971_mk(s); + s.version___6798 = (r0); + s.tmp_0 = tileworld_settingsReadBuffer__P6712_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.WorldBackgroundsKey___3977; + s.tmp_0.arg1 = globals.WorldBackgroundsKey___6341; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 244; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; - s.buf___21052 = (r0); - s.tmp_0 = r0 = s.buf___21052; + s.buf___6803 = (r0); + s.tmp_0 = r0 = s.buf___6803; 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___21052); + r0 = pxsim.BufferMethods.length(s.buf___6803); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); case 8: @@ -55244,8 +55271,8 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 9; continue; } - s.tmp_3 = tileworld_bufferToImage__P3843_mk(s); - s.tmp_3.arg0 = s.buf___21052; + s.tmp_3 = tileworld_bufferToImage__P4211_mk(s); + s.tmp_3.arg0 = s.buf___6803; s.callLocIdx = 245; s.pc = 33; return s.tmp_3; case 33: r0 = s.retval; @@ -55255,32 +55282,32 @@ switch (step) { case 10: // jmp value (already in r0) s.tmp_4 = r0; - s.world___21057 = (s.tmp_4); - r0 = pxsim_numops_toBoolDecr(s.world___21057); + s.world___6808 = (s.tmp_4); + r0 = pxsim_numops_toBoolDecr(s.world___6808); if (!r0) { step = 11; continue; } - r0 = s.world___21057; + r0 = s.world___6808; { step = 12; continue; } case 11: r0 = pxsim.image.create(32, 24); case 12: // jmp value (already in r0) s.tmp_0 = r0; - s.world___21057 = (s.tmp_0); - s.tmp_0 = tileworld_settingsReadBuffer__P3971_mk(s); + s.world___6808 = (s.tmp_0); + s.tmp_0 = tileworld_settingsReadBuffer__P6712_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.WorldSpritesKey___3978; + s.tmp_0.arg1 = globals.WorldSpritesKey___6355; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 246; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - s.buf___21052 = (r0); - s.tmp_0 = r0 = s.buf___21052; + s.buf___6803 = (r0); + s.tmp_0 = r0 = s.buf___6803; 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___21052); + r0 = pxsim.BufferMethods.length(s.buf___6803); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); case 14: @@ -55288,8 +55315,8 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 15; continue; } - s.tmp_3 = tileworld_bufferToImage__P3843_mk(s); - s.tmp_3.arg0 = s.buf___21052; + s.tmp_3 = tileworld_bufferToImage__P4211_mk(s); + s.tmp_3.arg0 = s.buf___6803; s.callLocIdx = 247; s.pc = 35; return s.tmp_3; case 35: r0 = s.retval; @@ -55299,60 +55326,60 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_4 = r0; - s.sprites___21076 = (s.tmp_4); - r0 = pxsim_numops_toBoolDecr(s.sprites___21076); + s.sprites___6827 = (s.tmp_4); + r0 = pxsim_numops_toBoolDecr(s.sprites___6827); if (!r0) { step = 17; continue; } - r0 = s.sprites___21076; + r0 = s.sprites___6827; { step = 18; continue; } case 17: r0 = pxsim.image.create(32, 24); case 18: // jmp value (already in r0) s.tmp_0 = r0; - s.sprites___21076 = (s.tmp_0); - s.tmp_0 = tileworld_settingsReadNumber__P3969_mk(s); + s.sprites___6827 = (s.tmp_0); + s.tmp_0 = tileworld_settingsReadNumber__P6648_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.BackImgCntKey___3974; + s.tmp_0.arg1 = globals.BackImgCntKey___6437; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 248; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; - s.backCnt___21090 = (r0); - s.tmp_0 = tileworld_readImages__P3983_mk(s); - s.tmp_0.arg0 = s.backCnt___21090; + s.backCnt___6841 = (r0); + s.tmp_0 = tileworld_readImages__P6733_mk(s); + s.tmp_0.arg0 = s.backCnt___6841; s.tmp_0.arg1 = s.arg0; - s.tmp_0.arg2 = globals.BackImageKey___3979; + s.tmp_0.arg2 = globals.BackImageKey___6729; s.tmp_0.arg3 = s.arg1; s.callLocIdx = 249; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.backImages___21095 = (r0); - s.tmp_0 = tileworld_settingsReadNumber__P3969_mk(s); + s.backImages___6846 = (r0); + s.tmp_0 = tileworld_settingsReadNumber__P6648_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.SpriteImgCntKey___3975; + s.tmp_0.arg1 = globals.SpriteImgCntKey___6446; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 250; s.pc = 38; return s.tmp_0; case 38: r0 = s.retval; - s.spriteCnt___21101 = (r0); - s.tmp_0 = tileworld_readImages__P3983_mk(s); - s.tmp_0.arg0 = s.spriteCnt___21101; + s.spriteCnt___6852 = (r0); + s.tmp_0 = tileworld_readImages__P6733_mk(s); + s.tmp_0.arg0 = s.spriteCnt___6852; s.tmp_0.arg1 = s.arg0; - s.tmp_0.arg2 = globals.SpriteImageKey___3980; + s.tmp_0.arg2 = globals.SpriteImageKey___6731; s.tmp_0.arg3 = s.arg1; s.callLocIdx = 251; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; - s.spriteImages___21106 = (r0); - s.tmp_0 = tileworld_settingsReadNumber__P3969_mk(s); + s.spriteImages___6857 = (r0); + s.tmp_0 = tileworld_settingsReadNumber__P6648_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.HelpKey___3973; + s.tmp_0.arg1 = globals.HelpKey___6366; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 252; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; - s.helpNum___21112 = (r0); - r0 = pxsim_numops_toBoolDecr(s.helpNum___21112); + s.helpNum___6863 = (r0); + r0 = pxsim_numops_toBoolDecr(s.helpNum___6863); if (!r0) { step = 19; continue; } r0 = true; { step = 20; continue; } @@ -55361,38 +55388,38 @@ switch (step) { case 20: // jmp value (already in r0) s.tmp_0 = r0; - s.help___21117 = (s.tmp_0); - s.tmp_0 = tileworld_settingsReadNumber__P3969_mk(s); + s.help___6868 = (s.tmp_0); + s.tmp_0 = tileworld_settingsReadNumber__P6648_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.HighScoreKey___3982; + s.tmp_0.arg1 = globals.HighScoreKey___6382; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 253; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; - s.highScore___21119 = (r0); - r0 = (s.highScore___21119 == undefined); + s.highScore___6870 = (r0); + r0 = (s.highScore___6870 == 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___21119; + r0 = s.highScore___6870; case 22: // jmp value (already in r0) s.tmp_1 = r0; - s.highScore___21119 = (s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_Project__C3937_VT); + s.highScore___6870 = (s.tmp_1); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_Project__C6110_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_Project_constructor__P3966_mk(s); + s.tmp_1 = tileworld_Project_constructor__P6131_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.backImages___21095; - s.tmp_1.arg3 = s.spriteImages___21106; + s.tmp_1.arg2 = s.backImages___6846; + s.tmp_1.arg3 = s.spriteImages___6857; s.callLocIdx = 254; s.pc = 42; return s.tmp_1; case 42: r0 = s.retval; - s.p___21129 = (s.tmp_0); + s.p___6880 = (s.tmp_0); if ((s.arg0) && (s.arg0).vtable) { setupResume(s, 43); pxsim_String__stringConv(s.arg0); @@ -55402,26 +55429,26 @@ switch (step) { case 43: r0 = s.retval; s.tmp_0 = r0; - if ((globals.RuleKey___3981) && (globals.RuleKey___3981).vtable) { + if ((globals.RuleKey___6323) && (globals.RuleKey___6323).vtable) { setupResume(s, 44); - pxsim_String__stringConv(globals.RuleKey___3981); + pxsim_String__stringConv(globals.RuleKey___6323); checkResumeConsumed(); return; - } else { s.retval = (globals.RuleKey___3981) + ""; } + } else { s.retval = (globals.RuleKey___6323) + ""; } case 44: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.ruleName___21135 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P21145); + s.ruleName___6886 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P6896); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.ruleName___21135); - r0 = pxsim_pxtcore_mkAction(1, inline__P21153); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.ruleName___6886); + r0 = pxsim_pxtcore_mkAction(1, inline__P6904); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.ruleName___21135); + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.ruleName___6886); s.tmp_2 = helpers_arrayMap__P57_mk(s); s.tmp_3 = helpers_arrayFilter__P61_mk(s); - s.tmp_3.arg0 = s.names___21036; + s.tmp_3.arg0 = s.names___6787; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 255; s.pc = 46; return s.tmp_3; case 46: @@ -55431,47 +55458,47 @@ switch (step) { s.callLocIdx = 257; s.pc = 45; return s.tmp_2; case 45: r0 = s.retval; - s.ruleids___21141 = (r0); + s.ruleids___6892 = (r0); r0 = pxsim_Array__mk(); - s.rules___21164 = (r0); + s.rules___6915 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.derivedRules___21166 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.derivedRules___21166, 0); + s.derivedRules___6917 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.derivedRules___6917, 0); r0 = pxsim_pxtrt.mklocRef(); - s.whenDoCount___21167 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.whenDoCount___21167, 0); + s.whenDoCount___6918 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.whenDoCount___6918, 0); r0 = pxsim_pxtrt.mklocRef(); - s.commandCount___21168 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.commandCount___21168, 0); + s.commandCount___6919 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.commandCount___6919, 0); r0 = pxsim_pxtrt.mklocRef(); - s.attrCount___21169 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.attrCount___21169, 0); - r0 = pxsim_pxtcore_mkAction(10, inline__P21172); + s.attrCount___6920 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.attrCount___6920, 0); + r0 = pxsim_pxtcore_mkAction(10, inline__P6923); 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___21090); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.spriteCnt___21101); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.p___21129); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.rules___21164); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.derivedRules___21166); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.whenDoCount___21167); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.commandCount___21168); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.attrCount___21169); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.backCnt___6841); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.spriteCnt___6852); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.p___6880); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.rules___6915); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.derivedRules___6917); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.whenDoCount___6918); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.commandCount___6919); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.attrCount___6920); s.tmp_1 = helpers_arrayForEach__P60_mk(s); - s.tmp_1.arg0 = s.ruleids___21141; + s.tmp_1.arg0 = s.ruleids___6892; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 265; s.pc = 47; return s.tmp_1; case 47: r0 = s.retval; - s.tmp_0 = tileworld_settingsReadNumber__P3969_mk(s); + s.tmp_0 = tileworld_settingsReadNumber__P6648_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.PlayerIndexKey___3976; + s.tmp_0.arg1 = globals.PlayerIndexKey___6455; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 266; s.pc = 48; return s.tmp_0; case 48: r0 = s.retval; - s.player___21243 = (r0); + s.player___6995 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 23; continue; } s.tmp_0 = console_log__P258_mk(s); @@ -55484,7 +55511,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 25; continue; } s.tmp_0 = console_log__P258_mk(s); - r0 = pxsim_Array__length(s.ruleids___21141); + r0 = pxsim_Array__length(s.ruleids___6892); s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 51); @@ -55501,7 +55528,7 @@ switch (step) { case 50: r0 = s.retval; s.tmp_0 = console_log__P258_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.derivedRules___21166); + r0 = pxsim_pxtrt_ldlocRef(s.derivedRules___6917); s.tmp_8 = r0; if ((s.tmp_8) && (s.tmp_8).vtable) { setupResume(s, 53); @@ -55534,9 +55561,9 @@ switch (step) { case 55: r0 = s.retval; s.tmp_3 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.derivedRules___21166); + r0 = pxsim_pxtrt_ldlocRef(s.derivedRules___6917); s.tmp_11 = r0; - r0 = pxsim_Array__length(s.ruleids___21141); + r0 = pxsim_Array__length(s.ruleids___6892); s.tmp_12 = r0; r0 = (s.tmp_11 / s.tmp_12); s.tmp_10 = r0; @@ -55566,7 +55593,7 @@ switch (step) { case 52: r0 = s.retval; s.tmp_0 = console_log__P258_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.whenDoCount___21167); + r0 = pxsim_pxtrt_ldlocRef(s.whenDoCount___6918); s.tmp_8 = r0; if ((s.tmp_8) && (s.tmp_8).vtable) { setupResume(s, 59); @@ -55599,9 +55626,9 @@ switch (step) { case 61: r0 = s.retval; s.tmp_3 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.whenDoCount___21167); + r0 = pxsim_pxtrt_ldlocRef(s.whenDoCount___6918); s.tmp_11 = r0; - r0 = pxsim_Array__length(s.ruleids___21141); + r0 = pxsim_Array__length(s.ruleids___6892); s.tmp_12 = r0; r0 = (s.tmp_11 / s.tmp_12); s.tmp_10 = r0; @@ -55631,7 +55658,7 @@ switch (step) { case 58: r0 = s.retval; s.tmp_0 = console_log__P258_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.commandCount___21168); + r0 = pxsim_pxtrt_ldlocRef(s.commandCount___6919); s.tmp_8 = r0; if ((s.tmp_8) && (s.tmp_8).vtable) { setupResume(s, 65); @@ -55664,9 +55691,9 @@ switch (step) { case 67: r0 = s.retval; s.tmp_3 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.commandCount___21168); + r0 = pxsim_pxtrt_ldlocRef(s.commandCount___6919); s.tmp_11 = r0; - r0 = pxsim_Array__length(s.ruleids___21141); + r0 = pxsim_Array__length(s.ruleids___6892); s.tmp_12 = r0; r0 = (s.tmp_11 / s.tmp_12); s.tmp_10 = r0; @@ -55696,7 +55723,7 @@ switch (step) { case 64: r0 = s.retval; s.tmp_0 = console_log__P258_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.attrCount___21169); + r0 = pxsim_pxtrt_ldlocRef(s.attrCount___6920); s.tmp_8 = r0; if ((s.tmp_8) && (s.tmp_8).vtable) { setupResume(s, 71); @@ -55729,9 +55756,9 @@ switch (step) { case 73: r0 = s.retval; s.tmp_3 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.attrCount___21169); + r0 = pxsim_pxtrt_ldlocRef(s.attrCount___6920); s.tmp_11 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.whenDoCount___21167); + r0 = pxsim_pxtrt_ldlocRef(s.whenDoCount___6918); s.tmp_12 = r0; r0 = (s.tmp_11 / s.tmp_12); s.tmp_10 = r0; @@ -55762,44 +55789,44 @@ switch (step) { r0 = s.retval; case 25: case 26: - s.tmp_0 = tileworld_Project_setRules__P3938_mk(s); - s.tmp_0.arg0 = s.p___21129; - s.tmp_0.arg1 = s.rules___21164; + s.tmp_0 = tileworld_Project_setRules__P6111_mk(s); + s.tmp_0.arg0 = s.p___6880; + s.tmp_0.arg1 = s.rules___6915; s.callLocIdx = 273; s.pc = 76; return s.tmp_0; case 76: r0 = s.retval; - s.tmp_0 = tileworld_Project_setWorldBackgrounds__P3942_mk(s); - s.tmp_0.arg0 = s.p___21129; - s.tmp_0.arg1 = s.world___21057; + s.tmp_0 = tileworld_Project_setWorldBackgrounds__P6115_mk(s); + s.tmp_0.arg0 = s.p___6880; + s.tmp_0.arg1 = s.world___6808; s.callLocIdx = 274; s.pc = 77; return s.tmp_0; case 77: r0 = s.retval; - s.tmp_0 = tileworld_Project_setWorldSprites__P3944_mk(s); - s.tmp_0.arg0 = s.p___21129; - s.tmp_0.arg1 = s.sprites___21076; + s.tmp_0 = tileworld_Project_setWorldSprites__P6117_mk(s); + s.tmp_0.arg0 = s.p___6880; + s.tmp_0.arg1 = s.sprites___6827; s.callLocIdx = 275; s.pc = 78; return s.tmp_0; case 78: r0 = s.retval; - s.tmp_0 = tileworld_Project_setPlayer__P3940_mk(s); - s.tmp_0.arg0 = s.p___21129; - s.tmp_0.arg1 = s.player___21243; + s.tmp_0 = tileworld_Project_setPlayer__P6113_mk(s); + s.tmp_0.arg0 = s.p___6880; + s.tmp_0.arg1 = s.player___6995; s.callLocIdx = 276; s.pc = 79; return s.tmp_0; case 79: r0 = s.retval; - r0 = (s.p___21129).fields["help"] = (s.help___21117); - r0 = (s.p___21129).fields["version"] = (s.version___21047); - r0 = (s.p___21129).fields["highScore"] = (s.highScore___21119); - r0 = s.p___21129; + r0 = (s.p___6880).fields["help"] = (s.help___6868); + r0 = (s.p___6880).fields["version"] = (s.version___6798); + r0 = (s.p___6880).fields["highScore"] = (s.highScore___6870); + r0 = s.p___6880; case 27: return leave(s, r0) default: oops() } } } -tileworld_loadProject__P3984.info = {"start":10108,"length":3486,"line":276,"column":4,"endLine":345,"endColumn":5,"fileName":"project.ts","functionName":"loadProject","argumentNames":["prefix","output"]} +tileworld_loadProject__P6784.info = {"start":10108,"length":3486,"line":276,"column":4,"endLine":345,"endColumn":5,"fileName":"project.ts","functionName":"loadProject","argumentNames":["prefix","output"]} -function tileworld_loadProject__P3984_mk(s) { +function tileworld_loadProject__P6784_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_loadProject__P3984, depth: s.depth + 1, + parent: s, fn: tileworld_loadProject__P6784, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55814,27 +55841,27 @@ function tileworld_loadProject__P3984_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - names___21036: undefined, - version___21047: undefined, - buf___21052: undefined, - world___21057: undefined, - sprites___21076: undefined, - backCnt___21090: undefined, - backImages___21095: undefined, - spriteCnt___21101: undefined, - spriteImages___21106: undefined, - helpNum___21112: undefined, - help___21117: undefined, - highScore___21119: undefined, - p___21129: undefined, - ruleName___21135: undefined, - ruleids___21141: undefined, - rules___21164: undefined, - derivedRules___21166: undefined, - whenDoCount___21167: undefined, - commandCount___21168: undefined, - attrCount___21169: undefined, - player___21243: undefined, + names___6787: undefined, + version___6798: undefined, + buf___6803: undefined, + world___6808: undefined, + sprites___6827: undefined, + backCnt___6841: undefined, + backImages___6846: undefined, + spriteCnt___6852: undefined, + spriteImages___6857: undefined, + helpNum___6863: undefined, + help___6868: undefined, + highScore___6870: undefined, + p___6880: undefined, + ruleName___6886: undefined, + ruleids___6892: undefined, + rules___6915: undefined, + derivedRules___6917: undefined, + whenDoCount___6918: undefined, + commandCount___6919: undefined, + attrCount___6920: undefined, + player___6995: undefined, arg0: undefined, arg1: undefined, } } @@ -55843,7 +55870,7 @@ function tileworld_loadProject__P3984_mk(s) { -function inline__P21145(s) { +function inline__P6896(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55863,12 +55890,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P21145.info = {"start":11773,"length":29,"line":304,"column":35,"endLine":304,"endColumn":64,"fileName":"project.ts","functionName":"inline","argumentNames":["s"]} +inline__P6896.info = {"start":11773,"length":29,"line":304,"column":35,"endLine":304,"endColumn":64,"fileName":"project.ts","functionName":"inline","argumentNames":["s"]} -function inline__P21145_mk(s) { +function inline__P6896_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P21145, depth: s.depth + 1, + parent: s, fn: inline__P6896, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -55878,7 +55905,7 @@ function inline__P21145_mk(s) { -function inline__P21153(s) { +function inline__P6904(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55905,12 +55932,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P21153.info = {"start":11808,"length":42,"line":304,"column":70,"endLine":304,"endColumn":112,"fileName":"project.ts","functionName":"inline","argumentNames":["s"]} +inline__P6904.info = {"start":11808,"length":42,"line":304,"column":70,"endLine":304,"endColumn":112,"fileName":"project.ts","functionName":"inline","argumentNames":["s"]} -function inline__P21153_mk(s) { +function inline__P6904_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P21153, depth: s.depth + 1, + parent: s, fn: inline__P6904, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55922,7 +55949,7 @@ function inline__P21153_mk(s) { -function inline__P21172(s) { +function inline__P6923(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55932,24 +55959,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___21174 = undefined; - s.rule___21186 = undefined; - s.rv___21191 = undefined; - s.wdCnt___21211 = undefined; - s.cmdCnt___21212 = undefined; - s.attrCnt___21213 = undefined; + s.buf___6925 = undefined; + s.rule___6937 = undefined; + s.rv___6942 = undefined; + s.wdCnt___6962 = undefined; + s.cmdCnt___6963 = undefined; + s.attrCnt___6964 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_settingsReadBuffer__P3971_mk(s); + s.tmp_0 = tileworld_settingsReadBuffer__P6712_mk(s); s.tmp_0.arg0 = s.caps[0]; - if ((globals.RuleKey___3981) && (globals.RuleKey___3981).vtable) { + if ((globals.RuleKey___6323) && (globals.RuleKey___6323).vtable) { setupResume(s, 6); - pxsim_String__stringConv(globals.RuleKey___3981); + pxsim_String__stringConv(globals.RuleKey___6323); checkResumeConsumed(); return; - } else { s.retval = (globals.RuleKey___3981) + ""; } + } else { s.retval = (globals.RuleKey___6323) + ""; } case 6: r0 = s.retval; s.tmp_1 = r0; @@ -55970,36 +55997,36 @@ switch (step) { s.callLocIdx = 258; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.buf___21174 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___21174); + s.buf___6925 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___6925); if (!r0) { step = 3; continue; } - s.tmp_0 = tileworld_unPackRule__P3883_mk(s); - s.tmp_0.arg0 = s.buf___21174; + s.tmp_0 = tileworld_unPackRule__P4889_mk(s); + s.tmp_0.arg0 = s.buf___6925; s.tmp_0.arg1 = s.caps[2]; s.tmp_0.arg2 = s.caps[3]; s.callLocIdx = 259; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.rule___21186 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleView__C3884_VT); + s.rule___6937 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_RuleView__C4976_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_RuleView_constructor__P3924_mk(s); + s.tmp_1 = tileworld_RuleView_constructor__P5013_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___21186; + s.tmp_1.arg3 = s.rule___6937; s.callLocIdx = 260; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - s.rv___21191 = (s.tmp_0); - r0 = pxsim_Array__push(s.caps[5], s.rv___21191); + s.rv___6942 = (s.tmp_0); + r0 = pxsim_Array__push(s.caps[5], s.rv___6942); 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__P3886_mk(s); - s.tmp_5.arg0 = s.rv___21191; + s.tmp_5 = tileworld_RuleView_getDerivedRules__P4978_mk(s); + s.tmp_5.arg0 = s.rv___6942; s.callLocIdx = 261; s.pc = 10; return s.tmp_5; case 10: r0 = s.retval; @@ -56009,34 +56036,34 @@ 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__P3872_mk(s); - s.tmp_1.arg0 = s.rv___21191; + s.tmp_1 = tileworld_ruleStats__P4593_mk(s); + s.tmp_1.arg0 = s.rv___6942; s.callLocIdx = 262; 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___21211 = (r0); + s.wdCnt___6962 = (r0); r0 = pxsim_Array__getAt(s.tmp_0, 1); - s.cmdCnt___21212 = (r0); + s.cmdCnt___6963 = (r0); r0 = pxsim_Array__getAt(s.tmp_0, 2); - s.attrCnt___21213 = (r0); + s.attrCnt___6964 = (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___21211); + r0 = (s.tmp_2 + s.wdCnt___6962); 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___21212); + r0 = (s.tmp_2 + s.cmdCnt___6963); 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___21213); + r0 = (s.tmp_2 + s.attrCnt___6964); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); case 1: @@ -56088,12 +56115,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P21172.info = {"start":12029,"length":732,"line":310,"column":24,"endLine":327,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["rid"]} +inline__P6923.info = {"start":12029,"length":732,"line":310,"column":24,"endLine":327,"endColumn":9,"fileName":"project.ts","functionName":"inline","argumentNames":["rid"]} -function inline__P21172_mk(s) { +function inline__P6923_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P21172, depth: s.depth + 1, + parent: s, fn: inline__P6923, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56101,12 +56128,12 @@ function inline__P21172_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - buf___21174: undefined, - rule___21186: undefined, - rv___21191: undefined, - wdCnt___21211: undefined, - cmdCnt___21212: undefined, - attrCnt___21213: undefined, + buf___6925: undefined, + rule___6937: undefined, + rv___6942: undefined, + wdCnt___6962: undefined, + cmdCnt___6963: undefined, + attrCnt___6964: undefined, arg0: undefined, } } @@ -56114,7 +56141,7 @@ function inline__P21172_mk(s) { -function tileworld_Project_setRules__P3938(s) { +function tileworld_Project_setRules__P6111(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56130,18 +56157,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Project__C3937_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Project__C6110_VT)) failedCast(r0); r0 = (s.arg0).fields["rules"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_Project_setRules__P3938.info = {"start":2335,"length":74,"line":59,"column":8,"endLine":61,"endColumn":9,"fileName":"project.ts","functionName":"setRules","argumentNames":["this","rvl"]} +tileworld_Project_setRules__P6111.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__P3938_mk(s) { +function tileworld_Project_setRules__P6111_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Project_setRules__P3938, depth: s.depth + 1, + parent: s, fn: tileworld_Project_setRules__P6111, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -56151,7 +56178,7 @@ function tileworld_Project_setRules__P3938_mk(s) { -function tileworld_ruleStats__P3872(s) { +function tileworld_ruleStats__P4593(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56161,99 +56188,99 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wdCnt___21373 = undefined; - s.cmdCnt___21374 = undefined; - s.attrCnt___21375 = undefined; - s.col___21376 = undefined; - s.row___21380 = undefined; - s.whendo___21384 = undefined; + s.wdCnt___4595 = undefined; + s.cmdCnt___4596 = undefined; + s.attrCnt___4597 = undefined; + s.col___4598 = undefined; + s.row___4602 = undefined; + s.whendo___4606 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.wdCnt___21373 = (0); - s.cmdCnt___21374 = (0); - s.attrCnt___21375 = (0); - s.col___21376 = (1); + s.wdCnt___4595 = (0); + s.cmdCnt___4596 = (0); + s.attrCnt___4597 = (0); + s.col___4598 = (1); case 1: - r0 = (s.col___21376 <= 3); + r0 = (s.col___4598 <= 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___21380 = (1); + s.row___4602 = (1); case 2: - r0 = (s.row___21380 <= 3); + r0 = (s.row___4602 <= 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = tileworld_RuleView_getWhenDo__P3897_mk(s); + s.tmp_1 = tileworld_RuleView_getWhenDo__P4608_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.col___21376; - s.tmp_1.arg2 = s.row___21380; + s.tmp_1.arg1 = s.col___4598; + s.tmp_1.arg2 = s.row___4602; s.callLocIdx = 73; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.whendo___21384 = (r0); - r0 = (s.whendo___21384 != -1); + s.whendo___4606 = (r0); + r0 = (s.whendo___4606 != -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = (s.wdCnt___21373 + 1); - s.wdCnt___21373 = (r0); - s.tmp_0 = r0 = s.cmdCnt___21374; + r0 = (s.wdCnt___4595 + 1); + s.wdCnt___4595 = (r0); + s.tmp_0 = r0 = s.cmdCnt___4596; r0 = s.arg0.fields["r"]; r0 = r0.fields["whenDo"]; s.tmp_2 = r0; - r0 = pxsim_Array__getAt(s.tmp_2, s.whendo___21384); + r0 = pxsim_Array__getAt(s.tmp_2, s.whendo___4606); r0 = r0.fields["commandsLen"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.cmdCnt___21374 = (r0); - s.tmp_0 = r0 = s.attrCnt___21375; - s.tmp_2 = tileworld_RuleView_attrCnt__P3904_mk(s); + s.cmdCnt___4596 = (r0); + s.tmp_0 = r0 = s.attrCnt___4597; + s.tmp_2 = tileworld_RuleView_attrCnt__P4630_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.whendo___21384; + s.tmp_2.arg1 = s.whendo___4606; s.callLocIdx = 75; 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___21375 = (r0); + s.attrCnt___4597 = (r0); case 3: case 4: - r0 = (s.row___21380 + 1); - s.row___21380 = (r0); + r0 = (s.row___4602 + 1); + s.row___4602 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___21376 + 1); - s.col___21376 = (r0); + r0 = (s.col___4598 + 1); + s.col___4598 = (r0); { step = 1; continue; } case 6: r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.wdCnt___21373); - r0 = pxsim_Array__push(s.tmp_0, s.cmdCnt___21374); - r0 = pxsim_Array__push(s.tmp_0, s.attrCnt___21375); + r0 = pxsim_Array__push(s.tmp_0, s.wdCnt___4595); + r0 = pxsim_Array__push(s.tmp_0, s.cmdCnt___4596); + r0 = pxsim_Array__push(s.tmp_0, s.attrCnt___4597); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -tileworld_ruleStats__P3872.info = {"start":8007,"length":517,"line":215,"column":4,"endLine":230,"endColumn":5,"fileName":"rule.ts","functionName":"ruleStats","argumentNames":["rv"]} +tileworld_ruleStats__P4593.info = {"start":8007,"length":517,"line":215,"column":4,"endLine":230,"endColumn":5,"fileName":"rule.ts","functionName":"ruleStats","argumentNames":["rv"]} -function tileworld_ruleStats__P3872_mk(s) { +function tileworld_ruleStats__P4593_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleStats__P3872, depth: s.depth + 1, + parent: s, fn: tileworld_ruleStats__P4593, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - wdCnt___21373: undefined, - cmdCnt___21374: undefined, - attrCnt___21375: undefined, - col___21376: undefined, - row___21380: undefined, - whendo___21384: undefined, + wdCnt___4595: undefined, + cmdCnt___4596: undefined, + attrCnt___4597: undefined, + col___4598: undefined, + row___4602: undefined, + whendo___4606: undefined, arg0: undefined, } } @@ -56261,7 +56288,7 @@ function tileworld_ruleStats__P3872_mk(s) { -function tileworld_RuleView_attrCnt__P3904(s) { +function tileworld_RuleView_attrCnt__P4630(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56271,20 +56298,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cnt___21419 = undefined; - s.i___21420 = undefined; - s.i___21437 = undefined; + s.cnt___5373 = undefined; + s.i___5374 = undefined; + s.i___5392 = 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__C3884_VT)) failedCast(r0); - s.cnt___21419 = (0); - s.i___21420 = (0); + if (!checkSubtype(r0, tileworld_RuleView__C4976_VT)) failedCast(r0); + s.cnt___5373 = (0); + s.i___5374 = (0); case 1: - s.tmp_1 = r0 = s.i___21420; + s.tmp_1 = r0 = s.i___5374; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_backgroundsI"]; @@ -56295,10 +56322,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__P3902_mk(s); + s.tmp_7 = tileworld_RuleView_getSetBgAttr__P4993_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = s.arg1; - s.tmp_7.arg2 = s.i___21420; + s.tmp_7.arg2 = s.i___5374; s.tmp_7.arg3 = 65535; s.callLocIdx = 130; s.pc = 9; return s.tmp_7; case 9: @@ -56308,17 +56335,17 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 2; continue; } - r0 = (s.cnt___21419 + 1); - s.cnt___21419 = (r0); + r0 = (s.cnt___5373 + 1); + s.cnt___5373 = (r0); case 2: case 3: - r0 = (s.i___21420 + 1); - s.i___21420 = (r0); + r0 = (s.i___5374 + 1); + s.i___5374 = (r0); { step = 1; continue; } case 4: - s.i___21437 = (0); + s.i___5392 = (0); case 5: - s.tmp_1 = r0 = s.i___21437; + s.tmp_1 = r0 = s.i___5392; r0 = s.arg0.fields["p"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_spritesI"]; @@ -56329,10 +56356,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__P3903_mk(s); + s.tmp_7 = tileworld_RuleView_getSetSpAttr__P4994_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = s.arg1; - s.tmp_7.arg2 = s.i___21437; + s.tmp_7.arg2 = s.i___5392; s.tmp_7.arg3 = 65535; s.callLocIdx = 132; s.pc = 10; return s.tmp_7; case 10: @@ -56342,24 +56369,24 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 6; continue; } - r0 = (s.cnt___21419 + 1); - s.cnt___21419 = (r0); + r0 = (s.cnt___5373 + 1); + s.cnt___5373 = (r0); case 6: case 7: - r0 = (s.i___21437 + 1); - s.i___21437 = (r0); + r0 = (s.i___5392 + 1); + s.i___5392 = (r0); { step = 5; continue; } case 8: - r0 = s.cnt___21419; + r0 = s.cnt___5373; return leave(s, r0) default: oops() } } } -tileworld_RuleView_attrCnt__P3904.info = {"start":4924,"length":419,"line":142,"column":8,"endLine":153,"endColumn":9,"fileName":"ruleview.ts","functionName":"attrCnt","argumentNames":["this","whendo"]} +tileworld_RuleView_attrCnt__P4630.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__P3904_mk(s) { +function tileworld_RuleView_attrCnt__P4630_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleView_attrCnt__P3904, depth: s.depth + 1, + parent: s, fn: tileworld_RuleView_attrCnt__P4630, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56369,9 +56396,9 @@ function tileworld_RuleView_attrCnt__P3904_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - cnt___21419: undefined, - i___21420: undefined, - i___21437: undefined, + cnt___5373: undefined, + i___5374: undefined, + i___5392: undefined, arg0: undefined, arg1: undefined, } } @@ -56380,7 +56407,7 @@ function tileworld_RuleView_attrCnt__P3904_mk(s) { -function tileworld_unPackRule__P3883(s) { +function tileworld_unPackRule__P4889(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56390,85 +56417,85 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rt___21461 = undefined; - s.ra___21463 = undefined; - s.rv___21465 = undefined; - s.rule___21467 = undefined; - s.whenDoLen___21474 = undefined; - s.i___21476 = undefined; - s.col___21481 = undefined; - s.row___21483 = undefined; - s.wd___21485 = undefined; + s.rt___4896 = undefined; + s.ra___4898 = undefined; + s.rv___4900 = undefined; + s.rule___4902 = undefined; + s.whenDoLen___4909 = undefined; + s.i___4911 = undefined; + s.col___4916 = undefined; + s.row___4918 = undefined; + s.wd___4920 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - globals.ruleBuf___3874 = (s.arg0); - globals.bitIndex___3876 = (0); - s.tmp_0 = tileworld_readBuf__P3880_mk(s); + globals.ruleBuf___4643 = (s.arg0); + globals.bitIndex___4645 = (0); + s.tmp_0 = tileworld_readBuf__P4756_mk(s); s.tmp_0.arg0 = 4; s.callLocIdx = 98; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.rt___21461 = (r0); - s.tmp_0 = tileworld_readBuf__P3880_mk(s); + s.rt___4896 = (r0); + s.tmp_0 = tileworld_readBuf__P4756_mk(s); s.tmp_0.arg0 = 4; s.callLocIdx = 99; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.ra___21463 = (r0); - s.tmp_0 = tileworld_readBuf__P3880_mk(s); + s.ra___4898 = (r0); + s.tmp_0 = tileworld_readBuf__P4756_mk(s); s.tmp_0.arg0 = 4; s.callLocIdx = 100; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.rv___21465 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_Rule__C3861_VT); + s.rv___4900 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_Rule__C4315_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_Rule_constructor__P3862_mk(s); + s.tmp_1 = tileworld_Rule_constructor__P4316_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.rt___21461; - s.tmp_1.arg2 = s.ra___21463; + s.tmp_1.arg1 = s.rt___4896; + s.tmp_1.arg2 = s.ra___4898; r0 = pxsim_Array__mk(); s.tmp_1.arg3 = r0; - s.tmp_1.arg4 = s.rv___21465; + s.tmp_1.arg4 = s.rv___4900; s.callLocIdx = 101; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - s.rule___21467 = (s.tmp_0); - s.tmp_0 = tileworld_readBuf__P3880_mk(s); + s.rule___4902 = (s.tmp_0); + s.tmp_0 = tileworld_readBuf__P4756_mk(s); s.tmp_0.arg0 = 4; s.callLocIdx = 102; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.whenDoLen___21474 = (r0); - s.i___21476 = (0); + s.whenDoLen___4909 = (r0); + s.i___4911 = (0); case 1: - r0 = (s.i___21476 < s.whenDoLen___21474); + r0 = (s.i___4911 < s.whenDoLen___4909); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = tileworld_readBuf__P3880_mk(s); + s.tmp_1 = tileworld_readBuf__P4756_mk(s); s.tmp_1.arg0 = 4; s.callLocIdx = 103; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.col___21481 = (r0); - s.tmp_0 = tileworld_readBuf__P3880_mk(s); + s.col___4916 = (r0); + s.tmp_0 = tileworld_readBuf__P4756_mk(s); s.tmp_0.arg0 = 4; s.callLocIdx = 104; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.row___21483 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(tileworld_WhenDo__C3859_VT); + s.row___4918 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(tileworld_WhenDo__C4302_VT); s.tmp_0 = r0; - s.tmp_1 = tileworld_WhenDo_constructor__P3860_mk(s); + s.tmp_1 = tileworld_WhenDo_constructor__P4303_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.col___21481; - s.tmp_1.arg2 = s.row___21483; - s.tmp_2 = tileworld_readBufRaw__P3881_mk(s); + s.tmp_1.arg1 = s.col___4916; + s.tmp_1.arg2 = s.row___4918; + s.tmp_2 = tileworld_readBufRaw__P4760_mk(s); r0 = (s.arg1 >> 2); s.tmp_2.arg0 = r0; r0 = (s.arg1 >> 2); @@ -56477,7 +56504,7 @@ switch (step) { case 11: r0 = s.retval; s.tmp_1.arg3 = r0; - s.tmp_3 = tileworld_readBufRaw__P3881_mk(s); + s.tmp_3 = tileworld_readBufRaw__P4760_mk(s); r0 = (s.arg2 >> 2); s.tmp_3.arg0 = r0; r0 = (s.arg2 >> 2); @@ -56492,61 +56519,61 @@ switch (step) { s.callLocIdx = 107; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.wd___21485 = (s.tmp_0); - s.tmp_0 = r0 = s.wd___21485; - s.tmp_2 = tileworld_readBuf__P3880_mk(s); + s.wd___4920 = (s.tmp_0); + s.tmp_0 = r0 = s.wd___4920; + s.tmp_2 = tileworld_readBuf__P4756_mk(s); s.tmp_2.arg0 = 4; s.callLocIdx = 108; 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___21485; - s.tmp_2 = tileworld_readBuf__P3880_mk(s); + s.tmp_0 = r0 = s.wd___4920; + s.tmp_2 = tileworld_readBuf__P4756_mk(s); s.tmp_2.arg0 = 4; s.callLocIdx = 109; 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___21467.fields["whenDo"]; + r0 = s.rule___4902.fields["whenDo"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.wd___21485); - r0 = (s.i___21476 + 1); - s.i___21476 = (r0); + r0 = pxsim_Array__push(s.tmp_0, s.wd___4920); + r0 = (s.i___4911 + 1); + s.i___4911 = (r0); { step = 1; continue; } case 2: s.tmp_0 = helpers_arrayForEach__P60_mk(s); - r0 = s.rule___21467.fields["whenDo"]; + r0 = s.rule___4902.fields["whenDo"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P21519; + s.tmp_0.arg1 = inline__P4954; s.callLocIdx = 111; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = s.rule___21467; + r0 = s.rule___4902; return leave(s, r0) default: oops() } } } -tileworld_unPackRule__P3883.info = {"start":11735,"length":1027,"line":327,"column":4,"endLine":355,"endColumn":5,"fileName":"rule.ts","functionName":"unPackRule","argumentNames":["buf","bgLen","spLen"]} +tileworld_unPackRule__P4889.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__P3883_mk(s) { +function tileworld_unPackRule__P4889_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_unPackRule__P3883, depth: s.depth + 1, + parent: s, fn: tileworld_unPackRule__P4889, depth: s.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___21461: undefined, - ra___21463: undefined, - rv___21465: undefined, - rule___21467: undefined, - whenDoLen___21474: undefined, - i___21476: undefined, - col___21481: undefined, - row___21483: undefined, - wd___21485: undefined, + rt___4896: undefined, + ra___4898: undefined, + rv___4900: undefined, + rule___4902: undefined, + whenDoLen___4909: undefined, + i___4911: undefined, + col___4916: undefined, + row___4918: undefined, + wd___4920: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -56556,7 +56583,7 @@ function tileworld_unPackRule__P3883_mk(s) { -function inline__P21519(s) { +function inline__P4954(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56577,7 +56604,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__P3881_mk(s); + s.tmp_4 = tileworld_readBufRaw__P4760_mk(s); s.tmp_4.arg0 = 8; r0 = s.arg0.fields["commandsLen"]; s.tmp_5 = r0; @@ -56599,12 +56626,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P21519.info = {"start":12492,"length":241,"line":347,"column":28,"endLine":353,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} +inline__P4954.info = {"start":12492,"length":241,"line":347,"column":28,"endLine":353,"endColumn":9,"fileName":"rule.ts","functionName":"inline","argumentNames":["wd"]} -function inline__P21519_mk(s) { +function inline__P4954_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P21519, depth: s.depth + 1, + parent: s, fn: inline__P4954, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56619,7 +56646,7 @@ function inline__P21519_mk(s) { -function tileworld_readBufRaw__P3881(s) { +function tileworld_readBufRaw__P4760(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56629,52 +56656,52 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.b___21543 = undefined; - s.i___21547 = undefined; + s.b___4763 = undefined; + s.i___4767 = 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___21543 = (r0); - s.i___21547 = (0); + s.b___4763 = (r0); + s.i___4767 = (0); case 1: - r0 = (s.i___21547 < s.arg1); + r0 = (s.i___4767 < s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.b___21543; - s.tmp_2 = r0 = s.i___21547; - s.tmp_4 = tileworld_readBuf__P3880_mk(s); + s.tmp_1 = r0 = s.b___4763; + s.tmp_2 = r0 = s.i___4767; + s.tmp_4 = tileworld_readBuf__P4756_mk(s); s.tmp_4.arg0 = 8; s.callLocIdx = 82; 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___21547 + 1); - s.i___21547 = (r0); + r0 = (s.i___4767 + 1); + s.i___4767 = (r0); { step = 1; continue; } case 2: - r0 = s.b___21543; + r0 = s.b___4763; return leave(s, r0) default: oops() } } } -tileworld_readBufRaw__P3881.info = {"start":10235,"length":207,"line":288,"column":4,"endLine":294,"endColumn":5,"fileName":"rule.ts","functionName":"readBufRaw","argumentNames":["bytes","cnt"]} +tileworld_readBufRaw__P4760.info = {"start":10235,"length":207,"line":288,"column":4,"endLine":294,"endColumn":5,"fileName":"rule.ts","functionName":"readBufRaw","argumentNames":["bytes","cnt"]} -function tileworld_readBufRaw__P3881_mk(s) { +function tileworld_readBufRaw__P4760_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_readBufRaw__P3881, depth: s.depth + 1, + parent: s, fn: tileworld_readBufRaw__P4760, depth: s.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___21543: undefined, - i___21547: undefined, + b___4763: undefined, + i___4767: undefined, arg0: undefined, arg1: undefined, } } @@ -56683,7 +56710,7 @@ function tileworld_readBufRaw__P3881_mk(s) { -function tileworld_readBuf__P3880(s) { +function tileworld_readBuf__P4756(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56697,7 +56724,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_readWriteBuf__P3877_mk(s); + s.tmp_0 = tileworld_readWriteBuf__P4646_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = false; @@ -56707,12 +56734,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_readBuf__P3880.info = {"start":10092,"length":83,"line":283,"column":4,"endLine":285,"endColumn":5,"fileName":"rule.ts","functionName":"readBuf","argumentNames":["bits"]} +tileworld_readBuf__P4756.info = {"start":10092,"length":83,"line":283,"column":4,"endLine":285,"endColumn":5,"fileName":"rule.ts","functionName":"readBuf","argumentNames":["bits"]} -function tileworld_readBuf__P3880_mk(s) { +function tileworld_readBuf__P4756_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_readBuf__P3880, depth: s.depth + 1, + parent: s, fn: tileworld_readBuf__P4756, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -56732,13 +56759,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.start___21578 = undefined; - s.sign___21608 = undefined; - s.output___21654 = undefined; - s.hasDigit___21655 = undefined; - s.i___21656 = undefined; - s.code___21663 = undefined; - s.val___21670 = undefined; + s.start___25140 = undefined; + s.sign___25170 = undefined; + s.output___25216 = undefined; + s.hasDigit___25217 = undefined; + s.i___25218 = undefined; + s.code___25225 = undefined; + s.val___25232 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -56785,9 +56812,9 @@ switch (step) { { step = 46; continue; } case 7: case 8: - s.start___21578 = (0); + s.start___25140 = (0); case 9: - s.tmp_1 = r0 = s.start___21578; + s.tmp_1 = r0 = s.start___25140; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -56798,7 +56825,7 @@ switch (step) { { step = 11; continue; } case 10: s.tmp_3 = helpers_isWhitespace__P73_mk(s); - r0 = pxsim_String_.charCodeAt(s.arg0, s.start___21578); + r0 = pxsim_String_.charCodeAt(s.arg0, s.start___25140); s.tmp_3.arg0 = r0; s.callLocIdx = 0; s.pc = 47; return s.tmp_3; case 47: @@ -56808,11 +56835,11 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 12; continue; } - r0 = (s.start___21578 + 1); - s.start___21578 = (r0); + r0 = (s.start___25140 + 1); + s.start___25140 = (r0); { step = 9; continue; } case 12: - s.tmp_1 = r0 = s.start___21578; + s.tmp_1 = r0 = s.start___25140; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 === s.tmp_2); @@ -56823,8 +56850,8 @@ switch (step) { { step = 46; continue; } case 13: case 14: - s.sign___21608 = (1); - r0 = pxsim_String_.charAt(s.arg0, s.start___21578); + s.sign___25170 = (1); + r0 = pxsim_String_.charAt(s.arg0, s.start___25140); s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq("-", s.tmp_0); if (r0) { step = 15; continue; } @@ -56833,10 +56860,10 @@ switch (step) { r0 = s.tmp_0; { step = 17; continue; } case 15: - s.sign___21608 = (-1); + s.sign___25170 = (-1); case 16: - r0 = (s.start___21578 + 1); - s.start___21578 = (r0); + r0 = (s.start___25140 + 1); + s.start___25140 = (r0); case 17: r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; @@ -56856,7 +56883,7 @@ switch (step) { r0 = s.tmp_2; { step = 21; continue; } case 20: - r0 = pxsim_String_.charAt(s.arg0, s.start___21578); + r0 = pxsim_String_.charAt(s.arg0, s.start___25140); s.tmp_3 = r0; r0 = ("0" === s.tmp_3); case 21: @@ -56868,7 +56895,7 @@ switch (step) { { step = 25; continue; } case 22: s.tmp_7 = r0 = s.arg0; - r0 = (s.start___21578 + 1); + r0 = (s.start___25140 + 1); s.tmp_8 = r0; r0 = pxsim_String_.charAt(s.tmp_7, s.tmp_8); s.tmp_6 = r0; @@ -56880,7 +56907,7 @@ switch (step) { { step = 24; continue; } case 23: s.tmp_10 = r0 = s.arg0; - r0 = (s.start___21578 + 1); + r0 = (s.start___25140 + 1); s.tmp_11 = r0; r0 = pxsim_String_.charAt(s.tmp_10, s.tmp_11); s.tmp_9 = r0; @@ -56895,8 +56922,8 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_13); if (!r0) { step = 26; continue; } s.arg1 = (16); - r0 = (s.start___21578 + 2); - s.start___21578 = (r0); + r0 = (s.start___25140 + 2); + s.start___25140 = (r0); { step = 29; continue; } case 26: r0 = pxsim_numops_toBoolDecr(s.arg1); @@ -56909,73 +56936,73 @@ switch (step) { case 27: case 28: case 29: - s.output___21654 = (0); - s.hasDigit___21655 = (false); - s.i___21656 = (s.start___21578); + s.output___25216 = (0); + s.hasDigit___25217 = (false); + s.i___25218 = (s.start___25140); case 30: - s.tmp_1 = r0 = s.i___21656; + s.tmp_1 = r0 = s.i___25218; 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___21656); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___25218); s.tmp_3 = r0; r0 = (s.tmp_3 | 32); - s.code___21663 = (r0); - s.val___21670 = (undefined); - r0 = (s.code___21663 >= 48); + s.code___25225 = (r0); + s.val___25232 = (undefined); + r0 = (s.code___25225 >= 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___21663 < 58); + r0 = (s.code___25225 < 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___21663 - 48); - s.val___21670 = (r0); + r0 = (s.code___25225 - 48); + s.val___25232 = (r0); { step = 38; continue; } case 33: - r0 = (s.code___21663 >= 97); + r0 = (s.code___25225 >= 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___21663 < 123); + r0 = (s.code___25225 < 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___21663); + r0 = (10 + s.code___25225); s.tmp_2 = r0; r0 = (s.tmp_2 - 97); - s.val___21670 = (r0); + s.val___25232 = (r0); case 36: case 37: case 38: - r0 = (s.val___21670 == undefined); + r0 = (s.val___25232 == 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___21670 >= s.arg1); + r0 = (s.val___25232 >= 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___21655); + r0 = pxsim_numops_toBoolDecr(s.hasDigit___25217); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -56988,16 +57015,16 @@ switch (step) { { step = 45; continue; } case 43: case 44: - s.hasDigit___21655 = (true); - r0 = (s.output___21654 * s.arg1); + s.hasDigit___25217 = (true); + r0 = (s.output___25216 * s.arg1); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.val___21670); - s.output___21654 = (r0); - r0 = (s.i___21656 + 1); - s.i___21656 = (r0); + r0 = (s.tmp_0 + s.val___25232); + s.output___25216 = (r0); + r0 = (s.i___25218 + 1); + s.i___25218 = (r0); { step = 30; continue; } case 45: - r0 = (s.sign___21608 * s.output___21654); + r0 = (s.sign___25170 * s.output___25216); case 46: return leave(s, r0) default: oops() @@ -57023,13 +57050,13 @@ function parseInt__P47_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - start___21578: undefined, - sign___21608: undefined, - output___21654: undefined, - hasDigit___21655: undefined, - i___21656: undefined, - code___21663: undefined, - val___21670: undefined, + start___25140: undefined, + sign___25170: undefined, + output___25216: undefined, + hasDigit___25217: undefined, + i___25218: undefined, + code___25225: undefined, + val___25232: undefined, arg0: undefined, arg1: undefined, } } @@ -57110,7 +57137,7 @@ function helpers_isWhitespace__P73_mk(s) { -function tileworld_readImages__P3983(s) { +function tileworld_readImages__P6733(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57120,10 +57147,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.images___21730 = undefined; - s.i___21732 = undefined; - s.buf___21737 = undefined; - s.img___21748 = undefined; + s.images___6738 = undefined; + s.i___6740 = undefined; + s.buf___6745 = undefined; + s.img___6756 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -57132,14 +57159,14 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.images___21730 = (r0); - s.i___21732 = (0); + s.images___6738 = (r0); + s.i___6740 = (0); case 1: - r0 = (s.i___21732 < s.arg0); + r0 = (s.i___6740 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.tmp_1 = tileworld_settingsReadBuffer__P3971_mk(s); + s.tmp_1 = tileworld_settingsReadBuffer__P6712_mk(s); s.tmp_1.arg0 = s.arg1; if ((s.arg2) && (s.arg2).vtable) { setupResume(s, 10); @@ -57150,7 +57177,7 @@ switch (step) { case 10: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_numops.toString(s.i___21732); + r0 = pxsim_numops.toString(s.i___6740); s.tmp_4 = r0; if ((s.tmp_4) && (s.tmp_4).vtable) { setupResume(s, 11); @@ -57167,14 +57194,14 @@ switch (step) { s.callLocIdx = 238; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - s.buf___21737 = (r0); - s.tmp_0 = r0 = s.buf___21737; + s.buf___6745 = (r0); + s.tmp_0 = r0 = s.buf___6745; 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___21737); + r0 = pxsim.BufferMethods.length(s.buf___6745); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); case 3: @@ -57182,8 +57209,8 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - s.tmp_3 = tileworld_bufferToImage__P3843_mk(s); - s.tmp_3.arg0 = s.buf___21737; + s.tmp_3 = tileworld_bufferToImage__P4211_mk(s); + s.tmp_3.arg0 = s.buf___6745; s.callLocIdx = 239; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; @@ -57193,46 +57220,46 @@ switch (step) { case 5: // jmp value (already in r0) s.tmp_4 = r0; - s.img___21748 = (s.tmp_4); - r0 = pxsim_numops_toBoolDecr(s.img___21748); + s.img___6756 = (s.tmp_4); + r0 = pxsim_numops_toBoolDecr(s.img___6756); 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___21748 = (r0); - s.tmp_0 = r0 = s.img___21748; - r0 = (1 + s.i___21732); + s.img___6756 = (r0); + s.tmp_0 = r0 = s.img___6756; + r0 = (1 + s.i___6740); s.tmp_1 = r0; r0 = pxsim_ImageMethods.fill(s.tmp_0, s.tmp_1); case 6: case 7: - r0 = pxsim_Array__push(s.images___21730, s.img___21748); - r0 = (s.i___21732 + 1); - s.i___21732 = (r0); + r0 = pxsim_Array__push(s.images___6738, s.img___6756); + r0 = (s.i___6740 + 1); + s.i___6740 = (r0); { step = 1; continue; } case 8: - r0 = s.images___21730; + r0 = s.images___6738; return leave(s, r0) default: oops() } } } -tileworld_readImages__P3983.info = {"start":9562,"length":442,"line":262,"column":4,"endLine":271,"endColumn":5,"fileName":"project.ts","functionName":"readImages","argumentNames":["cnt","prefix","key","output"]} +tileworld_readImages__P6733.info = {"start":9562,"length":442,"line":262,"column":4,"endLine":271,"endColumn":5,"fileName":"project.ts","functionName":"readImages","argumentNames":["cnt","prefix","key","output"]} -function tileworld_readImages__P3983_mk(s) { +function tileworld_readImages__P6733_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_readImages__P3983, depth: s.depth + 1, + parent: s, fn: tileworld_readImages__P6733, depth: s.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___21730: undefined, - i___21732: undefined, - buf___21737: undefined, - img___21748: undefined, + images___6738: undefined, + i___6740: undefined, + buf___6745: undefined, + img___6756: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -57243,7 +57270,7 @@ function tileworld_readImages__P3983_mk(s) { -function tileworld_settingsReadNumber__P3969(s) { +function tileworld_settingsReadNumber__P6648(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57253,7 +57280,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.val___21778 = undefined; + s.val___6652 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -57284,7 +57311,7 @@ switch (step) { s.callLocIdx = 232; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.val___21778 = (r0); + s.val___6652 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } s.tmp_0 = console_log__P258_mk(s); @@ -57319,7 +57346,7 @@ switch (step) { case 9: r0 = s.retval; s.tmp_3 = r0; - r0 = pxsim_numops.toString(s.val___21778); + r0 = pxsim_numops.toString(s.val___6652); s.tmp_9 = r0; if ((s.tmp_9) && (s.tmp_9).vtable) { setupResume(s, 10); @@ -57348,16 +57375,16 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = s.val___21778; + r0 = s.val___6652; return leave(s, r0) default: oops() } } } -tileworld_settingsReadNumber__P3969.info = {"start":8445,"length":249,"line":232,"column":4,"endLine":236,"endColumn":5,"fileName":"project.ts","functionName":"settingsReadNumber","argumentNames":["prefix","key","output"]} +tileworld_settingsReadNumber__P6648.info = {"start":8445,"length":249,"line":232,"column":4,"endLine":236,"endColumn":5,"fileName":"project.ts","functionName":"settingsReadNumber","argumentNames":["prefix","key","output"]} -function tileworld_settingsReadNumber__P3969_mk(s) { +function tileworld_settingsReadNumber__P6648_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_settingsReadNumber__P3969, depth: s.depth + 1, + parent: s, fn: tileworld_settingsReadNumber__P6648, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -57369,7 +57396,7 @@ function tileworld_settingsReadNumber__P3969_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - val___21778: undefined, + val___6652: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -57389,15 +57416,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___21808 = undefined; - s.nums___21815 = undefined; + s.buf___25312 = undefined; + s.nums___25319 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___21808 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___21808); + s.buf___25312 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___25312); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -57408,19 +57435,19 @@ switch (step) { { step = 6; continue; } case 1: s.tmp_2 = msgpack_unpackNumberArray__P138_mk(s); - s.tmp_2.arg0 = s.buf___21808; + s.tmp_2.arg0 = s.buf___25312; s.tmp_2.arg1 = 0; s.callLocIdx = 137; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.nums___21815 = (r0); - s.tmp_0 = r0 = s.nums___21815; + s.nums___25319 = (r0); + s.tmp_0 = r0 = s.nums___25319; 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___21815); + r0 = pxsim_Array__length(s.nums___25319); s.tmp_1 = r0; r0 = (s.tmp_1 >= 1); case 3: @@ -57428,7 +57455,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___21815, 0); + r0 = pxsim_Array__getAt(s.nums___25319, 0); { step = 7; continue; } case 4: case 5: @@ -57450,8 +57477,8 @@ function settings_readNumber__P617_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - buf___21808: undefined, - nums___21815: undefined, + buf___25312: undefined, + nums___25319: undefined, arg0: undefined, } } @@ -57501,16 +57528,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___21828 = undefined; - s.fmt___21835 = undefined; - s.v___21844 = undefined; + s.res___25332 = undefined; + s.fmt___25339 = undefined; + s.v___25348 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___21828 = (r0); + s.res___25332 = (r0); case 1: s.tmp_1 = r0 = s.arg1; r0 = pxsim.BufferMethods.length(s.arg0); @@ -57528,8 +57555,8 @@ switch (step) { s.callLocIdx = 21; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; - s.fmt___21835 = (r0); - r0 = (s.fmt___21835 === null); + s.fmt___25339 = (r0); + r0 = (s.fmt___25339 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } @@ -57537,21 +57564,21 @@ switch (step) { r0 = (s.arg1 - 1); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 6, s.tmp_2); - s.v___21844 = (r0); - r0 = (-31 <= s.v___21844); + s.v___25348 = (r0); + r0 = (-31 <= s.v___25348); 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___21844 <= 127); + r0 = (s.v___25348 <= 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___21828, s.v___21844); + r0 = pxsim_Array__push(s.res___25332, s.v___25348); { step = 5; continue; } case 4: r0 = null; @@ -57559,13 +57586,13 @@ switch (step) { case 5: { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.res___21828; - r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___21835, s.arg1); + s.tmp_0 = r0 = s.res___25332; + r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___25339, 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__P129_mk(s); - s.tmp_2.arg0 = s.fmt___21835; + s.tmp_2.arg0 = s.fmt___25339; s.callLocIdx = 22; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; @@ -57586,7 +57613,7 @@ switch (step) { case 9: { step = 1; continue; } case 10: - r0 = s.res___21828; + r0 = s.res___25332; case 11: return leave(s, r0) default: oops() @@ -57603,9 +57630,9 @@ function msgpack_unpackNumberArray__P138_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - res___21828: undefined, - fmt___21835: undefined, - v___21844: undefined, + res___25332: undefined, + fmt___25339: undefined, + v___25348: undefined, arg0: undefined, arg1: undefined, } } @@ -57614,7 +57641,7 @@ function msgpack_unpackNumberArray__P138_mk(s) { -function tileworld_bufferToImage__P3843(s) { +function tileworld_bufferToImage__P4211(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57624,76 +57651,76 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.width___21890 = undefined; - s.height___21895 = undefined; - s.index___21900 = undefined; - s.img___21901 = undefined; - s.x___21906 = undefined; - s.y___21907 = undefined; - s.pair___21913 = undefined; - s.pixel___21919 = undefined; - s.len___21922 = undefined; + s.width___4213 = undefined; + s.height___4219 = undefined; + s.index___4224 = undefined; + s.img___4225 = undefined; + s.x___4230 = undefined; + s.y___4231 = undefined; + s.pair___4238 = undefined; + s.pixel___4245 = undefined; + s.len___4248 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.BufferMethods.getNumber(s.arg0, 1, 0); - s.width___21890 = (r0); + s.width___4213 = (r0); r0 = pxsim.BufferMethods.getNumber(s.arg0, 1, 1); - s.height___21895 = (r0); - s.index___21900 = (2); - r0 = pxsim.image.create(s.width___21890, s.height___21895); - s.img___21901 = (r0); - s.x___21906 = (0); - s.y___21907 = (0); - case 1: - s.tmp_1 = r0 = s.index___21900; + s.height___4219 = (r0); + s.index___4224 = (2); + r0 = pxsim.image.create(s.width___4213, s.height___4219); + s.img___4225 = (r0); + s.x___4230 = (0); + s.y___4231 = (0); + case 1: + s.tmp_1 = r0 = s.index___4224; 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___21900; + s.tmp_3 = r0 = s.index___4224; r0 = (s.tmp_3 + 1); - s.index___21900 = (r0); + s.index___4224 = (r0); r0 = pxsim.BufferMethods.getUint8(s.arg0, s.tmp_3); - s.pair___21913 = (r0); - r0 = (s.pair___21913 & 15); - s.pixel___21919 = (r0); - r0 = (s.pair___21913 & 240); + s.pair___4238 = (r0); + r0 = (s.pair___4238 & 15); + s.pixel___4245 = (r0); + r0 = (s.pair___4238 & 240); s.tmp_0 = r0; r0 = (s.tmp_0 >> 4); - s.len___21922 = (r0); + s.len___4248 = (r0); case 2: - r0 = (s.len___21922 > 0); + r0 = (s.len___4248 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.setPixel(s.img___21901, s.x___21906, s.y___21907, s.pixel___21919); - s.tmp_1 = r0 = s.y___21907; - r0 = (s.height___21895 - 1); + r0 = pxsim_ImageMethods.setPixel(s.img___4225, s.x___4230, s.y___4231, s.pixel___4245); + s.tmp_1 = r0 = s.y___4231; + r0 = (s.height___4219 - 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___21906 + 1); - s.x___21906 = (r0); - s.y___21907 = (0); + r0 = (s.x___4230 + 1); + s.x___4230 = (r0); + s.y___4231 = (0); { step = 4; continue; } case 3: - r0 = (s.y___21907 + 1); - s.y___21907 = (r0); + r0 = (s.y___4231 + 1); + s.y___4231 = (r0); case 4: - r0 = (s.len___21922 - 1); - s.len___21922 = (r0); + r0 = (s.len___4248 - 1); + s.len___4248 = (r0); { step = 2; continue; } case 5: { step = 1; continue; } case 6: s.tmp_0 = control_assert__P217_mk(s); - s.tmp_1 = r0 = s.index___21900; + s.tmp_1 = r0 = s.index___4224; r0 = pxsim.BufferMethods.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 == s.tmp_2); @@ -57702,30 +57729,30 @@ switch (step) { s.callLocIdx = 71; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = s.img___21901; + r0 = s.img___4225; return leave(s, r0) default: oops() } } } -tileworld_bufferToImage__P3843.info = {"start":3843,"length":694,"line":108,"column":4,"endLine":127,"endColumn":5,"fileName":"utilities.ts","functionName":"bufferToImage","argumentNames":["buf"]} +tileworld_bufferToImage__P4211.info = {"start":3843,"length":694,"line":108,"column":4,"endLine":127,"endColumn":5,"fileName":"utilities.ts","functionName":"bufferToImage","argumentNames":["buf"]} -function tileworld_bufferToImage__P3843_mk(s) { +function tileworld_bufferToImage__P4211_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_bufferToImage__P3843, depth: s.depth + 1, + parent: s, fn: tileworld_bufferToImage__P4211, depth: s.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___21890: undefined, - height___21895: undefined, - index___21900: undefined, - img___21901: undefined, - x___21906: undefined, - y___21907: undefined, - pair___21913: undefined, - pixel___21919: undefined, - len___21922: undefined, + width___4213: undefined, + height___4219: undefined, + index___4224: undefined, + img___4225: undefined, + x___4230: undefined, + y___4231: undefined, + pair___4238: undefined, + pixel___4245: undefined, + len___4248: undefined, arg0: undefined, } } @@ -57733,7 +57760,7 @@ function tileworld_bufferToImage__P3843_mk(s) { -function tileworld_settingsReadBuffer__P3971(s) { +function tileworld_settingsReadBuffer__P6712(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57743,7 +57770,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___21956 = undefined; + s.buf___6716 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -57771,33 +57798,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___21956 = (r0); + s.buf___6716 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } - s.tmp_0 = tileworld_outputKeyBuffer__P3968_mk(s); + s.tmp_0 = tileworld_outputKeyBuffer__P6578_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = s.buf___21956; + s.tmp_0.arg2 = s.buf___6716; s.callLocIdx = 237; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: case 2: - r0 = s.buf___21956; + r0 = s.buf___6716; return leave(s, r0) default: oops() } } } -tileworld_settingsReadBuffer__P3971.info = {"start":8955,"length":207,"line":244,"column":4,"endLine":248,"endColumn":5,"fileName":"project.ts","functionName":"settingsReadBuffer","argumentNames":["prefix","key","output"]} +tileworld_settingsReadBuffer__P6712.info = {"start":8955,"length":207,"line":244,"column":4,"endLine":248,"endColumn":5,"fileName":"project.ts","functionName":"settingsReadBuffer","argumentNames":["prefix","key","output"]} -function tileworld_settingsReadBuffer__P3971_mk(s) { +function tileworld_settingsReadBuffer__P6712_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_settingsReadBuffer__P3971, depth: s.depth + 1, + parent: s, fn: tileworld_settingsReadBuffer__P6712, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - buf___21956: undefined, + buf___6716: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -57807,7 +57834,7 @@ function tileworld_settingsReadBuffer__P3971_mk(s) { -function tileworld_outputKeyBuffer__P3968(s) { +function tileworld_outputKeyBuffer__P6578(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57817,10 +57844,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.chunk___21991 = undefined; - s.str___21992 = undefined; - s.i___21993 = undefined; - s.byte___21999 = undefined; + s.chunk___6601 = undefined; + s.str___6602 = undefined; + s.i___6603 = undefined; + s.byte___6609 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -57872,31 +57899,31 @@ switch (step) { s.callLocIdx = 229; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.chunk___21991 = (40); + s.chunk___6601 = (40); r0 = pxsim_String_.mkEmpty(); - s.str___21992 = (r0); - s.i___21993 = (0); + s.str___6602 = (r0); + s.i___6603 = (0); case 1: - s.tmp_1 = r0 = s.i___21993; + s.tmp_1 = r0 = s.i___6603; 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___21993); - s.byte___21999 = (r0); - if ((s.str___21992) && (s.str___21992).vtable) { + r0 = pxsim.BufferMethods.getUint8(s.arg2, s.i___6603); + s.byte___6609 = (r0); + if ((s.str___6602) && (s.str___6602).vtable) { setupResume(s, 10); - pxsim_String__stringConv(s.str___21992); + pxsim_String__stringConv(s.str___6602); checkResumeConsumed(); return; - } else { s.retval = (s.str___21992) + ""; } + } else { s.retval = (s.str___6602) + ""; } case 10: r0 = s.retval; s.tmp_0 = r0; - s.tmp_5 = r0 = globals.toHex___3967; - r0 = (s.byte___21999 & 240); + s.tmp_5 = r0 = globals.toHex___6576; + r0 = (s.byte___6609 & 240); s.tmp_7 = r0; r0 = (s.tmp_7 >> 4); s.tmp_6 = r0; @@ -57911,8 +57938,8 @@ switch (step) { case 11: r0 = s.retval; s.tmp_3 = r0; - s.tmp_10 = r0 = globals.toHex___3967; - r0 = (s.byte___21999 & 15); + s.tmp_10 = r0 = globals.toHex___6576; + r0 = (s.byte___6609 & 15); s.tmp_11 = r0; r0 = pxsim_String_.charAt(s.tmp_10, s.tmp_11); s.tmp_9 = r0; @@ -57937,34 +57964,34 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.str___21992 = (r0); - r0 = (s.chunk___21991 - 1); - s.chunk___21991 = (r0); - r0 = (s.chunk___21991 == 0); + s.str___6602 = (r0); + r0 = (s.chunk___6601 - 1); + s.chunk___6601 = (r0); + r0 = (s.chunk___6601 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } s.tmp_1 = console_log__P258_mk(s); - s.tmp_1.arg0 = s.str___21992; + s.tmp_1.arg0 = s.str___6602; s.callLocIdx = 230; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - s.chunk___21991 = (40); + s.chunk___6601 = (40); r0 = pxsim_String_.mkEmpty(); - s.str___21992 = (r0); + s.str___6602 = (r0); case 2: case 3: - r0 = (s.i___21993 + 1); - s.i___21993 = (r0); + r0 = (s.i___6603 + 1); + s.i___6603 = (r0); { step = 1; continue; } case 4: s.tmp_0 = console_log__P258_mk(s); - if ((s.str___21992) && (s.str___21992).vtable) { + if ((s.str___6602) && (s.str___6602).vtable) { setupResume(s, 16); - pxsim_String__stringConv(s.str___21992); + pxsim_String__stringConv(s.str___6602); checkResumeConsumed(); return; - } else { s.retval = (s.str___21992) + ""; } + } else { s.retval = (s.str___6602) + ""; } case 16: r0 = s.retval; s.tmp_1 = r0; @@ -57977,12 +58004,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_outputKeyBuffer__P3968.info = {"start":7861,"length":578,"line":217,"column":4,"endLine":230,"endColumn":5,"fileName":"project.ts","functionName":"outputKeyBuffer","argumentNames":["prefix","key","val"]} +tileworld_outputKeyBuffer__P6578.info = {"start":7861,"length":578,"line":217,"column":4,"endLine":230,"endColumn":5,"fileName":"project.ts","functionName":"outputKeyBuffer","argumentNames":["prefix","key","val"]} -function tileworld_outputKeyBuffer__P3968_mk(s) { +function tileworld_outputKeyBuffer__P6578_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_outputKeyBuffer__P3968, depth: s.depth + 1, + parent: s, fn: tileworld_outputKeyBuffer__P6578, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -57996,10 +58023,10 @@ function tileworld_outputKeyBuffer__P3968_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - chunk___21991: undefined, - str___21992: undefined, - i___21993: undefined, - byte___21999: undefined, + chunk___6601: undefined, + str___6602: undefined, + i___6603: undefined, + byte___6609: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -58009,7 +58036,7 @@ function tileworld_outputKeyBuffer__P3968_mk(s) { -function tileworld_settingsReadString__P3970(s) { +function tileworld_settingsReadString__P6681(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58019,7 +58046,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.val___22042 = undefined; + s.val___6685 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -58050,7 +58077,7 @@ switch (step) { s.callLocIdx = 234; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.val___22042 = (r0); + s.val___6685 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } s.tmp_0 = console_log__P258_mk(s); @@ -58085,12 +58112,12 @@ switch (step) { case 9: r0 = s.retval; s.tmp_3 = r0; - if ((s.val___22042) && (s.val___22042).vtable) { + if ((s.val___6685) && (s.val___6685).vtable) { setupResume(s, 10); - pxsim_String__stringConv(s.val___22042); + pxsim_String__stringConv(s.val___6685); checkResumeConsumed(); return; - } else { s.retval = (s.val___22042) + ""; } + } else { s.retval = (s.val___6685) + ""; } case 10: r0 = s.retval; s.tmp_8 = r0; @@ -58112,16 +58139,16 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = s.val___22042; + r0 = s.val___6685; return leave(s, r0) default: oops() } } } -tileworld_settingsReadString__P3970.info = {"start":8700,"length":249,"line":238,"column":4,"endLine":242,"endColumn":5,"fileName":"project.ts","functionName":"settingsReadString","argumentNames":["prefix","key","output"]} +tileworld_settingsReadString__P6681.info = {"start":8700,"length":249,"line":238,"column":4,"endLine":242,"endColumn":5,"fileName":"project.ts","functionName":"settingsReadString","argumentNames":["prefix","key","output"]} -function tileworld_settingsReadString__P3970_mk(s) { +function tileworld_settingsReadString__P6681_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_settingsReadString__P3970, depth: s.depth + 1, + parent: s, fn: tileworld_settingsReadString__P6681, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -58132,7 +58159,7 @@ function tileworld_settingsReadString__P3970_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - val___22042: undefined, + val___6685: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -58152,14 +58179,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___22070 = undefined; + s.buf___25300 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___22070 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___22070); + s.buf___25300 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___25300); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -58169,7 +58196,7 @@ switch (step) { { step = 3; continue; } { step = 2; continue; } case 1: - r0 = pxsim.BufferMethods.toString(s.buf___22070); + r0 = pxsim.BufferMethods.toString(s.buf___25300); { step = 3; continue; } case 2: r0 = undefined; @@ -58186,7 +58213,7 @@ function settings_readString__P616_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___22070: undefined, + buf___25300: undefined, arg0: undefined, } } @@ -58194,7 +58221,7 @@ function settings_readString__P616_mk(s) { -function tileworld_RuleVisualsBase_row__P4340(s) { +function tileworld_RuleVisualsBase_row__P10849(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58210,13 +58237,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C4330_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C10839_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } s.tmp_2 = Sprite_y__P772_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 679; s.pc = 3; return s.tmp_2; + s.callLocIdx = 682; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1 = r0; @@ -58228,7 +58255,7 @@ switch (step) { s.tmp_5 = Sprite_y__P772_mk(s); r0 = s.arg0.fields["tileSaved"]; s.tmp_5.arg0 = r0; - s.callLocIdx = 680; s.pc = 4; return s.tmp_5; + s.callLocIdx = 683; s.pc = 4; return s.tmp_5; case 4: r0 = s.retval; s.tmp_4 = r0; @@ -58242,12 +58269,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_row__P4340.info = {"start":4214,"length":135,"line":108,"column":8,"endLine":110,"endColumn":9,"fileName":"rulesBase.ts","functionName":"row","argumentNames":["this","curr"]} +tileworld_RuleVisualsBase_row__P10849.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__P4340_mk(s) { +function tileworld_RuleVisualsBase_row__P10849_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_row__P4340, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_row__P10849, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -58264,7 +58291,7 @@ function tileworld_RuleVisualsBase_row__P4340_mk(s) { -function tileworld_RuleVisualsBase_col__P4339(s) { +function tileworld_RuleVisualsBase_col__P10848(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58280,13 +58307,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C4330_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C10839_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } s.tmp_1 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 677; s.pc = 3; return s.tmp_1; + s.callLocIdx = 680; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; @@ -58296,7 +58323,7 @@ switch (step) { s.tmp_3 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["tileSaved"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 678; s.pc = 4; return s.tmp_3; + s.callLocIdx = 681; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; s.tmp_2 = r0; @@ -58308,12 +58335,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_col__P4339.info = {"start":4087,"length":117,"line":104,"column":8,"endLine":106,"endColumn":9,"fileName":"rulesBase.ts","functionName":"col","argumentNames":["this","curr"]} +tileworld_RuleVisualsBase_col__P10848.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__P4339_mk(s) { +function tileworld_RuleVisualsBase_col__P10848_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_col__P4339, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_col__P10848, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -58412,7 +58439,7 @@ function controller_setRepeatDefault__P709_mk(s) { -function tileworld_RuleVisualsBase_constructor__P4348(s) { +function tileworld_RuleVisualsBase_constructor__P10857(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58428,11 +58455,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C4330_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C10839_VT)) failedCast(r0); r0 = (s.arg0).fields["p"] = (s.arg1); - s.tmp_0 = tileworld_BackgroundBase_constructor__P4329_mk(s); + s.tmp_0 = tileworld_BackgroundBase_constructor__P9502_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 632; s.pc = 1; return s.tmp_0; + s.callLocIdx = 635; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -58451,9 +58478,9 @@ switch (step) { r0 = pxsim_ImageMethods.fill(s.tmp_0, 15); s.tmp_0 = r0 = s.arg0; s.tmp_2 = sprites_create__P763_mk(s); - s.tmp_2.arg0 = globals.cursorIn___4021; + s.tmp_2.arg0 = globals.cursorIn___7250; s.tmp_2.arg1 = undefined; - s.callLocIdx = 633; s.pc = 2; return s.tmp_2; + s.callLocIdx = 636; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1 = r0; @@ -58462,28 +58489,28 @@ switch (step) { r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 24; - s.callLocIdx = 634; s.pc = 3; return s.tmp_0; + s.callLocIdx = 637; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; s.tmp_0 = Sprite_y__P773_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 46; - s.callLocIdx = 635; s.pc = 4; return s.tmp_0; + s.callLocIdx = 638; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = tileworld_cursorAnimation__P3838_mk(s); + s.tmp_0 = tileworld_cursorAnimation__P3907_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.cursorOut___4024; - s.callLocIdx = 636; s.pc = 5; return s.tmp_0; + s.tmp_0.arg1 = globals.cursorOut___7253; + s.callLocIdx = 639; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; s.tmp_0 = r0 = s.arg0; s.tmp_2 = sprites_create__P763_mk(s); - s.tmp_2.arg0 = globals.cursorIn___4021; + s.tmp_2.arg0 = globals.cursorIn___7250; s.tmp_2.arg1 = undefined; - s.callLocIdx = 637; s.pc = 6; return s.tmp_2; + s.callLocIdx = 640; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_1 = r0; @@ -58493,14 +58520,14 @@ switch (step) { s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = true; - s.callLocIdx = 638; s.pc = 7; return s.tmp_0; + s.callLocIdx = 641; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; s.tmp_0 = r0 = s.arg0; s.tmp_2 = sprites_create__P763_mk(s); - s.tmp_2.arg0 = globals.cursorOut___4024; + s.tmp_2.arg0 = globals.cursorOut___7253; s.tmp_2.arg1 = undefined; - s.callLocIdx = 639; s.pc = 8; return s.tmp_2; + s.callLocIdx = 642; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; s.tmp_1 = r0; @@ -58510,139 +58537,139 @@ switch (step) { s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = true; - s.callLocIdx = 640; s.pc = 9; return s.tmp_0; + s.callLocIdx = 643; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P22185); + r0 = pxsim_pxtcore_mkAction(1, inline__P10921); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.left___669; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 642; s.pc = 10; return s.tmp_1; + s.callLocIdx = 645; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P22191); + r0 = pxsim_pxtcore_mkAction(1, inline__P10927); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.left___669; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 644; s.pc = 11; return s.tmp_1; + s.callLocIdx = 647; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P22197); + r0 = pxsim_pxtcore_mkAction(1, inline__P10933); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.left___669; s.tmp_1.arg1 = 2048; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 645; s.pc = 12; return s.tmp_1; + s.callLocIdx = 648; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P22206); + r0 = pxsim_pxtcore_mkAction(1, inline__P10942); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.right___673; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 647; s.pc = 13; return s.tmp_1; + s.callLocIdx = 650; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P22212); + r0 = pxsim_pxtcore_mkAction(1, inline__P10948); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.right___673; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 649; s.pc = 14; return s.tmp_1; + s.callLocIdx = 652; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P22218); + r0 = pxsim_pxtcore_mkAction(1, inline__P10954); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.right___673; s.tmp_1.arg1 = 2048; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 650; s.pc = 15; return s.tmp_1; + s.callLocIdx = 653; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P22227); + r0 = pxsim_pxtcore_mkAction(1, inline__P10963); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.up___671; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 652; s.pc = 16; return s.tmp_1; + s.callLocIdx = 655; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P22232); + r0 = pxsim_pxtcore_mkAction(1, inline__P10968); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.up___671; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 654; s.pc = 17; return s.tmp_1; + s.callLocIdx = 657; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P22237); + r0 = pxsim_pxtcore_mkAction(1, inline__P10973); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.up___671; s.tmp_1.arg1 = 2048; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 655; s.pc = 18; return s.tmp_1; + s.callLocIdx = 658; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P22246); + r0 = pxsim_pxtcore_mkAction(1, inline__P10982); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.down___675; s.tmp_1.arg1 = 2049; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 657; s.pc = 19; return s.tmp_1; + s.callLocIdx = 660; s.pc = 19; return s.tmp_1; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P22251); + r0 = pxsim_pxtcore_mkAction(1, inline__P10987); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.down___675; s.tmp_1.arg1 = 2054; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 659; s.pc = 20; return s.tmp_1; + s.callLocIdx = 662; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P22256); + r0 = pxsim_pxtcore_mkAction(1, inline__P10992); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.down___675; s.tmp_1.arg1 = 2048; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 660; s.pc = 21; return s.tmp_1; + s.callLocIdx = 663; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_constructor__P4348.info = {"start":650,"length":2272,"line":24,"column":8,"endLine":66,"endColumn":9,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":["this","p"]} +tileworld_RuleVisualsBase_constructor__P10857.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__P4348_mk(s) { +function tileworld_RuleVisualsBase_constructor__P10857_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_constructor__P4348, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_constructor__P10857, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -58655,7 +58682,7 @@ function tileworld_RuleVisualsBase_constructor__P4348_mk(s) { -function inline__P22185(s) { +function inline__P10921(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58665,22 +58692,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RuleVisualsBase_moveInX__P4332_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_moveInX__P10841_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; - s.callLocIdx = 641; s.pc = 1; return s.tmp_0; + s.callLocIdx = 644; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P22185.info = {"start":1393,"length":38,"line":42,"column":67,"endLine":42,"endColumn":105,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P10921.info = {"start":1393,"length":38,"line":42,"column":67,"endLine":42,"endColumn":105,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P22185_mk(s) { +function inline__P10921_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22185, depth: s.depth + 1, + parent: s, fn: inline__P10921, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -58689,7 +58716,7 @@ function inline__P22185_mk(s) { -function inline__P22191(s) { +function inline__P10927(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58699,22 +58726,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RuleVisualsBase_moveInX__P4332_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_moveInX__P10841_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 0; - s.callLocIdx = 643; s.pc = 1; return s.tmp_0; + s.callLocIdx = 646; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P22191.info = {"start":1503,"length":38,"line":43,"column":68,"endLine":43,"endColumn":106,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P10927.info = {"start":1503,"length":38,"line":43,"column":68,"endLine":43,"endColumn":106,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P22191_mk(s) { +function inline__P10927_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22191, depth: s.depth + 1, + parent: s, fn: inline__P10927, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -58723,7 +58750,7 @@ function inline__P22191_mk(s) { -function inline__P22197(s) { +function inline__P10933(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58733,9 +58760,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = tileworld_RuleVisualsBase__C4330_v1_1_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase__C10839_v1_1_mk(s); s.tmp_3.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C4330_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C10839_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: @@ -58750,11 +58777,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_4 = tileworld_RuleVisualsBase__C4330_v2_3_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase__C10839_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__C4330_VT)) failedCast(s.tmp_4.arg0); + if (!checkSubtype(s.tmp_4.arg0, tileworld_RuleVisualsBase__C10839_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: @@ -58764,12 +58791,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P22197.info = {"start":1612,"length":127,"line":44,"column":68,"endLine":47,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P10933.info = {"start":1612,"length":127,"line":44,"column":68,"endLine":47,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P22197_mk(s) { +function inline__P10933_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22197, depth: s.depth + 1, + parent: s, fn: inline__P10933, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -58782,7 +58809,7 @@ function inline__P22197_mk(s) { -function inline__P22206(s) { +function inline__P10942(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58792,22 +58819,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RuleVisualsBase_moveInX__P4332_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_moveInX__P10841_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 2; - s.callLocIdx = 646; s.pc = 1; return s.tmp_0; + s.callLocIdx = 649; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P22206.info = {"start":1810,"length":39,"line":48,"column":68,"endLine":48,"endColumn":107,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P10942.info = {"start":1810,"length":39,"line":48,"column":68,"endLine":48,"endColumn":107,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P22206_mk(s) { +function inline__P10942_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22206, depth: s.depth + 1, + parent: s, fn: inline__P10942, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -58816,7 +58843,7 @@ function inline__P22206_mk(s) { -function inline__P22212(s) { +function inline__P10948(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58826,22 +58853,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RuleVisualsBase_moveInX__P4332_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_moveInX__P10841_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = 2; - s.callLocIdx = 648; s.pc = 1; return s.tmp_0; + s.callLocIdx = 651; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P22212.info = {"start":1921,"length":39,"line":49,"column":69,"endLine":49,"endColumn":108,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P10948.info = {"start":1921,"length":39,"line":49,"column":69,"endLine":49,"endColumn":108,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P22212_mk(s) { +function inline__P10948_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22212, depth: s.depth + 1, + parent: s, fn: inline__P10948, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -58850,7 +58877,7 @@ function inline__P22212_mk(s) { -function inline__P22218(s) { +function inline__P10954(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58860,9 +58887,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = tileworld_RuleVisualsBase__C4330_v1_1_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase__C10839_v1_1_mk(s); s.tmp_3.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C4330_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C10839_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: @@ -58877,11 +58904,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_4 = tileworld_RuleVisualsBase__C4330_v2_3_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase__C10839_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__C4330_VT)) failedCast(s.tmp_4.arg0); + if (!checkSubtype(s.tmp_4.arg0, tileworld_RuleVisualsBase__C10839_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: @@ -58891,12 +58918,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P22218.info = {"start":2032,"length":128,"line":50,"column":69,"endLine":53,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P10954.info = {"start":2032,"length":128,"line":50,"column":69,"endLine":53,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P22218_mk(s) { +function inline__P10954_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22218, depth: s.depth + 1, + parent: s, fn: inline__P10954, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -58909,7 +58936,7 @@ function inline__P22218_mk(s) { -function inline__P22227(s) { +function inline__P10963(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58919,21 +58946,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RuleVisualsBase_moveUp__P4333_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_moveUp__P10842_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 651; s.pc = 1; return s.tmp_0; + s.callLocIdx = 654; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P22227.info = {"start":2228,"length":19,"line":54,"column":65,"endLine":54,"endColumn":84,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P10963.info = {"start":2228,"length":19,"line":54,"column":65,"endLine":54,"endColumn":84,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P22227_mk(s) { +function inline__P10963_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22227, depth: s.depth + 1, + parent: s, fn: inline__P10963, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -58942,7 +58969,7 @@ function inline__P22227_mk(s) { -function inline__P22232(s) { +function inline__P10968(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58952,21 +58979,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RuleVisualsBase_moveUp__P4333_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_moveUp__P10842_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 653; 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__P22232.info = {"start":2316,"length":19,"line":55,"column":66,"endLine":55,"endColumn":85,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P10968.info = {"start":2316,"length":19,"line":55,"column":66,"endLine":55,"endColumn":85,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P22232_mk(s) { +function inline__P10968_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22232, depth: s.depth + 1, + parent: s, fn: inline__P10968, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -58975,7 +59002,7 @@ function inline__P22232_mk(s) { -function inline__P22237(s) { +function inline__P10973(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58985,9 +59012,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = tileworld_RuleVisualsBase__C4330_v1_1_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase__C10839_v1_1_mk(s); s.tmp_3.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C4330_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C10839_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: @@ -59002,11 +59029,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_4 = tileworld_RuleVisualsBase__C4330_v2_3_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase__C10839_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__C4330_VT)) failedCast(s.tmp_4.arg0); + if (!checkSubtype(s.tmp_4.arg0, tileworld_RuleVisualsBase__C10839_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: @@ -59016,12 +59043,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P22237.info = {"start":2404,"length":125,"line":56,"column":66,"endLine":59,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P10973.info = {"start":2404,"length":125,"line":56,"column":66,"endLine":59,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P22237_mk(s) { +function inline__P10973_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22237, depth: s.depth + 1, + parent: s, fn: inline__P10973, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59034,7 +59061,7 @@ function inline__P22237_mk(s) { -function inline__P22246(s) { +function inline__P10982(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59044,21 +59071,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RuleVisualsBase_moveDown__P4334_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_moveDown__P10843_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 656; s.pc = 1; return s.tmp_0; + s.callLocIdx = 659; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P22246.info = {"start":2599,"length":21,"line":60,"column":67,"endLine":60,"endColumn":88,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P10982.info = {"start":2599,"length":21,"line":60,"column":67,"endLine":60,"endColumn":88,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P22246_mk(s) { +function inline__P10982_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22246, depth: s.depth + 1, + parent: s, fn: inline__P10982, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -59067,7 +59094,7 @@ function inline__P22246_mk(s) { -function inline__P22251(s) { +function inline__P10987(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59077,21 +59104,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tileworld_RuleVisualsBase_moveDown__P4334_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_moveDown__P10843_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 658; 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__P22251.info = {"start":2691,"length":21,"line":61,"column":68,"endLine":61,"endColumn":89,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P10987.info = {"start":2691,"length":21,"line":61,"column":68,"endLine":61,"endColumn":89,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P22251_mk(s) { +function inline__P10987_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22251, depth: s.depth + 1, + parent: s, fn: inline__P10987, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -59100,7 +59127,7 @@ function inline__P22251_mk(s) { -function inline__P22256(s) { +function inline__P10992(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59110,9 +59137,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = tileworld_RuleVisualsBase__C4330_v1_1_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase__C10839_v1_1_mk(s); s.tmp_3.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C4330_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C10839_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: @@ -59127,11 +59154,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_4 = tileworld_RuleVisualsBase__C4330_v2_3_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase__C10839_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__C4330_VT)) failedCast(s.tmp_4.arg0); + if (!checkSubtype(s.tmp_4.arg0, tileworld_RuleVisualsBase__C10839_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: @@ -59141,12 +59168,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P22256.info = {"start":2783,"length":127,"line":62,"column":68,"endLine":65,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} +inline__P10992.info = {"start":2783,"length":127,"line":62,"column":68,"endLine":65,"endColumn":13,"fileName":"rulesBase.ts","functionName":"inline","argumentNames":[]} -function inline__P22256_mk(s) { +function inline__P10992_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22256, depth: s.depth + 1, + parent: s, fn: inline__P10992, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59159,7 +59186,7 @@ function inline__P22256_mk(s) { -function tileworld_RuleVisualsBase_moveDown__P4334(s) { +function tileworld_RuleVisualsBase_moveDown__P10843(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59174,10 +59201,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C4330_VT)) failedCast(r0); - s.tmp_3 = tileworld_RuleVisualsBase__C4330_v1_1_mk(s); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C10839_VT)) failedCast(r0); + s.tmp_3 = tileworld_RuleVisualsBase__C10839_v1_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C4330_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C10839_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: @@ -59192,10 +59219,10 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_6 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_6 = tileworld_RuleVisualsBase_row__P10849_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 = 672; s.pc = 7; return s.tmp_6; case 7: r0 = s.retval; s.tmp_5 = r0; @@ -59209,22 +59236,22 @@ switch (step) { s.tmp_7.arg0 = r0; s.tmp_10 = Sprite_y__P772_mk(s); s.tmp_10.arg0 = s.tmp_8; - s.callLocIdx = 670; s.pc = 9; return s.tmp_10; + s.callLocIdx = 673; 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 = 674; s.pc = 8; return s.tmp_7; case 8: r0 = s.retval; case 3: case 4: - s.tmp_0 = tileworld_RuleVisualsBase__C4330_v2_3_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase__C10839_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__C4330_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleVisualsBase__C10839_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: @@ -59234,12 +59261,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_moveDown__P4334.info = {"start":3441,"length":190,"line":83,"column":8,"endLine":88,"endColumn":9,"fileName":"rulesBase.ts","functionName":"moveDown","argumentNames":["this"]} +tileworld_RuleVisualsBase_moveDown__P10843.info = {"start":3441,"length":190,"line":83,"column":8,"endLine":88,"endColumn":9,"fileName":"rulesBase.ts","functionName":"moveDown","argumentNames":["this"]} -function tileworld_RuleVisualsBase_moveDown__P4334_mk(s) { +function tileworld_RuleVisualsBase_moveDown__P10843_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_moveDown__P4334, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_moveDown__P10843, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59259,7 +59286,7 @@ function tileworld_RuleVisualsBase_moveDown__P4334_mk(s) { -function tileworld_RuleVisualsBase_moveUp__P4333(s) { +function tileworld_RuleVisualsBase_moveUp__P10842(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59274,10 +59301,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C4330_VT)) failedCast(r0); - s.tmp_3 = tileworld_RuleVisualsBase__C4330_v1_1_mk(s); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C10839_VT)) failedCast(r0); + s.tmp_3 = tileworld_RuleVisualsBase__C10839_v1_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C4330_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C10839_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: @@ -59292,10 +59319,10 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_6 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_6 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = true; - s.callLocIdx = 666; s.pc = 7; return s.tmp_6; + s.callLocIdx = 669; s.pc = 7; return s.tmp_6; case 7: r0 = s.retval; s.tmp_5 = r0; @@ -59309,22 +59336,22 @@ switch (step) { s.tmp_7.arg0 = r0; s.tmp_10 = Sprite_y__P772_mk(s); s.tmp_10.arg0 = s.tmp_8; - s.callLocIdx = 667; s.pc = 9; return s.tmp_10; + s.callLocIdx = 670; 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 = 668; s.pc = 8; return s.tmp_7; + s.callLocIdx = 671; s.pc = 8; return s.tmp_7; case 8: r0 = s.retval; case 3: case 4: - s.tmp_0 = tileworld_RuleVisualsBase__C4330_v2_3_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase__C10839_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__C4330_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleVisualsBase__C10839_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: @@ -59334,12 +59361,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_moveUp__P4333.info = {"start":3245,"length":186,"line":76,"column":8,"endLine":81,"endColumn":9,"fileName":"rulesBase.ts","functionName":"moveUp","argumentNames":["this"]} +tileworld_RuleVisualsBase_moveUp__P10842.info = {"start":3245,"length":186,"line":76,"column":8,"endLine":81,"endColumn":9,"fileName":"rulesBase.ts","functionName":"moveUp","argumentNames":["this"]} -function tileworld_RuleVisualsBase_moveUp__P4333_mk(s) { +function tileworld_RuleVisualsBase_moveUp__P10842_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_moveUp__P4333, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_moveUp__P10842, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59359,7 +59386,7 @@ function tileworld_RuleVisualsBase_moveUp__P4333_mk(s) { -function tileworld_RuleVisualsBase_cursorMove__P4347(s) { +function tileworld_RuleVisualsBase_cursorMove__P10856(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59376,17 +59403,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C4330_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C10839_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_cursorMove__P4347.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__P10856.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__P4347_mk(s) { +function tileworld_RuleVisualsBase_cursorMove__P10856_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_cursorMove__P4347, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_cursorMove__P10856, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -59397,7 +59424,7 @@ function tileworld_RuleVisualsBase_cursorMove__P4347_mk(s) { -function tileworld_RuleVisualsBase_okToMove__P4335(s) { +function tileworld_RuleVisualsBase_okToMove__P10844(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59412,17 +59439,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C4330_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C10839_VT)) failedCast(r0); r0 = true; return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_okToMove__P4335.info = {"start":3641,"length":37,"line":90,"column":8,"endLine":90,"endColumn":45,"fileName":"rulesBase.ts","functionName":"okToMove","argumentNames":["this"]} +tileworld_RuleVisualsBase_okToMove__P10844.info = {"start":3641,"length":37,"line":90,"column":8,"endLine":90,"endColumn":45,"fileName":"rulesBase.ts","functionName":"okToMove","argumentNames":["this"]} -function tileworld_RuleVisualsBase_okToMove__P4335_mk(s) { +function tileworld_RuleVisualsBase_okToMove__P10844_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_okToMove__P4335, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_okToMove__P10844, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -59431,7 +59458,7 @@ function tileworld_RuleVisualsBase_okToMove__P4335_mk(s) { -function tileworld_RuleVisualsBase_moveInX__P4332(s) { +function tileworld_RuleVisualsBase_moveInX__P10841(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59447,10 +59474,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_RuleVisualsBase__C4330_VT)) failedCast(r0); - s.tmp_3 = tileworld_RuleVisualsBase__C4330_v1_1_mk(s); + if (!checkSubtype(r0, tileworld_RuleVisualsBase__C10839_VT)) failedCast(r0); + s.tmp_3 = tileworld_RuleVisualsBase__C10839_v1_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C4330_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tileworld_RuleVisualsBase__C10839_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: @@ -59472,10 +59499,10 @@ switch (step) { r0 = s.tmp_4; { step = 4; continue; } case 3: - s.tmp_6 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_6 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = true; - s.callLocIdx = 661; s.pc = 13; return s.tmp_6; + s.callLocIdx = 664; s.pc = 13; return s.tmp_6; case 13: r0 = s.retval; s.tmp_5 = r0; @@ -59495,10 +59522,10 @@ switch (step) { r0 = s.tmp_8; { step = 7; continue; } case 6: - s.tmp_10 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_10 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_10.arg0 = s.arg0; s.tmp_10.arg1 = true; - s.callLocIdx = 662; s.pc = 14; return s.tmp_10; + s.callLocIdx = 665; s.pc = 14; return s.tmp_10; case 14: r0 = s.retval; s.tmp_9 = r0; @@ -59518,13 +59545,13 @@ switch (step) { s.tmp_13.arg0 = r0; s.tmp_16 = Sprite_x__P770_mk(s); s.tmp_16.arg0 = s.tmp_14; - s.callLocIdx = 664; s.pc = 16; return s.tmp_16; + s.callLocIdx = 667; s.pc = 16; return s.tmp_16; case 16: r0 = s.retval; s.tmp_15 = r0; - s.tmp_19 = tileworld_moveXdelta__P3864_mk(s); + s.tmp_19 = tileworld_moveXdelta__P4332_mk(s); s.tmp_19.arg0 = s.arg1; - s.callLocIdx = 663; s.pc = 17; return s.tmp_19; + s.callLocIdx = 666; s.pc = 17; return s.tmp_19; case 17: r0 = s.retval; s.tmp_18 = r0; @@ -59532,16 +59559,16 @@ switch (step) { s.tmp_17 = r0; r0 = (s.tmp_15 + s.tmp_17); s.tmp_13.arg1 = r0; - s.callLocIdx = 665; s.pc = 15; return s.tmp_13; + s.callLocIdx = 668; s.pc = 15; return s.tmp_13; case 15: r0 = s.retval; case 9: case 10: - s.tmp_0 = tileworld_RuleVisualsBase__C4330_v2_3_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase__C10839_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__C4330_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_RuleVisualsBase__C10839_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: @@ -59551,12 +59578,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_RuleVisualsBase_moveInX__P4332.info = {"start":2932,"length":303,"line":68,"column":8,"endLine":74,"endColumn":9,"fileName":"rulesBase.ts","functionName":"moveInX","argumentNames":["this","dir"]} +tileworld_RuleVisualsBase_moveInX__P10841.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__P4332_mk(s) { +function tileworld_RuleVisualsBase_moveInX__P10841_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_RuleVisualsBase_moveInX__P4332, depth: s.depth + 1, + parent: s, fn: tileworld_RuleVisualsBase_moveInX__P10841, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59586,7 +59613,7 @@ function tileworld_RuleVisualsBase_moveInX__P4332_mk(s) { -function createPacMan__P51147(s) { +function createPacMan__P16407(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59631,7 +59658,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_4, "VersionS"); s.tmp_3.arg0 = r0; s.tmp_3.arg1 = "4.0.0"; - s.callLocIdx = 1587; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1590; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -59646,8 +59673,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WBackM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52140; - s.callLocIdx = 1588; s.pc = 7; return s.tmp_0; + s.tmp_0.arg1 = _hex17400; + s.callLocIdx = 1591; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -59662,8 +59689,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WSpriteM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52148; - s.callLocIdx = 1589; s.pc = 9; return s.tmp_0; + s.tmp_0.arg1 = _hex17408; + s.callLocIdx = 1592; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -59679,7 +59706,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "BackN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1590; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1593; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -59694,8 +59721,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52162; - s.callLocIdx = 1591; s.pc = 13; return s.tmp_0; + s.tmp_0.arg1 = _hex17422; + s.callLocIdx = 1594; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -59710,8 +59737,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52170; - s.callLocIdx = 1592; s.pc = 15; return s.tmp_0; + s.tmp_0.arg1 = _hex17430; + s.callLocIdx = 1595; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -59726,8 +59753,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52178; - s.callLocIdx = 1593; s.pc = 17; return s.tmp_0; + s.tmp_0.arg1 = _hex17438; + s.callLocIdx = 1596; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -59742,8 +59769,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52186; - s.callLocIdx = 1594; s.pc = 19; return s.tmp_0; + s.tmp_0.arg1 = _hex17446; + s.callLocIdx = 1597; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -59759,7 +59786,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "SpriteN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1595; s.pc = 21; return s.tmp_0; + s.callLocIdx = 1598; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -59774,8 +59801,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52200; - s.callLocIdx = 1596; s.pc = 23; return s.tmp_0; + s.tmp_0.arg1 = _hex17460; + s.callLocIdx = 1599; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -59790,8 +59817,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52208; - s.callLocIdx = 1597; s.pc = 25; return s.tmp_0; + s.tmp_0.arg1 = _hex17468; + s.callLocIdx = 1600; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -59806,8 +59833,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52216; - s.callLocIdx = 1598; s.pc = 27; return s.tmp_0; + s.tmp_0.arg1 = _hex17476; + s.callLocIdx = 1601; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -59822,8 +59849,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52224; - s.callLocIdx = 1599; s.pc = 29; return s.tmp_0; + s.tmp_0.arg1 = _hex17484; + s.callLocIdx = 1602; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -59839,7 +59866,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "HelpN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1600; s.pc = 31; return s.tmp_0; + s.callLocIdx = 1603; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -59855,7 +59882,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "HighN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 1540; - s.callLocIdx = 1601; s.pc = 33; return s.tmp_0; + s.callLocIdx = 1604; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -59870,8 +59897,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52244; - s.callLocIdx = 1602; s.pc = 35; return s.tmp_0; + s.tmp_0.arg1 = _hex17504; + s.callLocIdx = 1605; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -59886,8 +59913,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52252; - s.callLocIdx = 1603; s.pc = 37; return s.tmp_0; + s.tmp_0.arg1 = _hex17512; + s.callLocIdx = 1606; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -59902,8 +59929,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52260; - s.callLocIdx = 1604; s.pc = 39; return s.tmp_0; + s.tmp_0.arg1 = _hex17520; + s.callLocIdx = 1607; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -59918,8 +59945,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52268; - s.callLocIdx = 1605; s.pc = 41; return s.tmp_0; + s.tmp_0.arg1 = _hex17528; + s.callLocIdx = 1608; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -59934,8 +59961,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB4"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52276; - s.callLocIdx = 1606; s.pc = 43; return s.tmp_0; + s.tmp_0.arg1 = _hex17536; + s.callLocIdx = 1609; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -59950,8 +59977,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB5"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52284; - s.callLocIdx = 1607; s.pc = 45; return s.tmp_0; + s.tmp_0.arg1 = _hex17544; + s.callLocIdx = 1610; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -59966,8 +59993,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB6"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52292; - s.callLocIdx = 1608; s.pc = 47; return s.tmp_0; + s.tmp_0.arg1 = _hex17552; + s.callLocIdx = 1611; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -59982,8 +60009,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB7"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52300; - s.callLocIdx = 1609; s.pc = 49; return s.tmp_0; + s.tmp_0.arg1 = _hex17560; + s.callLocIdx = 1612; s.pc = 49; return s.tmp_0; case 49: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -59998,8 +60025,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB8"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52308; - s.callLocIdx = 1610; s.pc = 51; return s.tmp_0; + s.tmp_0.arg1 = _hex17568; + s.callLocIdx = 1613; s.pc = 51; return s.tmp_0; case 51: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60014,8 +60041,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB9"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52316; - s.callLocIdx = 1611; s.pc = 53; return s.tmp_0; + s.tmp_0.arg1 = _hex17576; + s.callLocIdx = 1614; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60030,8 +60057,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB10"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52324; - s.callLocIdx = 1612; s.pc = 55; return s.tmp_0; + s.tmp_0.arg1 = _hex17584; + s.callLocIdx = 1615; s.pc = 55; return s.tmp_0; case 55: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60046,8 +60073,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB11"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52332; - s.callLocIdx = 1613; s.pc = 57; return s.tmp_0; + s.tmp_0.arg1 = _hex17592; + s.callLocIdx = 1616; s.pc = 57; return s.tmp_0; case 57: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60062,8 +60089,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB12"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52340; - s.callLocIdx = 1614; s.pc = 59; return s.tmp_0; + s.tmp_0.arg1 = _hex17600; + s.callLocIdx = 1617; s.pc = 59; return s.tmp_0; case 59: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -60079,7 +60106,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 = 61; return s.tmp_0; + s.callLocIdx = 1618; s.pc = 61; return s.tmp_0; case 61: r0 = s.retval; case 3: @@ -60087,12 +60114,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -createPacMan__P51147.info = {"start":20314,"length":4569,"line":479,"column":0,"endLine":579,"endColumn":1,"fileName":"games.ts","functionName":"createPacMan","argumentNames":["prefix"]} +createPacMan__P16407.info = {"start":20312,"length":4569,"line":478,"column":0,"endLine":578,"endColumn":1,"fileName":"games.ts","functionName":"createPacMan","argumentNames":["prefix"]} -function createPacMan__P51147_mk(s) { +function createPacMan__P16407_mk(s) { checkStack(s.depth); return { - parent: s, fn: createPacMan__P51147, depth: s.depth + 1, + parent: s, fn: createPacMan__P16407, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -60102,29 +60129,29 @@ function createPacMan__P51147_mk(s) { arg0: undefined, } } -const _hex52140 = pxsim.BufferMethods.createBufferFromHex("201880111012b021106110111011101110311031102110112011101110111011101110111031101110211011201110113011301130111011102110f13110111021101120115011301110113011102110112031107110311011102110411031101310111031103110214011301133113011301110211041103110131011103110311021101120311071103110111021101120115011301110113011102110f13110111021101120111011301130113011101110211011201110111011101110111011103110111021106110111011101110311031102180111012101190f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f121") -const _hex52148 = pxsim.BufferMethods.createBufferFromHex("2018ffaf613f113f311f314f112f111f113f113f111f311f114f112f111f113f113f113f111f114ff1311f114f112f115f113f111f113f114f112f316f211f311f114f411f212f123f311f317f114f121f124f103f114f411f212f123f311f314f112f316f211f311f114f112f115f113f111f113f114ff1311f114f112f111f113f113f113f111f114f112f111f113f113f111f311f114f613f113f311f31ffffffffffffffffffffffffffffffffffffffffffffffffffcf") -const _hex52162 = pxsim.BufferMethods.createBufferFromHex("1010ff4fa85f18af183f183f683f182f182f186f182f182f181f188f181f182f181f188f181f182f181f188f181f182f181f188f181f182f181f188f181f182f181f188f181f182f182f186f182f182f183f683f183f18af185fa8ff4f") -const _hex52170 = pxsim.BufferMethods.createBufferFromHex("1010ffffffffffffffffffffffffffffffffff1f") -const _hex52178 = pxsim.BufferMethods.createBufferFromHex("101017f6f61617461836175617462718e62718b627f627f61627d6271846178617185627d6171617c627187617561718f6f6f65627") -const _hex52186 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") -const _hex52200 = pxsim.BufferMethods.createBufferFromHex("1010f0802fa05f1e1f101e24403f1e1f3e1f141d14303f1e152f142e3f302f1e152f251d1e1512144f121e151f1e251d141512143f12131e151f1e142d14351f101f221e151f1e142d14351f102f121e151f1e251d141512142f102f1e152f251d1e1512142f103f1e152f142e3f402f2e1f3e1f141d14505f1e1f101e24902ff080") -const _hex52208 = pxsim.BufferMethods.createBufferFromHex("1010f0f0f0f0f0f0d025d045c045d025f0f0f0f0f0f0d0") -const _hex52216 = pxsim.BufferMethods.createBufferFromHex("1010b01c2f502c2f301c21161f301c16371f101c1731161c101c271c16271f27412c1627161f271c22412c3726271c37312c3726271c2726212c37161f17161c171c1f26112c371c16171c17161f2c16112c16773c361c101c67161f561c201c1637161f27461f302c3f37261c1f801c27161c2fa01c171ce02c50") -const _hex52224 = pxsim.BufferMethods.createBufferFromHex("1010f0502839a0384980485960586950587940281928893018391899201839111981201829211971301841196140184119517031194180311931a0211921f080") -const _hex52244 = pxsim.BufferMethods.createBufferFromHex("2016220801160002") -const _hex52252 = pxsim.BufferMethods.createBufferFromHex("222622000112234100060004") -const _hex52260 = pxsim.BufferMethods.createBufferFromHex("2226220001022300042603000402") -const _hex52268 = pxsim.BufferMethods.createBufferFromHex("202022200146210400060300050202000002") -const _hex52276 = pxsim.BufferMethods.createBufferFromHex("002022200146230400060300050202000000") -const _hex52284 = pxsim.BufferMethods.createBufferFromHex("002022200116210400060000") -const _hex52292 = pxsim.BufferMethods.createBufferFromHex("2146220010121201000623040006320100060002") -const _hex52300 = pxsim.BufferMethods.createBufferFromHex("2146220010122301000612010006320400060003") -const _hex52308 = pxsim.BufferMethods.createBufferFromHex("212622001014120400060001") -const _hex52316 = pxsim.BufferMethods.createBufferFromHex("2146220010123201000623010006120400060001") -const _hex52324 = pxsim.BufferMethods.createBufferFromHex("21362200101223040006320400060002") -const _hex52332 = pxsim.BufferMethods.createBufferFromHex("21362200101223040006320400060003") -const _hex52340 = pxsim.BufferMethods.createBufferFromHex("222622001012230001060401") +const _hex17400 = pxsim.BufferMethods.createBufferFromHex("201880111012b021106110111011101110311031102110112011101110111011101110111031101110211011201110113011301130111011102110f13110111021101120115011301110113011102110112031107110311011102110411031101310111031103110214011301133113011301110211041103110131011103110311021101120311071103110111021101120115011301110113011102110f13110111021101120111011301130113011101110211011201110111011101110111011103110111021106110111011101110311031102180111012101190f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f121") +const _hex17408 = pxsim.BufferMethods.createBufferFromHex("2018ffaf613f113f311f314f112f111f113f113f111f311f114f112f111f113f113f113f111f114ff1311f114f112f115f113f111f113f114f112f316f211f311f114f411f212f123f311f317f114f121f124f103f114f411f212f123f311f314f112f316f211f311f114f112f115f113f111f113f114ff1311f114f112f111f113f113f113f111f114f112f111f113f113f111f311f114f613f113f311f31ffffffffffffffffffffffffffffffffffffffffffffffffffcf") +const _hex17422 = pxsim.BufferMethods.createBufferFromHex("1010ff4fa85f18af183f183f683f182f182f186f182f182f181f188f181f182f181f188f181f182f181f188f181f182f181f188f181f182f181f188f181f182f181f188f181f182f182f186f182f182f183f683f183f18af185fa8ff4f") +const _hex17430 = pxsim.BufferMethods.createBufferFromHex("1010ffffffffffffffffffffffffffffffffff1f") +const _hex17438 = pxsim.BufferMethods.createBufferFromHex("101017f6f61617461836175617462718e62718b627f627f61627d6271846178617185627d6171617c627187617561718f6f6f65627") +const _hex17446 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") +const _hex17460 = pxsim.BufferMethods.createBufferFromHex("1010f0802fa05f1e1f101e24403f1e1f3e1f141d14303f1e152f142e3f302f1e152f251d1e1512144f121e151f1e251d141512143f12131e151f1e142d14351f101f221e151f1e142d14351f102f121e151f1e251d141512142f102f1e152f251d1e1512142f103f1e152f142e3f402f2e1f3e1f141d14505f1e1f101e24902ff080") +const _hex17468 = pxsim.BufferMethods.createBufferFromHex("1010f0f0f0f0f0f0d025d045c045d025f0f0f0f0f0f0d0") +const _hex17476 = pxsim.BufferMethods.createBufferFromHex("1010b01c2f502c2f301c21161f301c16371f101c1731161c101c271c16271f27412c1627161f271c22412c3726271c37312c3726271c2726212c37161f17161c171c1f26112c371c16171c17161f2c16112c16773c361c101c67161f561c201c1637161f27461f302c3f37261c1f801c27161c2fa01c171ce02c50") +const _hex17484 = pxsim.BufferMethods.createBufferFromHex("1010f0502839a0384980485960586950587940281928893018391899201839111981201829211971301841196140184119517031194180311931a0211921f080") +const _hex17504 = pxsim.BufferMethods.createBufferFromHex("2016220801160002") +const _hex17512 = pxsim.BufferMethods.createBufferFromHex("222622000112234100060004") +const _hex17520 = pxsim.BufferMethods.createBufferFromHex("2226220001022300042603000402") +const _hex17528 = pxsim.BufferMethods.createBufferFromHex("202022200146210400060300050202000002") +const _hex17536 = pxsim.BufferMethods.createBufferFromHex("002022200146230400060300050202000000") +const _hex17544 = pxsim.BufferMethods.createBufferFromHex("002022200116210400060000") +const _hex17552 = pxsim.BufferMethods.createBufferFromHex("2146220010121201000623040006320100060002") +const _hex17560 = pxsim.BufferMethods.createBufferFromHex("2146220010122301000612010006320400060003") +const _hex17568 = pxsim.BufferMethods.createBufferFromHex("212622001014120400060001") +const _hex17576 = pxsim.BufferMethods.createBufferFromHex("2146220010123201000623010006120400060001") +const _hex17584 = pxsim.BufferMethods.createBufferFromHex("21362200101223040006320400060002") +const _hex17592 = pxsim.BufferMethods.createBufferFromHex("21362200101223040006320400060003") +const _hex17600 = pxsim.BufferMethods.createBufferFromHex("222622001012230001060401") @@ -60161,7 +60188,7 @@ function settings_exists__P621_mk(s) { -function createSokoban__P51145(s) { +function createSokoban__P16405(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60206,7 +60233,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_4, "VersionS"); s.tmp_3.arg0 = r0; s.tmp_3.arg1 = "4.0.0"; - s.callLocIdx = 1645; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1648; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60221,8 +60248,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WBackM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52579; - s.callLocIdx = 1646; s.pc = 7; return s.tmp_0; + s.tmp_0.arg1 = _hex17839; + s.callLocIdx = 1649; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60237,8 +60264,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WSpriteM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52587; - s.callLocIdx = 1647; s.pc = 9; return s.tmp_0; + s.tmp_0.arg1 = _hex17847; + s.callLocIdx = 1650; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -60254,7 +60281,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "BackN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1648; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1651; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60269,8 +60296,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52601; - s.callLocIdx = 1649; s.pc = 13; return s.tmp_0; + s.tmp_0.arg1 = _hex17861; + s.callLocIdx = 1652; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60285,8 +60312,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52609; - s.callLocIdx = 1650; s.pc = 15; return s.tmp_0; + s.tmp_0.arg1 = _hex17869; + s.callLocIdx = 1653; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60301,8 +60328,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52617; - s.callLocIdx = 1651; s.pc = 17; return s.tmp_0; + s.tmp_0.arg1 = _hex17877; + s.callLocIdx = 1654; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60317,8 +60344,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52625; - s.callLocIdx = 1652; s.pc = 19; return s.tmp_0; + s.tmp_0.arg1 = _hex17885; + s.callLocIdx = 1655; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -60334,7 +60361,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "SpriteN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1653; s.pc = 21; return s.tmp_0; + s.callLocIdx = 1656; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60349,8 +60376,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52639; - s.callLocIdx = 1654; s.pc = 23; return s.tmp_0; + s.tmp_0.arg1 = _hex17899; + s.callLocIdx = 1657; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60365,8 +60392,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52647; - s.callLocIdx = 1655; s.pc = 25; return s.tmp_0; + s.tmp_0.arg1 = _hex17907; + s.callLocIdx = 1658; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60381,8 +60408,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52655; - s.callLocIdx = 1656; s.pc = 27; return s.tmp_0; + s.tmp_0.arg1 = _hex17915; + s.callLocIdx = 1659; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60397,8 +60424,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52663; - s.callLocIdx = 1657; s.pc = 29; return s.tmp_0; + s.tmp_0.arg1 = _hex17923; + s.callLocIdx = 1660; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -60414,7 +60441,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "HelpN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1658; s.pc = 31; return s.tmp_0; + s.callLocIdx = 1661; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -60430,7 +60457,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "HighN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; - s.callLocIdx = 1659; s.pc = 33; return s.tmp_0; + s.callLocIdx = 1662; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60445,8 +60472,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52684; - s.callLocIdx = 1660; s.pc = 35; return s.tmp_0; + s.tmp_0.arg1 = _hex17944; + s.callLocIdx = 1663; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60461,8 +60488,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52692; - s.callLocIdx = 1661; s.pc = 37; return s.tmp_0; + s.tmp_0.arg1 = _hex17952; + s.callLocIdx = 1664; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60477,8 +60504,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52700; - s.callLocIdx = 1662; s.pc = 39; return s.tmp_0; + s.tmp_0.arg1 = _hex17960; + s.callLocIdx = 1665; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60493,8 +60520,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52708; - s.callLocIdx = 1663; s.pc = 41; return s.tmp_0; + s.tmp_0.arg1 = _hex17968; + s.callLocIdx = 1666; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60509,8 +60536,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB4"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52716; - s.callLocIdx = 1664; s.pc = 43; return s.tmp_0; + s.tmp_0.arg1 = _hex17976; + s.callLocIdx = 1667; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60525,8 +60552,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB5"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52724; - s.callLocIdx = 1665; s.pc = 45; return s.tmp_0; + s.tmp_0.arg1 = _hex17984; + s.callLocIdx = 1668; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60541,8 +60568,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB6"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52732; - s.callLocIdx = 1666; s.pc = 47; return s.tmp_0; + s.tmp_0.arg1 = _hex17992; + s.callLocIdx = 1669; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -60558,7 +60585,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "PlayerN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1667; s.pc = 49; return s.tmp_0; + s.callLocIdx = 1670; s.pc = 49; return s.tmp_0; case 49: r0 = s.retval; case 3: @@ -60566,12 +60593,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -createSokoban__P51145.info = {"start":28592,"length":3571,"line":670,"column":0,"endLine":748,"endColumn":1,"fileName":"games.ts","functionName":"createSokoban","argumentNames":["prefix"]} +createSokoban__P16405.info = {"start":28590,"length":3571,"line":669,"column":0,"endLine":747,"endColumn":1,"fileName":"games.ts","functionName":"createSokoban","argumentNames":["prefix"]} -function createSokoban__P51145_mk(s) { +function createSokoban__P16405_mk(s) { checkStack(s.depth); return { - parent: s, fn: createSokoban__P51145, depth: s.depth + 1, + parent: s, fn: createSokoban__P16405, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -60581,28 +60608,28 @@ function createSokoban__P51145_mk(s) { arg0: undefined, } } -const _hex52579 = pxsim.BufferMethods.createBufferFromHex("2018118041b011101210123110e13011302110e120311011121110e1204112111210e12021124110e170121110e1105140e110f18110f18110f18110f18120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f171f0a0") -const _hex52587 = pxsim.BufferMethods.createBufferFromHex("2018ffff11ff4f10ff8f113f13ff5f211f11ff8f11ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf") -const _hex52601 = pxsim.BufferMethods.createBufferFromHex("10101b6d1c1b6d1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d7b6c1b1a6c1b1a1b6d1c1b6d1b1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d6b7c1b1a6c1b1a") -const _hex52609 = pxsim.BufferMethods.createBufferFromHex("1010ff3f3ccf5c4f3c4f6c2f5c4f5c1f7c3f5c1f7c4f3c2f7caf5ccf3c8f3c7f1c4f5c5f3c3f5c4f4c3f6c3f4c3f6c4f3c4f3c7f1cff1f") -const _hex52617 = pxsim.BufferMethods.createBufferFromHex("1010ff3f3ccf5c4f3c4f6c2f5c4f5c1f7c3f5c1f176c4f3c1f375c7f573c8f572c8f2c375f1c4f4c175f3c3f5c4f4c3f6c3f4c3f6c4f3c4f3c7f1cff1f") -const _hex52625 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") -const _hex52639 = pxsim.BufferMethods.createBufferFromHex("1010f0802fa05f1e1f101e24403f1e1f3e1f141d14303f1e122f142e3f302f1e122f1b111d1e22144f121e121f1e2f1d1422143f12131e121f1e142d1422151f101f221e121f1e142d1422151f102f121e121f1e2f1d1422142f102f1e122f1b111d1e22142f103f1e122f142e3f402f2e1f3e1f141d14505f1e1f101e24902ff080") -const _hex52647 = pxsim.BufferMethods.createBufferFromHex("1010f020ee20ee202e844e202e745e202e643e142e202e543e242e202e443e342e202e343e442e202e243e542e202e143e642e205e742e205e742e20ee20eef020") -const _hex52655 = pxsim.BufferMethods.createBufferFromHex("1010b01c2f502c2f301c21161f301c16371f101c1731161c101c271c16271f27412c1627161f271c22412c3726271c37312c3726271c2726212c37161f17161c171c1f26112c371c16171c17161f2c16112c16773c361c101c67161f561c201c1637161f27461f302c3f37261c1f801c27161c2fa01c171ce02c50") -const _hex52663 = pxsim.BufferMethods.createBufferFromHex("1010f0502839a0384980485960586950587940281928893018391899201839111981201829211971301841196140184119517031194180311931a0211921f080") -const _hex52684 = pxsim.BufferMethods.createBufferFromHex("2026220001162314cc060002") -const _hex52692 = pxsim.BufferMethods.createBufferFromHex("2026220001162300441600020002") -const _hex52700 = pxsim.BufferMethods.createBufferFromHex("322622004413320144060004") -const _hex52708 = pxsim.BufferMethods.createBufferFromHex("322622000113320044060004") -const _hex52716 = pxsim.BufferMethods.createBufferFromHex("61102220042603000203") -const _hex52724 = pxsim.BufferMethods.createBufferFromHex("61102208402603000201") -const _hex52732 = pxsim.BufferMethods.createBufferFromHex("6310220004160400") +const _hex17839 = pxsim.BufferMethods.createBufferFromHex("2018118041b011101210123110e13011302110e120311011121110e1204112111210e12021124110e170121110e1105140e110f18110f18110f18110f18120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f171f0a0") +const _hex17847 = pxsim.BufferMethods.createBufferFromHex("2018ffff11ff4f10ff8f113f13ff5f211f11ff8f11ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbf") +const _hex17861 = pxsim.BufferMethods.createBufferFromHex("10101b6d1c1b6d1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d7b6c1b1a6c1b1a1b6d1c1b6d1b1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d6b7c1b1a6c1b1a") +const _hex17869 = pxsim.BufferMethods.createBufferFromHex("1010ff3f3ccf5c4f3c4f6c2f5c4f5c1f7c3f5c1f7c4f3c2f7caf5ccf3c8f3c7f1c4f5c5f3c3f5c4f4c3f6c3f4c3f6c4f3c4f3c7f1cff1f") +const _hex17877 = pxsim.BufferMethods.createBufferFromHex("1010ff3f3ccf5c4f3c4f6c2f5c4f5c1f7c3f5c1f176c4f3c1f375c7f573c8f572c8f2c375f1c4f4c175f3c3f5c4f4c3f6c3f4c3f6c4f3c4f3c7f1cff1f") +const _hex17885 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") +const _hex17899 = pxsim.BufferMethods.createBufferFromHex("1010f0802fa05f1e1f101e24403f1e1f3e1f141d14303f1e122f142e3f302f1e122f1b111d1e22144f121e121f1e2f1d1422143f12131e121f1e142d1422151f101f221e121f1e142d1422151f102f121e121f1e2f1d1422142f102f1e122f1b111d1e22142f103f1e122f142e3f402f2e1f3e1f141d14505f1e1f101e24902ff080") +const _hex17907 = pxsim.BufferMethods.createBufferFromHex("1010f020ee20ee202e844e202e745e202e643e142e202e543e242e202e443e342e202e343e442e202e243e542e202e143e642e205e742e205e742e20ee20eef020") +const _hex17915 = pxsim.BufferMethods.createBufferFromHex("1010b01c2f502c2f301c21161f301c16371f101c1731161c101c271c16271f27412c1627161f271c22412c3726271c37312c3726271c2726212c37161f17161c171c1f26112c371c16171c17161f2c16112c16773c361c101c67161f561c201c1637161f27461f302c3f37261c1f801c27161c2fa01c171ce02c50") +const _hex17923 = pxsim.BufferMethods.createBufferFromHex("1010f0502839a0384980485960586950587940281928893018391899201839111981201829211971301841196140184119517031194180311931a0211921f080") +const _hex17944 = pxsim.BufferMethods.createBufferFromHex("2026220001162314cc060002") +const _hex17952 = pxsim.BufferMethods.createBufferFromHex("2026220001162300441600020002") +const _hex17960 = pxsim.BufferMethods.createBufferFromHex("322622004413320144060004") +const _hex17968 = pxsim.BufferMethods.createBufferFromHex("322622000113320044060004") +const _hex17976 = pxsim.BufferMethods.createBufferFromHex("61102220042603000203") +const _hex17984 = pxsim.BufferMethods.createBufferFromHex("61102208402603000201") +const _hex17992 = pxsim.BufferMethods.createBufferFromHex("6310220004160400") -function createSpaceInvaders__P51143(s) { +function createSpaceInvaders__P16403(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60647,7 +60674,7 @@ 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 = 1620; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60662,8 +60689,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WBackM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52367; - s.callLocIdx = 1618; s.pc = 7; return s.tmp_0; + s.tmp_0.arg1 = _hex17627; + s.callLocIdx = 1621; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60678,8 +60705,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WSpriteM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52375; - s.callLocIdx = 1619; s.pc = 9; return s.tmp_0; + s.tmp_0.arg1 = _hex17635; + s.callLocIdx = 1622; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -60695,7 +60722,7 @@ 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 = 1623; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60710,8 +60737,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52389; - s.callLocIdx = 1621; s.pc = 13; return s.tmp_0; + s.tmp_0.arg1 = _hex17649; + s.callLocIdx = 1624; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60726,8 +60753,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52397; - s.callLocIdx = 1622; s.pc = 15; return s.tmp_0; + s.tmp_0.arg1 = _hex17657; + s.callLocIdx = 1625; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60742,8 +60769,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52405; - s.callLocIdx = 1623; s.pc = 17; return s.tmp_0; + s.tmp_0.arg1 = _hex17665; + s.callLocIdx = 1626; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60758,8 +60785,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52413; - s.callLocIdx = 1624; s.pc = 19; return s.tmp_0; + s.tmp_0.arg1 = _hex17673; + s.callLocIdx = 1627; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -60775,7 +60802,7 @@ 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 = 1628; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60790,8 +60817,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52427; - s.callLocIdx = 1626; s.pc = 23; return s.tmp_0; + s.tmp_0.arg1 = _hex17687; + s.callLocIdx = 1629; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60806,8 +60833,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52435; - s.callLocIdx = 1627; s.pc = 25; return s.tmp_0; + s.tmp_0.arg1 = _hex17695; + s.callLocIdx = 1630; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60822,8 +60849,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52443; - s.callLocIdx = 1628; s.pc = 27; return s.tmp_0; + s.tmp_0.arg1 = _hex17703; + s.callLocIdx = 1631; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60838,8 +60865,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52451; - s.callLocIdx = 1629; s.pc = 29; return s.tmp_0; + s.tmp_0.arg1 = _hex17711; + s.callLocIdx = 1632; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -60855,7 +60882,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "HelpN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1630; s.pc = 31; return s.tmp_0; + s.callLocIdx = 1633; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -60871,7 +60898,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "HighN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; - s.callLocIdx = 1631; s.pc = 33; return s.tmp_0; + s.callLocIdx = 1634; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60886,8 +60913,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52472; - s.callLocIdx = 1632; s.pc = 35; return s.tmp_0; + s.tmp_0.arg1 = _hex17732; + s.callLocIdx = 1635; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60902,8 +60929,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52480; - s.callLocIdx = 1633; s.pc = 37; return s.tmp_0; + s.tmp_0.arg1 = _hex17740; + s.callLocIdx = 1636; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60918,8 +60945,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52488; - s.callLocIdx = 1634; s.pc = 39; return s.tmp_0; + s.tmp_0.arg1 = _hex17748; + s.callLocIdx = 1637; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60934,8 +60961,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52496; - s.callLocIdx = 1635; s.pc = 41; return s.tmp_0; + s.tmp_0.arg1 = _hex17756; + s.callLocIdx = 1638; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60950,8 +60977,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB4"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52504; - s.callLocIdx = 1636; s.pc = 43; return s.tmp_0; + s.tmp_0.arg1 = _hex17764; + s.callLocIdx = 1639; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60966,8 +60993,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB5"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52512; - s.callLocIdx = 1637; s.pc = 45; return s.tmp_0; + s.tmp_0.arg1 = _hex17772; + s.callLocIdx = 1640; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60982,8 +61009,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB6"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52520; - s.callLocIdx = 1638; s.pc = 47; return s.tmp_0; + s.tmp_0.arg1 = _hex17780; + s.callLocIdx = 1641; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -60998,8 +61025,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB7"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52528; - s.callLocIdx = 1639; s.pc = 49; return s.tmp_0; + s.tmp_0.arg1 = _hex17788; + s.callLocIdx = 1642; s.pc = 49; return s.tmp_0; case 49: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61014,8 +61041,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB8"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52536; - s.callLocIdx = 1640; s.pc = 51; return s.tmp_0; + s.tmp_0.arg1 = _hex17796; + s.callLocIdx = 1643; s.pc = 51; return s.tmp_0; case 51: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61030,8 +61057,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB9"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52544; - s.callLocIdx = 1641; s.pc = 53; return s.tmp_0; + s.tmp_0.arg1 = _hex17804; + s.callLocIdx = 1644; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61046,8 +61073,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB10"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52552; - s.callLocIdx = 1642; s.pc = 55; return s.tmp_0; + s.tmp_0.arg1 = _hex17812; + s.callLocIdx = 1645; s.pc = 55; return s.tmp_0; case 55: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -61063,7 +61090,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "PlayerN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1643; s.pc = 57; return s.tmp_0; + s.callLocIdx = 1646; s.pc = 57; return s.tmp_0; case 57: r0 = s.retval; case 3: @@ -61071,12 +61098,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -createSpaceInvaders__P51143.info = {"start":24906,"length":3682,"line":582,"column":0,"endLine":668,"endColumn":1,"fileName":"games.ts","functionName":"createSpaceInvaders","argumentNames":["prefix"]} +createSpaceInvaders__P16403.info = {"start":24904,"length":3682,"line":581,"column":0,"endLine":667,"endColumn":1,"fileName":"games.ts","functionName":"createSpaceInvaders","argumentNames":["prefix"]} -function createSpaceInvaders__P51143_mk(s) { +function createSpaceInvaders__P16403_mk(s) { checkStack(s.depth); return { - parent: s, fn: createSpaceInvaders__P51143, depth: s.depth + 1, + parent: s, fn: createSpaceInvaders__P16403, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -61086,32 +61113,32 @@ function createSpaceInvaders__P51143_mk(s) { arg0: undefined, } } -const _hex52367 = pxsim.BufferMethods.createBufferFromHex("2018f0a0f17120f17120f17120f17120f17120f17120f17120f17120f17190f190f120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f171f0a0") -const _hex52375 = pxsim.BufferMethods.createBufferFromHex("2018ffaf12ffffff2f12ffffff2f124f10ffffcf12ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdf") -const _hex52389 = pxsim.BufferMethods.createBufferFromHex("10101b6d1c1b6d1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d7b6c1b1a6c1b1a1b6d1c1b6d1b1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d6b7c1b1a6c1b1a") -const _hex52397 = pxsim.BufferMethods.createBufferFromHex("1010ff3f3ccf5c4f3c4f6c2f5c4f5c1f7c3f5c1f7c4f3c2f7caf5ccf3c8f3c7f1c4f5c5f3c3f5c4f4c3f6c3f4c3f6c4f3c4f3c7f1cff1f") -const _hex52405 = pxsim.BufferMethods.createBufferFromHex("101017f6f61617461836175617462718e62718b627f627f61627d6271846178617185627d6171617c627187617561718f6f6f65627") -const _hex52413 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") -const _hex52427 = pxsim.BufferMethods.createBufferFromHex("1010c02cd03cc04cc01f3cb01e1f3ca01c1e1f1e2c802e1c121c3e702e121c121c122e7012241e121e32803e141e32a02e1f32b01e1f2412c01e2214c02e22d03ee02e20") -const _hex52435 = pxsim.BufferMethods.createBufferFromHex("1010f0f0707f801f751f601f951f501f353f351f501f251f301f251f501f251f301f251f501f251f301f251f501f251f301f251f501f353f351f501f951f601f751f807ff0f060") -const _hex52443 = pxsim.BufferMethods.createBufferFromHex("1010f0c01c111b605f101f111b1f402f3d1b1c2f211b301f1b313d1b1f111b1f301f411d1b1c112c111f201f612f111d1b1f301f611d211b1f401f611d311b401f612f111b2f401f411d1b1c111d1c111b301f1b313d1b1f111b1f402f3d1b1c2f211b605f101f111b1fc01f1c111bf030") -const _hex52451 = pxsim.BufferMethods.createBufferFromHex("1010f0f0f0f0f0f0b0153015a01514151015141580151410141514101415701430143014f0f0f0f0f0f0a0") -const _hex52472 = pxsim.BufferMethods.createBufferFromHex("202122000116230300060002") -const _hex52480 = pxsim.BufferMethods.createBufferFromHex("10102200012602030001") -const _hex52488 = pxsim.BufferMethods.createBufferFromHex("1110220040110001") -const _hex52496 = pxsim.BufferMethods.createBufferFromHex("122022004011120100060300") -const _hex52504 = pxsim.BufferMethods.createBufferFromHex("4110220010140002") -const _hex52512 = pxsim.BufferMethods.createBufferFromHex("212122001012230100060003") -const _hex52520 = pxsim.BufferMethods.createBufferFromHex("212122001013230100060000") -const _hex52528 = pxsim.BufferMethods.createBufferFromHex("312022001010210400060000") -const _hex52536 = pxsim.BufferMethods.createBufferFromHex("022122001010210001060401") -const _hex52544 = pxsim.BufferMethods.createBufferFromHex("122022004001120010160300") -const _hex52552 = pxsim.BufferMethods.createBufferFromHex("6110220090160300") +const _hex17627 = pxsim.BufferMethods.createBufferFromHex("2018f0a0f17120f17120f17120f17120f17120f17120f17120f17120f17190f190f120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f171f0a0") +const _hex17635 = pxsim.BufferMethods.createBufferFromHex("2018ffaf12ffffff2f12ffffff2f124f10ffffcf12ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdf") +const _hex17649 = pxsim.BufferMethods.createBufferFromHex("10101b6d1c1b6d1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d7b6c1b1a6c1b1a1b6d1c1b6d1b1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d6b7c1b1a6c1b1a") +const _hex17657 = pxsim.BufferMethods.createBufferFromHex("1010ff3f3ccf5c4f3c4f6c2f5c4f5c1f7c3f5c1f7c4f3c2f7caf5ccf3c8f3c7f1c4f5c5f3c3f5c4f4c3f6c3f4c3f6c4f3c4f3c7f1cff1f") +const _hex17665 = pxsim.BufferMethods.createBufferFromHex("101017f6f61617461836175617462718e62718b627f627f61627d6271846178617185627d6171617c627187617561718f6f6f65627") +const _hex17673 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") +const _hex17687 = pxsim.BufferMethods.createBufferFromHex("1010c02cd03cc04cc01f3cb01e1f3ca01c1e1f1e2c802e1c121c3e702e121c121c122e7012241e121e32803e141e32a02e1f32b01e1f2412c01e2214c02e22d03ee02e20") +const _hex17695 = pxsim.BufferMethods.createBufferFromHex("1010f0f0707f801f751f601f951f501f353f351f501f251f301f251f501f251f301f251f501f251f301f251f501f251f301f251f501f353f351f501f951f601f751f807ff0f060") +const _hex17703 = pxsim.BufferMethods.createBufferFromHex("1010f0c01c111b605f101f111b1f402f3d1b1c2f211b301f1b313d1b1f111b1f301f411d1b1c112c111f201f612f111d1b1f301f611d211b1f401f611d311b401f612f111b2f401f411d1b1c111d1c111b301f1b313d1b1f111b1f402f3d1b1c2f211b605f101f111b1fc01f1c111bf030") +const _hex17711 = pxsim.BufferMethods.createBufferFromHex("1010f0f0f0f0f0f0b0153015a01514151015141580151410141514101415701430143014f0f0f0f0f0f0a0") +const _hex17732 = pxsim.BufferMethods.createBufferFromHex("202122000116230300060002") +const _hex17740 = pxsim.BufferMethods.createBufferFromHex("10102200012602030001") +const _hex17748 = pxsim.BufferMethods.createBufferFromHex("1110220040110001") +const _hex17756 = pxsim.BufferMethods.createBufferFromHex("122022004011120100060300") +const _hex17764 = pxsim.BufferMethods.createBufferFromHex("4110220010140002") +const _hex17772 = pxsim.BufferMethods.createBufferFromHex("212122001012230100060003") +const _hex17780 = pxsim.BufferMethods.createBufferFromHex("212122001013230100060000") +const _hex17788 = pxsim.BufferMethods.createBufferFromHex("312022001010210400060000") +const _hex17796 = pxsim.BufferMethods.createBufferFromHex("022122001010210001060401") +const _hex17804 = pxsim.BufferMethods.createBufferFromHex("122022004001120010160300") +const _hex17812 = pxsim.BufferMethods.createBufferFromHex("6110220090160300") -function createHelloWorld__P51141(s) { +function createHelloWorld__P16401(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61156,7 +61183,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_4, "VersionS"); s.tmp_3.arg0 = r0; s.tmp_3.arg1 = "4.0.0"; - s.callLocIdx = 1669; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1672; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61171,8 +61198,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WBackM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52759; - s.callLocIdx = 1670; s.pc = 7; return s.tmp_0; + s.tmp_0.arg1 = _hex18019; + s.callLocIdx = 1673; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61187,8 +61214,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WSpriteM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52767; - s.callLocIdx = 1671; s.pc = 9; return s.tmp_0; + s.tmp_0.arg1 = _hex18027; + s.callLocIdx = 1674; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -61204,7 +61231,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "BackN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1672; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1675; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61219,8 +61246,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52781; - s.callLocIdx = 1673; s.pc = 13; return s.tmp_0; + s.tmp_0.arg1 = _hex18041; + s.callLocIdx = 1676; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61235,8 +61262,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52789; - s.callLocIdx = 1674; s.pc = 15; return s.tmp_0; + s.tmp_0.arg1 = _hex18049; + s.callLocIdx = 1677; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61251,8 +61278,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52797; - s.callLocIdx = 1675; s.pc = 17; return s.tmp_0; + s.tmp_0.arg1 = _hex18057; + s.callLocIdx = 1678; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61267,8 +61294,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52805; - s.callLocIdx = 1676; s.pc = 19; return s.tmp_0; + s.tmp_0.arg1 = _hex18065; + s.callLocIdx = 1679; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -61284,7 +61311,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "SpriteN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1677; s.pc = 21; return s.tmp_0; + s.callLocIdx = 1680; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61299,8 +61326,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52819; - s.callLocIdx = 1678; s.pc = 23; return s.tmp_0; + s.tmp_0.arg1 = _hex18079; + s.callLocIdx = 1681; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61315,8 +61342,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52827; - s.callLocIdx = 1679; s.pc = 25; return s.tmp_0; + s.tmp_0.arg1 = _hex18087; + s.callLocIdx = 1682; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61331,8 +61358,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52835; - s.callLocIdx = 1680; s.pc = 27; return s.tmp_0; + s.tmp_0.arg1 = _hex18095; + s.callLocIdx = 1683; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61347,8 +61374,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52843; - s.callLocIdx = 1681; s.pc = 29; return s.tmp_0; + s.tmp_0.arg1 = _hex18103; + s.callLocIdx = 1684; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -61364,7 +61391,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "HelpN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 1; - s.callLocIdx = 1682; s.pc = 31; return s.tmp_0; + s.callLocIdx = 1685; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -61380,7 +61407,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "HighN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 10; - s.callLocIdx = 1683; s.pc = 33; return s.tmp_0; + s.callLocIdx = 1686; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61395,8 +61422,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52863; - s.callLocIdx = 1684; s.pc = 35; return s.tmp_0; + s.tmp_0.arg1 = _hex18123; + s.callLocIdx = 1687; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61411,8 +61438,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52871; - s.callLocIdx = 1685; s.pc = 37; return s.tmp_0; + s.tmp_0.arg1 = _hex18131; + s.callLocIdx = 1688; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61427,8 +61454,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52879; - s.callLocIdx = 1686; s.pc = 39; return s.tmp_0; + s.tmp_0.arg1 = _hex18139; + s.callLocIdx = 1689; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61443,8 +61470,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52887; - s.callLocIdx = 1687; s.pc = 41; return s.tmp_0; + s.tmp_0.arg1 = _hex18147; + s.callLocIdx = 1690; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61459,8 +61486,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB4"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52895; - s.callLocIdx = 1688; s.pc = 43; return s.tmp_0; + s.tmp_0.arg1 = _hex18155; + s.callLocIdx = 1691; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61475,8 +61502,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB5"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52903; - s.callLocIdx = 1689; s.pc = 45; return s.tmp_0; + s.tmp_0.arg1 = _hex18163; + s.callLocIdx = 1692; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61491,8 +61518,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB6"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex52911; - s.callLocIdx = 1690; s.pc = 47; return s.tmp_0; + s.tmp_0.arg1 = _hex18171; + s.callLocIdx = 1693; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -61508,7 +61535,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "PlayerN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1691; s.pc = 49; return s.tmp_0; + s.callLocIdx = 1694; s.pc = 49; return s.tmp_0; case 49: r0 = s.retval; case 3: @@ -61516,12 +61543,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -createHelloWorld__P51141.info = {"start":32167,"length":3648,"line":750,"column":0,"endLine":826,"endColumn":1,"fileName":"games.ts","functionName":"createHelloWorld","argumentNames":["prefix"]} +createHelloWorld__P16401.info = {"start":32165,"length":3648,"line":749,"column":0,"endLine":825,"endColumn":1,"fileName":"games.ts","functionName":"createHelloWorld","argumentNames":["prefix"]} -function createHelloWorld__P51141_mk(s) { +function createHelloWorld__P16401_mk(s) { checkStack(s.depth); return { - parent: s, fn: createHelloWorld__P51141, depth: s.depth + 1, + parent: s, fn: createHelloWorld__P16401, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -61531,28 +61558,28 @@ function createHelloWorld__P51141_mk(s) { arg0: undefined, } } -const _hex52759 = pxsim.BufferMethods.createBufferFromHex("2018f0a0f17120f17120f17120f17150f141202110f1412021102150c1207110e1207110e120f17120f171204110f121204110f1212041103110d12011403110d12011106110d1201110f15120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f171f0a0") -const _hex52767 = pxsim.BufferMethods.createBufferFromHex("2018ffaf10ffdf11ffffffffffff11ff8f123f12ffffffffffffffffffffffffffff4f1112ffffffffffffffffffffffffffffffffffffffffffffffffff3f") -const _hex52781 = pxsim.BufferMethods.createBufferFromHex("10101b6d1c1b6d1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d7b6c1b1a6c1b1a1b6d1c1b6d1b1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d6b7c1b1a6c1b1a") -const _hex52789 = pxsim.BufferMethods.createBufferFromHex("101017f6f61617461836175617462718e62718b627f627f61627d6271846178617185627d6171617c627187617561718f6f6f65627") -const _hex52797 = pxsim.BufferMethods.createBufferFromHex("1010bd21ed217d1bcd21ed21fd6d1bfd5d11fdfd8d2bed2bfdfd8d1b4d1bfded1bfd1d") -const _hex52805 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") -const _hex52819 = pxsim.BufferMethods.createBufferFromHex("1010f0802fa05f1e1f101e24403f1e1f3e1f141d14303f1e122f142e3f302f1e122f1b111d1e22144f121e121f1e2f1d1422143f12131e121f1e142d1422151f101f221e121f1e142d1422151f102f121e121f1e2f1d1422142f102f1e122f1b111d1e22142f103f1e122f142e3f402f2e1f3e1f141d14505f1e1f101e24902ff080") -const _hex52827 = pxsim.BufferMethods.createBufferFromHex("1010506c802c7e12501cae12404e523e12204e821e12203ea21e12104e921e121e4c92141e1c27161c92141e272ea2141e101e121e247214121e101e22251462141e301e121415145214121e301e7224121e502e622e806e50") -const _hex52835 = pxsim.BufferMethods.createBufferFromHex("1010a02c2fb01c16372c801c272c16111c701c1627161c1f2c701c37361f1c701c37361f1c701c37161c1f111c701c372c162c404c16671c302c361c57161c301c27262c16371f1c201c37462c2f161c201c273c761c201c171c201c661c301c161c302c461c302c505c20") -const _hex52843 = pxsim.BufferMethods.createBufferFromHex("1010f0502839a0384980485960586950587940281928893018391899201839111981201829211971301841196140184119517031194180311931a0211921f080") -const _hex52863 = pxsim.BufferMethods.createBufferFromHex("202622000116230400060002") -const _hex52871 = pxsim.BufferMethods.createBufferFromHex("201022000106") -const _hex52879 = pxsim.BufferMethods.createBufferFromHex("201022000106") -const _hex52887 = pxsim.BufferMethods.createBufferFromHex("201022000106") -const _hex52895 = pxsim.BufferMethods.createBufferFromHex("401022000106") -const _hex52903 = pxsim.BufferMethods.createBufferFromHex("2226220001022300042603000402") -const _hex52911 = pxsim.BufferMethods.createBufferFromHex("222022000102230010160401") +const _hex18019 = pxsim.BufferMethods.createBufferFromHex("2018f0a0f17120f17120f17120f17150f141202110f1412021102150c1207110e1207110e120f17120f171204110f121204110f1212041103110d12011403110d12011106110d1201110f15120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f171f0a0") +const _hex18027 = pxsim.BufferMethods.createBufferFromHex("2018ffaf10ffdf11ffffffffffff11ff8f123f12ffffffffffffffffffffffffffff4f1112ffffffffffffffffffffffffffffffffffffffffffffffffff3f") +const _hex18041 = pxsim.BufferMethods.createBufferFromHex("10101b6d1c1b6d1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d7b6c1b1a6c1b1a1b6d1c1b6d1b1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d6b7c1b1a6c1b1a") +const _hex18049 = pxsim.BufferMethods.createBufferFromHex("101017f6f61617461836175617462718e62718b627f627f61627d6271846178617185627d6171617c627187617561718f6f6f65627") +const _hex18057 = pxsim.BufferMethods.createBufferFromHex("1010bd21ed217d1bcd21ed21fd6d1bfd5d11fdfd8d2bed2bfdfd8d1b4d1bfded1bfd1d") +const _hex18065 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") +const _hex18079 = pxsim.BufferMethods.createBufferFromHex("1010f0802fa05f1e1f101e24403f1e1f3e1f141d14303f1e122f142e3f302f1e122f1b111d1e22144f121e121f1e2f1d1422143f12131e121f1e142d1422151f101f221e121f1e142d1422151f102f121e121f1e2f1d1422142f102f1e122f1b111d1e22142f103f1e122f142e3f402f2e1f3e1f141d14505f1e1f101e24902ff080") +const _hex18087 = pxsim.BufferMethods.createBufferFromHex("1010506c802c7e12501cae12404e523e12204e821e12203ea21e12104e921e121e4c92141e1c27161c92141e272ea2141e101e121e247214121e101e22251462141e301e121415145214121e301e7224121e502e622e806e50") +const _hex18095 = pxsim.BufferMethods.createBufferFromHex("1010a02c2fb01c16372c801c272c16111c701c1627161c1f2c701c37361f1c701c37361f1c701c37161c1f111c701c372c162c404c16671c302c361c57161c301c27262c16371f1c201c37462c2f161c201c273c761c201c171c201c661c301c161c302c461c302c505c20") +const _hex18103 = pxsim.BufferMethods.createBufferFromHex("1010f0502839a0384980485960586950587940281928893018391899201839111981201829211971301841196140184119517031194180311931a0211921f080") +const _hex18123 = pxsim.BufferMethods.createBufferFromHex("202622000116230400060002") +const _hex18131 = pxsim.BufferMethods.createBufferFromHex("201022000106") +const _hex18139 = pxsim.BufferMethods.createBufferFromHex("201022000106") +const _hex18147 = pxsim.BufferMethods.createBufferFromHex("201022000106") +const _hex18155 = pxsim.BufferMethods.createBufferFromHex("401022000106") +const _hex18163 = pxsim.BufferMethods.createBufferFromHex("2226220001022300042603000402") +const _hex18171 = pxsim.BufferMethods.createBufferFromHex("222022000102230010160401") -function createLeftHandRule__P51139(s) { +function createLeftHandRule__P16399(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61597,7 +61624,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_4, "VersionS"); s.tmp_3.arg0 = r0; s.tmp_3.arg1 = "4.0.0"; - s.callLocIdx = 1564; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1567; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61612,8 +61639,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WBackM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51812; - s.callLocIdx = 1565; s.pc = 7; return s.tmp_0; + s.tmp_0.arg1 = _hex17072; + s.callLocIdx = 1568; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61628,8 +61655,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WSpriteM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51820; - s.callLocIdx = 1566; s.pc = 9; return s.tmp_0; + s.tmp_0.arg1 = _hex17080; + s.callLocIdx = 1569; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -61645,7 +61672,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "BackN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1567; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1570; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61660,8 +61687,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51834; - s.callLocIdx = 1568; s.pc = 13; return s.tmp_0; + s.tmp_0.arg1 = _hex17094; + s.callLocIdx = 1571; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61676,8 +61703,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51842; - s.callLocIdx = 1569; s.pc = 15; return s.tmp_0; + s.tmp_0.arg1 = _hex17102; + s.callLocIdx = 1572; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61692,8 +61719,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51850; - s.callLocIdx = 1570; s.pc = 17; return s.tmp_0; + s.tmp_0.arg1 = _hex17110; + s.callLocIdx = 1573; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61708,8 +61735,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51858; - s.callLocIdx = 1571; s.pc = 19; return s.tmp_0; + s.tmp_0.arg1 = _hex17118; + s.callLocIdx = 1574; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -61725,7 +61752,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "SpriteN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1572; s.pc = 21; return s.tmp_0; + s.callLocIdx = 1575; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61740,8 +61767,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51872; - s.callLocIdx = 1573; s.pc = 23; return s.tmp_0; + s.tmp_0.arg1 = _hex17132; + s.callLocIdx = 1576; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61756,8 +61783,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51880; - s.callLocIdx = 1574; s.pc = 25; return s.tmp_0; + s.tmp_0.arg1 = _hex17140; + s.callLocIdx = 1577; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61772,8 +61799,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51888; - s.callLocIdx = 1575; s.pc = 27; return s.tmp_0; + s.tmp_0.arg1 = _hex17148; + s.callLocIdx = 1578; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61788,8 +61815,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51896; - s.callLocIdx = 1576; s.pc = 29; return s.tmp_0; + s.tmp_0.arg1 = _hex17156; + s.callLocIdx = 1579; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -61805,7 +61832,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "HelpN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1577; s.pc = 31; return s.tmp_0; + s.callLocIdx = 1580; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -61821,7 +61848,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "HighN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 30; - s.callLocIdx = 1578; s.pc = 33; return s.tmp_0; + s.callLocIdx = 1581; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61836,8 +61863,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51916; - s.callLocIdx = 1579; s.pc = 35; return s.tmp_0; + s.tmp_0.arg1 = _hex17176; + s.callLocIdx = 1582; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61852,8 +61879,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51924; - s.callLocIdx = 1580; s.pc = 37; return s.tmp_0; + s.tmp_0.arg1 = _hex17184; + s.callLocIdx = 1583; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61868,8 +61895,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51932; - s.callLocIdx = 1581; s.pc = 39; return s.tmp_0; + s.tmp_0.arg1 = _hex17192; + s.callLocIdx = 1584; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61884,8 +61911,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51940; - s.callLocIdx = 1582; s.pc = 41; return s.tmp_0; + s.tmp_0.arg1 = _hex17200; + s.callLocIdx = 1585; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61900,8 +61927,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB4"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51948; - s.callLocIdx = 1583; s.pc = 43; return s.tmp_0; + s.tmp_0.arg1 = _hex17208; + s.callLocIdx = 1586; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -61916,8 +61943,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB5"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51956; - s.callLocIdx = 1584; s.pc = 45; return s.tmp_0; + s.tmp_0.arg1 = _hex17216; + s.callLocIdx = 1587; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -61933,7 +61960,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "PlayerN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1585; s.pc = 47; return s.tmp_0; + s.callLocIdx = 1588; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; case 3: @@ -61941,12 +61968,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -createLeftHandRule__P51139.info = {"start":12764,"length":3714,"line":294,"column":0,"endLine":371,"endColumn":1,"fileName":"games.ts","functionName":"createLeftHandRule","argumentNames":["prefix"]} +createLeftHandRule__P16399.info = {"start":12762,"length":3714,"line":293,"column":0,"endLine":370,"endColumn":1,"fileName":"games.ts","functionName":"createLeftHandRule","argumentNames":["prefix"]} -function createLeftHandRule__P51139_mk(s) { +function createLeftHandRule__P16399_mk(s) { checkStack(s.depth); return { - parent: s, fn: createLeftHandRule__P51139, depth: s.depth + 1, + parent: s, fn: createLeftHandRule__P16399, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -61956,27 +61983,27 @@ function createLeftHandRule__P51139_mk(s) { arg0: undefined, } } -const _hex51812 = pxsim.BufferMethods.createBufferFromHex("2018f0a0e1107120116011707120111041101110511071201110112011101150111071201110211011101110113011107120114011104120111071206110112011201110719011201120111071201110711011201110712011401140112011107120411011104120111071201120111011201140111071201120111021101110112011107120112011401110112011107120112041101110411071201120114011401110712011201110911071201120111011701110712011201110211041101110712011201110112011201110111071201170114011107120e11071f020f1f11120f17120f17120f17120f17120f17120f171f0a0") -const _hex51820 = pxsim.BufferMethods.createBufferFromHex("2018ffff8f10ffffffffffaf11ffffffffffffcf11ffff8f21ffffffaf11ff8f11ff4f11ffffffffffffffdf115f11ffffbf11ffffffffffffffffffffffffffffff8f") -const _hex51834 = pxsim.BufferMethods.createBufferFromHex("10101b6d1c1b6d1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d7b6c1b1a6c1b1a1b6d1c1b6d1b1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d6b7c1b1a6c1b1a") -const _hex51842 = pxsim.BufferMethods.createBufferFromHex("101015f7f71715471637155715472516e72516b725f725f71725d7251647158715165725d7151715c725167715571516f7f7f75725") -const _hex51850 = pxsim.BufferMethods.createBufferFromHex("101017f6f61617461836175617462718e62718b627f627f61627d6271846178617185627d6171617c627187617561718f6f6f65627") -const _hex51858 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") -const _hex51872 = pxsim.BufferMethods.createBufferFromHex("1010f0802fa05f1e1f101e24403f1e1f3e1f141d14303f1e122f142e3f302f1e122f1b111d1e22144f121e121f1e2f1d1422143f12131e121f1e142d1422151f101f221e121f1e142d1422151f102f121e121f1e2f1d1422142f102f1e122f1b111d1e22142f103f1e122f142e3f402f2e1f3e1f141d14505f1e1f101e24902ff080") -const _hex51880 = pxsim.BufferMethods.createBufferFromHex("1010f0502839a0384980485960586950587940281928893018391899201839111981201829211971301841196140184119517031194180311931a0211921f080") -const _hex51888 = pxsim.BufferMethods.createBufferFromHex("1010f0c01c111b605f101f111b1f402f3d1b1c2f211b301f1b313d1b1f111b1f301f411d1b1c112c111f201f612f111d1b1f301f611d211b1f401f611d311b401f612f111b2f401f411d1b1c111d1c111b301f1b313d1b1f111b1f402f3d1b1c2f211b605f101f111b1fc01f1c111bf030") -const _hex51896 = pxsim.BufferMethods.createBufferFromHex("1010f0f0f0f0f0f0b0153015a01514151015141580151410141514101415701430143014f0f0f0f0f0f0a0") -const _hex51916 = pxsim.BufferMethods.createBufferFromHex("412022000114120400060001") -const _hex51924 = pxsim.BufferMethods.createBufferFromHex("41362200011121010006120400060001") -const _hex51932 = pxsim.BufferMethods.createBufferFromHex("11362200011131010006210400060000") -const _hex51940 = pxsim.BufferMethods.createBufferFromHex("1146220001111201000621010006230400060002") -const _hex51948 = pxsim.BufferMethods.createBufferFromHex("1146220001112101000612010006230100060003") -const _hex51956 = pxsim.BufferMethods.createBufferFromHex("3226220001133200041604020300") +const _hex17072 = pxsim.BufferMethods.createBufferFromHex("2018f0a0e1107120116011707120111041101110511071201110112011101150111071201110211011101110113011107120114011104120111071206110112011201110719011201120111071201110711011201110712011401140112011107120411011104120111071201120111011201140111071201120111021101110112011107120112011401110112011107120112041101110411071201120114011401110712011201110911071201120111011701110712011201110211041101110712011201110112011201110111071201170114011107120e11071f020f1f11120f17120f17120f17120f17120f17120f171f0a0") +const _hex17080 = pxsim.BufferMethods.createBufferFromHex("2018ffff8f10ffffffffffaf11ffffffffffffcf11ffff8f21ffffffaf11ff8f11ff4f11ffffffffffffffdf115f11ffffbf11ffffffffffffffffffffffffffffff8f") +const _hex17094 = pxsim.BufferMethods.createBufferFromHex("10101b6d1c1b6d1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d7b6c1b1a6c1b1a1b6d1c1b6d1b1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d6b7c1b1a6c1b1a") +const _hex17102 = pxsim.BufferMethods.createBufferFromHex("101015f7f71715471637155715472516e72516b725f725f71725d7251647158715165725d7151715c725167715571516f7f7f75725") +const _hex17110 = pxsim.BufferMethods.createBufferFromHex("101017f6f61617461836175617462718e62718b627f627f61627d6271846178617185627d6171617c627187617561718f6f6f65627") +const _hex17118 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") +const _hex17132 = pxsim.BufferMethods.createBufferFromHex("1010f0802fa05f1e1f101e24403f1e1f3e1f141d14303f1e122f142e3f302f1e122f1b111d1e22144f121e121f1e2f1d1422143f12131e121f1e142d1422151f101f221e121f1e142d1422151f102f121e121f1e2f1d1422142f102f1e122f1b111d1e22142f103f1e122f142e3f402f2e1f3e1f141d14505f1e1f101e24902ff080") +const _hex17140 = pxsim.BufferMethods.createBufferFromHex("1010f0502839a0384980485960586950587940281928893018391899201839111981201829211971301841196140184119517031194180311931a0211921f080") +const _hex17148 = pxsim.BufferMethods.createBufferFromHex("1010f0c01c111b605f101f111b1f402f3d1b1c2f211b301f1b313d1b1f111b1f301f411d1b1c112c111f201f612f111d1b1f301f611d211b1f401f611d311b401f612f111b2f401f411d1b1c111d1c111b301f1b313d1b1f111b1f402f3d1b1c2f211b605f101f111b1fc01f1c111bf030") +const _hex17156 = pxsim.BufferMethods.createBufferFromHex("1010f0f0f0f0f0f0b0153015a01514151015141580151410141514101415701430143014f0f0f0f0f0f0a0") +const _hex17176 = pxsim.BufferMethods.createBufferFromHex("412022000114120400060001") +const _hex17184 = pxsim.BufferMethods.createBufferFromHex("41362200011121010006120400060001") +const _hex17192 = pxsim.BufferMethods.createBufferFromHex("11362200011131010006210400060000") +const _hex17200 = pxsim.BufferMethods.createBufferFromHex("1146220001111201000621010006230400060002") +const _hex17208 = pxsim.BufferMethods.createBufferFromHex("1146220001112101000612010006230100060003") +const _hex17216 = pxsim.BufferMethods.createBufferFromHex("3226220001133200041604020300") -function createBoulderDash__P51137(s) { +function createBoulderDash__P16397(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62021,7 +62048,7 @@ 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 = 1482; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62036,8 +62063,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WBackM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51168; - s.callLocIdx = 1480; s.pc = 7; return s.tmp_0; + s.tmp_0.arg1 = _hex16428; + s.callLocIdx = 1483; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62052,8 +62079,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WSpriteM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51176; - s.callLocIdx = 1481; s.pc = 9; return s.tmp_0; + s.tmp_0.arg1 = _hex16436; + s.callLocIdx = 1484; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -62069,7 +62096,7 @@ 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 = 1485; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62084,8 +62111,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51190; - s.callLocIdx = 1483; s.pc = 13; return s.tmp_0; + s.tmp_0.arg1 = _hex16450; + s.callLocIdx = 1486; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62100,8 +62127,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51198; - s.callLocIdx = 1484; s.pc = 15; return s.tmp_0; + s.tmp_0.arg1 = _hex16458; + s.callLocIdx = 1487; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62116,8 +62143,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51206; - s.callLocIdx = 1485; s.pc = 17; return s.tmp_0; + s.tmp_0.arg1 = _hex16466; + s.callLocIdx = 1488; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62132,8 +62159,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51214; - s.callLocIdx = 1486; s.pc = 19; return s.tmp_0; + s.tmp_0.arg1 = _hex16474; + s.callLocIdx = 1489; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -62149,7 +62176,7 @@ 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 = 1490; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62164,8 +62191,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51228; - s.callLocIdx = 1488; s.pc = 23; return s.tmp_0; + s.tmp_0.arg1 = _hex16488; + s.callLocIdx = 1491; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62180,8 +62207,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51236; - s.callLocIdx = 1489; s.pc = 25; return s.tmp_0; + s.tmp_0.arg1 = _hex16496; + s.callLocIdx = 1492; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62196,8 +62223,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51244; - s.callLocIdx = 1490; s.pc = 27; return s.tmp_0; + s.tmp_0.arg1 = _hex16504; + s.callLocIdx = 1493; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62212,8 +62239,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51252; - s.callLocIdx = 1491; s.pc = 29; return s.tmp_0; + s.tmp_0.arg1 = _hex16512; + s.callLocIdx = 1494; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -62229,7 +62256,7 @@ 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 = 1495; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -62245,7 +62272,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "HighN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = NaN; - s.callLocIdx = 1493; s.pc = 33; return s.tmp_0; + s.callLocIdx = 1496; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62260,8 +62287,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51273; - s.callLocIdx = 1494; s.pc = 35; return s.tmp_0; + s.tmp_0.arg1 = _hex16533; + s.callLocIdx = 1497; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62276,8 +62303,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51281; - s.callLocIdx = 1495; s.pc = 37; return s.tmp_0; + s.tmp_0.arg1 = _hex16541; + s.callLocIdx = 1498; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62292,8 +62319,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB4"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51289; - s.callLocIdx = 1496; s.pc = 39; return s.tmp_0; + s.tmp_0.arg1 = _hex16549; + s.callLocIdx = 1499; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62308,8 +62335,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB5"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51297; - s.callLocIdx = 1497; s.pc = 41; return s.tmp_0; + s.tmp_0.arg1 = _hex16557; + s.callLocIdx = 1500; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62324,8 +62351,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB7"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51305; - s.callLocIdx = 1498; s.pc = 43; return s.tmp_0; + s.tmp_0.arg1 = _hex16565; + s.callLocIdx = 1501; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62340,8 +62367,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB8"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51313; - s.callLocIdx = 1499; s.pc = 45; return s.tmp_0; + s.tmp_0.arg1 = _hex16573; + s.callLocIdx = 1502; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62356,8 +62383,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB9"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51321; - s.callLocIdx = 1500; s.pc = 47; return s.tmp_0; + s.tmp_0.arg1 = _hex16581; + s.callLocIdx = 1503; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62372,8 +62399,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51329; - s.callLocIdx = 1501; s.pc = 49; return s.tmp_0; + s.tmp_0.arg1 = _hex16589; + s.callLocIdx = 1504; s.pc = 49; return s.tmp_0; case 49: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62388,8 +62415,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB6"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51337; - s.callLocIdx = 1502; s.pc = 51; return s.tmp_0; + s.tmp_0.arg1 = _hex16597; + s.callLocIdx = 1505; s.pc = 51; return s.tmp_0; case 51: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62404,8 +62431,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB10"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51345; - s.callLocIdx = 1503; s.pc = 53; return s.tmp_0; + s.tmp_0.arg1 = _hex16605; + s.callLocIdx = 1506; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62420,8 +62447,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB13"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51353; - s.callLocIdx = 1504; s.pc = 55; return s.tmp_0; + s.tmp_0.arg1 = _hex16613; + s.callLocIdx = 1507; s.pc = 55; return s.tmp_0; case 55: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62436,8 +62463,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51361; - s.callLocIdx = 1505; s.pc = 57; return s.tmp_0; + s.tmp_0.arg1 = _hex16621; + s.callLocIdx = 1508; s.pc = 57; return s.tmp_0; case 57: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62452,8 +62479,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB12"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51369; - s.callLocIdx = 1506; s.pc = 59; return s.tmp_0; + s.tmp_0.arg1 = _hex16629; + s.callLocIdx = 1509; s.pc = 59; return s.tmp_0; case 59: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62468,8 +62495,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB11"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51377; - s.callLocIdx = 1507; s.pc = 61; return s.tmp_0; + s.tmp_0.arg1 = _hex16637; + s.callLocIdx = 1510; s.pc = 61; return s.tmp_0; case 61: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62484,8 +62511,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB14"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51385; - s.callLocIdx = 1508; s.pc = 63; return s.tmp_0; + s.tmp_0.arg1 = _hex16645; + s.callLocIdx = 1511; s.pc = 63; return s.tmp_0; case 63: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -62501,7 +62528,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "PlayerN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1509; s.pc = 65; return s.tmp_0; + s.callLocIdx = 1512; s.pc = 65; return s.tmp_0; case 65: r0 = s.retval; case 3: @@ -62509,12 +62536,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -createBoulderDash__P51137.info = {"start":363,"length":4737,"line":15,"column":0,"endLine":119,"endColumn":1,"fileName":"games.ts","functionName":"createBoulderDash","argumentNames":["prefix"]} +createBoulderDash__P16397.info = {"start":363,"length":4737,"line":15,"column":0,"endLine":119,"endColumn":1,"fileName":"games.ts","functionName":"createBoulderDash","argumentNames":["prefix"]} -function createBoulderDash__P51137_mk(s) { +function createBoulderDash__P16397_mk(s) { checkStack(s.depth); return { - parent: s, fn: createBoulderDash__P51137, depth: s.depth + 1, + parent: s, fn: createBoulderDash__P16397, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -62524,36 +62551,36 @@ function createBoulderDash__P51137_mk(s) { arg0: undefined, } } -const _hex51168 = pxsim.BufferMethods.createBufferFromHex("2018f0a022f1512032f1412032f14120321112f1212032f1412032f14120f171203122f121205132e1201132f13120f171203132f11120f17120f171205132e120322132e1205132e120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f171f0a0") -const _hex51176 = pxsim.BufferMethods.createBufferFromHex("2018ffaf11ff8f11ff8f11ff8f212f10ff4f11ffffffffef21ff9f2112ff2f1221ffffff2f2112ffffffffbf31ff1f21122f111211ff6f31ffffffffffffffffffffffffffffffffffffffffffffff6f") -const _hex51190 = pxsim.BufferMethods.createBufferFromHex("1010fd181d363826181618161816181d2618361816181618161816181d1618163826181618161816181d1816281d28561816181d1816183d1876181d1816281d2876181d1618163886181d2618361866281d26181618164826381d2618161816181628261816181d2618161816182618261816181d2618161816182618261816181d261816181618162826381d48163866f828") -const _hex51198 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") -const _hex51206 = pxsim.BufferMethods.createBufferFromHex("1010ff3f3ccf5c4f3c4f6c2f5c4f5c1f7c3f5c1f7c4f3c2f7caf5ccf3c8f3c7f1c4f5c5f3c3f5c4f4c3f6c3f4c3f6c4f3c4f3c7f1cff1f") -const _hex51214 = pxsim.BufferMethods.createBufferFromHex("1010bd21ed217d1bcd21ed21fd6d1bfd5d11fdfd8d2bed2bfdfd8d1b4d1bfded1bfd1d") -const _hex51228 = pxsim.BufferMethods.createBufferFromHex("1010f0802fa05f1e1f101e24403f1e1f3e1f141d14303f1e122f142e3f302f1e122f1b111d1e22144f121e121f1e2f1d1422143f12131e121f1e142d1422151f101f221e121f1e142d1422151f102f121e121f1e2f1d1422142f102f1e122f1b111d1e22142f103f1e122f142e3f402f2e1f3e1f141d14505f1e1f101e24902ff080") -const _hex51236 = pxsim.BufferMethods.createBufferFromHex("1010804ca02c1b1c1b2c901c1d2b1c1b2c603c2d1b1c1b2c303c2b1c1b2d4c201c1b2d3b1c2d1b3c201c5d3b1d1b4c101b5d3b1d1b2c1b1c101b5d3b1d2b1c2b1c1b6d2b1d1b1d1c2b1c101b5d2b1d1b1d1c2b1c201b4d1b1d2b1d1c2b1c201b3d2b1d1b1d3b1c407b1d1c2b1c701b3d2c1b1c902b2c2b30") -const _hex51244 = pxsim.BufferMethods.createBufferFromHex("1010f0502839a0384980485960586950587940281928893018391899201839111981201829211971301841196140184119517031194180311931a0211921f080") -const _hex51252 = pxsim.BufferMethods.createBufferFromHex("10106057a01730373fb0271c111d1f408f1b1c1f302f5d1b1c1f211d1f101f1b513d1f1b1c1f201f611d1b1c1b1c111d2f812f1d3f101f811d111b3f101f811d213f101f812f1b3f201f611d1b1c1d3f201f1b513d3f402f5d1b1c1f807f1cc01f1c1b1f40") -const _hex51273 = pxsim.BufferMethods.createBufferFromHex("20262200011623030c060002") -const _hex51281 = pxsim.BufferMethods.createBufferFromHex("4120220014143210ff060003") -const _hex51289 = pxsim.BufferMethods.createBufferFromHex("41202200141332103c060003") -const _hex51297 = pxsim.BufferMethods.createBufferFromHex("222622000102230010140300") -const _hex51305 = pxsim.BufferMethods.createBufferFromHex("414122001416320014042110ff063110ff060000") -const _hex51313 = pxsim.BufferMethods.createBufferFromHex("322022001403320001160401") -const _hex51321 = pxsim.BufferMethods.createBufferFromHex("6310220010160400") -const _hex51329 = pxsim.BufferMethods.createBufferFromHex("21212200141232103c060003") -const _hex51337 = pxsim.BufferMethods.createBufferFromHex("203122000116230004163305140600020002") -const _hex51345 = pxsim.BufferMethods.createBufferFromHex("2016220001160102") -const _hex51353 = pxsim.BufferMethods.createBufferFromHex("222122001412230554060004") -const _hex51361 = pxsim.BufferMethods.createBufferFromHex("2031220001162300041633103c0600020003") -const _hex51369 = pxsim.BufferMethods.createBufferFromHex("6110220001160102") -const _hex51377 = pxsim.BufferMethods.createBufferFromHex("631022000106") -const _hex51385 = pxsim.BufferMethods.createBufferFromHex("222122000112230004060004") +const _hex16428 = pxsim.BufferMethods.createBufferFromHex("2018f0a022f1512032f1412032f14120321112f1212032f1412032f14120f171203122f121205132e1201132f13120f171203132f11120f17120f171205132e120322132e1205132e120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f17120f171f0a0") +const _hex16436 = pxsim.BufferMethods.createBufferFromHex("2018ffaf11ff8f11ff8f11ff8f212f10ff4f11ffffffffef21ff9f2112ff2f1221ffffff2f2112ffffffffbf31ff1f21122f111211ff6f31ffffffffffffffffffffffffffffffffffffffffffffff6f") +const _hex16450 = pxsim.BufferMethods.createBufferFromHex("1010fd181d363826181618161816181d2618361816181618161816181d1618163826181618161816181d1816281d28561816181d1816183d1876181d1816281d2876181d1618163886181d2618361866281d26181618164826381d2618161816181628261816181d2618161816182618261816181d2618161816182618261816181d261816181618162826381d48163866f828") +const _hex16458 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") +const _hex16466 = pxsim.BufferMethods.createBufferFromHex("1010ff3f3ccf5c4f3c4f6c2f5c4f5c1f7c3f5c1f7c4f3c2f7caf5ccf3c8f3c7f1c4f5c5f3c3f5c4f4c3f6c3f4c3f6c4f3c4f3c7f1cff1f") +const _hex16474 = pxsim.BufferMethods.createBufferFromHex("1010bd21ed217d1bcd21ed21fd6d1bfd5d11fdfd8d2bed2bfdfd8d1b4d1bfded1bfd1d") +const _hex16488 = pxsim.BufferMethods.createBufferFromHex("1010f0802fa05f1e1f101e24403f1e1f3e1f141d14303f1e122f142e3f302f1e122f1b111d1e22144f121e121f1e2f1d1422143f12131e121f1e142d1422151f101f221e121f1e142d1422151f102f121e121f1e2f1d1422142f102f1e122f1b111d1e22142f103f1e122f142e3f402f2e1f3e1f141d14505f1e1f101e24902ff080") +const _hex16496 = pxsim.BufferMethods.createBufferFromHex("1010804ca02c1b1c1b2c901c1d2b1c1b2c603c2d1b1c1b2c303c2b1c1b2d4c201c1b2d3b1c2d1b3c201c5d3b1d1b4c101b5d3b1d1b2c1b1c101b5d3b1d2b1c2b1c1b6d2b1d1b1d1c2b1c101b5d2b1d1b1d1c2b1c201b4d1b1d2b1d1c2b1c201b3d2b1d1b1d3b1c407b1d1c2b1c701b3d2c1b1c902b2c2b30") +const _hex16504 = pxsim.BufferMethods.createBufferFromHex("1010f0502839a0384980485960586950587940281928893018391899201839111981201829211971301841196140184119517031194180311931a0211921f080") +const _hex16512 = pxsim.BufferMethods.createBufferFromHex("10106057a01730373fb0271c111d1f408f1b1c1f302f5d1b1c1f211d1f101f1b513d1f1b1c1f201f611d1b1c1b1c111d2f812f1d3f101f811d111b3f101f811d213f101f812f1b3f201f611d1b1c1d3f201f1b513d3f402f5d1b1c1f807f1cc01f1c1b1f40") +const _hex16533 = pxsim.BufferMethods.createBufferFromHex("20262200011623030c060002") +const _hex16541 = pxsim.BufferMethods.createBufferFromHex("4120220014143210ff060003") +const _hex16549 = pxsim.BufferMethods.createBufferFromHex("41202200141332103c060003") +const _hex16557 = pxsim.BufferMethods.createBufferFromHex("222622000102230010140300") +const _hex16565 = pxsim.BufferMethods.createBufferFromHex("414122001416320014042110ff063110ff060000") +const _hex16573 = pxsim.BufferMethods.createBufferFromHex("322022001403320001160401") +const _hex16581 = pxsim.BufferMethods.createBufferFromHex("6310220010160400") +const _hex16589 = pxsim.BufferMethods.createBufferFromHex("21212200141232103c060003") +const _hex16597 = pxsim.BufferMethods.createBufferFromHex("203122000116230004163305140600020002") +const _hex16605 = pxsim.BufferMethods.createBufferFromHex("2016220001160102") +const _hex16613 = pxsim.BufferMethods.createBufferFromHex("222122001412230554060004") +const _hex16621 = pxsim.BufferMethods.createBufferFromHex("2031220001162300041633103c0600020003") +const _hex16629 = pxsim.BufferMethods.createBufferFromHex("6110220001160102") +const _hex16637 = pxsim.BufferMethods.createBufferFromHex("631022000106") +const _hex16645 = pxsim.BufferMethods.createBufferFromHex("222122000112230004060004") -function createSnake__P51135(s) { +function createSnake__P16395(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62580,7 +62607,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "VersionS"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = "4.0.0"; - s.callLocIdx = 1510; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1513; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62595,8 +62622,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WBackM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51406; - s.callLocIdx = 1511; s.pc = 3; return s.tmp_0; + s.tmp_0.arg1 = _hex16666; + s.callLocIdx = 1514; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62611,8 +62638,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WSpriteM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51414; - s.callLocIdx = 1512; s.pc = 5; return s.tmp_0; + s.tmp_0.arg1 = _hex16674; + s.callLocIdx = 1515; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -62628,7 +62655,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "BackN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1513; s.pc = 7; return s.tmp_0; + s.callLocIdx = 1516; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62643,8 +62670,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51428; - s.callLocIdx = 1514; s.pc = 9; return s.tmp_0; + s.tmp_0.arg1 = _hex16688; + s.callLocIdx = 1517; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62659,8 +62686,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51436; - s.callLocIdx = 1515; s.pc = 11; return s.tmp_0; + s.tmp_0.arg1 = _hex16696; + s.callLocIdx = 1518; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62675,8 +62702,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51444; - s.callLocIdx = 1516; s.pc = 13; return s.tmp_0; + s.tmp_0.arg1 = _hex16704; + s.callLocIdx = 1519; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62691,8 +62718,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51452; - s.callLocIdx = 1517; s.pc = 15; return s.tmp_0; + s.tmp_0.arg1 = _hex16712; + s.callLocIdx = 1520; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -62708,7 +62735,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "SpriteN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1518; s.pc = 17; return s.tmp_0; + s.callLocIdx = 1521; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62723,8 +62750,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51466; - s.callLocIdx = 1519; s.pc = 19; return s.tmp_0; + s.tmp_0.arg1 = _hex16726; + s.callLocIdx = 1522; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62739,8 +62766,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51474; - s.callLocIdx = 1520; s.pc = 21; return s.tmp_0; + s.tmp_0.arg1 = _hex16734; + s.callLocIdx = 1523; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62755,8 +62782,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51482; - s.callLocIdx = 1521; s.pc = 23; return s.tmp_0; + s.tmp_0.arg1 = _hex16742; + s.callLocIdx = 1524; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62771,8 +62798,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51490; - s.callLocIdx = 1522; s.pc = 25; return s.tmp_0; + s.tmp_0.arg1 = _hex16750; + s.callLocIdx = 1525; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -62788,7 +62815,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "HelpN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1523; s.pc = 27; return s.tmp_0; + s.callLocIdx = 1526; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -62804,7 +62831,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "HighN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 430; - s.callLocIdx = 1524; s.pc = 29; return s.tmp_0; + s.callLocIdx = 1527; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62819,8 +62846,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51510; - s.callLocIdx = 1525; s.pc = 31; return s.tmp_0; + s.tmp_0.arg1 = _hex16770; + s.callLocIdx = 1528; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62835,8 +62862,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51518; - s.callLocIdx = 1526; s.pc = 33; return s.tmp_0; + s.tmp_0.arg1 = _hex16778; + s.callLocIdx = 1529; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62851,8 +62878,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51526; - s.callLocIdx = 1527; s.pc = 35; return s.tmp_0; + s.tmp_0.arg1 = _hex16786; + s.callLocIdx = 1530; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62867,8 +62894,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB5"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51534; - s.callLocIdx = 1528; s.pc = 37; return s.tmp_0; + s.tmp_0.arg1 = _hex16794; + s.callLocIdx = 1531; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62883,8 +62910,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB7"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51542; - s.callLocIdx = 1529; s.pc = 39; return s.tmp_0; + s.tmp_0.arg1 = _hex16802; + s.callLocIdx = 1532; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62899,8 +62926,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB9"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51550; - s.callLocIdx = 1530; s.pc = 41; return s.tmp_0; + s.tmp_0.arg1 = _hex16810; + s.callLocIdx = 1533; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62915,8 +62942,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51558; - s.callLocIdx = 1531; s.pc = 43; return s.tmp_0; + s.tmp_0.arg1 = _hex16818; + s.callLocIdx = 1534; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62931,8 +62958,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB4"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51566; - s.callLocIdx = 1532; s.pc = 45; return s.tmp_0; + s.tmp_0.arg1 = _hex16826; + s.callLocIdx = 1535; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -62947,8 +62974,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB10"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51574; - s.callLocIdx = 1533; s.pc = 47; return s.tmp_0; + s.tmp_0.arg1 = _hex16834; + s.callLocIdx = 1536; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -62964,49 +62991,49 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "PlayerN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1534; s.pc = 49; return s.tmp_0; + s.callLocIdx = 1537; s.pc = 49; return s.tmp_0; case 49: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -createSnake__P51135.info = {"start":5104,"length":3600,"line":121,"column":0,"endLine":200,"endColumn":1,"fileName":"games.ts","functionName":"createSnake","argumentNames":["prefix"]} +createSnake__P16395.info = {"start":5104,"length":3600,"line":121,"column":0,"endLine":200,"endColumn":1,"fileName":"games.ts","functionName":"createSnake","argumentNames":["prefix"]} -function createSnake__P51135_mk(s) { +function createSnake__P16395_mk(s) { checkStack(s.depth); return { - parent: s, fn: createSnake__P51135, depth: s.depth + 1, + parent: s, fn: createSnake__P16395, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, arg0: undefined, } } -const _hex51406 = pxsim.BufferMethods.createBufferFromHex("2018f0a0f17120f17120f17120f17120f17120f17120f17120f17120f17120a122a120914291208152912081529120815291209132a120f17120f17120f17120f17120f171204122f111203142f1203142f1203132f111204122f11120f17120f17120f17120f17120f171f0a0") -const _hex51414 = pxsim.BufferMethods.createBufferFromHex("2018ffffffffff1f11ff8f11ff8f116f12ff1f11ff8f11ff8f11ff8f10ffbf12ffffffcf12ff2f12ffffffff3f12ffffffffffffaf12ffbf12ffffffffffffffff4f12ffffffff12ffffffff6f") -const _hex51428 = pxsim.BufferMethods.createBufferFromHex("10101b6d1c1b6d1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d7b6c1b1a6c1b1a1b6d1c1b6d1b1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d6b7c1b1a6c1b1a") -const _hex51436 = pxsim.BufferMethods.createBufferFromHex("1010ff3f3ccf5c4f3c4f6c2f5c4f5c1f7c3f5c1f7c4f3c2f7caf5ccf3c8f3c7f1c4f5c5f3c3f5c4f4c3f6c3f4c3f6c4f3c4f3c7f1cff1f") -const _hex51444 = pxsim.BufferMethods.createBufferFromHex("101017f6f61617461836175617462718e62718b627f627f61627d6271846178617185627d6171617c627187617561718f6f6f65627") -const _hex51452 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") -const _hex51466 = pxsim.BufferMethods.createBufferFromHex("1010b01c2f502c2f301c21161f301c16371f101c1731161c101c271c16271f27412c1627161f271c22412c3726271c37312c3726271c2726212c37161f17161c171c1f26112c371c16171c17161f2c16112c16773c361c101c67161f561c201c1637161f27461f302c3f37261c1f801c27161c2fa01c171ce02c50") -const _hex51474 = pxsim.BufferMethods.createBufferFromHex("1010a02c2fb01c16372c801c272c16111c701c1627161c1f2c701c37361f1c701c37361f1c701c37161c1f111c701c372c162c404c16671c302c361c57161c301c27262c16371f1c201c37462c2f161c201c273c761c201c171c201c661c301c161c302c461c302c505c20") -const _hex51482 = pxsim.BufferMethods.createBufferFromHex("1010f0502c6e70ae603e523e403e821e402ea21e303e921e303c92142027161c921420172ea21430121e247214123022251462141e401214151452141260622412701e621ef050") -const _hex51490 = pxsim.BufferMethods.createBufferFromHex("1010f0f0f0f0f0801e8012602e7012602c12601260161c828072901452f0f0f0f0f0a0") -const _hex51510 = pxsim.BufferMethods.createBufferFromHex("212622000412230005020002") -const _hex51518 = pxsim.BufferMethods.createBufferFromHex("212622000412120005010001") -const _hex51526 = pxsim.BufferMethods.createBufferFromHex("212622000412320005030003") -const _hex51534 = pxsim.BufferMethods.createBufferFromHex("2016220001160002") -const _hex51542 = pxsim.BufferMethods.createBufferFromHex("222622000112231104060401") -const _hex51550 = pxsim.BufferMethods.createBufferFromHex("21262200040221004c36030002010002") -const _hex51558 = pxsim.BufferMethods.createBufferFromHex("4110220005140002") -const _hex51566 = pxsim.BufferMethods.createBufferFromHex("4116220001120002") -const _hex51574 = pxsim.BufferMethods.createBufferFromHex("2226220001322300102605010202040203000203") +const _hex16666 = pxsim.BufferMethods.createBufferFromHex("2018f0a0f17120f17120f17120f17120f17120f17120f17120f17120f17120a122a120914291208152912081529120815291209132a120f17120f17120f17120f17120f171204122f111203142f1203142f1203132f111204122f11120f17120f17120f17120f17120f171f0a0") +const _hex16674 = pxsim.BufferMethods.createBufferFromHex("2018ffffffffff1f11ff8f11ff8f116f12ff1f11ff8f11ff8f11ff8f10ffbf12ffffffcf12ff2f12ffffffff3f12ffffffffffffaf12ffbf12ffffffffffffffff4f12ffffffff12ffffffff6f") +const _hex16688 = pxsim.BufferMethods.createBufferFromHex("10101b6d1c1b6d1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d7b6c1b1a6c1b1a1b6d1c1b6d1b1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d6b7c1b1a6c1b1a") +const _hex16696 = pxsim.BufferMethods.createBufferFromHex("1010ff3f3ccf5c4f3c4f6c2f5c4f5c1f7c3f5c1f7c4f3c2f7caf5ccf3c8f3c7f1c4f5c5f3c3f5c4f4c3f6c3f4c3f6c4f3c4f3c7f1cff1f") +const _hex16704 = pxsim.BufferMethods.createBufferFromHex("101017f6f61617461836175617462718e62718b627f627f61627d6271846178617185627d6171617c627187617561718f6f6f65627") +const _hex16712 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") +const _hex16726 = pxsim.BufferMethods.createBufferFromHex("1010b01c2f502c2f301c21161f301c16371f101c1731161c101c271c16271f27412c1627161f271c22412c3726271c37312c3726271c2726212c37161f17161c171c1f26112c371c16171c17161f2c16112c16773c361c101c67161f561c201c1637161f27461f302c3f37261c1f801c27161c2fa01c171ce02c50") +const _hex16734 = pxsim.BufferMethods.createBufferFromHex("1010a02c2fb01c16372c801c272c16111c701c1627161c1f2c701c37361f1c701c37361f1c701c37161c1f111c701c372c162c404c16671c302c361c57161c301c27262c16371f1c201c37462c2f161c201c273c761c201c171c201c661c301c161c302c461c302c505c20") +const _hex16742 = pxsim.BufferMethods.createBufferFromHex("1010f0502c6e70ae603e523e403e821e402ea21e303e921e303c92142027161c921420172ea21430121e247214123022251462141e401214151452141260622412701e621ef050") +const _hex16750 = pxsim.BufferMethods.createBufferFromHex("1010f0f0f0f0f0801e8012602e7012602c12601260161c828072901452f0f0f0f0f0a0") +const _hex16770 = pxsim.BufferMethods.createBufferFromHex("212622000412230005020002") +const _hex16778 = pxsim.BufferMethods.createBufferFromHex("212622000412120005010001") +const _hex16786 = pxsim.BufferMethods.createBufferFromHex("212622000412320005030003") +const _hex16794 = pxsim.BufferMethods.createBufferFromHex("2016220001160002") +const _hex16802 = pxsim.BufferMethods.createBufferFromHex("222622000112231104060401") +const _hex16810 = pxsim.BufferMethods.createBufferFromHex("21262200040221004c36030002010002") +const _hex16818 = pxsim.BufferMethods.createBufferFromHex("4110220005140002") +const _hex16826 = pxsim.BufferMethods.createBufferFromHex("4116220001120002") +const _hex16834 = pxsim.BufferMethods.createBufferFromHex("2226220001322300102605010202040203000203") -function createBejeweled__P51133(s) { +function createBejeweled__P16393(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63029,7 +63056,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; @@ -63051,7 +63078,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_4, "VersionS"); s.tmp_3.arg0 = r0; s.tmp_3.arg1 = "4.0.0"; - s.callLocIdx = 1536; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1539; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -63066,8 +63093,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WBackM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51601; - s.callLocIdx = 1537; s.pc = 7; return s.tmp_0; + s.tmp_0.arg1 = _hex16861; + s.callLocIdx = 1540; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -63082,8 +63109,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "WSpriteM"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51609; - s.callLocIdx = 1538; s.pc = 9; return s.tmp_0; + s.tmp_0.arg1 = _hex16869; + s.callLocIdx = 1541; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -63099,7 +63126,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "BackN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1539; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1542; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -63114,8 +63141,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51623; - s.callLocIdx = 1540; s.pc = 13; return s.tmp_0; + s.tmp_0.arg1 = _hex16883; + s.callLocIdx = 1543; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -63130,8 +63157,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51631; - s.callLocIdx = 1541; s.pc = 15; return s.tmp_0; + s.tmp_0.arg1 = _hex16891; + s.callLocIdx = 1544; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -63146,8 +63173,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51639; - s.callLocIdx = 1542; s.pc = 17; return s.tmp_0; + s.tmp_0.arg1 = _hex16899; + s.callLocIdx = 1545; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -63162,8 +63189,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "BackI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51647; - s.callLocIdx = 1543; s.pc = 19; return s.tmp_0; + s.tmp_0.arg1 = _hex16907; + s.callLocIdx = 1546; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -63179,7 +63206,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "SpriteN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 4; - s.callLocIdx = 1544; s.pc = 21; return s.tmp_0; + s.callLocIdx = 1547; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -63194,8 +63221,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51661; - s.callLocIdx = 1545; s.pc = 23; return s.tmp_0; + s.tmp_0.arg1 = _hex16921; + s.callLocIdx = 1548; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -63210,8 +63237,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51669; - s.callLocIdx = 1546; s.pc = 25; return s.tmp_0; + s.tmp_0.arg1 = _hex16929; + s.callLocIdx = 1549; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -63226,8 +63253,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51677; - s.callLocIdx = 1547; s.pc = 27; return s.tmp_0; + s.tmp_0.arg1 = _hex16937; + s.callLocIdx = 1550; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -63242,8 +63269,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "SpriteI3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51685; - s.callLocIdx = 1548; s.pc = 29; return s.tmp_0; + s.tmp_0.arg1 = _hex16945; + s.callLocIdx = 1551; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -63259,7 +63286,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "HelpN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1549; s.pc = 31; return s.tmp_0; + s.callLocIdx = 1552; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -63275,7 +63302,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "HighN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 120; - s.callLocIdx = 1550; s.pc = 33; return s.tmp_0; + s.callLocIdx = 1553; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -63290,8 +63317,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB0"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51705; - s.callLocIdx = 1551; s.pc = 35; return s.tmp_0; + s.tmp_0.arg1 = _hex16965; + s.callLocIdx = 1554; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -63306,8 +63333,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB1"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51713; - s.callLocIdx = 1552; s.pc = 37; return s.tmp_0; + s.tmp_0.arg1 = _hex16973; + s.callLocIdx = 1555; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -63322,8 +63349,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB2"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51721; - s.callLocIdx = 1553; s.pc = 39; return s.tmp_0; + s.tmp_0.arg1 = _hex16981; + s.callLocIdx = 1556; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -63338,8 +63365,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB3"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51729; - s.callLocIdx = 1554; s.pc = 41; return s.tmp_0; + s.tmp_0.arg1 = _hex16989; + s.callLocIdx = 1557; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -63354,8 +63381,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB7"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51737; - s.callLocIdx = 1555; s.pc = 43; return s.tmp_0; + s.tmp_0.arg1 = _hex16997; + s.callLocIdx = 1558; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -63370,8 +63397,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB8"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51745; - s.callLocIdx = 1556; s.pc = 45; return s.tmp_0; + s.tmp_0.arg1 = _hex17005; + s.callLocIdx = 1559; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -63386,8 +63413,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB4"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51753; - s.callLocIdx = 1557; s.pc = 47; return s.tmp_0; + s.tmp_0.arg1 = _hex17013; + s.callLocIdx = 1560; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -63402,8 +63429,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB6"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51761; - s.callLocIdx = 1558; s.pc = 49; return s.tmp_0; + s.tmp_0.arg1 = _hex17021; + s.callLocIdx = 1561; s.pc = 49; return s.tmp_0; case 49: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -63418,8 +63445,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB9"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51769; - s.callLocIdx = 1559; s.pc = 51; return s.tmp_0; + s.tmp_0.arg1 = _hex17029; + s.callLocIdx = 1562; s.pc = 51; return s.tmp_0; case 51: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -63434,8 +63461,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB11"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51777; - s.callLocIdx = 1560; s.pc = 53; return s.tmp_0; + s.tmp_0.arg1 = _hex17037; + s.callLocIdx = 1563; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; s.tmp_0 = settings_writeBuffer__P611_mk(s); @@ -63450,8 +63477,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "RuleB10"); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = _hex51785; - s.callLocIdx = 1561; s.pc = 55; return s.tmp_0; + s.tmp_0.arg1 = _hex17045; + s.callLocIdx = 1564; s.pc = 55; return s.tmp_0; case 55: r0 = s.retval; s.tmp_0 = settings_writeNumber__P613_mk(s); @@ -63467,7 +63494,7 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "PlayerN"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1562; s.pc = 57; return s.tmp_0; + s.callLocIdx = 1565; s.pc = 57; return s.tmp_0; case 57: r0 = s.retval; case 3: @@ -63475,12 +63502,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -createBejeweled__P51133.info = {"start":8708,"length":4050,"line":202,"column":0,"endLine":291,"endColumn":1,"fileName":"games.ts","functionName":"createBejeweled","argumentNames":["prefix"]} +createBejeweled__P16393.info = {"start":8708,"length":4048,"line":202,"column":0,"endLine":290,"endColumn":1,"fileName":"games.ts","functionName":"createBejeweled","argumentNames":["prefix"]} -function createBejeweled__P51133_mk(s) { +function createBejeweled__P16393_mk(s) { checkStack(s.depth); return { - parent: s, fn: createBejeweled__P51133, depth: s.depth + 1, + parent: s, fn: createBejeweled__P16393, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63490,27 +63517,27 @@ function createBejeweled__P51133_mk(s) { arg0: undefined, } } -const _hex51601 = pxsim.BufferMethods.createBufferFromHex("201880f111106110f111106110f111106110f111106110f111106110f111106110f111106110f111106110f11180f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f141") -const _hex51609 = pxsim.BufferMethods.createBufferFromHex("2018ffaf1011122012ff3f12102120ff3f1211201112ff3f111011121011ff3f1112132110ff3f1012112011ff3f1011121122ff3f22201110ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffef") -const _hex51623 = pxsim.BufferMethods.createBufferFromHex("10101b6d1c1b6d1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d7b6c1b1a6c1b1a1b6d1c1b6d1b1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d6b7c1b1a6c1b1a") -const _hex51631 = pxsim.BufferMethods.createBufferFromHex("1010ff3f3ccf5c4f3c4f6c2f5c4f5c1f7c3f5c1f7c4f3c2f7caf5ccf3c8f3c7f1c4f5c5f3c3f5c4f4c3f6c3f4c3f6c4f3c4f3c7f1cff1f") -const _hex51639 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") -const _hex51647 = pxsim.BufferMethods.createBufferFromHex("101017f6f61617461836175617462718e62718b627f627f61627d6271846178617185627d6171617c627187617561718f6f6f65627") -const _hex51661 = pxsim.BufferMethods.createBufferFromHex("1010506c802c7e12501cae12404e523e12204e821e12203ea21e12104e921e121e4c92141e1c27161c92141e272ea2141e101e121e247214121e101e22251462141e301e121415145214121e301e7224121e502e622e806e50") -const _hex51669 = pxsim.BufferMethods.createBufferFromHex("1010f0502839a0384980485960586950587940281928893018391899201839111981201829211971301841196140184119517031194180311931a0211921f080") -const _hex51677 = pxsim.BufferMethods.createBufferFromHex("1010804ca02c1b1c1b2c901c1d2b1c1b2c603c2d1b1c1b2c303c2b1c1b2d4c201c1b2d3b1c2d1b3c201c5d3b1d1b4c101b5d3b1d1b2c1b1c101b5d3b1d2b1c2b1c1b6d2b1d1b1d1c2b1c101b5d2b1d1b1d1c2b1c201b4d1b1d2b1d1c2b1c201b3d2b1d1b1d3b1c407b1d1c2b1c701b3d2c1b1c902b2c2b30") -const _hex51685 = pxsim.BufferMethods.createBufferFromHex("1010f0f0707f801f751f601f951f501f353f351f501f251f301f251f501f251f301f251f501f251f301f251f501f251f301f251f501f353f351f501f951f601f751f807ff0f060") -const _hex51705 = pxsim.BufferMethods.createBufferFromHex("6143220001242100011423000124120000260300010103000300010106030402") -const _hex51713 = pxsim.BufferMethods.createBufferFromHex("61432200102421001024230010241200002603000101030001010300010106030402") -const _hex51721 = pxsim.BufferMethods.createBufferFromHex("61302200151632043f061200001600030603") -const _hex51729 = pxsim.BufferMethods.createBufferFromHex("61432200042423000424210004241200002603000101030001010300010106030402") -const _hex51737 = pxsim.BufferMethods.createBufferFromHex("202622084016231000060002") -const _hex51745 = pxsim.BufferMethods.createBufferFromHex("205622004016230400061230000621300006323000060002") -const _hex51753 = pxsim.BufferMethods.createBufferFromHex("412322201524212015240000010300020103") -const _hex51761 = pxsim.BufferMethods.createBufferFromHex("4010222040160101") -const _hex51769 = pxsim.BufferMethods.createBufferFromHex("4016220840160102") -const _hex51777 = pxsim.BufferMethods.createBufferFromHex("612322801524218015240000010100020101") -const _hex51785 = pxsim.BufferMethods.createBufferFromHex("61502280151621c0000612c0000623c0000632c000060101") +const _hex16861 = pxsim.BufferMethods.createBufferFromHex("201880f111106110f111106110f111106110f111106110f111106110f111106110f111106110f111106110f11180f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f141") +const _hex16869 = pxsim.BufferMethods.createBufferFromHex("2018ffaf1311122312ff3f12132123ff3f1211231112ff3f111311121311ff3f1112132113ff3f131211101311ff3f1311121122ff3f22231113ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffef") +const _hex16883 = pxsim.BufferMethods.createBufferFromHex("10101b6d1c1b6d1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d7b6c1b1a6c1b1a1b6d1c1b6d1b1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d6b1c1d7b1d6b7c1b1a6c1b1a") +const _hex16891 = pxsim.BufferMethods.createBufferFromHex("1010ff3f3ccf5c4f3c4f6c2f5c4f5c1f7c3f5c1f7c4f3c2f7caf5ccf3c8f3c7f1c4f5c5f3c3f5c4f4c3f6c3f4c3f6c4f3c4f3c7f1cff1f") +const _hex16899 = pxsim.BufferMethods.createBufferFromHex("10101f6e3f1e2f2e1f2e342e1f5e1f3e544e341e1f2e642e541e1f2e541e743e541e741e1f2e342e742e1f3e1f1e1f1e541e1f1e4f3e1f1e341e1f2e2f2e345e1f1e142e1f1e541e1f1e1f1e341e1f1e542e1f1e441e1f1e641e1f1e443e641e1f2e342e1f1e347e144e1f4e2f1e1f3e") +const _hex16907 = pxsim.BufferMethods.createBufferFromHex("101017f6f61617461836175617462718e62718b627f627f61627d6271846178617185627d6171617c627187617561718f6f6f65627") +const _hex16921 = pxsim.BufferMethods.createBufferFromHex("1010f0f0707f801f751f601f951f501f353f351f501f251f301f251f501f251f301f251f501f251f301f251f501f251f301f251f501f353f351f501f951f601f751f807ff0f060") +const _hex16929 = pxsim.BufferMethods.createBufferFromHex("1010f0502839a0384980485960586950587940281928893018391899201839111981201829211971301841196140184119517031194180311931a0211921f080") +const _hex16937 = pxsim.BufferMethods.createBufferFromHex("1010804ca02c1b1c1b2c901c1d2b1c1b2c603c2d1b1c1b2c303c2b1c1b2d4c201c1b2d3b1c2d1b3c201c5d3b1d1b4c101b5d3b1d1b2c1b1c101b5d3b1d2b1c2b1c1b6d2b1d1b1d1c2b1c101b5d2b1d1b1d1c2b1c201b4d1b1d2b1d1c2b1c201b3d2b1d1b1d3b1c407b1d1c2b1c701b3d2c1b1c902b2c2b30") +const _hex16945 = pxsim.BufferMethods.createBufferFromHex("1010506c802c7e12501cae12404e523e12204e821e12203ea21e12104e921e121e4c92141e1c27161c92141e272ea2141e101e121e247214121e101e22251462141e301e121415145214121e301e7224121e502e622e806e50") +const _hex16965 = pxsim.BufferMethods.createBufferFromHex("6143220040242100401423004024120000260300010103000300010106000402") +const _hex16973 = pxsim.BufferMethods.createBufferFromHex("61432200102421001024230010241200002603000101030001010300010106000402") +const _hex16981 = pxsim.BufferMethods.createBufferFromHex("6130220054163204fc061200001600030600") +const _hex16989 = pxsim.BufferMethods.createBufferFromHex("61432200042423000424210004241200002603000101030001010300010106000402") +const _hex16997 = pxsim.BufferMethods.createBufferFromHex("202622080116231000060002") +const _hex17005 = pxsim.BufferMethods.createBufferFromHex("205622000116230400061230000621300006323000060002") +const _hex17013 = pxsim.BufferMethods.createBufferFromHex("412322205424212054240000010300020103") +const _hex17021 = pxsim.BufferMethods.createBufferFromHex("4010222001160101") +const _hex17029 = pxsim.BufferMethods.createBufferFromHex("4016220801160102") +const _hex17037 = pxsim.BufferMethods.createBufferFromHex("612322805424218054240000010100020101") +const _hex17045 = pxsim.BufferMethods.createBufferFromHex("61502280541621c0000612c0000623c0000632c000060101") @@ -63527,7 +63554,7 @@ switch (step) { s.tmp_0 = game_init__P1291_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 846; 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___1280.fields["eventContext"]; @@ -63902,17 +63929,17 @@ switch (step) { s.tmp_6.arg0 = s.arg1; s.tmp_6.arg1 = "\n"; s.tmp_6.arg2 = undefined; - s.callLocIdx = 1045; s.pc = 10; return s.tmp_6; + s.callLocIdx = 1047; s.pc = 10; return s.tmp_6; case 10: r0 = s.retval; s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = inline__P23753; - s.callLocIdx = 1046; s.pc = 9; return s.tmp_5; + s.tmp_5.arg1 = inline__P26104; + s.callLocIdx = 1048; s.pc = 9; return s.tmp_5; case 9: r0 = s.retval; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = inline__P23758; - s.callLocIdx = 1048; s.pc = 8; return s.tmp_4; + s.tmp_4.arg1 = inline__P26109; + s.callLocIdx = 1050; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; r0 = pxsim_Array__length(globals.consoleStrings___1650); @@ -63928,7 +63955,7 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_3 - globals.consoleLines___1663); s.tmp_2.arg2 = r0; - s.callLocIdx = 1049; s.pc = 11; return s.tmp_2; + s.callLocIdx = 1051; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; case 5: @@ -63960,7 +63987,7 @@ function game_consoleOverlay_listener__P1686_mk(s) { -function inline__P23753(s) { +function inline__P26104(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63984,12 +64011,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P23753.info = {"start":985,"length":14,"line":32,"column":20,"endLine":32,"endColumn":34,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} +inline__P26104.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__P23753_mk(s) { +function inline__P26104_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P23753, depth: s.depth + 1, + parent: s, fn: inline__P26104, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -64001,7 +64028,7 @@ function inline__P23753_mk(s) { -function inline__P23758(s) { +function inline__P26109(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64011,14 +64038,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.j___23760 = undefined; + s.j___26111 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.j___23760 = (0); + s.j___26111 = (0); case 1: - s.tmp_1 = r0 = s.j___23760; + s.tmp_1 = r0 = s.j___26111; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -64028,28 +64055,28 @@ switch (step) { s.tmp_3 = r0 = globals.consoleStrings___1650; s.tmp_5 = helpers_stringSlice__P68_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.j___23760; - r0 = (s.j___23760 + globals.consoleColumns___1674); + s.tmp_5.arg1 = s.j___26111; + r0 = (s.j___26111 + globals.consoleColumns___1674); s.tmp_5.arg2 = r0; - s.callLocIdx = 1047; s.pc = 3; return s.tmp_5; + s.callLocIdx = 1049; 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___23760 + globals.consoleColumns___1674); - s.j___23760 = (r0); + r0 = (s.j___26111 + globals.consoleColumns___1674); + s.j___26111 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P23758.info = {"start":1022,"length":189,"line":33,"column":21,"endLine":37,"endColumn":13,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} +inline__P26109.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__P23758_mk(s) { +function inline__P26109_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P23758, depth: s.depth + 1, + parent: s, fn: inline__P26109, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -64057,7 +64084,7 @@ function inline__P23758_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - j___23760: undefined, + j___26111: undefined, arg0: undefined, } } @@ -64142,7 +64169,7 @@ switch (step) { s.tmp_0.arg0 = globals.menu___677; s.tmp_0.arg1 = 2049; s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P1607; - s.callLocIdx = 1035; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1037; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 3: @@ -64180,7 +64207,7 @@ switch (step) { case 1: case 2: s.tmp_0 = game_pushScene__P1292_mk(s); - s.callLocIdx = 1036; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1038; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C1585_VT); @@ -64189,13 +64216,13 @@ switch (step) { s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P1603; s.tmp_1.arg2 = undefined; - s.callLocIdx = 1037; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1039; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; globals.instance___1573 = (s.tmp_0); s.tmp_0 = scene_systemMenu_PauseMenu_show__P1586_mk(s); s.tmp_0.arg0 = globals.instance___1573; - s.callLocIdx = 1038; s.pc = 6; return s.tmp_0; + s.callLocIdx = 1040; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: @@ -64228,31 +64255,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.options___24452 = undefined; + s.options___26803 = undefined; r0 = pxsim_Array__mk(); - s.options___24452 = (r0); + s.options___26803 = (r0); r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C1576_VT); s.tmp_0 = r0; s.tmp_1 = scene_systemMenu_MenuOption_constructor__P1584_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___1634; - s.tmp_1.arg2 = inline__P24460; + s.tmp_1.arg2 = inline__P26811; s.tmp_1.arg3 = scene_systemMenu_volumeDown__P1595; - s.callLocIdx = 1018; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1020; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_Array__push(s.options___24452, s.tmp_0); + r0 = pxsim_Array__push(s.options___26803, s.tmp_0); r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C1576_VT); s.tmp_0 = r0; s.tmp_1 = scene_systemMenu_MenuOption_constructor__P1584_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = globals.VOLUME_UP_ICON___1625; - s.tmp_1.arg2 = inline__P24474; + s.tmp_1.arg2 = inline__P26825; s.tmp_1.arg3 = scene_systemMenu_volumeUp__P1594; - s.callLocIdx = 1020; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1022; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - r0 = pxsim_Array__push(s.options___24452, s.tmp_0); + r0 = pxsim_Array__push(s.options___26803, s.tmp_0); r0 = 0; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -64262,23 +64289,23 @@ switch (step) { s.tmp_2 = scene_systemMenu_MenuOption_constructor__P1584_mk(s); s.tmp_2.arg0 = s.tmp_1; s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___1628; - s.tmp_2.arg2 = inline__P24489; + s.tmp_2.arg2 = inline__P26840; s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P1597; - s.callLocIdx = 1023; s.pc = 7; return s.tmp_2; + s.callLocIdx = 1025; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; - r0 = pxsim_Array__push(s.options___24452, s.tmp_1); + r0 = pxsim_Array__push(s.options___26803, s.tmp_1); r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C1576_VT); s.tmp_0 = r0; s.tmp_1 = scene_systemMenu_MenuOption_constructor__P1584_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___1643; - s.tmp_1.arg2 = inline__P24505; + s.tmp_1.arg2 = inline__P26856; s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P1596; - s.callLocIdx = 1025; s.pc = 8; return s.tmp_1; + s.callLocIdx = 1027; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_Array__push(s.options___24452, s.tmp_0); + r0 = pxsim_Array__push(s.options___26803, s.tmp_0); case 1: case 2: r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C1576_VT); @@ -64286,43 +64313,43 @@ switch (step) { s.tmp_1 = scene_systemMenu_MenuOption_constructor__P1584_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = globals.STATS_ICON___1646; - s.tmp_1.arg2 = inline__P24520; + s.tmp_1.arg2 = inline__P26871; s.tmp_1.arg3 = scene_systemMenu_toggleStats__P1598; - s.callLocIdx = 1026; s.pc = 9; return s.tmp_1; + s.callLocIdx = 1028; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_Array__push(s.options___24452, s.tmp_0); + r0 = pxsim_Array__push(s.options___26803, s.tmp_0); r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C1576_VT); s.tmp_0 = r0; s.tmp_1 = scene_systemMenu_MenuOption_constructor__P1584_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = globals.CONSOLE_ICON___1640; - s.tmp_1.arg2 = inline__P24529; + s.tmp_1.arg2 = inline__P26880; s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P1599; - s.callLocIdx = 1028; s.pc = 10; return s.tmp_1; + s.callLocIdx = 1030; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_Array__push(s.options___24452, s.tmp_0); + r0 = pxsim_Array__push(s.options___26803, s.tmp_0); r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C1576_VT); s.tmp_0 = r0; s.tmp_1 = scene_systemMenu_MenuOption_constructor__P1584_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = globals.SLEEP_ICON___1637; - s.tmp_1.arg2 = inline__P24538; + s.tmp_1.arg2 = inline__P26889; s.tmp_1.arg3 = scene_systemMenu_sleep__P1600; - s.callLocIdx = 1029; s.pc = 11; return s.tmp_1; + s.callLocIdx = 1031; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_Array__push(s.options___24452, s.tmp_0); + r0 = pxsim_Array__push(s.options___26803, s.tmp_0); r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___1574); if (!r0) { step = 3; continue; } s.tmp_0 = helpers_arrayConcat__P64_mk(s); - s.tmp_0.arg0 = s.options___24452; + s.tmp_0.arg0 = s.options___26803; s.tmp_0.arg1 = globals.customMenuOptions___1574; - s.callLocIdx = 1030; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1032; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.options___24452 = (r0); + s.options___26803 = (r0); case 3: case 4: r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C1576_VT); @@ -64330,13 +64357,13 @@ switch (step) { s.tmp_1 = scene_systemMenu_MenuOption_constructor__P1584_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___1631; - s.tmp_1.arg2 = inline__P24551; + s.tmp_1.arg2 = inline__P26902; s.tmp_1.arg3 = scene_systemMenu_closeMenu__P1601; - s.callLocIdx = 1031; s.pc = 13; return s.tmp_1; + s.callLocIdx = 1033; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_Array__push(s.options___24452, s.tmp_0); - r0 = s.options___24452; + r0 = pxsim_Array__push(s.options___26803, s.tmp_0); + r0 = s.options___26803; return leave(s, r0) default: oops() } } } @@ -64350,14 +64377,14 @@ function scene_systemMenu_buildOptionList__P1603_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - options___24452: undefined, + options___26803: undefined, } } -function inline__P24460(s) { +function inline__P26811(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64368,7 +64395,7 @@ switch (step) { case 0: s.tmp_3 = music_volume__P436_mk(s); - s.callLocIdx = 1017; s.pc = 1; return s.tmp_3; + s.callLocIdx = 1019; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -64387,12 +64414,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P24460.info = {"start":10182,"length":39,"line":327,"column":54,"endLine":327,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P26811.info = {"start":10182,"length":39,"line":327,"column":54,"endLine":327,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P24460_mk(s) { +function inline__P26811_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24460, depth: s.depth + 1, + parent: s, fn: inline__P26811, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -64404,7 +64431,7 @@ function inline__P24460_mk(s) { -function inline__P24474(s) { +function inline__P26825(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64415,7 +64442,7 @@ switch (step) { case 0: s.tmp_3 = music_volume__P436_mk(s); - s.callLocIdx = 1019; s.pc = 1; return s.tmp_3; + s.callLocIdx = 1021; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -64434,12 +64461,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P24474.info = {"start":10289,"length":37,"line":328,"column":52,"endLine":328,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P26825.info = {"start":10289,"length":37,"line":328,"column":52,"endLine":328,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P24474_mk(s) { +function inline__P26825_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24474, depth: s.depth + 1, + parent: s, fn: inline__P26825, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -64451,7 +64478,7 @@ function inline__P24474_mk(s) { -function inline__P24489(s) { +function inline__P26840(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64478,12 +64505,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P24489.info = {"start":10448,"length":48,"line":330,"column":62,"endLine":330,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P26840.info = {"start":10448,"length":48,"line":330,"column":62,"endLine":330,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P24489_mk(s) { +function inline__P26840_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24489, depth: s.depth + 1, + parent: s, fn: inline__P26840, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -64494,7 +64521,7 @@ function inline__P24489_mk(s) { -function inline__P24505(s) { +function inline__P26856(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64521,12 +64548,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P24505.info = {"start":10576,"length":46,"line":331,"column":60,"endLine":331,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P26856.info = {"start":10576,"length":46,"line":331,"column":60,"endLine":331,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P24505_mk(s) { +function inline__P26856_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24505, depth: s.depth + 1, + parent: s, fn: inline__P26856, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -64537,7 +64564,7 @@ function inline__P24505_mk(s) { -function inline__P24520(s) { +function inline__P26871(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64560,12 +64587,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P24520.info = {"start":10698,"length":46,"line":333,"column":48,"endLine":333,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P26871.info = {"start":10698,"length":46,"line":333,"column":48,"endLine":333,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P24520_mk(s) { +function inline__P26871_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24520, depth: s.depth + 1, + parent: s, fn: inline__P26871, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -64574,7 +64601,7 @@ function inline__P24520_mk(s) { -function inline__P24529(s) { +function inline__P26880(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64605,12 +64632,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P24529.info = {"start":10811,"length":71,"line":334,"column":50,"endLine":334,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P26880.info = {"start":10811,"length":71,"line":334,"column":50,"endLine":334,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P24529_mk(s) { +function inline__P26880_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24529, depth: s.depth + 1, + parent: s, fn: inline__P26880, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -64623,7 +64650,7 @@ function inline__P24529_mk(s) { -function inline__P24538(s) { +function inline__P26889(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64637,12 +64664,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P24538.info = {"start":10949,"length":13,"line":335,"column":48,"endLine":335,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P26889.info = {"start":10949,"length":13,"line":335,"column":48,"endLine":335,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P24538_mk(s) { +function inline__P26889_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24538, depth: s.depth + 1, + parent: s, fn: inline__P26889, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -64650,7 +64677,7 @@ function inline__P24538_mk(s) { -function inline__P24551(s) { +function inline__P26902(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64664,12 +64691,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P24551.info = {"start":11128,"length":13,"line":341,"column":53,"endLine":341,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P26902.info = {"start":11128,"length":13,"line":341,"column":53,"endLine":341,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P24551_mk(s) { +function inline__P26902_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24551, depth: s.depth + 1, + parent: s, fn: inline__P26902, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -64754,17 +64781,17 @@ switch (step) { if (!r0) { step = 1; continue; } s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P1590_mk(s); s.tmp_0.arg0 = globals.instance___1573; - s.callLocIdx = 1014; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1016; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; globals.instance___1573 = (undefined); s.tmp_0 = controller__setUserEventsEnabled__P746_mk(s); s.tmp_0.arg0 = true; - s.callLocIdx = 1015; 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 = game_popScene__P1293_mk(s); - s.callLocIdx = 1016; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1018; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -64810,8 +64837,8 @@ switch (step) { s.tmp_1 = helpers_arrayForEach__P60_mk(s); r0 = s.arg0.fields["options"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = inline__P24309; - s.callLocIdx = 995; s.pc = 3; return s.tmp_1; + s.tmp_1.arg1 = inline__P26660; + s.callLocIdx = 997; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = (s.arg0).fields["options"] = (undefined); @@ -64837,7 +64864,7 @@ function scene_systemMenu_PauseMenu_dispose__P1590_mk(s) { -function inline__P24309(s) { +function inline__P26660(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64853,19 +64880,19 @@ switch (step) { } s.tmp_0 = scene_systemMenu_MenuOption_dispose__P1582_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 994; 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__P24309.info = {"start":7813,"length":16,"line":245,"column":37,"endLine":245,"endColumn":53,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":["o"]} +inline__P26660.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__P24309_mk(s) { +function inline__P26660_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24309, depth: s.depth + 1, + parent: s, fn: inline__P26660, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -64900,7 +64927,7 @@ switch (step) { s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; s.tmp_1.arg2 = undefined; - s.callLocIdx = 914; 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__P821_mk(s); @@ -64908,7 +64935,7 @@ switch (step) { s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; - s.callLocIdx = 915; 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); @@ -65019,7 +65046,7 @@ switch (step) { s.tmp_4 = game_consoleOverlay_setVisible__P1689_mk(s); s.tmp_4.arg0 = false; s.tmp_4.arg1 = undefined; - s.callLocIdx = 1011; s.pc = 3; return s.tmp_4; + s.callLocIdx = 1013; s.pc = 3; return s.tmp_4; case 3: r0 = s.retval; { step = 2; continue; } @@ -65027,12 +65054,12 @@ switch (step) { s.tmp_0 = game_consoleOverlay_setVisible__P1689_mk(s); s.tmp_0.arg0 = true; s.tmp_0.arg1 = undefined; - s.callLocIdx = 1012; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1014; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; s.tmp_0 = console_log__P258_mk(s); s.tmp_0.arg0 = "console"; - s.callLocIdx = 1013; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1015; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 2: @@ -65179,7 +65206,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - 10); s.tmp_0.arg1 = r0; - s.callLocIdx = 1009; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1011; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; @@ -65263,7 +65290,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 10); s.tmp_0.arg1 = r0; - s.callLocIdx = 1007; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1009; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; @@ -65295,30 +65322,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___24802 = undefined; - s.remainder___24805 = undefined; - s.newVolume___24808 = undefined; + s.v___27153 = undefined; + s.remainder___27156 = undefined; + s.newVolume___27159 = undefined; s.tmp_0 = music_volume__P436_mk(s); - s.callLocIdx = 1004; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1006; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.v___24802 = (r0); - r0 = (s.v___24802 % 32); - s.remainder___24805 = (r0); - r0 = pxsim_numops_toBoolDecr(s.remainder___24805); + s.v___27153 = (r0); + r0 = (s.v___27153 % 32); + s.remainder___27156 = (r0); + r0 = pxsim_numops_toBoolDecr(s.remainder___27156); if (!r0) { step = 1; continue; } - r0 = s.remainder___24805; + r0 = s.remainder___27156; { step = 2; continue; } case 1: r0 = 32; case 2: // jmp value (already in r0) s.tmp_0 = r0; - r0 = (s.v___24802 - s.tmp_0); - s.newVolume___24808 = (r0); + r0 = (s.v___27153 - s.tmp_0); + s.newVolume___27159 = (r0); s.tmp_0 = scene_systemMenu_setVolume__P1593_mk(s); - s.tmp_0.arg0 = s.newVolume___24808; - s.callLocIdx = 1005; s.pc = 4; return s.tmp_0; + s.tmp_0.arg0 = s.newVolume___27159; + s.callLocIdx = 1007; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = undefined; @@ -65333,9 +65360,9 @@ function scene_systemMenu_volumeDown__P1595_mk(s) { parent: s, fn: scene_systemMenu_volumeDown__P1595, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___24802: undefined, - remainder___24805: undefined, - newVolume___24808: undefined, + v___27153: undefined, + remainder___27156: undefined, + newVolume___27159: undefined, } } @@ -65358,19 +65385,19 @@ switch (step) { } s.tmp_0 = music_setVolume__P435_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 999; 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__P438_mk(s); s.tmp_0.arg0 = 440; s.tmp_0.arg1 = 500; - s.callLocIdx = 1000; 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__P613_mk(s); s.tmp_0.arg0 = "#volume"; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 1001; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1003; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; @@ -65402,7 +65429,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.id___24643 = undefined; + s.id___26994 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -65446,10 +65473,10 @@ switch (step) { r0 = (globals.playToneID___440 + 1); s.tmp_0 = r0; globals.playToneID___440 = (r0); - s.id___24643 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, inline__P24649); + s.id___26994 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, inline__P27000); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___24643); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___26994); 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); @@ -65468,7 +65495,7 @@ function music_playTone__P438_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - id___24643: undefined, + id___26994: undefined, arg0: undefined, arg1: undefined, } } @@ -65477,7 +65504,7 @@ function music_playTone__P438_mk(s) { -function inline__P24649(s) { +function inline__P27000(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65487,12 +65514,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pos___24650 = undefined; - s.now___24660 = undefined; - s.d___24663 = undefined; - s.t___24667 = undefined; + s.pos___27001 = undefined; + s.now___27011 = undefined; + s.d___27014 = undefined; + s.t___27018 = undefined; r0 = pxsim.control.millis(); - s.pos___24650 = (r0); + s.pos___27001 = (r0); case 1: r0 = (s.caps[0] == globals.playToneID___440); s.tmp_0 = r0; @@ -65510,9 +65537,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } r0 = pxsim.control.millis(); - s.now___24660 = (r0); - r0 = (s.pos___24650 - s.now___24660); - s.d___24663 = (r0); + s.now___27011 = (r0); + r0 = (s.pos___27001 - s.now___27011); + s.d___27014 = (r0); s.tmp_0 = Math_min__P79_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg0 = r0; @@ -65520,20 +65547,20 @@ switch (step) { s.callLocIdx = 79; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.t___24667 = (r0); + s.t___27018 = (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___24667); + r0 = (s.tmp_2 - s.t___27018); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = (s.pos___24650 + s.t___24667); - s.pos___24650 = (r0); + r0 = (s.pos___27001 + s.t___27018); + s.pos___27001 = (r0); s.tmp_0 = music_playNoteCore__P437_mk(s); - r0 = (s.d___24663 - 1); + r0 = (s.d___27014 - 1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.caps[2]; - s.tmp_0.arg2 = s.t___24667; + s.tmp_0.arg2 = s.t___27018; s.callLocIdx = 80; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; @@ -65544,7 +65571,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } s.tmp_2 = pause__P309_mk(s); - r0 = (s.d___24663 + s.t___24667); + r0 = (s.d___27014 + s.t___27018); s.tmp_2.arg0 = r0; s.callLocIdx = 81; s.pc = 9; return s.tmp_2; case 9: @@ -65552,7 +65579,7 @@ switch (step) { { step = 5; continue; } case 4: s.tmp_0 = pause__P309_mk(s); - r0 = (s.d___24663 + s.t___24667); + r0 = (s.d___27014 + s.t___27018); s.tmp_1 = r0; r0 = (s.tmp_1 - 100); s.tmp_0.arg0 = r0; @@ -65566,20 +65593,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P24649.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +inline__P27000.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function inline__P24649_mk(s) { +function inline__P27000_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24649, depth: s.depth + 1, + parent: s, fn: inline__P27000, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - pos___24650: undefined, - now___24660: undefined, - d___24663: undefined, - t___24667: undefined, + pos___27001: undefined, + now___27011: undefined, + d___27014: undefined, + t___27018: undefined, } } @@ -65596,7 +65623,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___24697 = undefined; + s.buf___27048 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -65604,9 +65631,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim.control.createBuffer(12); - s.buf___24697 = (r0); + s.buf___27048 = (r0); s.tmp_0 = music_addNote__P457_mk(s); - s.tmp_0.arg0 = s.buf___24697; + s.tmp_0.arg0 = s.buf___27048; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = 255; @@ -65622,7 +65649,7 @@ 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___24697); + r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___27048); r0 = undefined; return leave(s, r0) default: oops() @@ -65636,7 +65663,7 @@ function music_playNoteCore__P437_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___24697: undefined, + buf___27048: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -65837,23 +65864,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___24611 = undefined; - s.remainder___24614 = undefined; - s.newVolume___24617 = undefined; + s.v___26962 = undefined; + s.remainder___26965 = undefined; + s.newVolume___26968 = undefined; s.tmp_0 = music_volume__P436_mk(s); - s.callLocIdx = 1002; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1004; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.v___24611 = (r0); - r0 = (s.v___24611 % 32); - s.remainder___24614 = (r0); - r0 = (s.v___24611 + 32); + s.v___26962 = (r0); + r0 = (s.v___26962 % 32); + s.remainder___26965 = (r0); + r0 = (s.v___26962 + 32); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.remainder___24614); - s.newVolume___24617 = (r0); + r0 = (s.tmp_0 - s.remainder___26965); + s.newVolume___26968 = (r0); s.tmp_0 = scene_systemMenu_setVolume__P1593_mk(s); - s.tmp_0.arg0 = s.newVolume___24617; - s.callLocIdx = 1003; s.pc = 2; return s.tmp_0; + s.tmp_0.arg0 = s.newVolume___26968; + s.callLocIdx = 1005; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; @@ -65868,9 +65895,9 @@ function scene_systemMenu_volumeUp__P1594_mk(s) { parent: s, fn: scene_systemMenu_volumeUp__P1594, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___24611: undefined, - remainder___24614: undefined, - newVolume___24617: undefined, + v___26962: undefined, + remainder___26965: undefined, + newVolume___26968: undefined, } } @@ -66056,7 +66083,7 @@ switch (step) { s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; s.tmp_1.arg3 = undefined; - s.callLocIdx = 926; s.pc = 3; return s.tmp_1; + s.callLocIdx = 928; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; case 2: @@ -66099,7 +66126,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cardsPerRow___24848 = undefined; + s.cardsPerRow___27199 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -66112,7 +66139,7 @@ switch (step) { r0 = (s.arg0 + s.arg1); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_1); - s.cardsPerRow___24848 = (r0); + s.cardsPerRow___27199 = (r0); s.tmp_0 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } @@ -66132,7 +66159,7 @@ switch (step) { case 3: s.tmp_1 = image_doubledFont__P534_mk(s); s.tmp_1.arg0 = s.arg2; - s.callLocIdx = 1032; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1034; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; case 4: @@ -66143,12 +66170,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___24848); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsPerRow", s.cardsPerRow___27199); r0 = pxsim_ImageMethods.width(globals.screen___578); s.tmp_3 = r0; - r0 = (s.cardsPerRow___24848 * s.arg0); + r0 = (s.cardsPerRow___27199 * s.arg0); s.tmp_5 = r0; - r0 = (s.cardsPerRow___24848 - 1); + r0 = (s.cardsPerRow___27199 - 1); s.tmp_7 = r0; r0 = (s.tmp_7 * s.arg1); s.tmp_6 = r0; @@ -66169,7 +66196,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 = 1033; s.pc = 6; return s.tmp_11; } + else { s.callLocIdx = 1035; s.pc = 6; return s.tmp_11; } } case 6: r0 = s.retval; @@ -66189,7 +66216,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 = 1034; s.pc = 7; return s.tmp_16; } + else { s.callLocIdx = 1036; s.pc = 7; return s.tmp_16; } } case 7: r0 = s.retval; @@ -66231,7 +66258,7 @@ function scene_systemMenu_buildMenuTheme__P1604_mk(s) { tmp_14: undefined, tmp_15: undefined, tmp_16: undefined, - cardsPerRow___24848: undefined, + cardsPerRow___27199: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -66436,8 +66463,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___23830 = undefined; - s.i___23831 = undefined; + s.current___26181 = undefined; + s.i___26182 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -66449,21 +66476,21 @@ switch (step) { 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 = 927; 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 = 927; s.pc = 3; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 927; s.pc = 3; return s.tmp_2;; } - else { s.callLocIdx = 927; 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___23831 = (0); + s.i___26182 = (0); case 1: - s.tmp_1 = r0 = s.i___23831; + s.tmp_1 = r0 = s.i___26182; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -66474,22 +66501,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___23831); - s.current___23830 = (r0); + r0 = pxsim_Array__getAt(s.tmp_4, s.i___26182); + s.current___26181 = (r0); s.tmp_0 = scene_systemMenu_MenuOption_show__P1577_mk(s); - s.tmp_0.arg0 = s.current___23830; - s.callLocIdx = 928; s.pc = 4; return s.tmp_0; + s.tmp_0.arg0 = s.current___26181; + s.callLocIdx = 930; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P1580_mk(s); - s.tmp_0.arg0 = s.current___23830; + s.tmp_0.arg0 = s.current___26181; r0 = s.arg0.fields["theme"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 929; 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__P1578_mk(s); - s.tmp_0.arg0 = s.current___23830; + s.tmp_0.arg0 = s.current___26181; s.tmp_2 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_2.arg0 = r0; @@ -66499,12 +66526,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 = 930; 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___23831; + s.tmp_5 = r0 = s.i___26182; s.tmp_7 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_7.arg0 = r0; @@ -66514,7 +66541,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 = 931; s.pc = 8; return s.tmp_7; } + else { s.callLocIdx = 933; s.pc = 8; return s.tmp_7; } } case 8: r0 = s.retval; @@ -66530,7 +66557,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 = 932; s.pc = 9; return s.tmp_10; } + else { s.callLocIdx = 934; s.pc = 9; return s.tmp_10; } } case 9: r0 = s.retval; @@ -66544,7 +66571,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 = 933; s.pc = 10; return s.tmp_12; } + else { s.callLocIdx = 935; s.pc = 10; return s.tmp_12; } } case 10: r0 = s.retval; @@ -66564,12 +66591,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 = 934; 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___23831; + s.tmp_17 = r0 = s.i___26182; s.tmp_19 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_19.arg0 = r0; @@ -66579,7 +66606,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 = 935; s.pc = 12; return s.tmp_19; } + else { s.callLocIdx = 937; s.pc = 12; return s.tmp_19; } } case 12: r0 = s.retval; @@ -66595,7 +66622,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 = 936; s.pc = 13; return s.tmp_22; } + else { s.callLocIdx = 938; s.pc = 13; return s.tmp_22; } } case 13: r0 = s.retval; @@ -66609,7 +66636,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 = 937; s.pc = 14; return s.tmp_24; } + else { s.callLocIdx = 939; s.pc = 14; return s.tmp_24; } } case 14: r0 = s.retval; @@ -66620,104 +66647,104 @@ switch (step) { s.tmp_15 = r0; r0 = (s.tmp_13 + s.tmp_15); s.tmp_0.arg2 = r0; - s.callLocIdx = 938; 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___23831 + 1); - s.i___23831 = (r0); + r0 = (s.i___26182 + 1); + s.i___26182 = (r0); { step = 1; continue; } case 2: s.tmp_0 = controller__setUserEventsEnabled__P746_mk(s); s.tmp_0.arg0 = false; - s.callLocIdx = 939; 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__P23899); + r0 = pxsim_pxtcore_mkAction(1, inline__P26250); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.A___665; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 941; 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__P23920); + r0 = pxsim_pxtcore_mkAction(1, inline__P26271); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.A___665; s.tmp_1.arg1 = 2052; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 943; 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__P699_mk(s); s.tmp_0.arg0 = globals.B___667; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = inline__P23950; - s.callLocIdx = 945; s.pc = 18; return s.tmp_0; + s.tmp_0.arg2 = inline__P26301; + s.callLocIdx = 947; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; s.tmp_0 = controller_Button_onEvent__P699_mk(s); s.tmp_0.arg0 = globals.menu___677; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = inline__P23955; - s.callLocIdx = 947; s.pc = 19; return s.tmp_0; + s.tmp_0.arg2 = inline__P26306; + s.callLocIdx = 949; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P23960); + r0 = pxsim_pxtcore_mkAction(1, inline__P26311); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.up___671; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 951; 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__P23972); + r0 = pxsim_pxtcore_mkAction(1, inline__P26323); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.left___669; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 954; 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__P23981); + r0 = pxsim_pxtcore_mkAction(1, inline__P26332); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.down___675; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 958; 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__P23997); + r0 = pxsim_pxtcore_mkAction(1, inline__P26348); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = controller_Button_onEvent__P699_mk(s); s.tmp_1.arg0 = globals.right___673; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 961; 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__P24009); + r0 = pxsim_pxtcore_mkAction(1, inline__P26360); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = game_onShade__P1306_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 964; 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__P1588_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 965; s.pc = 25; return s.tmp_0; + s.callLocIdx = 967; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; r0 = undefined; @@ -66756,8 +66783,8 @@ function scene_systemMenu_PauseMenu_show__P1586_mk(s) { tmp_22: undefined, tmp_23: undefined, tmp_24: undefined, - current___23830: undefined, - i___23831: undefined, + current___26181: undefined, + i___26182: undefined, arg0: undefined, } } @@ -66765,7 +66792,7 @@ function scene_systemMenu_PauseMenu_show__P1586_mk(s) { -function inline__P23899(s) { +function inline__P26250(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66811,7 +66838,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 = 940; s.pc = 6; return s.tmp_8; + s.callLocIdx = 942; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; case 5: @@ -66819,12 +66846,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P23899.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P26250.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P23899_mk(s) { +function inline__P26250_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P23899, depth: s.depth + 1, + parent: s, fn: inline__P26250, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -66843,7 +66870,7 @@ function inline__P23899_mk(s) { -function inline__P23920(s) { +function inline__P26271(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66889,7 +66916,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 = 942; 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"]; @@ -66905,12 +66932,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P23920.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P26271.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P23920_mk(s) { +function inline__P26271_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P23920, depth: s.depth + 1, + parent: s, fn: inline__P26271, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -66929,7 +66956,7 @@ function inline__P23920_mk(s) { -function inline__P23950(s) { +function inline__P26301(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66940,19 +66967,19 @@ switch (step) { case 0: s.tmp_0 = scene_systemMenu_closeMenu__P1601_mk(s); - s.callLocIdx = 944; s.pc = 1; return s.tmp_0; + s.callLocIdx = 946; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P23950.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P26301.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P23950_mk(s) { +function inline__P26301_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P23950, depth: s.depth + 1, + parent: s, fn: inline__P26301, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -66961,7 +66988,7 @@ function inline__P23950_mk(s) { -function inline__P23955(s) { +function inline__P26306(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66972,19 +66999,19 @@ switch (step) { case 0: s.tmp_0 = scene_systemMenu_closeMenu__P1601_mk(s); - s.callLocIdx = 946; s.pc = 1; return s.tmp_0; + s.callLocIdx = 948; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P23955.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P26306.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P23955_mk(s) { +function inline__P26306_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P23955, depth: s.depth + 1, + parent: s, fn: inline__P26306, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -66993,7 +67020,7 @@ function inline__P23955_mk(s) { -function inline__P23960(s) { +function inline__P26311(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67018,30 +67045,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 = 948; 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 = 949; 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 = 950; 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__P23960.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P26311.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P23960_mk(s) { +function inline__P26311_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P23960, depth: s.depth + 1, + parent: s, fn: inline__P26311, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67054,7 +67081,7 @@ function inline__P23960_mk(s) { -function inline__P23972(s) { +function inline__P26323(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67072,23 +67099,23 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1.arg1 = r0; - s.callLocIdx = 952; 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 = 953; 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__P23972.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P26323.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P23972_mk(s) { +function inline__P26323_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P23972, depth: s.depth + 1, + parent: s, fn: inline__P26323, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67099,7 +67126,7 @@ function inline__P23972_mk(s) { -function inline__P23981(s) { +function inline__P26332(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67129,30 +67156,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 = 955; 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 = 956; 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 = 957; 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__P23981.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P26332.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P23981_mk(s) { +function inline__P26332_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P23981, depth: s.depth + 1, + parent: s, fn: inline__P26332, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67167,7 +67194,7 @@ function inline__P23981_mk(s) { -function inline__P23997(s) { +function inline__P26348(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67190,23 +67217,23 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 1); s.tmp_1.arg1 = r0; - s.callLocIdx = 959; 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 = 960; 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__P23997.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P26348.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P23997_mk(s) { +function inline__P26348_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P23997, depth: s.depth + 1, + parent: s, fn: inline__P26348, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67219,7 +67246,7 @@ function inline__P23997_mk(s) { -function inline__P24009(s) { +function inline__P26360(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67231,24 +67258,24 @@ switch (step) { s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P1587_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 962; 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__P1589_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 963; 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__P24009.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P26360.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P24009_mk(s) { +function inline__P26360_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24009, depth: s.depth + 1, + parent: s, fn: inline__P26360, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -67299,7 +67326,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 = 976; s.pc = 5; return s.tmp_5; } + else { s.callLocIdx = 978; s.pc = 5; return s.tmp_5; } } case 5: r0 = s.retval; @@ -67307,7 +67334,7 @@ switch (step) { r0 = (s.tmp_4 - 2); s.tmp_3.arg4 = r0; s.tmp_3.arg5 = 15; - s.callLocIdx = 977; 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__P540_mk(s); @@ -67321,7 +67348,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 = 978; s.pc = 7; return s.tmp_1; } + else { s.callLocIdx = 980; s.pc = 7; return s.tmp_1; } } case 7: r0 = s.retval; @@ -67337,12 +67364,12 @@ 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 = 979; 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 = 980; 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__P517_mk(s); @@ -67357,7 +67384,7 @@ 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 = 981; s.pc = 10; return s.tmp_2; } + else { s.callLocIdx = 983; s.pc = 10; return s.tmp_2; } } case 10: r0 = s.retval; @@ -67377,7 +67404,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 = 982; s.pc = 11; return s.tmp_6; } + else { s.callLocIdx = 984; s.pc = 11; return s.tmp_6; } } case 11: r0 = s.retval; @@ -67387,7 +67414,7 @@ switch (step) { r0 = (s.tmp_3 + 6); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 15; - s.callLocIdx = 983; 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__P517_mk(s); @@ -67401,7 +67428,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 = 984; s.pc = 13; return s.tmp_1; } + else { s.callLocIdx = 986; s.pc = 13; return s.tmp_1; } } case 13: r0 = s.retval; @@ -67415,7 +67442,7 @@ 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 = 14; return s.tmp_2; } + else { s.callLocIdx = 987; s.pc = 14; return s.tmp_2; } } case 14: r0 = s.retval; @@ -67431,7 +67458,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 = 986; s.pc = 15; return s.tmp_6; } + else { s.callLocIdx = 988; s.pc = 15; return s.tmp_6; } } case 15: r0 = s.retval; @@ -67450,7 +67477,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 = 987; s.pc = 17; return s.tmp_9; } + else { s.callLocIdx = 989; s.pc = 17; return s.tmp_9; } } case 17: r0 = s.retval; @@ -67461,7 +67488,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 = 988; s.pc = 16; return s.tmp_8; } + else { s.callLocIdx = 990; s.pc = 16; return s.tmp_8; } } case 16: r0 = s.retval; @@ -67469,7 +67496,7 @@ switch (step) { r0 = (s.tmp_7 + 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 1; - s.callLocIdx = 989; 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__P540_mk(s); @@ -67483,12 +67510,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 = 990; 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 = 990; s.pc = 19; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 990; s.pc = 19; return s.tmp_1;; } - else { s.callLocIdx = 990; 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; @@ -67502,7 +67529,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 = 991; s.pc = 20; return s.tmp_5; } + else { s.callLocIdx = 993; s.pc = 20; return s.tmp_5; } } case 20: r0 = s.retval; @@ -67519,12 +67546,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 = 992; 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 = 993; s.pc = 18; return s.tmp_0; + s.callLocIdx = 995; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 3: @@ -67566,8 +67593,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___24101 = undefined; - s.x___24107 = undefined; + s.w___26452 = undefined; + s.x___26458 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -67606,17 +67633,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.w___24101 = (r0); + s.w___26452 = (r0); r0 = pxsim_ImageMethods.width(s.arg0); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.w___24101); + r0 = (s.tmp_1 - s.w___26452); s.tmp_0 = r0; r0 = (s.tmp_0 / 2); - s.x___24107 = (r0); + s.x___26458 = (r0); s.tmp_0 = helpers_imagePrint__P541_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = s.x___24107; + s.tmp_0.arg2 = s.x___26458; s.tmp_0.arg3 = s.arg2; s.tmp_0.arg4 = s.arg3; s.tmp_0.arg5 = s.arg4; @@ -67638,8 +67665,8 @@ function helpers_imagePrintCenter__P540_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - w___24101: undefined, - x___24107: undefined, + w___26452: undefined, + x___26458: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -67695,7 +67722,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 = 973; s.pc = 10; return s.tmp_6; + s.callLocIdx = 975; s.pc = 10; return s.tmp_6; case 10: r0 = s.retval; case 3: @@ -67734,14 +67761,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 = 974; 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__P1591_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 975; s.pc = 13; return s.tmp_0; + s.callLocIdx = 977; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 9: @@ -67783,7 +67810,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___24255 = undefined; + s.row___26606 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -67801,23 +67828,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 = 996; 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___24255 = (r0); + s.row___26606 = (r0); r0 = s.arg0.fields["scrollRow"]; s.tmp_1 = r0; - r0 = (s.row___24255 === s.tmp_1); + r0 = (s.row___26606 === 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___24255 - 1); + r0 = (s.row___26606 - 1); s.tmp_2 = r0; r0 = s.arg0.fields["scrollRow"]; s.tmp_3 = r0; @@ -67832,7 +67859,7 @@ switch (step) { case 4: r0 = s.arg0.fields["scrollRow"]; s.tmp_6 = r0; - r0 = (s.row___24255 > s.tmp_6); + r0 = (s.row___26606 > s.tmp_6); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } @@ -67863,7 +67890,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 = 997; s.pc = 9; return s.tmp_5; } + else { s.callLocIdx = 999; s.pc = 9; return s.tmp_5; } } case 9: r0 = s.retval; @@ -67877,7 +67904,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 = 998; s.pc = 10; return s.tmp_7; } + else { s.callLocIdx = 1000; s.pc = 10; return s.tmp_7; } } case 10: r0 = s.retval; @@ -67909,7 +67936,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P1591_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - row___24255: undefined, + row___26606: undefined, arg0: undefined, } } @@ -67927,9 +67954,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___24123 = undefined; - s.i___24127 = undefined; - s.dt___24156 = undefined; + s.t___26474 = undefined; + s.i___26478 = undefined; + s.dt___26507 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -67939,10 +67966,10 @@ switch (step) { r0 = pxsim.control.millis(); s.tmp_0 = r0; r0 = (s.tmp_0 / 250); - s.t___24123 = (r0); - s.i___24127 = (0); + s.t___26474 = (r0); + s.i___26478 = (0); case 1: - s.tmp_1 = r0 = s.i___24127; + s.tmp_1 = r0 = s.i___26478; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -67954,10 +67981,10 @@ switch (step) { s.tmp_4 = scene_systemMenu_MenuOption_setOffset__P1579_mk(s); r0 = s.arg0.fields["options"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___24127); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___26478); s.tmp_4.arg0 = r0; - s.tmp_8 = r0 = s.t___24123; - s.tmp_11 = r0 = s.i___24127; + s.tmp_8 = r0 = s.t___26474; + s.tmp_11 = r0 = s.i___26478; s.tmp_13 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_13.arg0 = r0; @@ -67967,7 +67994,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 = 966; s.pc = 11; return s.tmp_13; } + else { s.callLocIdx = 968; s.pc = 11; return s.tmp_13; } } case 11: r0 = s.retval; @@ -67982,15 +68009,15 @@ switch (step) { s.tmp_6 = r0; r0 = (2 * s.tmp_6); s.tmp_4.arg1 = r0; - s.callLocIdx = 967; 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___24127 + 1); - s.i___24127 = (r0); + r0 = (s.i___26478 + 1); + s.i___26478 = (r0); { step = 1; continue; } case 2: s.tmp_1 = game_currentScene__P961_mk(s); - s.callLocIdx = 968; s.pc = 12; return s.tmp_1; + s.callLocIdx = 970; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; r0 = r0.fields["eventContext"]; @@ -67998,7 +68025,7 @@ switch (step) { r0 = s.tmp_0.fields["deltaTimeMillis"]; s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); - s.dt___24156 = (r0); + s.dt___26507 = (r0); r0 = s.arg0.fields["scrollOffset"]; s.tmp_1 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -68010,7 +68037,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___24156 * 100); + r0 = (s.dt___26507 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; @@ -68028,7 +68055,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___24156 * 100); + r0 = (s.dt___26507 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4 = r0; @@ -68045,7 +68072,7 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_3 - s.tmp_4); s.tmp_2.arg0 = r0; - s.callLocIdx = 970; 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; @@ -68060,14 +68087,14 @@ switch (step) { case 8: s.tmp_0 = scene_Camera_offsetY__P1131_mk(s); s.tmp_1 = game_currentScene__P961_mk(s); - s.callLocIdx = 971; s.pc = 15; return s.tmp_1; + 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 = 972; s.pc = 14; return s.tmp_0; + s.callLocIdx = 974; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 9: @@ -68096,9 +68123,9 @@ function scene_systemMenu_PauseMenu_onUpdate__P1587_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - t___24123: undefined, - i___24127: undefined, - dt___24156: undefined, + t___26474: undefined, + i___26478: undefined, + dt___26507: undefined, arg0: undefined, } } @@ -68130,7 +68157,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + s.arg1); s.tmp_0.arg1 = r0; - s.callLocIdx = 909; 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__P773_mk(s); @@ -68139,11 +68166,11 @@ switch (step) { s.tmp_1 = Sprite_y__P772_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 910; 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 = 911; s.pc = 2; return s.tmp_0; + s.callLocIdx = 913; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; @@ -68196,7 +68223,7 @@ switch (step) { r0 = (s.arg0).fields["state"] = (s.arg1); s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P1583_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 913; s.pc = 4; return s.tmp_0; + s.callLocIdx = 915; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 3: @@ -68271,12 +68298,12 @@ 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 = 916; 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 = 917; 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; } @@ -68293,12 +68320,12 @@ 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 = 918; 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 = 919; 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; } @@ -68315,12 +68342,12 @@ 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 = 920; 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 = 921; s.pc = 12; return s.tmp_0; + s.callLocIdx = 923; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; case 6: @@ -68330,11 +68357,11 @@ switch (step) { s.tmp_1 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 922; 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 = 923; 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__P773_mk(s); @@ -68343,11 +68370,11 @@ switch (step) { s.tmp_1 = Sprite_y__P772_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 924; 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 = 925; s.pc = 16; return s.tmp_0; + s.callLocIdx = 927; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; case 7: @@ -68395,7 +68422,7 @@ switch (step) { r0 = (s.arg0).fields["theme"] = (s.arg1); s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P1583_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 912; s.pc = 1; return s.tmp_0; + s.callLocIdx = 914; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; @@ -68441,14 +68468,14 @@ switch (step) { r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 903; 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__P801_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg2; - s.callLocIdx = 904; 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__P771_mk(s); @@ -68457,11 +68484,11 @@ switch (step) { s.tmp_1 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 905; 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 = 906; 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__P773_mk(s); @@ -68470,11 +68497,11 @@ switch (step) { s.tmp_1 = Sprite_y__P772_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 907; 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 = 908; s.pc = 5; return s.tmp_0; + s.callLocIdx = 910; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; @@ -68528,7 +68555,7 @@ 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 = 898; s.pc = 3; return s.tmp_1; } + else { s.callLocIdx = 900; s.pc = 3; return s.tmp_1; } } case 3: r0 = s.retval; @@ -68542,7 +68569,7 @@ switch (step) { s.tmp_5 = sprites_create__P763_mk(s); s.tmp_5.arg0 = s.tmp_2; s.tmp_5.arg1 = undefined; - s.callLocIdx = 899; 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; @@ -68557,7 +68584,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 = 900; s.pc = 5; return s.tmp_0; } + else { s.callLocIdx = 902; s.pc = 5; return s.tmp_0; } } case 5: r0 = s.retval; @@ -68566,7 +68593,7 @@ switch (step) { r0 = s.arg0.fields["iconImage"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = undefined; - s.callLocIdx = 901; 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; @@ -68581,7 +68608,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 = 902; s.pc = 7; return s.tmp_0; } + else { s.callLocIdx = 904; s.pc = 7; return s.tmp_0; } } case 7: r0 = s.retval; @@ -68620,20 +68647,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.vol___24928 = undefined; + s.vol___27279 = undefined; s.tmp_0 = settings_readNumber__P617_mk(s); s.tmp_0.arg0 = "#volume"; - s.callLocIdx = 1039; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1041; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.vol___24928 = (r0); - r0 = (s.vol___24928 != null); + s.vol___27279 = (r0); + r0 = (s.vol___27279 != null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_1 = music_setVolume__P435_mk(s); - s.tmp_1.arg0 = s.vol___24928; - s.callLocIdx = 1040; s.pc = 4; return s.tmp_1; + s.tmp_1.arg0 = s.vol___27279; + s.callLocIdx = 1042; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; case 1: @@ -68651,7 +68678,7 @@ function scene_systemMenu_initVolume__P1609_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - vol___24928: undefined, + vol___27279: undefined, } } @@ -68670,7 +68697,7 @@ switch (step) { s.tmp_0 = game_init__P1291_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 843; 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___1280; @@ -68897,13 +68924,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__P25004); + r0 = pxsim_pxtcore_mkAction(1, inline__P27355); 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__P25011); + r0 = pxsim_pxtcore_mkAction(1, inline__P27362); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["id"]; @@ -68941,7 +68968,7 @@ function controller_Button_constructor__P705_mk(s) { -function inline__P25004(s) { +function inline__P27355(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68961,12 +68988,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P25004.info = {"start":2211,"length":28,"line":77,"column":66,"endLine":77,"endColumn":94,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +inline__P27355.info = {"start":2211,"length":28,"line":77,"column":66,"endLine":77,"endColumn":94,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -function inline__P25004_mk(s) { +function inline__P27355_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25004, depth: s.depth + 1, + parent: s, fn: inline__P27355, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -68975,7 +69002,7 @@ function inline__P25004_mk(s) { -function inline__P25011(s) { +function inline__P27362(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68995,12 +69022,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P25011.info = {"start":2313,"length":27,"line":78,"column":68,"endLine":78,"endColumn":95,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +inline__P27362.info = {"start":2313,"length":27,"line":78,"column":68,"endLine":78,"endColumn":95,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -function inline__P25011_mk(s) { +function inline__P27362_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25011, depth: s.depth + 1, + parent: s, fn: inline__P27362, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -69361,17 +69388,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rn___25091 = undefined; + s.rn___27442 = undefined; s.tmp_1 = settings_runNumber__P606_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___25091 = (r0); + s.rn___27442 = (r0); s.tmp_0 = settings_writeNumber__P613_mk(s); s.tmp_0.arg0 = globals.RUN_KEY___595; - s.tmp_0.arg1 = s.rn___25091; + s.tmp_0.arg1 = s.rn___27442; s.callLocIdx = 129; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -69380,7 +69407,7 @@ switch (step) { r0 = (s.tmp_1 & 2147483647); s.tmp_0 = r0; r0 = pxsim_pxtcore.seedAddRandom(s.tmp_0); - r0 = pxsim_pxtcore.seedAddRandom(s.rn___25091); + r0 = pxsim_pxtcore.seedAddRandom(s.rn___27442); s.tmp_0 = settings_setScope__P607_mk(s); r0 = pxsim_pxtcore.programName(); s.tmp_0.arg0 = r0; @@ -69400,7 +69427,7 @@ function settings_initScopes__P608_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - rn___25091: undefined, + rn___27442: undefined, } } @@ -69417,7 +69444,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currScope___25120 = undefined; + s.currScope___27471 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -69447,8 +69474,8 @@ switch (step) { s.callLocIdx = 126; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.currScope___25120 = (r0); - r0 = (s.currScope___25120 != s.arg0); + s.currScope___27471 = (r0); + r0 = (s.currScope___27471 != s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } @@ -69476,7 +69503,7 @@ function settings_setScope__P607_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - currScope___25120: undefined, + currScope___27471: undefined, arg0: undefined, } } @@ -69647,7 +69674,7 @@ function pause__P309_mk(s) { -function tiles_legacy_LegacyTilemap_getTileIndex__P4627(s) { +function tiles_legacy_LegacyTilemap_getTileIndex__P9579(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -69664,19 +69691,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C9551_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__P4627.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__P9579.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__P4627_mk(s) { +function tiles_legacy_LegacyTilemap_getTileIndex__P9579_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_getTileIndex__P4627, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_getTileIndex__P9579, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -69688,7 +69715,7 @@ function tiles_legacy_LegacyTilemap_getTileIndex__P4627_mk(s) { -function tiles_legacy_LegacyTilemap_draw__P4623(s) { +function tiles_legacy_LegacyTilemap_draw__P9575(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -69698,21 +69725,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bitmask___25163 = undefined; - s.offsetX___25169 = undefined; - s.offsetY___25174 = undefined; - s.x0___25179 = undefined; - s.xn___25186 = undefined; - s.y0___25203 = undefined; - s.yn___25210 = undefined; - s.x___25227 = undefined; - s.y___25233 = undefined; - s.index___25239 = undefined; - s.tile___25246 = undefined; - s.x___25288 = undefined; - s.xLine___25294 = undefined; - s.y___25320 = undefined; - s.yLine___25326 = undefined; + s.bitmask___18711 = undefined; + s.offsetX___18717 = undefined; + s.offsetY___18722 = undefined; + s.x0___18727 = undefined; + s.xn___18734 = undefined; + s.y0___18751 = undefined; + s.yn___18758 = undefined; + s.x___18775 = undefined; + s.y___18781 = undefined; + s.index___18787 = undefined; + s.tile___18794 = undefined; + s.x___18836 = undefined; + s.xLine___18842 = undefined; + s.y___18868 = undefined; + s.yLine___18874 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -69720,10 +69747,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(r0); - s.tmp_3 = tiles_legacy_LegacyTilemap__C4600_v6_1_mk(s); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C9551_VT)) failedCast(r0); + s.tmp_3 = tiles_legacy_LegacyTilemap__C9551_v6_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C9551_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: @@ -69743,15 +69770,15 @@ switch (step) { r0 = (1 << s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_4 - 1); - s.bitmask___25163 = (r0); + s.bitmask___18711 = (r0); r0 = s.arg2.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___25163); - s.offsetX___25169 = (r0); + r0 = (s.tmp_0 & s.bitmask___18711); + s.offsetX___18717 = (r0); r0 = s.arg2.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___25163); - s.offsetY___25174 = (r0); + r0 = (s.tmp_0 & s.bitmask___18711); + s.offsetY___18722 = (r0); s.tmp_0 = Math_max__P78_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetX"]; @@ -69760,10 +69787,10 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 >> s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 1715; s.pc = 27; return s.tmp_0; + s.callLocIdx = 1718; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.x0___25179 = (r0); + s.x0___18727 = (r0); s.tmp_0 = Math_min__P79_mk(s); r0 = s.arg0.fields["_mapImage"]; s.tmp_1 = r0; @@ -69771,9 +69798,9 @@ switch (step) { s.tmp_0.arg0 = r0; r0 = s.arg2.fields["drawOffsetX"]; s.tmp_4 = r0; - s.tmp_6 = tiles_legacy_LegacyTilemap_myWidth__P4605_mk(s); + s.tmp_6 = tiles_legacy_LegacyTilemap_myWidth__P9557_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 1716; s.pc = 29; return s.tmp_6; + s.callLocIdx = 1719; s.pc = 29; return s.tmp_6; case 29: r0 = s.retval; s.tmp_5 = r0; @@ -69785,10 +69812,10 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_0.arg1 = r0; - s.callLocIdx = 1718; s.pc = 28; return s.tmp_0; + s.callLocIdx = 1721; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; - s.xn___25186 = (r0); + s.xn___18734 = (r0); s.tmp_0 = Math_max__P78_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetY"]; @@ -69797,10 +69824,10 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 >> s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 1720; s.pc = 30; return s.tmp_0; + s.callLocIdx = 1723; s.pc = 30; return s.tmp_0; case 30: r0 = s.retval; - s.y0___25203 = (r0); + s.y0___18751 = (r0); s.tmp_0 = Math_min__P79_mk(s); r0 = s.arg0.fields["_mapImage"]; s.tmp_1 = r0; @@ -69818,61 +69845,61 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_0.arg1 = r0; - s.callLocIdx = 1722; s.pc = 31; return s.tmp_0; + s.callLocIdx = 1725; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - s.yn___25210 = (r0); - s.x___25227 = (s.x0___25179); + s.yn___18758 = (r0); + s.x___18775 = (s.x0___18727); case 3: - r0 = (s.x___25227 <= s.xn___25186); + r0 = (s.x___18775 <= s.xn___18734); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - s.y___25233 = (s.y0___25203); + s.y___18781 = (s.y0___18751); case 4: - r0 = (s.y___25233 <= s.yn___25210); + r0 = (s.y___18781 <= s.yn___18758); 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___25227, s.y___25233); - s.index___25239 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.x___18775, s.y___18781); + s.index___18787 = (r0); r0 = s.arg0.fields["_tileSets"]; s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.tmp_1, s.index___25239); + r0 = pxsim_Array__getAt(s.tmp_1, s.index___18787); 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__P4620_mk(s); + s.tmp_2 = tiles_legacy_LegacyTilemap_generateTile__P9572_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.index___25239; - s.callLocIdx = 1723; s.pc = 32; return s.tmp_2; + s.tmp_2.arg1 = s.index___18787; + s.callLocIdx = 1726; 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___25246 = (s.tmp_3); - r0 = pxsim_numops_toBoolDecr(s.tile___25246); + s.tile___18794 = (s.tmp_3); + r0 = pxsim_numops_toBoolDecr(s.tile___18794); if (!r0) { step = 7; continue; } s.tmp_0 = r0 = s.arg1; - s.tmp_2 = tiles_legacy_TileSet_image__P4598_mk(s); - s.tmp_2.arg0 = s.tile___25246; - s.callLocIdx = 1724; s.pc = 33; return s.tmp_2; + s.tmp_2 = tiles_legacy_TileSet_image__P18347_mk(s); + s.tmp_2.arg0 = s.tile___18794; + s.callLocIdx = 1727; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = tiles_legacy_LegacyTilemap_myLeft__P4604_mk(s); + s.tmp_6 = tiles_legacy_LegacyTilemap_myLeft__P9556_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 1725; s.pc = 34; return s.tmp_6; + s.callLocIdx = 1728; s.pc = 34; return s.tmp_6; case 34: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.x___25227 - s.x0___25179); + r0 = (s.x___18775 - s.x0___18727); s.tmp_8 = r0; r0 = s.arg0.fields["_scale"]; s.tmp_9 = r0; @@ -69880,51 +69907,51 @@ switch (step) { s.tmp_7 = r0; r0 = (s.tmp_5 + s.tmp_7); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.offsetX___25169); + r0 = (s.tmp_4 - s.offsetX___18717); s.tmp_3 = r0; - r0 = (s.y___25233 - s.y0___25203); + r0 = (s.y___18781 - s.y0___18751); 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___25174); + r0 = (s.tmp_11 - s.offsetY___18722); 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___25233 + 1); - s.y___25233 = (r0); + r0 = (s.y___18781 + 1); + s.y___18781 = (r0); { step = 4; continue; } case 9: - r0 = (s.x___25227 + 1); - s.x___25227 = (r0); + r0 = (s.x___18775 + 1); + s.x___18775 = (r0); { step = 3; continue; } case 10: r0 = pxsim_numops_toBoolDecr(globals.debug___1269); if (!r0) { step = 23; continue; } - s.x___25288 = (s.x0___25179); + s.x___18836 = (s.x0___18727); case 11: - r0 = (s.x___25288 <= s.xn___25186); + r0 = (s.x___18836 <= s.xn___18734); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = (s.x___25288 - s.x0___25179); + r0 = (s.x___18836 - s.x0___18727); 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___25169); - s.xLine___25294 = (r0); - r0 = (s.xLine___25294 >= 0); + r0 = (s.tmp_1 - s.offsetX___18717); + s.xLine___18842 = (r0); + r0 = (s.xLine___18842 >= 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___25294; + s.tmp_1 = r0 = s.xLine___18842; r0 = pxsim_ImageMethods.width(globals.screen___578); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); @@ -69935,43 +69962,43 @@ switch (step) { if (!r0) { step = 14; continue; } s.tmp_4 = helpers_imageDrawLine__P519_mk(s); s.tmp_4.arg0 = s.arg1; - s.tmp_4.arg1 = s.xLine___25294; + s.tmp_4.arg1 = s.xLine___18842; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.xLine___25294; + s.tmp_4.arg3 = s.xLine___18842; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_4.arg4 = r0; s.tmp_4.arg5 = 1; - s.callLocIdx = 1729; s.pc = 35; return s.tmp_4; + s.callLocIdx = 1732; s.pc = 35; return s.tmp_4; case 35: r0 = s.retval; case 14: case 15: - r0 = (s.x___25288 + 1); - s.x___25288 = (r0); + r0 = (s.x___18836 + 1); + s.x___18836 = (r0); { step = 11; continue; } case 16: - s.y___25320 = (s.y0___25203); + s.y___18868 = (s.y0___18751); case 17: - r0 = (s.y___25320 <= s.yn___25210); + r0 = (s.y___18868 <= s.yn___18758); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.y___25320 - s.y0___25203); + r0 = (s.y___18868 - s.y0___18751); 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___25174); - s.yLine___25326 = (r0); - r0 = (s.yLine___25326 >= 0); + r0 = (s.tmp_1 - s.offsetY___18722); + s.yLine___18874 = (r0); + r0 = (s.yLine___18874 >= 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___25326; + s.tmp_1 = r0 = s.yLine___18874; r0 = pxsim_ImageMethods.height(globals.screen___578); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); @@ -69983,18 +70010,18 @@ switch (step) { s.tmp_4 = helpers_imageDrawLine__P519_mk(s); s.tmp_4.arg0 = s.arg1; s.tmp_4.arg1 = 0; - s.tmp_4.arg2 = s.yLine___25326; + s.tmp_4.arg2 = s.yLine___18874; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_4.arg3 = r0; - s.tmp_4.arg4 = s.yLine___25326; + s.tmp_4.arg4 = s.yLine___18874; s.tmp_4.arg5 = 1; - s.callLocIdx = 1731; s.pc = 36; return s.tmp_4; + s.callLocIdx = 1734; s.pc = 36; return s.tmp_4; case 36: r0 = s.retval; case 20: case 21: - r0 = (s.y___25320 + 1); - s.y___25320 = (r0); + r0 = (s.y___18868 + 1); + s.y___18868 = (r0); { step = 17; continue; } case 22: case 23: @@ -70004,12 +70031,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_draw__P4623.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__P9575.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__P4623_mk(s) { +function tiles_legacy_LegacyTilemap_draw__P9575_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_draw__P4623, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_draw__P9575, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -70025,21 +70052,21 @@ function tiles_legacy_LegacyTilemap_draw__P4623_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - bitmask___25163: undefined, - offsetX___25169: undefined, - offsetY___25174: undefined, - x0___25179: undefined, - xn___25186: undefined, - y0___25203: undefined, - yn___25210: undefined, - x___25227: undefined, - y___25233: undefined, - index___25239: undefined, - tile___25246: undefined, - x___25288: undefined, - xLine___25294: undefined, - y___25320: undefined, - yLine___25326: undefined, + bitmask___18711: undefined, + offsetX___18717: undefined, + offsetY___18722: undefined, + x0___18727: undefined, + xn___18734: undefined, + y0___18751: undefined, + yn___18758: undefined, + x___18775: undefined, + y___18781: undefined, + index___18787: undefined, + tile___18794: undefined, + x___18836: undefined, + xLine___18842: undefined, + y___18868: undefined, + yLine___18874: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -70049,7 +70076,7 @@ function tiles_legacy_LegacyTilemap_draw__P4623_mk(s) { -function tiles_legacy_LegacyTilemap_myLeft__P4604(s) { +function tiles_legacy_LegacyTilemap_myLeft__P9556(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70064,7 +70091,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C9551_VT)) failedCast(r0); r0 = s.arg0.fields["_screenX"]; s.tmp_0 = r0; r0 = s.arg0.fields["_scale"]; @@ -70073,12 +70100,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_myLeft__P4604.info = {"start":1975,"length":68,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"mytilemap.ts","functionName":"myLeft","argumentNames":["this"]} +tiles_legacy_LegacyTilemap_myLeft__P9556.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__P4604_mk(s) { +function tiles_legacy_LegacyTilemap_myLeft__P9556_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_myLeft__P4604, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_myLeft__P9556, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -70089,7 +70116,7 @@ function tiles_legacy_LegacyTilemap_myLeft__P4604_mk(s) { -function tiles_legacy_TileSet_image__P4598(s) { +function tiles_legacy_TileSet_image__P18347(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70099,19 +70126,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.size___25358 = undefined; + s.size___18366 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_TileSet__C4597_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_TileSet__C18346_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___25358 = (r0); + s.size___18366 = (r0); r0 = s.arg0.fields["cachedImage"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -70127,7 +70154,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = (s.tmp_3 != s.size___25358); + r0 = (s.tmp_3 != s.size___18366); case 2: // jmp value (already in r0) s.tmp_5 = r0; @@ -70140,7 +70167,7 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_ImageMethods.height(s.tmp_7); s.tmp_6 = r0; - r0 = (s.tmp_6 != s.size___25358); + r0 = (s.tmp_6 != s.size___18366); case 4: // jmp value (already in r0) s.tmp_8 = r0; @@ -70150,7 +70177,7 @@ switch (step) { s.tmp_11 = r0; r0 = pxsim_ImageMethods.width(s.tmp_11); s.tmp_10 = r0; - r0 = (s.tmp_10 == s.size___25358); + r0 = (s.tmp_10 == s.size___18366); s.tmp_9 = r0; r0 = pxsim_numops_toBool(s.tmp_9); if (r0) { step = 5; continue; } @@ -70161,7 +70188,7 @@ switch (step) { s.tmp_13 = r0; r0 = pxsim_ImageMethods.height(s.tmp_13); s.tmp_12 = r0; - r0 = (s.tmp_12 == s.size___25358); + r0 = (s.tmp_12 == s.size___18366); case 6: // jmp value (already in r0) s.tmp_14 = r0; @@ -70173,7 +70200,7 @@ switch (step) { { step = 8; continue; } case 7: s.tmp_0 = r0 = s.arg0; - r0 = pxsim.image.create(s.size___25358, s.size___25358); + r0 = pxsim.image.create(s.size___18366, s.size___18366); s.tmp_1 = r0; r0 = (s.tmp_0).fields["cachedImage"] = (s.tmp_1); r0 = s.arg0.fields["cachedImage"]; @@ -70188,13 +70215,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_legacy_TileSet_image__P4598.info = {"start":834,"length":567,"line":27,"column":8,"endLine":38,"endColumn":9,"fileName":"mytilemap.ts","functionName":"image","argumentNames":["this"]} -tiles_legacy_TileSet_image__P4598.isGetter = true; +tiles_legacy_TileSet_image__P18347.info = {"start":834,"length":567,"line":27,"column":8,"endLine":38,"endColumn":9,"fileName":"mytilemap.ts","functionName":"image","argumentNames":["this"]} +tiles_legacy_TileSet_image__P18347.isGetter = true; -function tiles_legacy_TileSet_image__P4598_mk(s) { +function tiles_legacy_TileSet_image__P18347_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_TileSet_image__P4598, depth: s.depth + 1, + parent: s, fn: tiles_legacy_TileSet_image__P18347, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -70212,7 +70239,7 @@ function tiles_legacy_TileSet_image__P4598_mk(s) { tmp_13: undefined, tmp_14: undefined, tmp_15: undefined, - size___25358: undefined, + size___18366: undefined, arg0: undefined, } } @@ -70220,7 +70247,7 @@ function tiles_legacy_TileSet_image__P4598_mk(s) { -function tiles_legacy_LegacyTilemap_generateTile__P4620(s) { +function tiles_legacy_LegacyTilemap_generateTile__P9572(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70230,30 +70257,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.size___25411 = undefined; - s.i___25415 = undefined; + s.size___18656 = undefined; + s.i___18660 = 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__C4600_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C9551_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.size___25411 = (r0); - r0 = pxsim.image.create(s.size___25411, s.size___25411); - s.i___25415 = (r0); - r0 = pxsim_ImageMethods.fill(s.i___25415, s.arg1); - r0 = pxsim_pxtcore_mkClassInstance(tiles_legacy_TileSet__C4597_VT); + s.size___18656 = (r0); + r0 = pxsim.image.create(s.size___18656, s.size___18656); + s.i___18660 = (r0); + r0 = pxsim_ImageMethods.fill(s.i___18660, s.arg1); + r0 = pxsim_pxtcore_mkClassInstance(tiles_legacy_TileSet__C18346_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_legacy_TileSet_constructor__P4599_mk(s); + s.tmp_1 = tiles_legacy_TileSet_constructor__P18348_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.i___25415; + s.tmp_1.arg1 = s.i___18660; s.tmp_1.arg2 = false; s.tmp_1.arg3 = s.arg0; - s.callLocIdx = 1712; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1715; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = s.arg0.fields["_tileSets"]; @@ -70263,18 +70290,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_generateTile__P4620.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__P9572.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__P4620_mk(s) { +function tiles_legacy_LegacyTilemap_generateTile__P9572_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_generateTile__P4620, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_generateTile__P9572, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - size___25411: undefined, - i___25415: undefined, + size___18656: undefined, + i___18660: undefined, arg0: undefined, arg1: undefined, } } @@ -70283,7 +70310,7 @@ function tiles_legacy_LegacyTilemap_generateTile__P4620_mk(s) { -function tiles_legacy_LegacyTilemap_myWidth__P4605(s) { +function tiles_legacy_LegacyTilemap_myWidth__P9557(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70298,12 +70325,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C9551_VT)) failedCast(r0); r0 = pxsim_ImageMethods.width(globals.screen___578); s.tmp_0 = r0; - s.tmp_2 = tiles_legacy_LegacyTilemap_myLeft__P4604_mk(s); + s.tmp_2 = tiles_legacy_LegacyTilemap_myLeft__P9556_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 1700; s.pc = 1; return s.tmp_2; + s.callLocIdx = 1703; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; @@ -70311,12 +70338,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_myWidth__P4605.info = {"start":2053,"length":70,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"mytilemap.ts","functionName":"myWidth","argumentNames":["this"]} +tiles_legacy_LegacyTilemap_myWidth__P9557.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__P4605_mk(s) { +function tiles_legacy_LegacyTilemap_myWidth__P9557_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_myWidth__P4605, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_myWidth__P9557, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -70328,7 +70355,7 @@ function tiles_legacy_LegacyTilemap_myWidth__P4605_mk(s) { -function tiles_legacy_LegacyTilemap_setTileAt__P4617(s) { +function tiles_legacy_LegacyTilemap_setTileAt__P9569(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70346,12 +70373,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(r0); - s.tmp_3 = tiles_legacy_LegacyTilemap_isOutsideMap__P4621_mk(s); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C9551_VT)) failedCast(r0); + s.tmp_3 = tiles_legacy_LegacyTilemap_isOutsideMap__P9573_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.arg2; - s.callLocIdx = 1710; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1713; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_2 = r0; @@ -70364,10 +70391,10 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_6 = tiles_legacy_LegacyTilemap__C4600_v10_2_mk(s); + s.tmp_6 = tiles_legacy_LegacyTilemap__C9551_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__C4600_VT)) failedCast(s.tmp_6.arg0); + if (!checkSubtype(s.tmp_6.arg0, tiles_legacy_LegacyTilemap__C9551_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: @@ -70390,12 +70417,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_setTileAt__P4617.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__P9569.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__P4617_mk(s) { +function tiles_legacy_LegacyTilemap_setTileAt__P9569_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_setTileAt__P4617, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_setTileAt__P9569, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -70416,7 +70443,7 @@ function tiles_legacy_LegacyTilemap_setTileAt__P4617_mk(s) { -function tiles_legacy_LegacyTilemap_isOutsideMap__P4621(s) { +function tiles_legacy_LegacyTilemap_isOutsideMap__P9573(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70433,10 +70460,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(r0); - s.tmp_3 = tiles_legacy_LegacyTilemap__C4600_v6_1_mk(s); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C9551_VT)) failedCast(r0); + s.tmp_3 = tiles_legacy_LegacyTilemap__C9551_v6_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C9551_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: @@ -70496,12 +70523,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_isOutsideMap__P4621.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__P9573.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__P4621_mk(s) { +function tiles_legacy_LegacyTilemap_isOutsideMap__P9573_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_isOutsideMap__P4621, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_isOutsideMap__P9573, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -70526,7 +70553,7 @@ function tiles_legacy_LegacyTilemap_isOutsideMap__P4621_mk(s) { -function tiles_legacy_LegacyTilemap_enabled__P4612(s) { +function tiles_legacy_LegacyTilemap_enabled__P9564(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70541,7 +70568,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C9551_VT)) failedCast(r0); r0 = s.arg0.fields["_mapImage"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -70554,13 +70581,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_enabled__P4612.info = {"start":2895,"length":71,"line":99,"column":8,"endLine":101,"endColumn":9,"fileName":"mytilemap.ts","functionName":"enabled","argumentNames":["this"]} -tiles_legacy_LegacyTilemap_enabled__P4612.isGetter = true; +tiles_legacy_LegacyTilemap_enabled__P9564.info = {"start":2895,"length":71,"line":99,"column":8,"endLine":101,"endColumn":9,"fileName":"mytilemap.ts","functionName":"enabled","argumentNames":["this"]} +tiles_legacy_LegacyTilemap_enabled__P9564.isGetter = true; -function tiles_legacy_LegacyTilemap_enabled__P4612_mk(s) { +function tiles_legacy_LegacyTilemap_enabled__P9564_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_enabled__P4612, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_enabled__P9564, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -70573,7 +70600,7 @@ function tiles_legacy_LegacyTilemap_enabled__P4612_mk(s) { -function tiles_legacy_LegacyTilemap_areaHeight__P4609(s) { +function tiles_legacy_LegacyTilemap_areaHeight__P9561(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70588,7 +70615,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C9551_VT)) failedCast(r0); r0 = s.arg0.fields["_mapImage"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -70610,12 +70637,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_areaHeight__P4609.info = {"start":2572,"length":103,"line":85,"column":8,"endLine":87,"endColumn":9,"fileName":"mytilemap.ts","functionName":"areaHeight","argumentNames":["this"]} +tiles_legacy_LegacyTilemap_areaHeight__P9561.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__P4609_mk(s) { +function tiles_legacy_LegacyTilemap_areaHeight__P9561_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_areaHeight__P4609, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_areaHeight__P9561, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -70629,7 +70656,7 @@ function tiles_legacy_LegacyTilemap_areaHeight__P4609_mk(s) { -function tiles_legacy_LegacyTilemap_areaWidth__P4608(s) { +function tiles_legacy_LegacyTilemap_areaWidth__P9560(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70644,7 +70671,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C9551_VT)) failedCast(r0); r0 = s.arg0.fields["_mapImage"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -70666,12 +70693,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_areaWidth__P4608.info = {"start":2461,"length":101,"line":81,"column":8,"endLine":83,"endColumn":9,"fileName":"mytilemap.ts","functionName":"areaWidth","argumentNames":["this"]} +tiles_legacy_LegacyTilemap_areaWidth__P9560.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__P4608_mk(s) { +function tiles_legacy_LegacyTilemap_areaWidth__P9560_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_areaWidth__P4608, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_areaWidth__P9560, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -70685,7 +70712,7 @@ function tiles_legacy_LegacyTilemap_areaWidth__P4608_mk(s) { -function tiles_legacy_LegacyTilemap_offsetY__P4607(s) { +function tiles_legacy_LegacyTilemap_offsetY__P9559(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70701,13 +70728,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C9551_VT)) failedCast(r0); s.tmp_0 = Math_clamp__P75_mk(s); s.tmp_0.arg0 = 0; s.tmp_1 = Math_max__P78_mk(s); - s.tmp_3 = tiles_legacy_LegacyTilemap__C4600_v4_1_mk(s); + s.tmp_3 = tiles_legacy_LegacyTilemap__C9551_v4_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C9551_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: @@ -70718,23 +70745,23 @@ switch (step) { r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; - s.callLocIdx = 1704; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1707; 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 = 1705; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1708; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_offsetY__P4607.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__P9559.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__P4607_mk(s) { +function tiles_legacy_LegacyTilemap_offsetY__P9559_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_offsetY__P4607, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_offsetY__P9559, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -70749,7 +70776,7 @@ function tiles_legacy_LegacyTilemap_offsetY__P4607_mk(s) { -function tiles_legacy_LegacyTilemap_offsetX__P4606(s) { +function tiles_legacy_LegacyTilemap_offsetX__P9558(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70765,44 +70792,44 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C9551_VT)) failedCast(r0); s.tmp_0 = Math_clamp__P75_mk(s); s.tmp_0.arg0 = 0; s.tmp_1 = Math_max__P78_mk(s); - s.tmp_3 = tiles_legacy_LegacyTilemap__C4600_v3_1_mk(s); + s.tmp_3 = tiles_legacy_LegacyTilemap__C9551_v3_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C9551_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__P4605_mk(s); + s.tmp_5 = tiles_legacy_LegacyTilemap_myWidth__P9557_mk(s); s.tmp_5.arg0 = s.arg0; - s.callLocIdx = 1701; s.pc = 4; return s.tmp_5; + s.callLocIdx = 1704; 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 = 1702; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1705; 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 = 1703; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1706; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_offsetX__P4606.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__P9558.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__P4606_mk(s) { +function tiles_legacy_LegacyTilemap_offsetX__P9558_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_offsetX__P4606, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_offsetX__P9558, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -70818,7 +70845,7 @@ function tiles_legacy_LegacyTilemap_offsetX__P4606_mk(s) { -function tiles_legacy_LegacyTilemap_data__P4602(s) { +function tiles_legacy_LegacyTilemap_data__P9554(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70833,18 +70860,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C9551_VT)) failedCast(r0); r0 = null; return leaveAccessor(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_data__P4602.info = {"start":1830,"length":60,"line":55,"column":8,"endLine":57,"endColumn":9,"fileName":"mytilemap.ts","functionName":"data","argumentNames":["this"]} -tiles_legacy_LegacyTilemap_data__P4602.isGetter = true; +tiles_legacy_LegacyTilemap_data__P9554.info = {"start":1830,"length":60,"line":55,"column":8,"endLine":57,"endColumn":9,"fileName":"mytilemap.ts","functionName":"data","argumentNames":["this"]} +tiles_legacy_LegacyTilemap_data__P9554.isGetter = true; -function tiles_legacy_LegacyTilemap_data__P4602_mk(s) { +function tiles_legacy_LegacyTilemap_data__P9554_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_data__P4602, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_data__P9554, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -70853,7 +70880,7 @@ function tiles_legacy_LegacyTilemap_data__P4602_mk(s) { -function tileworld_TileSprite_isOutOfScreen__P4245(s) { +function tileworld_TileSprite_isOutOfScreen__P7464(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70863,15 +70890,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___25524 = undefined; - s.oy___25532 = undefined; + s.ox___7560 = undefined; + s.oy___7570 = 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__C4240_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_TileSprite__C7459_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -70885,7 +70912,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.ox___25524 = (s.tmp_2); + s.ox___7560 = (s.tmp_2); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -70899,7 +70926,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___25532 = (s.tmp_2); + s.oy___7570 = (s.tmp_2); r0 = s.arg0.fields["debug"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -70913,11 +70940,11 @@ switch (step) { s.tmp_1 = r0; s.tmp_5 = Sprite_right__P798_mk(s); s.tmp_5.arg0 = s.arg0; - s.callLocIdx = 291; s.pc = 15; return s.tmp_5; + s.callLocIdx = 292; s.pc = 15; return s.tmp_5; case 15: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.ox___25524); + r0 = (s.tmp_4 - s.ox___7560); s.tmp_3 = r0; r0 = (s.tmp_3 < s.tmp_1); s.tmp_2 = r0; @@ -70928,11 +70955,11 @@ switch (step) { case 7: s.tmp_8 = Sprite_bottom__P802_mk(s); s.tmp_8.arg0 = s.arg0; - s.callLocIdx = 292; s.pc = 16; return s.tmp_8; + s.callLocIdx = 293; s.pc = 16; return s.tmp_8; case 16: r0 = s.retval; s.tmp_7 = r0; - r0 = (s.tmp_7 - s.oy___25532); + r0 = (s.tmp_7 - s.oy___7570); s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 8: @@ -70956,11 +70983,11 @@ switch (step) { s.tmp_11 = r0; s.tmp_14 = Sprite_left__P796_mk(s); s.tmp_14.arg0 = s.arg0; - s.callLocIdx = 293; s.pc = 17; return s.tmp_14; + s.callLocIdx = 294; s.pc = 17; return s.tmp_14; case 17: r0 = s.retval; s.tmp_13 = r0; - r0 = (s.tmp_13 - s.ox___25524); + r0 = (s.tmp_13 - s.ox___7560); s.tmp_12 = r0; r0 = pxsim_ImageMethods.width(globals.screen___578); s.tmp_16 = r0; @@ -70977,11 +71004,11 @@ switch (step) { case 13: s.tmp_20 = Sprite_top__P800_mk(s); s.tmp_20.arg0 = s.arg0; - s.callLocIdx = 294; s.pc = 18; return s.tmp_20; + s.callLocIdx = 295; s.pc = 18; return s.tmp_20; case 18: r0 = s.retval; s.tmp_19 = r0; - r0 = (s.tmp_19 - s.oy___25532); + r0 = (s.tmp_19 - s.oy___7570); s.tmp_18 = r0; r0 = pxsim_ImageMethods.height(globals.screen___578); s.tmp_21 = r0; @@ -70993,12 +71020,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_TileSprite_isOutOfScreen__P4245.info = {"start":1667,"length":438,"line":37,"column":8,"endLine":42,"endColumn":9,"fileName":"vm.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} +tileworld_TileSprite_isOutOfScreen__P7464.info = {"start":1700,"length":438,"line":38,"column":8,"endLine":43,"endColumn":9,"fileName":"vm.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} -function tileworld_TileSprite_isOutOfScreen__P4245_mk(s) { +function tileworld_TileSprite_isOutOfScreen__P7464_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileSprite_isOutOfScreen__P4245, depth: s.depth + 1, + parent: s, fn: tileworld_TileSprite_isOutOfScreen__P7464, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -71023,8 +71050,8 @@ function tileworld_TileSprite_isOutOfScreen__P4245_mk(s) { tmp_20: undefined, tmp_21: undefined, tmp_22: undefined, - ox___25524: undefined, - oy___25532: undefined, + ox___7560: undefined, + oy___7570: undefined, arg0: undefined, arg1: undefined, } } @@ -71127,7 +71154,7 @@ function sprites_SpriteSet_length__P846_mk(s) { -function tileworld_ruleediting_RuleViewDisplay_update__P4449(s) { +function tileworld_ruleediting_RuleViewDisplay_update__P12391(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71137,74 +71164,74 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___25591 = undefined; - s.col___25604 = undefined; + s.index___12521 = undefined; + s.col___12534 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleViewDisplay__C4445_VT)) failedCast(r0); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_update__P4408_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleViewDisplay__C12387_VT)) failedCast(r0); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_update__P11276_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 822; s.pc = 1; return s.tmp_0; + s.callLocIdx = 825; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P25583); + r0 = pxsim_pxtcore_mkAction(1, inline__P12513); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = helpers_arrayForEach__P60_mk(s); - s.tmp_1.arg0 = globals.transformImages___4438; + s.tmp_1.arg0 = globals.transformImages___12380; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 824; s.pc = 2; return s.tmp_1; + s.callLocIdx = 827; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.tmp_0 = r0 = globals.transformMap___4436; + s.tmp_0 = r0 = globals.transformMap___12377; 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___25591 = (r0); - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.index___12521 = (r0); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = (1 + s.index___25591); + r0 = (1 + s.index___12521); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.cursorOut___4024; - s.callLocIdx = 826; s.pc = 3; return s.tmp_0; + s.tmp_0.arg3 = globals.cursorOut___7253; + s.callLocIdx = 829; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - r0 = (s.index___25591 + 1); - s.col___25604 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P25611); + r0 = (s.index___12521 + 1); + s.col___12534 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P12541); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.col___25604); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.col___12534); s.tmp_1 = helpers_arrayForEach__P60_mk(s); r0 = s.arg0.fields["ruleViews"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 828; s.pc = 4; return s.tmp_1; + s.callLocIdx = 831; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleViewDisplay_update__P4449.info = {"start":1968,"length":555,"line":46,"column":8,"endLine":60,"endColumn":9,"fileName":"ruleTransform.ts","functionName":"update","argumentNames":["this"]} +tileworld_ruleediting_RuleViewDisplay_update__P12391.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__P4449_mk(s) { +function tileworld_ruleediting_RuleViewDisplay_update__P12391_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleViewDisplay_update__P4449, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleViewDisplay_update__P12391, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - index___25591: undefined, - col___25604: undefined, + index___12521: undefined, + col___12534: undefined, arg0: undefined, } } @@ -71212,7 +71239,7 @@ function tileworld_ruleediting_RuleViewDisplay_update__P4449_mk(s) { -function inline__P25583(s) { +function inline__P12513(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71227,25 +71254,25 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_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 = 823; 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__P25583.info = {"start":2081,"length":72,"line":49,"column":36,"endLine":51,"endColumn":13,"fileName":"ruleTransform.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P12513.info = {"start":2081,"length":72,"line":49,"column":36,"endLine":51,"endColumn":13,"fileName":"ruleTransform.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P25583_mk(s) { +function inline__P12513_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25583, depth: s.depth + 1, + parent: s, fn: inline__P12513, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -71256,7 +71283,7 @@ function inline__P25583_mk(s) { -function inline__P25611(s) { +function inline__P12541(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71271,25 +71298,25 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_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___4039; - s.callLocIdx = 827; s.pc = 1; return s.tmp_0; + s.tmp_0.arg3 = globals.include2___7268; + s.callLocIdx = 830; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P25611.info = {"start":2425,"length":86,"line":57,"column":35,"endLine":59,"endColumn":13,"fileName":"ruleTransform.ts","functionName":"inline","argumentNames":["rv","index"]} +inline__P12541.info = {"start":2425,"length":86,"line":57,"column":35,"endLine":59,"endColumn":13,"fileName":"ruleTransform.ts","functionName":"inline","argumentNames":["rv","index"]} -function inline__P25611_mk(s) { +function inline__P12541_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25611, depth: s.depth + 1, + parent: s, fn: inline__P12541, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -71300,7 +71327,7 @@ function inline__P25611_mk(s) { -function tileworld_ruleediting_RuleViewDisplay_cursorMove__P4447(s) { +function tileworld_ruleediting_RuleViewDisplay_cursorMove__P12389(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71317,22 +71344,22 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleViewDisplay__C4445_VT)) failedCast(r0); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_cursorMove__P4405_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleViewDisplay__C12387_VT)) failedCast(r0); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_cursorMove__P11273_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.callLocIdx = 814; s.pc = 1; return s.tmp_0; + s.callLocIdx = 817; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleViewDisplay_cursorToView__P4448_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleViewDisplay_cursorToView__P12390_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 815; s.pc = 2; return s.tmp_0; + s.callLocIdx = 818; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tileworld_ruleediting_RuleViewDisplay__C4445_v0_1_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleViewDisplay__C12387_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_ruleediting_RuleViewDisplay__C4445_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_ruleediting_RuleViewDisplay__C12387_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: @@ -71341,12 +71368,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleViewDisplay_cursorMove__P4447.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__P12389.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__P4447_mk(s) { +function tileworld_ruleediting_RuleViewDisplay_cursorMove__P12389_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleViewDisplay_cursorMove__P4447, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleViewDisplay_cursorMove__P12389, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -71358,7 +71385,7 @@ function tileworld_ruleediting_RuleViewDisplay_cursorMove__P4447_mk(s) { -function tileworld_ruleediting_RuleViewDisplay_cursorToView__P4448(s) { +function tileworld_ruleediting_RuleViewDisplay_cursorToView__P12390(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71368,26 +71395,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___25628 = undefined; - s.index___25648 = undefined; + s.t___12453 = undefined; + s.index___12473 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleViewDisplay__C4445_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleViewDisplay__C12387_VT)) failedCast(r0); r0 = s.arg0.fields["baseRule"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["r"]; r0 = r0.fields["transforms"]; - s.t___25628 = (r0); + s.t___12453 = (r0); r0 = s.arg0.fields["baseRule"]; s.tmp_0 = r0; r0 = (s.arg0).fields["rule"] = (s.tmp_0); - s.tmp_2 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 817; s.pc = 15; return s.tmp_2; + s.callLocIdx = 820; s.pc = 15; return s.tmp_2; case 15: r0 = s.retval; s.tmp_1 = r0; @@ -71398,7 +71425,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = (s.t___25628 != 0); + r0 = (s.t___12453 != 0); case 2: // jmp value (already in r0) s.tmp_3 = r0; @@ -71417,16 +71444,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___4436, s.t___25628, undefined); - s.index___25648 = (r0); - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + r0 = pxsim_Array_.indexOf(globals.transformMap___12377, s.t___12453, undefined); + s.index___12473 = (r0); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 818; s.pc = 16; return s.tmp_2; + s.callLocIdx = 821; s.pc = 16; return s.tmp_2; case 16: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.index___25648 + 1); + r0 = (s.index___12473 + 1); s.tmp_3 = r0; r0 = (s.tmp_1 == s.tmp_3); s.tmp_0 = r0; @@ -71451,10 +71478,10 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - s.tmp_4 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 819; s.pc = 17; return s.tmp_4; + s.callLocIdx = 822; s.pc = 17; return s.tmp_4; case 17: r0 = s.retval; s.tmp_3 = r0; @@ -71467,10 +71494,10 @@ switch (step) { r0 = s.tmp_5; { step = 9; continue; } case 8: - s.tmp_7 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_7 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = true; - s.callLocIdx = 820; s.pc = 18; return s.tmp_7; + s.callLocIdx = 823; s.pc = 18; return s.tmp_7; case 18: r0 = s.retval; s.tmp_6 = r0; @@ -71483,10 +71510,10 @@ switch (step) { s.tmp_9 = r0 = s.arg0; r0 = s.arg0.fields["ruleViews"]; s.tmp_11 = r0; - s.tmp_14 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_14 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_14.arg0 = s.arg0; s.tmp_14.arg1 = true; - s.callLocIdx = 821; s.pc = 19; return s.tmp_14; + s.callLocIdx = 824; s.pc = 19; return s.tmp_14; case 19: r0 = s.retval; s.tmp_13 = r0; @@ -71500,9 +71527,9 @@ switch (step) { case 12: case 13: case 14: - s.tmp_0 = tileworld_ruleediting_RuleViewDisplay__C4445_v0_1_mk(s); + s.tmp_0 = tileworld_ruleediting_RuleViewDisplay__C12387_v0_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, tileworld_ruleediting_RuleViewDisplay__C4445_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, tileworld_ruleediting_RuleViewDisplay__C12387_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: @@ -71511,12 +71538,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleViewDisplay_cursorToView__P4448.info = {"start":1379,"length":579,"line":32,"column":8,"endLine":44,"endColumn":9,"fileName":"ruleTransform.ts","functionName":"cursorToView","argumentNames":["this"]} +tileworld_ruleediting_RuleViewDisplay_cursorToView__P12390.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__P4448_mk(s) { +function tileworld_ruleediting_RuleViewDisplay_cursorToView__P12390_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleViewDisplay_cursorToView__P4448, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleViewDisplay_cursorToView__P12390, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -71533,8 +71560,8 @@ function tileworld_ruleediting_RuleViewDisplay_cursorToView__P4448_mk(s) { tmp_12: undefined, tmp_13: undefined, tmp_14: undefined, - t___25628: undefined, - index___25648: undefined, + t___12453: undefined, + index___12473: undefined, arg0: undefined, } } @@ -71542,7 +71569,7 @@ function tileworld_ruleediting_RuleViewDisplay_cursorToView__P4448_mk(s) { -function tileworld_ruleediting_RuleEditor_showAttributes__P4509(s) { +function tileworld_ruleediting_RuleEditor_showAttributes__P12694(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71560,8 +71587,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_showAttributes__P4420_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_showAttributes__P11288_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -71569,19 +71596,19 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0.arg3 = r0; - s.callLocIdx = 1147; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1150; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_showAttributes__P4509.info = {"start":19007,"length":160,"line":431,"column":8,"endLine":433,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"showAttributes","argumentNames":["this","col","row","show"]} +tileworld_ruleediting_RuleEditor_showAttributes__P12694.info = {"start":19007,"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__P4509_mk(s) { +function tileworld_ruleediting_RuleEditor_showAttributes__P12694_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_showAttributes__P4509, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_showAttributes__P12694, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -71595,7 +71622,7 @@ function tileworld_ruleediting_RuleEditor_showAttributes__P4509_mk(s) { -function tileworld_ruleediting_RuleEditor_cursorMove__P4496(s) { +function tileworld_ruleediting_RuleEditor_cursorMove__P12681(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71612,24 +71639,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_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__P4405_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleDisplay_cursorMove__P11273_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.tmp_2.arg2 = s.arg2; - s.callLocIdx = 1023; s.pc = 29; return s.tmp_2; + s.callLocIdx = 1026; s.pc = 29; return s.tmp_2; case 29: r0 = s.retval; - s.tmp_2 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1024; s.pc = 30; return s.tmp_2; + s.callLocIdx = 1027; s.pc = 30; return s.tmp_2; case 30: r0 = s.retval; s.tmp_1 = r0; @@ -71637,9 +71664,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__P4491_mk(s); + s.tmp_3 = tileworld_ruleediting_RuleEditor_restoreCursor__P12676_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1025; s.pc = 31; return s.tmp_3; + s.callLocIdx = 1028; s.pc = 31; return s.tmp_3; case 31: r0 = s.retval; case 1: @@ -71651,10 +71678,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__P4339_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = true; - s.callLocIdx = 1026; s.pc = 32; return s.tmp_3; + s.callLocIdx = 1029; s.pc = 32; return s.tmp_3; case 32: r0 = s.retval; s.tmp_2 = r0; @@ -71665,7 +71692,7 @@ switch (step) { s.tmp_5 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_5.arg0 = r0; - s.callLocIdx = 1027; s.pc = 33; return s.tmp_5; + s.callLocIdx = 1030; s.pc = 33; return s.tmp_5; case 33: r0 = s.retval; s.tmp_4 = r0; @@ -71675,7 +71702,7 @@ switch (step) { s.tmp_7 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_7.arg0 = r0; - s.callLocIdx = 1028; s.pc = 34; return s.tmp_7; + s.callLocIdx = 1031; s.pc = 34; return s.tmp_7; case 34: r0 = s.retval; s.tmp_6 = r0; @@ -71687,13 +71714,13 @@ switch (step) { r0 = s.arg0.fields["helpCursor"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.tmp_8; - s.callLocIdx = 1029; s.pc = 35; return s.tmp_9; + s.callLocIdx = 1032; s.pc = 35; return s.tmp_9; case 35: r0 = s.retval; - s.tmp_2 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1030; s.pc = 36; return s.tmp_2; + s.callLocIdx = 1033; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; s.tmp_1 = r0; @@ -71704,7 +71731,7 @@ switch (step) { s.tmp_4 = Sprite_y__P772_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 1031; s.pc = 37; return s.tmp_4; + s.callLocIdx = 1034; s.pc = 37; return s.tmp_4; case 37: r0 = s.retval; s.tmp_3 = r0; @@ -71714,7 +71741,7 @@ switch (step) { s.tmp_5 = Sprite_y__P772_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_5.arg0 = r0; - s.callLocIdx = 1032; s.pc = 38; return s.tmp_5; + s.callLocIdx = 1035; s.pc = 38; return s.tmp_5; case 38: r0 = s.retval; case 8: @@ -71724,7 +71751,7 @@ switch (step) { r0 = s.arg0.fields["helpCursor"]; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = s.tmp_6; - s.callLocIdx = 1033; s.pc = 39; return s.tmp_7; + s.callLocIdx = 1036; s.pc = 39; return s.tmp_7; case 39: r0 = s.retval; s.tmp_0 = Sprite_say__P808_mk(s); @@ -71734,7 +71761,7 @@ switch (step) { s.tmp_0.arg2 = undefined; s.tmp_0.arg3 = 15; s.tmp_0.arg4 = 1; - s.callLocIdx = 1034; s.pc = 40; return s.tmp_0; + s.callLocIdx = 1037; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; r0 = s.arg0.fields["menu"]; @@ -71743,10 +71770,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__P4340_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1035; s.pc = 41; return s.tmp_4; + s.callLocIdx = 1038; s.pc = 41; return s.tmp_4; case 41: r0 = s.retval; s.tmp_3 = r0; @@ -71757,10 +71784,10 @@ switch (step) { r0 = s.tmp_2; { step = 10; continue; } case 9: - s.tmp_6 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_6 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = true; - s.callLocIdx = 1036; s.pc = 42; return s.tmp_6; + s.callLocIdx = 1039; s.pc = 42; return s.tmp_6; case 42: r0 = s.retval; s.tmp_5 = r0; @@ -71774,36 +71801,36 @@ switch (step) { r0 = s.arg0.fields["helpCursor"]; s.tmp_8.arg0 = r0; s.tmp_9 = tileworld_getHelp__P3837_mk(s); - s.tmp_9.arg0 = globals.menuHelpString___4485; - s.tmp_10 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_9.arg0 = globals.menuHelpString___13299; + s.tmp_10 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_10.arg0 = s.arg0; s.tmp_10.arg1 = true; - s.callLocIdx = 1037; s.pc = 45; return s.tmp_10; + s.callLocIdx = 1040; s.pc = 45; return s.tmp_10; case 45: r0 = s.retval; s.tmp_9.arg1 = r0; - s.tmp_11 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_11 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_11.arg0 = s.arg0; s.tmp_11.arg1 = true; - s.callLocIdx = 1038; s.pc = 46; return s.tmp_11; + s.callLocIdx = 1041; s.pc = 46; return s.tmp_11; case 46: r0 = s.retval; s.tmp_9.arg2 = r0; - s.callLocIdx = 1039; s.pc = 44; return s.tmp_9; + s.callLocIdx = 1042; 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 = 1040; s.pc = 43; return s.tmp_8; + s.callLocIdx = 1043; s.pc = 43; return s.tmp_8; case 43: r0 = s.retval; { step = 14; continue; } case 11: - s.tmp_1 = tileworld_ruleediting_RuleEditor_inWhenPredicate__P4497_mk(s); + s.tmp_1 = tileworld_ruleediting_RuleEditor_inWhenPredicate__P12682_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 1041; s.pc = 47; return s.tmp_1; + s.callLocIdx = 1044; s.pc = 47; return s.tmp_1; case 47: r0 = s.retval; s.tmp_0 = r0; @@ -71816,7 +71843,7 @@ switch (step) { s.tmp_2.arg2 = undefined; s.tmp_2.arg3 = 15; s.tmp_2.arg4 = 1; - s.callLocIdx = 1042; s.pc = 48; return s.tmp_2; + s.callLocIdx = 1045; s.pc = 48; return s.tmp_2; case 48: r0 = s.retval; case 12: @@ -71830,10 +71857,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__P4340_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1043; s.pc = 49; return s.tmp_4; + s.callLocIdx = 1046; s.pc = 49; return s.tmp_4; case 49: r0 = s.retval; s.tmp_3 = r0; @@ -71845,37 +71872,37 @@ switch (step) { r0 = s.arg0.fields["helpCursor"]; s.tmp_5.arg0 = r0; s.tmp_6 = tileworld_getHelp__P3837_mk(s); - s.tmp_6.arg0 = globals.attrHelpString___4486; - s.tmp_7 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_6.arg0 = globals.attrHelpString___13301; + s.tmp_7 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = true; - s.callLocIdx = 1044; s.pc = 52; return s.tmp_7; + s.callLocIdx = 1047; s.pc = 52; return s.tmp_7; case 52: r0 = s.retval; s.tmp_6.arg1 = r0; - s.tmp_8 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_8 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_8.arg0 = s.arg0; s.tmp_8.arg1 = true; - s.callLocIdx = 1045; s.pc = 53; return s.tmp_8; + s.callLocIdx = 1048; s.pc = 53; return s.tmp_8; case 53: r0 = s.retval; s.tmp_6.arg2 = r0; - s.callLocIdx = 1046; s.pc = 51; return s.tmp_6; + s.callLocIdx = 1049; 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 = 1047; s.pc = 50; return s.tmp_5; + s.callLocIdx = 1050; s.pc = 50; return s.tmp_5; case 50: r0 = s.retval; { step = 21; continue; } case 16: - s.tmp_2 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1048; s.pc = 54; return s.tmp_2; + s.callLocIdx = 1051; s.pc = 54; return s.tmp_2; case 54: r0 = s.retval; s.tmp_1 = r0; @@ -71886,10 +71913,10 @@ switch (step) { r0 = s.tmp_0; { step = 18; continue; } case 17: - s.tmp_4 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1049; s.pc = 55; return s.tmp_4; + s.callLocIdx = 1052; s.pc = 55; return s.tmp_4; case 55: r0 = s.retval; s.tmp_3 = r0; @@ -71906,7 +71933,7 @@ switch (step) { s.tmp_6.arg2 = undefined; s.tmp_6.arg3 = 15; s.tmp_6.arg4 = 1; - s.callLocIdx = 1050; s.pc = 56; return s.tmp_6; + s.callLocIdx = 1053; s.pc = 56; return s.tmp_6; case 56: r0 = s.retval; case 19: @@ -71920,10 +71947,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__P4507_mk(s); + s.tmp_2 = tileworld_ruleediting_RuleEditor_commandUpdate__P12692_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1051; s.pc = 57; return s.tmp_2; + s.callLocIdx = 1054; s.pc = 57; return s.tmp_2; case 57: r0 = s.retval; case 23: @@ -71936,12 +71963,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_cursorMove__P4496.info = {"start":8798,"length":1412,"line":189,"column":8,"endLine":216,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} +tileworld_ruleediting_RuleEditor_cursorMove__P12681.info = {"start":8798,"length":1412,"line":189,"column":8,"endLine":216,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} -function tileworld_ruleediting_RuleEditor_cursorMove__P4496_mk(s) { +function tileworld_ruleediting_RuleEditor_cursorMove__P12681_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_cursorMove__P4496, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_cursorMove__P12681, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -71974,11 +72001,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___25809 = undefined; - s.curr___25818 = undefined; - s.nextCol___25820 = undefined; - s.nextRow___25830 = undefined; - s.comma___25842 = undefined; + s.index___3844 = undefined; + s.curr___3854 = undefined; + s.nextCol___3856 = undefined; + s.nextRow___3867 = undefined; + s.comma___3879 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -71995,16 +72022,16 @@ switch (step) { { step = 11; continue; } case 1: case 2: - s.index___25809 = (0); + s.index___3844 = (0); case 3: - r0 = (s.index___25809 >= 0); + r0 = (s.index___3844 >= 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___25809; + s.tmp_1 = r0 = s.index___3844; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -72013,41 +72040,41 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - s.curr___25818 = (s.index___25809); - r0 = pxsim_String_.substr(s.arg0, s.curr___25818, 1); + s.curr___3854 = (s.index___3844); + r0 = pxsim_String_.substr(s.arg0, s.curr___3854, 1); s.tmp_1 = r0; r0 = pxsim_String_.charCodeAt(s.tmp_1, 0); s.tmp_0 = r0; r0 = (s.tmp_0 - globals.zeroCode___3834); - s.nextCol___25820 = (r0); + s.nextCol___3856 = (r0); s.tmp_2 = r0 = s.arg0; - r0 = (s.curr___25818 + 1); + r0 = (s.curr___3854 + 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___3834); - s.nextRow___25830 = (r0); - r0 = pxsim_String_.indexOf(s.arg0, ",", s.index___25809); - s.comma___25842 = (r0); - r0 = (s.nextCol___25820 == s.arg1); + s.nextRow___3867 = (r0); + r0 = pxsim_String_.indexOf(s.arg0, ",", s.index___3844); + s.comma___3879 = (r0); + r0 = (s.nextCol___3856 == 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___25830 == s.arg2); + r0 = (s.nextRow___3867 == 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___25818 + 2); + r0 = (s.curr___3854 + 2); s.tmp_3 = r0; - r0 = (s.comma___25842 - s.curr___25818); + r0 = (s.comma___3879 - s.curr___3854); s.tmp_5 = r0; r0 = (s.tmp_5 - 2); s.tmp_4 = r0; @@ -72055,8 +72082,8 @@ switch (step) { { step = 11; continue; } case 8: case 9: - r0 = (s.comma___25842 + 1); - s.index___25809 = (r0); + r0 = (s.comma___3879 + 1); + s.index___3844 = (r0); { step = 3; continue; } case 10: r0 = null; @@ -72077,11 +72104,11 @@ function tileworld_getHelp__P3837_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - index___25809: undefined, - curr___25818: undefined, - nextCol___25820: undefined, - nextRow___25830: undefined, - comma___25842: undefined, + index___3844: undefined, + curr___3854: undefined, + nextCol___3856: undefined, + nextRow___3867: undefined, + comma___3879: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -72091,7 +72118,7 @@ function tileworld_getHelp__P3837_mk(s) { -function tileworld_ruleediting_RuleEditor_okToMove__P4490(s) { +function tileworld_ruleediting_RuleEditor_okToMove__P12675(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -72106,7 +72133,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C4487_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleEditor__C12671_VT)) failedCast(r0); r0 = s.arg0.fields["askDeleteRule"]; s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); @@ -72115,12 +72142,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleEditor_okToMove__P4490.info = {"start":7949,"length":72,"line":158,"column":8,"endLine":160,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"okToMove","argumentNames":["this"]} +tileworld_ruleediting_RuleEditor_okToMove__P12675.info = {"start":7949,"length":72,"line":158,"column":8,"endLine":160,"endColumn":9,"fileName":"ruleeditor.ts","functionName":"okToMove","argumentNames":["this"]} -function tileworld_ruleediting_RuleEditor_okToMove__P4490_mk(s) { +function tileworld_ruleediting_RuleEditor_okToMove__P12675_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleEditor_okToMove__P4490, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleEditor_okToMove__P12675, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -72131,7 +72158,7 @@ function tileworld_ruleediting_RuleEditor_okToMove__P4490_mk(s) { -function tileworld_ruleediting_RuleRoom_cursorMove__P4457(s) { +function tileworld_ruleediting_RuleRoom_cursorMove__P12557(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -72141,8 +72168,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___25908 = undefined; - s.message___25918 = undefined; + s.index___12747 = undefined; + s.message___12757 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -72150,16 +72177,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C4455_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_ruleediting_RuleRoom__C12555_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__P4339_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = true; - s.callLocIdx = 856; s.pc = 11; return s.tmp_3; + s.callLocIdx = 859; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; @@ -72170,7 +72197,7 @@ switch (step) { s.tmp_5 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_5.arg0 = r0; - s.callLocIdx = 857; s.pc = 12; return s.tmp_5; + s.callLocIdx = 860; s.pc = 12; return s.tmp_5; case 12: r0 = s.retval; s.tmp_4 = r0; @@ -72180,7 +72207,7 @@ switch (step) { s.tmp_7 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_7.arg0 = r0; - s.callLocIdx = 858; s.pc = 13; return s.tmp_7; + s.callLocIdx = 861; s.pc = 13; return s.tmp_7; case 13: r0 = s.retval; s.tmp_6 = r0; @@ -72192,13 +72219,13 @@ switch (step) { r0 = s.arg0.fields["helpCursor"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.tmp_8; - s.callLocIdx = 859; s.pc = 14; return s.tmp_9; + s.callLocIdx = 862; s.pc = 14; return s.tmp_9; case 14: r0 = s.retval; - s.tmp_2 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 860; s.pc = 15; return s.tmp_2; + s.callLocIdx = 863; s.pc = 15; return s.tmp_2; case 15: r0 = s.retval; s.tmp_1 = r0; @@ -72209,7 +72236,7 @@ switch (step) { s.tmp_4 = Sprite_y__P772_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 861; s.pc = 16; return s.tmp_4; + s.callLocIdx = 864; s.pc = 16; return s.tmp_4; case 16: r0 = s.retval; s.tmp_3 = r0; @@ -72219,7 +72246,7 @@ switch (step) { s.tmp_5 = Sprite_y__P772_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_5.arg0 = r0; - s.callLocIdx = 862; s.pc = 17; return s.tmp_5; + s.callLocIdx = 865; s.pc = 17; return s.tmp_5; case 17: r0 = s.retval; case 4: @@ -72229,31 +72256,31 @@ switch (step) { r0 = s.arg0.fields["helpCursor"]; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = s.tmp_6; - s.callLocIdx = 863; s.pc = 18; return s.tmp_7; + s.callLocIdx = 866; 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__P4339_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 864; s.pc = 19; return s.tmp_2; + s.callLocIdx = 867; s.pc = 19; return s.tmp_2; case 19: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 865; s.pc = 20; return s.tmp_4; + s.callLocIdx = 868; 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___25908 = (r0); - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.index___12747 = (r0); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 866; s.pc = 21; return s.tmp_2; + s.callLocIdx = 869; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; s.tmp_1 = r0; @@ -72261,10 +72288,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__P4340_mk(s); + s.tmp_5 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_5.arg0 = s.arg0; s.tmp_5.arg1 = true; - s.callLocIdx = 867; s.pc = 22; return s.tmp_5; + s.callLocIdx = 870; s.pc = 22; return s.tmp_5; case 22: r0 = s.retval; s.tmp_4 = r0; @@ -72272,41 +72299,41 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 5; continue; } - r0 = globals.helpStringTop___4453; + r0 = globals.helpStringTop___12551; { step = 6; continue; } case 5: - r0 = globals.helpStringBot___4454; + r0 = globals.helpStringBot___12553; case 6: // jmp value (already in r0) s.tmp_6 = r0; s.tmp_7 = tileworld_getHelp__P3837_mk(s); s.tmp_7.arg0 = s.tmp_6; - s.tmp_8 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_8 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_8.arg0 = s.arg0; s.tmp_8.arg1 = true; - s.callLocIdx = 868; s.pc = 24; return s.tmp_8; + s.callLocIdx = 871; s.pc = 24; return s.tmp_8; case 24: r0 = s.retval; s.tmp_7.arg1 = r0; - s.tmp_9 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_9 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_9.arg0 = s.arg0; s.tmp_9.arg1 = true; - s.callLocIdx = 869; s.pc = 25; return s.tmp_9; + s.callLocIdx = 872; s.pc = 25; return s.tmp_9; case 25: r0 = s.retval; s.tmp_7.arg2 = r0; - s.callLocIdx = 870; s.pc = 23; return s.tmp_7; + s.callLocIdx = 873; s.pc = 23; return s.tmp_7; case 23: r0 = s.retval; - s.message___25918 = (r0); + s.message___12757 = (r0); s.tmp_0 = Sprite_say__P808_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.message___25918; + s.tmp_0.arg1 = s.message___12757; s.tmp_0.arg2 = undefined; s.tmp_0.arg3 = 15; s.tmp_0.arg4 = 1; - s.callLocIdx = 871; s.pc = 26; return s.tmp_0; + s.callLocIdx = 874; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; { step = 8; continue; } @@ -72318,7 +72345,7 @@ switch (step) { s.tmp_0.arg2 = undefined; s.tmp_0.arg3 = 15; s.tmp_0.arg4 = 1; - s.callLocIdx = 872; s.pc = 27; return s.tmp_0; + s.callLocIdx = 875; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; s.tmp_0 = Sprite_say__P808_mk(s); @@ -72328,7 +72355,7 @@ switch (step) { s.tmp_0.arg2 = undefined; s.tmp_0.arg3 = 15; s.tmp_0.arg4 = 1; - s.callLocIdx = 873; s.pc = 28; return s.tmp_0; + s.callLocIdx = 876; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; case 8: @@ -72338,12 +72365,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleRoom_cursorMove__P4457.info = {"start":2095,"length":728,"line":47,"column":8,"endLine":60,"endColumn":9,"fileName":"spriteRules.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} +tileworld_ruleediting_RuleRoom_cursorMove__P12557.info = {"start":2095,"length":728,"line":47,"column":8,"endLine":60,"endColumn":9,"fileName":"spriteRules.ts","functionName":"cursorMove","argumentNames":["this","dir","pressed"]} -function tileworld_ruleediting_RuleRoom_cursorMove__P4457_mk(s) { +function tileworld_ruleediting_RuleRoom_cursorMove__P12557_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleRoom_cursorMove__P4457, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleRoom_cursorMove__P12557, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -72355,8 +72382,8 @@ function tileworld_ruleediting_RuleRoom_cursorMove__P4457_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - index___25908: undefined, - message___25918: undefined, + index___12747: undefined, + message___12757: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -72366,7 +72393,7 @@ function tileworld_ruleediting_RuleRoom_cursorMove__P4457_mk(s) { -function tileworld_ruleediting_RuleDisplay_cursorMove__P4405(s) { +function tileworld_ruleediting_RuleDisplay_cursorMove__P11273(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -72383,22 +72410,22 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); - s.tmp_0 = tileworld_ruleediting_RuleDisplay_otherCursorMove__P4404_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_VT)) failedCast(r0); + s.tmp_0 = tileworld_ruleediting_RuleDisplay_otherCursorMove__P11272_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 710; s.pc = 1; return s.tmp_0; + s.callLocIdx = 713; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_cursorMove__P4405.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__P11273.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__P4405_mk(s) { +function tileworld_ruleediting_RuleDisplay_cursorMove__P11273_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_cursorMove__P4405, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_cursorMove__P11273, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -72410,7 +72437,7 @@ function tileworld_ruleediting_RuleDisplay_cursorMove__P4405_mk(s) { -function tileworld_ruleediting_RuleDisplay_otherCursorMove__P4404(s) { +function tileworld_ruleediting_RuleDisplay_otherCursorMove__P11272(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -72420,17 +72447,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___25957 = undefined; + s.row___11368 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C4397_VT)) failedCast(r0); - s.tmp_2 = tileworld_RuleVisualsBase_col__P4339_mk(s); + if (!checkSubtype(r0, tileworld_ruleediting_RuleDisplay__C11265_VT)) failedCast(r0); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 701; s.pc = 5; return s.tmp_2; + s.callLocIdx = 704; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; s.tmp_1 = r0; @@ -72441,10 +72468,10 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_4 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 702; s.pc = 6; return s.tmp_4; + s.callLocIdx = 705; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; s.tmp_3 = r0; @@ -72454,30 +72481,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__P4340_mk(s); + s.tmp_7 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = true; - s.callLocIdx = 703; s.pc = 7; return s.tmp_7; + s.callLocIdx = 706; s.pc = 7; return s.tmp_7; case 7: r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 - 2); - s.row___25957 = (r0); + s.row___11368 = (r0); s.tmp_0 = Sprite_setFlag__P813_mk(s); r0 = s.arg0.fields["otherCursor"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = false; - s.callLocIdx = 704; s.pc = 8; return s.tmp_0; + s.callLocIdx = 707; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; s.tmp_0 = Sprite_x__P771_mk(s); r0 = s.arg0.fields["otherCursor"]; s.tmp_0.arg0 = r0; - s.tmp_3 = tileworld_ruleediting_RuleDisplay_rowToColCoord__P4411_mk(s); + s.tmp_3 = tileworld_ruleediting_RuleDisplay_rowToColCoord__P11279_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.row___25957; - s.callLocIdx = 705; s.pc = 10; return s.tmp_3; + s.tmp_3.arg1 = s.row___11368; + s.callLocIdx = 708; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; s.tmp_2 = r0; @@ -72485,16 +72512,16 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 8); s.tmp_0.arg1 = r0; - s.callLocIdx = 706; s.pc = 9; return s.tmp_0; + s.callLocIdx = 709; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; s.tmp_0 = Sprite_y__P773_mk(s); r0 = s.arg0.fields["otherCursor"]; s.tmp_0.arg0 = r0; - s.tmp_5 = tileworld_ruleediting_RuleDisplay_rowToRowCoord__P4412_mk(s); + s.tmp_5 = tileworld_ruleediting_RuleDisplay_rowToRowCoord__P11280_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.row___25957; - s.callLocIdx = 707; s.pc = 12; return s.tmp_5; + s.tmp_5.arg1 = s.row___11368; + s.callLocIdx = 710; s.pc = 12; return s.tmp_5; case 12: r0 = s.retval; s.tmp_4 = r0; @@ -72506,7 +72533,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 32); s.tmp_0.arg1 = r0; - s.callLocIdx = 708; s.pc = 11; return s.tmp_0; + s.callLocIdx = 711; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; { step = 4; continue; } @@ -72516,7 +72543,7 @@ switch (step) { s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = true; - s.callLocIdx = 709; s.pc = 13; return s.tmp_0; + s.callLocIdx = 712; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 4: @@ -72524,12 +72551,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_ruleediting_RuleDisplay_otherCursorMove__P4404.info = {"start":2203,"length":671,"line":58,"column":8,"endLine":70,"endColumn":9,"fileName":"ruledisplay.ts","functionName":"otherCursorMove","argumentNames":["this"]} +tileworld_ruleediting_RuleDisplay_otherCursorMove__P11272.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__P4404_mk(s) { +function tileworld_ruleediting_RuleDisplay_otherCursorMove__P11272_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_ruleediting_RuleDisplay_otherCursorMove__P4404, depth: s.depth + 1, + parent: s, fn: tileworld_ruleediting_RuleDisplay_otherCursorMove__P11272, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -72539,7 +72566,7 @@ function tileworld_ruleediting_RuleDisplay_otherCursorMove__P4404_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - row___25957: undefined, + row___11368: undefined, arg0: undefined, } } @@ -72547,7 +72574,7 @@ function tileworld_ruleediting_RuleDisplay_otherCursorMove__P4404_mk(s) { -function tileworld_Gallery_update__P4548(s) { +function tileworld_Gallery_update__P15346(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -72557,14 +72584,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___26015 = undefined; - s.row___26016 = undefined; + s.col___15452 = undefined; + s.row___15453 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_Gallery__C4546_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_Gallery__C15344_VT)) failedCast(r0); r0 = s.arg0.fields["dirMap"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.fill(s.tmp_0, 15); @@ -72577,60 +72604,60 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1306; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1309; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_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 = 1307; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1310; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_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 = 1308; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1311; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = pxsim_pxtrt.mklocRef(); - s.col___26015 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.col___26015, 4); + s.col___15452 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.col___15452, 4); r0 = pxsim_pxtrt.mklocRef(); - s.row___26016 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.row___26016, 1); - r0 = pxsim_pxtcore_mkAction(3, inline__P26020); + s.row___15453 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.row___15453, 1); + r0 = pxsim_pxtcore_mkAction(3, inline__P15457); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.col___26015); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.row___26016); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.col___15452); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.row___15453); s.tmp_1 = helpers_arrayForEach__P60_mk(s); r0 = s.arg0.fields["gallery"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1310; s.pc = 4; return s.tmp_1; + s.callLocIdx = 1313; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_Gallery_update__P4548.info = {"start":1283,"length":525,"line":32,"column":8,"endLine":46,"endColumn":9,"fileName":"gallery.ts","functionName":"update","argumentNames":["this"]} +tileworld_Gallery_update__P15346.info = {"start":1283,"length":525,"line":32,"column":8,"endLine":46,"endColumn":9,"fileName":"gallery.ts","functionName":"update","argumentNames":["this"]} -function tileworld_Gallery_update__P4548_mk(s) { +function tileworld_Gallery_update__P15346_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_Gallery_update__P4548, depth: s.depth + 1, + parent: s, fn: tileworld_Gallery_update__P15346, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - col___26015: undefined, - row___26016: undefined, + col___15452: undefined, + row___15453: undefined, arg0: undefined, } } @@ -72638,7 +72665,7 @@ function tileworld_Gallery_update__P4548_mk(s) { -function inline__P26020(s) { +function inline__P15457(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -72653,14 +72680,14 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_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 = 1309; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1312; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = s.caps[0].fields["dirMap"]; @@ -72695,12 +72722,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P26020.info = {"start":1593,"length":203,"line":40,"column":33,"endLine":45,"endColumn":13,"fileName":"gallery.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P15457.info = {"start":1593,"length":203,"line":40,"column":33,"endLine":45,"endColumn":13,"fileName":"gallery.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P26020_mk(s) { +function inline__P15457_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P26020, depth: s.depth + 1, + parent: s, fn: inline__P15457, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -72773,7 +72800,7 @@ switch (step) { s.tmp_0 = tiles_TileMapData_scale__P1077_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg4; - s.callLocIdx = 730; s.pc = 1; return s.tmp_0; + s.callLocIdx = 732; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -72932,7 +72959,7 @@ switch (step) { s.tmp_10 = helpers_arrayFilter__P61_mk(s); r0 = s.arg0.fields["buckets"]; s.tmp_10.arg0 = r0; - s.tmp_10.arg1 = inline__P26059; + s.tmp_10.arg1 = inline__P27525; s.callLocIdx = 491; s.pc = 2; return s.tmp_10; case 2: r0 = s.retval; @@ -72979,7 +73006,7 @@ function sprites_SpriteMap_toString__P837_mk(s) { -function inline__P26059(s) { +function inline__P27525(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -73003,12 +73030,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P26059.info = {"start":4196,"length":8,"line":113,"column":74,"endLine":113,"endColumn":82,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["b"]} +inline__P27525.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__P26059_mk(s) { +function inline__P27525_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P26059, depth: s.depth + 1, + parent: s, fn: inline__P27525, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -73118,9 +73145,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___26097 = undefined; - s.maxDist___26107 = undefined; - s.ms___26127 = undefined; + s.tm___27563 = undefined; + s.maxDist___27573 = undefined; + s.ms___27593 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -73163,15 +73190,15 @@ switch (step) { case 16: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___26097 = (r0); - s.tmp_0 = r0 = s.tm___26097; + s.tm___27563 = (r0); + s.tmp_0 = r0 = s.tm___27563; 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__C1086_v6_1_mk(s); - s.tmp_1.arg0 = s.tm___26097; + s.tmp_1.arg0 = s.tm___27563; if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C1086_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.enabled; s.pc = 17; return s.tmp_1; @@ -73194,7 +73221,7 @@ switch (step) { r0 = (s.tmp_5 + 128); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); - s.maxDist___26107 = (r0); + s.maxDist___27573 = (r0); s.tmp_2 = Math_abs__P76_mk(s); r0 = (s.arg2 + 128); s.tmp_3 = r0; @@ -73204,7 +73231,7 @@ switch (step) { case 18: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.maxDist___26107); + r0 = (s.tmp_1 <= s.maxDist___27573); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } @@ -73220,7 +73247,7 @@ switch (step) { case 19: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_4 <= s.maxDist___26107); + r0 = (s.tmp_4 <= s.maxDist___27573); case 6: // jmp value (already in r0) s.tmp_7 = r0; @@ -73242,18 +73269,18 @@ switch (step) { s.callLocIdx = 693; s.pc = 20; return s.tmp_9; case 20: r0 = s.retval; - s.ms___26127 = (s.tmp_8); + s.ms___27593 = (s.tmp_8); s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P923_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ms___26127; - s.tmp_0.arg2 = s.tm___26097; + s.tmp_0.arg1 = s.ms___27593; + s.tmp_0.arg2 = s.tm___27563; 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__C1086_v14_2_mk(s); - s.tmp_1.arg0 = s.tm___26097; + s.tmp_1.arg0 = s.tm___27563; s.tmp_1.arg1 = s.arg1; if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C1086_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isOnWall; @@ -73269,7 +73296,7 @@ switch (step) { s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P927_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; - s.tmp_4.arg2 = s.tm___26097; + s.tmp_4.arg2 = s.tm___27563; s.callLocIdx = 695; s.pc = 23; return s.tmp_4; case 23: r0 = s.retval; @@ -73322,9 +73349,9 @@ function ArcadePhysicsEngine_moveSprite__P926_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - tm___26097: undefined, - maxDist___26107: undefined, - ms___26127: undefined, + tm___27563: undefined, + maxDist___27573: undefined, + ms___27593: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -73345,13 +73372,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___26361 = undefined; - s.left___26364 = undefined; - s.right___26370 = undefined; - s.top___26376 = undefined; - s.bottom___26382 = undefined; - s.col___26388 = undefined; - s.row___26394 = undefined; + s.hbox___27799 = undefined; + s.left___27802 = undefined; + s.right___27808 = undefined; + s.top___27814 = undefined; + s.bottom___27820 = undefined; + s.col___27826 = undefined; + s.row___27832 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -73360,10 +73387,10 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, tiles_TileMap__C1086_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___26361 = (r0); + s.hbox___27799 = (r0); s.tmp_1 = game_Hitbox_left__P755_mk(s); - s.tmp_1.arg0 = s.hbox___26361; - s.callLocIdx = 780; s.pc = 8; return s.tmp_1; + s.tmp_1.arg0 = s.hbox___27799; + s.callLocIdx = 782; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0 = r0; @@ -73372,10 +73399,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.left___26364 = (r0); + s.left___27802 = (r0); s.tmp_1 = game_Hitbox_right__P757_mk(s); - s.tmp_1.arg0 = s.hbox___26361; - s.callLocIdx = 783; s.pc = 9; return s.tmp_1; + s.tmp_1.arg0 = s.hbox___27799; + s.callLocIdx = 785; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.tmp_0 = r0; @@ -73384,10 +73411,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.right___26370 = (r0); + s.right___27808 = (r0); s.tmp_1 = game_Hitbox_top__P756_mk(s); - s.tmp_1.arg0 = s.hbox___26361; - s.callLocIdx = 786; s.pc = 10; return s.tmp_1; + s.tmp_1.arg0 = s.hbox___27799; + s.callLocIdx = 788; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; s.tmp_0 = r0; @@ -73396,10 +73423,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.top___26376 = (r0); + s.top___27814 = (r0); s.tmp_1 = game_Hitbox_bottom__P758_mk(s); - s.tmp_1.arg0 = s.hbox___26361; - s.callLocIdx = 789; s.pc = 11; return s.tmp_1; + s.tmp_1.arg0 = s.hbox___27799; + s.callLocIdx = 791; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = r0; @@ -73408,23 +73435,23 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.bottom___26382 = (r0); - s.col___26388 = (s.left___26364); + s.bottom___27820 = (r0); + s.col___27826 = (s.left___27802); case 1: - r0 = (s.col___26388 <= s.right___26370); + r0 = (s.col___27826 <= s.right___27808); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___26394 = (s.top___26376); + s.row___27832 = (s.top___27814); case 2: - r0 = (s.row___26394 <= s.bottom___26382); + r0 = (s.row___27832 <= s.bottom___27820); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } s.tmp_2 = tiles_TileMap__C1086_v12_3_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___26388; - s.tmp_2.arg2 = s.row___26394; + s.tmp_2.arg1 = s.col___27826; + s.tmp_2.arg2 = s.row___27832; if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C1086_VT)) failedCast(s.tmp_2.arg0); s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.isObstacle; s.pc = 12; return s.tmp_2; @@ -73437,12 +73464,12 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___26394 + 1); - s.row___26394 = (r0); + r0 = (s.row___27832 + 1); + s.row___27832 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___26388 + 1); - s.col___26388 = (r0); + r0 = (s.col___27826 + 1); + s.col___27826 = (r0); { step = 1; continue; } case 6: r0 = false; @@ -73461,13 +73488,13 @@ function tiles_TileMap_isOnWall__P1108_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - hbox___26361: undefined, - left___26364: undefined, - right___26370: undefined, - top___26376: undefined, - bottom___26382: undefined, - col___26388: undefined, - row___26394: undefined, + hbox___27799: undefined, + left___27802: undefined, + right___27808: undefined, + top___27814: undefined, + bottom___27820: undefined, + col___27826: undefined, + row___27832: undefined, arg0: undefined, arg1: undefined, } } @@ -73517,7 +73544,7 @@ switch (step) { s.tmp_5.arg0 = r0; s.tmp_5.arg1 = s.arg1; s.tmp_5.arg2 = s.arg2; - s.callLocIdx = 772; s.pc = 7; return s.tmp_5; + s.callLocIdx = 774; s.pc = 7; return s.tmp_5; case 7: r0 = s.retval; s.tmp_4 = r0; @@ -73838,19 +73865,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___26173 = undefined; - s.sz___26176 = undefined; - s.maxMove___26181 = undefined; - s.origY___26183 = undefined; - s.origX___26186 = undefined; - s.l___26189 = undefined; - s.r___26194 = undefined; - s.t___26199 = undefined; - s.b___26204 = undefined; - s.offset___26209 = undefined; - s.offset___26234 = undefined; - s.offset___26265 = undefined; - s.offset___26290 = undefined; + s.hbox___27639 = undefined; + s.sz___27642 = undefined; + s.maxMove___27647 = undefined; + s.origY___27649 = undefined; + s.origX___27652 = undefined; + s.l___27655 = undefined; + s.r___27660 = undefined; + s.t___27665 = undefined; + s.b___27670 = undefined; + s.offset___27675 = undefined; + s.offset___27700 = undefined; + s.offset___27731 = undefined; + s.offset___27756 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -73877,23 +73904,23 @@ switch (step) { case 1: case 2: r0 = s.arg1.fields["_hitbox"]; - s.hbox___26173 = (r0); + s.hbox___27639 = (r0); r0 = s.arg2.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.sz___26176 = (r0); + s.sz___27642 = (r0); s.tmp_0 = ArcadePhysicsEngine_maxStep__P914_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___26181 = (r0); + s.maxMove___27647 = (r0); r0 = s.arg1.fields["_y"]; - s.origY___26183 = (r0); + s.origY___27649 = (r0); r0 = s.arg1.fields["_x"]; - s.origX___26186 = (r0); + s.origX___27652 = (r0); s.tmp_1 = game_Hitbox_left__P755_mk(s); - s.tmp_1.arg0 = s.hbox___26173; + s.tmp_1.arg0 = s.hbox___27639; s.callLocIdx = 700; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; @@ -73901,9 +73928,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.l___26189 = (r0); + s.l___27655 = (r0); s.tmp_1 = game_Hitbox_right__P757_mk(s); - s.tmp_1.arg0 = s.hbox___26173; + s.tmp_1.arg0 = s.hbox___27639; s.callLocIdx = 702; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; @@ -73911,9 +73938,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.r___26194 = (r0); + s.r___27660 = (r0); s.tmp_1 = game_Hitbox_top__P756_mk(s); - s.tmp_1.arg0 = s.hbox___26173; + s.tmp_1.arg0 = s.hbox___27639; s.callLocIdx = 704; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; @@ -73921,9 +73948,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.t___26199 = (r0); + s.t___27665 = (r0); s.tmp_1 = game_Hitbox_bottom__P758_mk(s); - s.tmp_1.arg0 = s.hbox___26173; + s.tmp_1.arg0 = s.hbox___27639; s.callLocIdx = 706; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -73931,19 +73958,19 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.b___26204 = (r0); - r0 = (s.b___26204 + 1); + s.b___27670 = (r0); + r0 = (s.b___27670 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___26176); - s.offset___26209 = (r0); - r0 = (s.offset___26209 <= s.maxMove___26181); + r0 = (s.tmp_0 % s.sz___27642); + s.offset___27675 = (r0); + r0 = (s.offset___27675 <= s.maxMove___27647); 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___26209 * 256); + r0 = (s.offset___27675 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); s.tmp_4 = r0; @@ -73969,28 +73996,28 @@ switch (step) { { step = 19; continue; } { step = 4; continue; } case 3: - r0 = (s.arg1).fields["_y"] = (s.origY___26183); + r0 = (s.arg1).fields["_y"] = (s.origY___27649); case 4: case 5: case 6: - r0 = (s.t___26199 / s.sz___26176); + r0 = (s.t___27665 / s.sz___27642); 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___26176); + r0 = (s.tmp_1 * s.sz___27642); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.t___26199); - s.offset___26234 = (r0); - r0 = (s.offset___26234 <= s.maxMove___26181); + r0 = (s.tmp_0 - s.t___27665); + s.offset___27700 = (r0); + r0 = (s.offset___27700 <= s.maxMove___27647); 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___26234 * 256); + r0 = (s.offset___27700 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); s.tmp_4 = r0; @@ -74016,22 +74043,22 @@ switch (step) { { step = 19; continue; } { step = 8; continue; } case 7: - r0 = (s.arg1).fields["_y"] = (s.origY___26183); + r0 = (s.arg1).fields["_y"] = (s.origY___27649); case 8: case 9: case 10: - r0 = (s.r___26194 + 1); + r0 = (s.r___27660 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___26176); - s.offset___26265 = (r0); - r0 = (s.offset___26265 <= s.maxMove___26181); + r0 = (s.tmp_0 % s.sz___27642); + s.offset___27731 = (r0); + r0 = (s.offset___27731 <= s.maxMove___27647); 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___26265 * 256); + r0 = (s.offset___27731 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); s.tmp_4 = r0; @@ -74057,28 +74084,28 @@ switch (step) { { step = 19; continue; } { step = 12; continue; } case 11: - r0 = (s.arg1).fields["_x"] = (s.origX___26186); + r0 = (s.arg1).fields["_x"] = (s.origX___27652); case 12: case 13: case 14: - r0 = (s.l___26189 / s.sz___26176); + r0 = (s.l___27655 / s.sz___27642); 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___26176); + r0 = (s.tmp_1 * s.sz___27642); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.l___26189); - s.offset___26290 = (r0); - r0 = (s.offset___26290 <= s.maxMove___26181); + r0 = (s.tmp_0 - s.l___27655); + s.offset___27756 = (r0); + r0 = (s.offset___27756 <= s.maxMove___27647); 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___26290 * 256); + r0 = (s.offset___27756 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); s.tmp_4 = r0; @@ -74104,7 +74131,7 @@ switch (step) { { step = 19; continue; } { step = 16; continue; } case 15: - r0 = (s.arg1).fields["_x"] = (s.origX___26186); + r0 = (s.arg1).fields["_x"] = (s.origX___27652); case 16: case 17: case 18: @@ -74126,19 +74153,19 @@ function ArcadePhysicsEngine_canResolveClipping__P927_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - hbox___26173: undefined, - sz___26176: undefined, - maxMove___26181: undefined, - origY___26183: undefined, - origX___26186: undefined, - l___26189: undefined, - r___26194: undefined, - t___26199: undefined, - b___26204: undefined, - offset___26209: undefined, - offset___26234: undefined, - offset___26265: undefined, - offset___26290: undefined, + hbox___27639: undefined, + sz___27642: undefined, + maxMove___27647: undefined, + origY___27649: undefined, + origX___27652: undefined, + l___27655: undefined, + r___27660: undefined, + t___27665: undefined, + b___27670: undefined, + offset___27675: undefined, + offset___27700: undefined, + offset___27731: undefined, + offset___27756: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -74240,38 +74267,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___26447 = undefined; - s.hbox___26470 = undefined; - s.tileScale___26473 = undefined; - s.tileSize___26476 = undefined; - s.xDiff___26480 = undefined; - s.yDiff___26487 = undefined; - s.overlappedTiles___26494 = undefined; - s.right___26499 = undefined; - s.x0___26503 = undefined; - s.collidedTiles___26518 = undefined; - s.y___26520 = undefined; - s.y0___26534 = undefined; - s.obstacle___26550 = undefined; - s.collisionDirection___26586 = undefined; - s.tile___26614 = undefined; + s.s___27850 = undefined; + s.hbox___27873 = undefined; + s.tileScale___27876 = undefined; + s.tileSize___27879 = undefined; + s.xDiff___27883 = undefined; + s.yDiff___27890 = undefined; + s.overlappedTiles___27897 = undefined; + s.right___27902 = undefined; + s.x0___27906 = undefined; + s.collidedTiles___27921 = undefined; + s.y___27923 = undefined; + s.y0___27937 = undefined; + s.obstacle___27953 = undefined; + s.collisionDirection___27988 = undefined; + s.tile___28016 = undefined; s.unnamed68___U15 = undefined; s.unnamed69___U16 = undefined; - s.down___26694 = undefined; - s.y0___26698 = undefined; - s.collidedTiles___26713 = undefined; - s.overlappedTiles___26715 = undefined; - s.x___26717 = undefined; - s.x0___26727 = undefined; - s.obstacle___26741 = undefined; - s.collisionDirection___26775 = undefined; - s.tile___26803 = undefined; + s.down___28096 = undefined; + s.y0___28100 = undefined; + s.collidedTiles___28115 = undefined; + s.overlappedTiles___28117 = undefined; + s.x___28119 = undefined; + s.x0___28129 = undefined; + s.obstacle___28143 = undefined; + s.collisionDirection___28177 = undefined; + s.tile___28205 = undefined; s.unnamed70___U26 = undefined; s.unnamed71___U27 = undefined; - s.x___26878 = undefined; - s.x0___26888 = undefined; - s.y___26898 = undefined; - s.y0___26908 = undefined; + s.x___28280 = undefined; + s.x0___28290 = undefined; + s.y___28300 = undefined; + s.y0___28310 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -74281,8 +74308,8 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, ArcadePhysicsEngine__C908_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___26447 = (r0); - r0 = s.s___26447.fields["flags"]; + s.s___27850 = (r0); + r0 = s.s___27850.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 256); s.tmp_0 = r0; @@ -74290,7 +74317,7 @@ switch (step) { if (!r0) { step = 3; continue; } s.tmp_3 = tiles_TileMap__C1086_v14_2_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.s___26447; + s.tmp_3.arg1 = s.s___27850; if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C1086_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isOnWall; s.pc = 84; return s.tmp_3; @@ -74302,7 +74329,7 @@ switch (step) { { step = 83; continue; } { step = 2; continue; } case 1: - s.tmp_4 = r0 = s.s___26447; + s.tmp_4 = r0 = s.s___27850; r0 = s.tmp_4.fields["flags"]; s.tmp_6 = r0; r0 = (s.tmp_6 & -257); @@ -74311,7 +74338,7 @@ switch (step) { case 2: case 3: case 4: - r0 = s.s___26447.fields["_image"]; + r0 = s.s___27850.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -74322,42 +74349,42 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } s.tmp_4 = Sprite_setHitbox__P791_mk(s); - s.tmp_4.arg0 = s.s___26447; + s.tmp_4.arg0 = s.s___27850; s.callLocIdx = 590; s.pc = 85; return s.tmp_4; case 85: r0 = s.retval; case 5: case 6: - r0 = s.s___26447.fields["_hitbox"]; - s.hbox___26470 = (r0); + r0 = s.s___27850.fields["_hitbox"]; + s.hbox___27873 = (r0); r0 = s.arg2.fields["_scale"]; - s.tileScale___26473 = (r0); - r0 = (1 << s.tileScale___26473); - s.tileSize___26476 = (r0); - r0 = s.s___26447.fields["_x"]; + s.tileScale___27876 = (r0); + r0 = (1 << s.tileScale___27876); + s.tileSize___27879 = (r0); + r0 = s.s___27850.fields["_x"]; s.tmp_0 = r0; - r0 = s.s___26447.fields["_lastX"]; + r0 = s.s___27850.fields["_lastX"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.xDiff___26480 = (r0); - r0 = s.s___26447.fields["_y"]; + s.xDiff___27883 = (r0); + r0 = s.s___27850.fields["_y"]; s.tmp_0 = r0; - r0 = s.s___26447.fields["_lastY"]; + r0 = s.s___27850.fields["_lastY"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.yDiff___26487 = (r0); + s.yDiff___27890 = (r0); r0 = pxsim_Array__mk(); - s.overlappedTiles___26494 = (r0); - r0 = (s.xDiff___26480 !== 0); + s.overlappedTiles___27897 = (r0); + r0 = (s.xDiff___27883 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 39; continue; } - r0 = (s.xDiff___26480 > 0); - s.right___26499 = (r0); - r0 = pxsim_numops_toBoolDecr(s.right___26499); + r0 = (s.xDiff___27883 > 0); + s.right___27902 = (r0); + r0 = pxsim_numops_toBoolDecr(s.right___27902); if (!r0) { step = 7; continue; } s.tmp_1 = game_Hitbox_right__P757_mk(s); - s.tmp_1.arg0 = s.hbox___26470; + s.tmp_1.arg0 = s.hbox___27873; s.callLocIdx = 594; s.pc = 86; return s.tmp_1; case 86: r0 = s.retval; @@ -74366,7 +74393,7 @@ switch (step) { { step = 8; continue; } case 7: s.tmp_3 = game_Hitbox_left__P755_mk(s); - s.tmp_3.arg0 = s.hbox___26470; + s.tmp_3.arg0 = s.hbox___27873; s.callLocIdx = 596; s.pc = 87; return s.tmp_3; case 87: r0 = s.retval; @@ -74377,30 +74404,30 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___26473 + 8); + r0 = (s.tileScale___27876 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.x0___26503 = (r0); + s.x0___27906 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___26518 = (r0); + s.collidedTiles___27921 = (r0); s.tmp_1 = game_Hitbox_top__P756_mk(s); - s.tmp_1.arg0 = s.hbox___26470; + s.tmp_1.arg0 = s.hbox___27873; 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___26487); - s.y___26520 = (r0); + r0 = (s.tmp_0 - s.yDiff___27890); + s.y___27923 = (r0); case 9: - s.tmp_1 = r0 = s.y___26520; - s.tmp_3 = r0 = s.tileSize___26476; + s.tmp_1 = r0 = s.y___27923; + s.tmp_3 = r0 = s.tileSize___27879; s.tmp_6 = game_Hitbox_bottom__P758_mk(s); - s.tmp_6.arg0 = s.hbox___26470; + s.tmp_6.arg0 = s.hbox___27873; 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___26487); + r0 = (s.tmp_5 - s.yDiff___27890); s.tmp_4 = r0; r0 = (s.tmp_3 << 8); s.tmp_7 = r0; @@ -74411,14 +74438,14 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } s.tmp_10 = Fx_min__P123_mk(s); - s.tmp_10.arg0 = s.y___26520; + s.tmp_10.arg0 = s.y___27923; s.tmp_12 = game_Hitbox_bottom__P758_mk(s); - s.tmp_12.arg0 = s.hbox___26470; + s.tmp_12.arg0 = s.hbox___27873; 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___26487); + r0 = (s.tmp_11 - s.yDiff___27890); s.tmp_10.arg1 = r0; s.callLocIdx = 607; s.pc = 90; return s.tmp_10; case 90: @@ -74426,14 +74453,14 @@ switch (step) { s.tmp_9 = r0; r0 = (s.tmp_9 + 128); s.tmp_8 = r0; - r0 = (s.tileScale___26473 + 8); + r0 = (s.tileScale___27876 + 8); s.tmp_13 = r0; r0 = (s.tmp_8 >> s.tmp_13); - s.y0___26534 = (r0); + s.y0___27937 = (r0); s.tmp_1 = tiles_TileMap__C1086_v12_3_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___26503; - s.tmp_1.arg2 = s.y0___26534; + s.tmp_1.arg1 = s.x0___27906; + s.tmp_1.arg2 = s.y0___27937; if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C1086_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isObstacle; s.pc = 92; return s.tmp_1; @@ -74444,19 +74471,19 @@ switch (step) { if (!r0) { step = 12; continue; } s.tmp_2 = tiles_TileMap__C1086_v13_3_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___26503; - s.tmp_2.arg2 = s.y0___26534; + s.tmp_2.arg1 = s.x0___27906; + s.tmp_2.arg2 = s.y0___27937; if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C1086_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___26550 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P26558); + s.obstacle___27953 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P27961); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___26550); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___27953); s.tmp_4 = helpers_arraySome__P58_mk(s); - s.tmp_4.arg0 = s.collidedTiles___26518; + s.tmp_4.arg0 = s.collidedTiles___27921; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 610; s.pc = 94; return s.tmp_4; case 94: @@ -74468,16 +74495,16 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__push(s.collidedTiles___26518, s.obstacle___26550); + r0 = pxsim_Array__push(s.collidedTiles___27921, s.obstacle___27953); case 10: case 11: { step = 13; continue; } case 12: - s.tmp_0 = r0 = s.overlappedTiles___26494; + s.tmp_0 = r0 = s.overlappedTiles___27897; s.tmp_2 = tiles_TileMap__C1086_v7_3_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___26503; - s.tmp_2.arg2 = s.y0___26534; + s.tmp_2.arg1 = s.x0___27906; + s.tmp_2.arg2 = s.y0___27937; if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C1086_VT)) failedCast(s.tmp_2.arg0); s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.getTile; s.pc = 95; return s.tmp_2; @@ -74486,17 +74513,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); case 13: - r0 = (s.tileSize___26476 << 8); + r0 = (s.tileSize___27879 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___26520); - s.y___26520 = (r0); + r0 = (s.tmp_0 + s.y___27923); + s.y___27923 = (r0); { step = 9; continue; } case 14: - r0 = pxsim_Array__length(s.collidedTiles___26518); + r0 = pxsim_Array__length(s.collidedTiles___27921); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 37; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___26499); + r0 = pxsim_numops_toBoolDecr(s.right___27902); if (!r0) { step = 15; continue; } r0 = 2; { step = 16; continue; } @@ -74505,23 +74532,23 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___26586 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.right___26499); + s.collisionDirection___27988 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.right___27902); if (!r0) { step = 17; continue; } - r0 = (s.x0___26503 << s.tileScale___26473); + r0 = (s.x0___27906 << s.tileScale___27876); 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___26470.fields["width"]; + r0 = s.hbox___27873.fields["width"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 18; continue; } case 17: - r0 = (s.x0___26503 + 1); + r0 = (s.x0___27906 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___26473); + r0 = (s.tmp_5 << s.tileScale___27876); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -74529,14 +74556,14 @@ switch (step) { case 18: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___26447; - r0 = s.hbox___26470.fields["ox"]; + s.tmp_8 = r0 = s.s___27850; + r0 = s.hbox___27873.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___26614 = (undefined); - s.unnamed68___U15 = (s.collidedTiles___26518); + s.tile___28016 = (undefined); + s.unnamed68___U15 = (s.collidedTiles___27921); s.unnamed69___U16 = (0); case 19: s.tmp_0 = r0 = s.unnamed69___U16; @@ -74545,11 +74572,11 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } r0 = pxsim_Array__getAt(s.unnamed68___U15, s.unnamed69___U16); - s.tile___26614 = (r0); + s.tile___28016 = (r0); s.tmp_2 = Sprite_registerObstacle__P819_mk(s); - s.tmp_2.arg0 = s.s___26447; - s.tmp_2.arg1 = s.collisionDirection___26586; - s.tmp_2.arg2 = s.tile___26614; + s.tmp_2.arg0 = s.s___27850; + s.tmp_2.arg1 = s.collisionDirection___27988; + s.tmp_2.arg2 = s.tile___28016; s.tmp_2.arg3 = s.arg2; s.callLocIdx = 616; s.pc = 96; return s.tmp_2; case 96: @@ -74559,14 +74586,14 @@ switch (step) { { step = 19; continue; } case 20: s.unnamed68___U15 = (undefined); - r0 = s.s___26447.fields["flags"]; + r0 = s.s___27850.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__P821_mk(s); - s.tmp_2.arg0 = s.s___26447; + s.tmp_2.arg0 = s.s___27850; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 617; s.pc = 97; return s.tmp_2; @@ -74574,7 +74601,7 @@ switch (step) { r0 = s.retval; { step = 36; continue; } case 21: - r0 = s.s___26447.fields["_vx"]; + r0 = s.s___27850.fields["_vx"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVx"]; s.tmp_2 = r0; @@ -74582,13 +74609,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = s.s___26447.fields["flags"]; + r0 = s.s___27850.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___26499); + r0 = pxsim_numops_toBoolDecr(s.right___27902); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -74598,7 +74625,7 @@ switch (step) { { step = 23; continue; } case 22: s.tmp_8 = Sprite_vx__P774_mk(s); - s.tmp_8.arg0 = s.s___26447; + s.tmp_8.arg0 = s.s___27850; s.callLocIdx = 618; s.pc = 98; return s.tmp_8; case 98: r0 = s.retval; @@ -74612,14 +74639,14 @@ switch (step) { r0 = s.tmp_9; { step = 27; continue; } case 24: - s.tmp_10 = r0 = s.right___26499; + s.tmp_10 = r0 = s.right___27902; 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__P774_mk(s); - s.tmp_12.arg0 = s.s___26447; + s.tmp_12.arg0 = s.s___27850; s.callLocIdx = 619; s.pc = 99; return s.tmp_12; case 99: r0 = s.retval; @@ -74634,8 +74661,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___26447; - r0 = s.s___26447.fields["_vx"]; + s.tmp_15 = r0 = s.s___27850; + r0 = s.s___27850.fields["_vx"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -74657,12 +74684,12 @@ switch (step) { { step = 31; continue; } case 30: r0 = (s.arg1).fields["dx"] = (0); - r0 = (s.s___26447).fields["_vx"] = (0); + r0 = (s.s___27850).fields["_vx"] = (0); case 31: { step = 35; continue; } case 32: s.tmp_2 = Math_sign__P77_mk(s); - r0 = s.s___26447.fields["_vx"]; + r0 = s.s___27850.fields["_vx"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -74696,16 +74723,16 @@ switch (step) { case 38: case 39: case 40: - r0 = (s.yDiff___26487 !== 0); + r0 = (s.yDiff___27890 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 73; continue; } - r0 = (s.yDiff___26487 > 0); - s.down___26694 = (r0); - r0 = pxsim_numops_toBoolDecr(s.down___26694); + r0 = (s.yDiff___27890 > 0); + s.down___28096 = (r0); + r0 = pxsim_numops_toBoolDecr(s.down___28096); if (!r0) { step = 41; continue; } s.tmp_1 = game_Hitbox_bottom__P758_mk(s); - s.tmp_1.arg0 = s.hbox___26470; + s.tmp_1.arg0 = s.hbox___27873; s.callLocIdx = 627; s.pc = 102; return s.tmp_1; case 102: r0 = s.retval; @@ -74714,7 +74741,7 @@ switch (step) { { step = 42; continue; } case 41: s.tmp_3 = game_Hitbox_top__P756_mk(s); - s.tmp_3.arg0 = s.hbox___26470; + s.tmp_3.arg0 = s.hbox___27873; s.callLocIdx = 629; s.pc = 103; return s.tmp_3; case 103: r0 = s.retval; @@ -74725,25 +74752,25 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___26473 + 8); + r0 = (s.tileScale___27876 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.y0___26698 = (r0); + s.y0___28100 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___26713 = (r0); + s.collidedTiles___28115 = (r0); r0 = pxsim_Array__mk(); - s.overlappedTiles___26715 = (r0); + s.overlappedTiles___28117 = (r0); s.tmp_0 = game_Hitbox_left__P755_mk(s); - s.tmp_0.arg0 = s.hbox___26470; + s.tmp_0.arg0 = s.hbox___27873; s.callLocIdx = 633; s.pc = 104; return s.tmp_0; case 104: r0 = s.retval; - s.x___26717 = (r0); + s.x___28119 = (r0); case 43: - s.tmp_1 = r0 = s.x___26717; - s.tmp_3 = r0 = s.tileSize___26476; + s.tmp_1 = r0 = s.x___28119; + s.tmp_3 = r0 = s.tileSize___27879; s.tmp_5 = game_Hitbox_right__P757_mk(s); - s.tmp_5.arg0 = s.hbox___26470; + s.tmp_5.arg0 = s.hbox___27873; s.callLocIdx = 634; s.pc = 105; return s.tmp_5; case 105: r0 = s.retval; @@ -74757,9 +74784,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 48; continue; } s.tmp_9 = Fx_min__P123_mk(s); - s.tmp_9.arg0 = s.x___26717; + s.tmp_9.arg0 = s.x___28119; s.tmp_10 = game_Hitbox_right__P757_mk(s); - s.tmp_10.arg0 = s.hbox___26470; + s.tmp_10.arg0 = s.hbox___27873; s.callLocIdx = 636; s.pc = 107; return s.tmp_10; case 107: r0 = s.retval; @@ -74770,14 +74797,14 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___26473 + 8); + r0 = (s.tileScale___27876 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___26727 = (r0); + s.x0___28129 = (r0); s.tmp_1 = tiles_TileMap__C1086_v12_3_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___26727; - s.tmp_1.arg2 = s.y0___26698; + s.tmp_1.arg1 = s.x0___28129; + s.tmp_1.arg2 = s.y0___28100; if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C1086_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isObstacle; s.pc = 108; return s.tmp_1; @@ -74788,19 +74815,19 @@ switch (step) { if (!r0) { step = 46; continue; } s.tmp_2 = tiles_TileMap__C1086_v13_3_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___26727; - s.tmp_2.arg2 = s.y0___26698; + s.tmp_2.arg1 = s.x0___28129; + s.tmp_2.arg2 = s.y0___28100; if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C1086_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___26741 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P26749); + s.obstacle___28143 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P28151); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___26741); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___28143); s.tmp_4 = helpers_arraySome__P58_mk(s); - s.tmp_4.arg0 = s.collidedTiles___26713; + s.tmp_4.arg0 = s.collidedTiles___28115; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 640; s.pc = 110; return s.tmp_4; case 110: @@ -74812,16 +74839,16 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 44; continue; } - r0 = pxsim_Array__push(s.collidedTiles___26713, s.obstacle___26741); + r0 = pxsim_Array__push(s.collidedTiles___28115, s.obstacle___28143); case 44: case 45: { step = 47; continue; } case 46: - s.tmp_0 = r0 = s.overlappedTiles___26715; + s.tmp_0 = r0 = s.overlappedTiles___28117; s.tmp_2 = tiles_TileMap__C1086_v7_3_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___26727; - s.tmp_2.arg2 = s.y0___26698; + s.tmp_2.arg1 = s.x0___28129; + s.tmp_2.arg2 = s.y0___28100; if (!checkSubtype(s.tmp_2.arg0, tiles_TileMap__C1086_VT)) failedCast(s.tmp_2.arg0); s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.getTile; s.pc = 111; return s.tmp_2; @@ -74830,17 +74857,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); case 47: - r0 = (s.tileSize___26476 << 8); + r0 = (s.tileSize___27879 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___26717); - s.x___26717 = (r0); + r0 = (s.tmp_0 + s.x___28119); + s.x___28119 = (r0); { step = 43; continue; } case 48: - r0 = pxsim_Array__length(s.collidedTiles___26713); + r0 = pxsim_Array__length(s.collidedTiles___28115); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 71; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___26694); + r0 = pxsim_numops_toBoolDecr(s.down___28096); if (!r0) { step = 49; continue; } r0 = 3; { step = 50; continue; } @@ -74849,23 +74876,23 @@ switch (step) { case 50: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___26775 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.down___26694); + s.collisionDirection___28177 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.down___28096); if (!r0) { step = 51; continue; } - r0 = (s.y0___26698 << s.tileScale___26473); + r0 = (s.y0___28100 << s.tileScale___27876); 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___26470.fields["height"]; + r0 = s.hbox___27873.fields["height"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 52; continue; } case 51: - r0 = (s.y0___26698 + 1); + r0 = (s.y0___28100 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___26473); + r0 = (s.tmp_5 << s.tileScale___27876); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -74873,14 +74900,14 @@ switch (step) { case 52: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___26447; - r0 = s.hbox___26470.fields["oy"]; + s.tmp_8 = r0 = s.s___27850; + r0 = s.hbox___27873.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___26803 = (undefined); - s.unnamed70___U26 = (s.collidedTiles___26713); + s.tile___28205 = (undefined); + s.unnamed70___U26 = (s.collidedTiles___28115); s.unnamed71___U27 = (0); case 53: s.tmp_0 = r0 = s.unnamed71___U27; @@ -74889,11 +74916,11 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 54; continue; } r0 = pxsim_Array__getAt(s.unnamed70___U26, s.unnamed71___U27); - s.tile___26803 = (r0); + s.tile___28205 = (r0); s.tmp_2 = Sprite_registerObstacle__P819_mk(s); - s.tmp_2.arg0 = s.s___26447; - s.tmp_2.arg1 = s.collisionDirection___26775; - s.tmp_2.arg2 = s.tile___26803; + s.tmp_2.arg0 = s.s___27850; + s.tmp_2.arg1 = s.collisionDirection___28177; + s.tmp_2.arg2 = s.tile___28205; s.tmp_2.arg3 = s.arg2; s.callLocIdx = 646; s.pc = 112; return s.tmp_2; case 112: @@ -74903,14 +74930,14 @@ switch (step) { { step = 53; continue; } case 54: s.unnamed70___U26 = (undefined); - r0 = s.s___26447.fields["flags"]; + r0 = s.s___27850.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__P821_mk(s); - s.tmp_2.arg0 = s.s___26447; + s.tmp_2.arg0 = s.s___27850; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 647; s.pc = 113; return s.tmp_2; @@ -74918,7 +74945,7 @@ switch (step) { r0 = s.retval; { step = 70; continue; } case 55: - r0 = s.s___26447.fields["_vy"]; + r0 = s.s___27850.fields["_vy"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVy"]; s.tmp_2 = r0; @@ -74926,13 +74953,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 66; continue; } - r0 = s.s___26447.fields["flags"]; + r0 = s.s___27850.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___26694); + r0 = pxsim_numops_toBoolDecr(s.down___28096); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -74942,7 +74969,7 @@ switch (step) { { step = 57; continue; } case 56: s.tmp_8 = Sprite_vy__P776_mk(s); - s.tmp_8.arg0 = s.s___26447; + s.tmp_8.arg0 = s.s___27850; s.callLocIdx = 648; s.pc = 114; return s.tmp_8; case 114: r0 = s.retval; @@ -74956,14 +74983,14 @@ switch (step) { r0 = s.tmp_9; { step = 61; continue; } case 58: - s.tmp_10 = r0 = s.down___26694; + s.tmp_10 = r0 = s.down___28096; 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__P776_mk(s); - s.tmp_12.arg0 = s.s___26447; + s.tmp_12.arg0 = s.s___27850; s.callLocIdx = 649; s.pc = 115; return s.tmp_12; case 115: r0 = s.retval; @@ -74978,8 +75005,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___26447; - r0 = s.s___26447.fields["_vy"]; + s.tmp_15 = r0 = s.s___27850; + r0 = s.s___27850.fields["_vy"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -75001,12 +75028,12 @@ switch (step) { { step = 65; continue; } case 64: r0 = (s.arg1).fields["dy"] = (0); - r0 = (s.s___26447).fields["_vy"] = (0); + r0 = (s.s___27850).fields["_vy"] = (0); case 65: { step = 69; continue; } case 66: s.tmp_2 = Math_sign__P77_mk(s); - r0 = s.s___26447.fields["_vy"]; + r0 = s.s___27850.fields["_vy"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -75041,16 +75068,16 @@ switch (step) { case 73: case 74: s.tmp_0 = game_Hitbox_left__P755_mk(s); - s.tmp_0.arg0 = s.hbox___26470; + s.tmp_0.arg0 = s.hbox___27873; s.callLocIdx = 657; s.pc = 118; return s.tmp_0; case 118: r0 = s.retval; - s.x___26878 = (r0); + s.x___28280 = (r0); case 75: - s.tmp_1 = r0 = s.x___26878; - s.tmp_3 = r0 = s.tileSize___26476; + s.tmp_1 = r0 = s.x___28280; + s.tmp_3 = r0 = s.tileSize___27879; s.tmp_5 = game_Hitbox_right__P757_mk(s); - s.tmp_5.arg0 = s.hbox___26470; + s.tmp_5.arg0 = s.hbox___27873; s.callLocIdx = 658; s.pc = 119; return s.tmp_5; case 119: r0 = s.retval; @@ -75064,9 +75091,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 80; continue; } s.tmp_9 = Fx_min__P123_mk(s); - s.tmp_9.arg0 = s.x___26878; + s.tmp_9.arg0 = s.x___28280; s.tmp_10 = game_Hitbox_right__P757_mk(s); - s.tmp_10.arg0 = s.hbox___26470; + s.tmp_10.arg0 = s.hbox___27873; s.callLocIdx = 660; s.pc = 121; return s.tmp_10; case 121: r0 = s.retval; @@ -75077,21 +75104,21 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___26473 + 8); + r0 = (s.tileScale___27876 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___26888 = (r0); + s.x0___28290 = (r0); s.tmp_0 = game_Hitbox_top__P756_mk(s); - s.tmp_0.arg0 = s.hbox___26470; + s.tmp_0.arg0 = s.hbox___27873; s.callLocIdx = 664; s.pc = 122; return s.tmp_0; case 122: r0 = s.retval; - s.y___26898 = (r0); + s.y___28300 = (r0); case 76: - s.tmp_1 = r0 = s.y___26898; - s.tmp_3 = r0 = s.tileSize___26476; + s.tmp_1 = r0 = s.y___28300; + s.tmp_3 = r0 = s.tileSize___27879; s.tmp_5 = game_Hitbox_bottom__P758_mk(s); - s.tmp_5.arg0 = s.hbox___26470; + s.tmp_5.arg0 = s.hbox___27873; s.callLocIdx = 665; s.pc = 123; return s.tmp_5; case 123: r0 = s.retval; @@ -75105,9 +75132,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 79; continue; } s.tmp_9 = Fx_min__P123_mk(s); - s.tmp_9.arg0 = s.y___26898; + s.tmp_9.arg0 = s.y___28300; s.tmp_10 = game_Hitbox_bottom__P758_mk(s); - s.tmp_10.arg0 = s.hbox___26470; + s.tmp_10.arg0 = s.hbox___27873; s.callLocIdx = 667; s.pc = 125; return s.tmp_10; case 125: r0 = s.retval; @@ -75118,14 +75145,14 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___26473 + 8); + r0 = (s.tileScale___27876 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.y0___26908 = (r0); + s.y0___28310 = (r0); s.tmp_3 = tiles_TileMap__C1086_v12_3_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.x0___26888; - s.tmp_3.arg2 = s.y0___26908; + s.tmp_3.arg1 = s.x0___28290; + s.tmp_3.arg2 = s.y0___28310; if (!checkSubtype(s.tmp_3.arg0, tiles_TileMap__C1086_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isObstacle; s.pc = 126; return s.tmp_3; @@ -75138,11 +75165,11 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 77; continue; } - s.tmp_4 = r0 = s.overlappedTiles___26494; + s.tmp_4 = r0 = s.overlappedTiles___27897; s.tmp_6 = tiles_TileMap__C1086_v7_3_mk(s); s.tmp_6.arg0 = s.arg2; - s.tmp_6.arg1 = s.x0___26888; - s.tmp_6.arg2 = s.y0___26908; + s.tmp_6.arg1 = s.x0___28290; + s.tmp_6.arg2 = s.y0___28310; if (!checkSubtype(s.tmp_6.arg0, tiles_TileMap__C1086_VT)) failedCast(s.tmp_6.arg0); s.tmp_6.fn = s.tmp_6.arg0.vtable.methods.getTile; s.pc = 127; return s.tmp_6; @@ -75152,26 +75179,26 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_4, s.tmp_5); case 77: case 78: - r0 = (s.tileSize___26476 << 8); + r0 = (s.tileSize___27879 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___26898); - s.y___26898 = (r0); + r0 = (s.tmp_0 + s.y___28300); + s.y___28300 = (r0); { step = 76; continue; } case 79: - r0 = (s.tileSize___26476 << 8); + r0 = (s.tileSize___27879 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___26878); - s.x___26878 = (r0); + r0 = (s.tmp_0 + s.x___28280); + s.x___28280 = (r0); { step = 75; continue; } case 80: - r0 = pxsim_Array__length(s.overlappedTiles___26494); + r0 = pxsim_Array__length(s.overlappedTiles___27897); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 81; continue; } s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P924_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.s___26447; - s.tmp_1.arg2 = s.overlappedTiles___26494; + s.tmp_1.arg1 = s.s___27850; + s.tmp_1.arg2 = s.overlappedTiles___27897; s.callLocIdx = 673; s.pc = 128; return s.tmp_1; case 128: r0 = s.retval; @@ -75207,38 +75234,38 @@ function ArcadePhysicsEngine_tilemapCollisions__P923_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - s___26447: undefined, - hbox___26470: undefined, - tileScale___26473: undefined, - tileSize___26476: undefined, - xDiff___26480: undefined, - yDiff___26487: undefined, - overlappedTiles___26494: undefined, - right___26499: undefined, - x0___26503: undefined, - collidedTiles___26518: undefined, - y___26520: undefined, - y0___26534: undefined, - obstacle___26550: undefined, - collisionDirection___26586: undefined, - tile___26614: undefined, + s___27850: undefined, + hbox___27873: undefined, + tileScale___27876: undefined, + tileSize___27879: undefined, + xDiff___27883: undefined, + yDiff___27890: undefined, + overlappedTiles___27897: undefined, + right___27902: undefined, + x0___27906: undefined, + collidedTiles___27921: undefined, + y___27923: undefined, + y0___27937: undefined, + obstacle___27953: undefined, + collisionDirection___27988: undefined, + tile___28016: undefined, unnamed68___U15: undefined, unnamed69___U16: undefined, - down___26694: undefined, - y0___26698: undefined, - collidedTiles___26713: undefined, - overlappedTiles___26715: undefined, - x___26717: undefined, - x0___26727: undefined, - obstacle___26741: undefined, - collisionDirection___26775: undefined, - tile___26803: undefined, + down___28096: undefined, + y0___28100: undefined, + collidedTiles___28115: undefined, + overlappedTiles___28117: undefined, + x___28119: undefined, + x0___28129: undefined, + obstacle___28143: undefined, + collisionDirection___28177: undefined, + tile___28205: undefined, unnamed70___U26: undefined, unnamed71___U27: undefined, - x___26878: undefined, - x0___26888: undefined, - y___26898: undefined, - y0___26908: undefined, + x___28280: undefined, + x0___28290: undefined, + y___28300: undefined, + y0___28310: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -75248,7 +75275,7 @@ function ArcadePhysicsEngine_tilemapCollisions__P923_mk(s) { -function inline__P26558(s) { +function inline__P27961(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75270,12 +75297,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P26558.info = {"start":13579,"length":39,"line":415,"column":44,"endLine":415,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +inline__P27961.info = {"start":13579,"length":39,"line":415,"column":44,"endLine":415,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function inline__P26558_mk(s) { +function inline__P27961_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P26558, depth: s.depth + 1, + parent: s, fn: inline__P27961, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -75286,7 +75313,7 @@ function inline__P26558_mk(s) { -function inline__P26749(s) { +function inline__P28151(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75308,12 +75335,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P26749.info = {"start":16814,"length":39,"line":497,"column":44,"endLine":497,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +inline__P28151.info = {"start":16814,"length":39,"line":497,"column":44,"endLine":497,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function inline__P26749_mk(s) { +function inline__P28151_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P26749, depth: s.depth + 1, + parent: s, fn: inline__P28151, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -75334,8 +75361,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___27161 = undefined; - s.tile___27173 = undefined; + s.index___28547 = undefined; + s.tile___28559 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -75349,7 +75376,7 @@ switch (step) { s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; - s.callLocIdx = 774; s.pc = 3; return s.tmp_1; + s.callLocIdx = 776; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; @@ -75363,26 +75390,26 @@ switch (step) { s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; s.tmp_2.arg2 = s.arg2; - s.callLocIdx = 775; s.pc = 4; return s.tmp_2; + s.callLocIdx = 777; 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___27161 = (s.tmp_3); + s.index___28547 = (s.tmp_3); s.tmp_0 = tiles_TileMapData_getTileImage__P1081_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___27161; - s.callLocIdx = 776; s.pc = 5; return s.tmp_0; + s.tmp_0.arg1 = s.index___28547; + s.callLocIdx = 778; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tile___27173 = (r0); + s.tile___28559 = (r0); r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C872_VT); s.tmp_0 = r0; s.tmp_1 = sprites_StaticObstacle_constructor__P879_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.tile___27173; + s.tmp_1.arg1 = s.tile___28559; s.tmp_2 = r0 = s.arg2; r0 = s.arg0.fields["_scale"]; s.tmp_3 = r0; @@ -75401,8 +75428,8 @@ switch (step) { case 7: r0 = s.retval; s.tmp_1.arg4 = r0; - s.tmp_1.arg5 = s.index___27161; - s.callLocIdx = 779; s.pc = 6; return s.tmp_1; + s.tmp_1.arg5 = s.index___28547; + s.callLocIdx = 781; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; r0 = s.tmp_0; @@ -75423,8 +75450,8 @@ function tiles_TileMap_getObstacle__P1107_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - index___27161: undefined, - tile___27173: undefined, + index___28547: undefined, + tile___28559: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -75543,7 +75570,7 @@ switch (step) { s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; s.tmp_1.arg3 = s.arg0; - s.callLocIdx = 749; s.pc = 1; return s.tmp_1; + s.callLocIdx = 751; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = s.tmp_0; @@ -75621,11 +75648,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.alreadyHandled___26947 = undefined; - s.tile___26950 = undefined; + s.alreadyHandled___28349 = undefined; + s.tile___28352 = undefined; s.unnamed72___U2 = undefined; s.unnamed73___U3 = undefined; - s.tileOverlapHandlers___26971 = undefined; + s.tileOverlapHandlers___28373 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -75635,8 +75662,8 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, ArcadePhysicsEngine__C908_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.alreadyHandled___26947 = (r0); - s.tile___26950 = (undefined); + s.alreadyHandled___28349 = (r0); + s.tile___28352 = (undefined); s.unnamed72___U2 = (s.arg2); s.unnamed73___U3 = (0); case 1: @@ -75646,12 +75673,12 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 7; continue; } r0 = pxsim_Array__getAt(s.unnamed72___U2, s.unnamed73___U3); - s.tile___26950 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P26954); + s.tile___28352 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P28356); s.tmp_2 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___26950); + r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___28352); s.tmp_4 = helpers_arraySome__P58_mk(s); - s.tmp_4.arg0 = s.alreadyHandled___26947; + s.tmp_4.arg0 = s.alreadyHandled___28349; s.tmp_4.arg1 = s.tmp_2; s.callLocIdx = 678; s.pc = 8; return s.tmp_4; case 8: @@ -75662,26 +75689,26 @@ switch (step) { { step = 6; continue; } case 2: case 3: - r0 = pxsim_Array__push(s.alreadyHandled___26947, s.tile___26950); + r0 = pxsim_Array__push(s.alreadyHandled___28349, s.tile___28352); s.tmp_0 = game_currentScene__P961_mk(s); s.callLocIdx = 679; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = r0.fields["tileOverlapHandlers"]; - s.tileOverlapHandlers___26971 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___26971); + s.tileOverlapHandlers___28373 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___28373); if (!r0) { step = 4; continue; } - r0 = pxsim_pxtcore_mkAction(2, inline__P26979); + r0 = pxsim_pxtcore_mkAction(2, inline__P28381); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___26950); - r0 = pxsim_pxtcore_mkAction(2, inline__P26996); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___28352); + r0 = pxsim_pxtcore_mkAction(2, inline__P28398); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___26950); + r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___28352); s.tmp_2 = helpers_arrayForEach__P60_mk(s); s.tmp_3 = helpers_arrayFilter__P61_mk(s); - s.tmp_3.arg0 = s.tileOverlapHandlers___26971; + s.tmp_3.arg0 = s.tileOverlapHandlers___28373; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 682; s.pc = 11; return s.tmp_3; case 11: @@ -75715,11 +75742,11 @@ function ArcadePhysicsEngine_tilemapOverlaps__P924_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - alreadyHandled___26947: undefined, - tile___26950: undefined, + alreadyHandled___28349: undefined, + tile___28352: undefined, unnamed72___U2: undefined, unnamed73___U3: undefined, - tileOverlapHandlers___26971: undefined, + tileOverlapHandlers___28373: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -75729,7 +75756,7 @@ function ArcadePhysicsEngine_tilemapOverlaps__P924_mk(s) { -function inline__P26954(s) { +function inline__P28356(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75766,12 +75793,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P26954.info = {"start":20567,"length":45,"line":599,"column":36,"endLine":599,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} +inline__P28356.info = {"start":20567,"length":45,"line":599,"column":36,"endLine":599,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} -function inline__P26954_mk(s) { +function inline__P28356_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P26954, depth: s.depth + 1, + parent: s, fn: inline__P28356, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -75786,7 +75813,7 @@ function inline__P26954_mk(s) { -function inline__P26979(s) { +function inline__P28381(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75827,12 +75854,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P26979.info = {"start":20881,"length":81,"line":607,"column":28,"endLine":607,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P28381.info = {"start":20881,"length":81,"line":607,"column":28,"endLine":607,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P26979_mk(s) { +function inline__P28381_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P26979, depth: s.depth + 1, + parent: s, fn: inline__P28381, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -75848,7 +75875,7 @@ function inline__P26979_mk(s) { -function inline__P26996(s) { +function inline__P28398(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75881,12 +75908,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P26996.info = {"start":20993,"length":28,"line":608,"column":29,"endLine":608,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P28398.info = {"start":20993,"length":28,"line":608,"column":29,"endLine":608,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P26996_mk(s) { +function inline__P28398_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P26996, depth: s.depth + 1, + parent: s, fn: inline__P28398, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -75906,16 +75933,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___27004 = undefined; + s.scene___28406 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } s.tmp_0 = game_currentScene__P961_mk(s); - s.callLocIdx = 793; s.pc = 6; return s.tmp_0; + s.callLocIdx = 795; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___27004 = (r0); + s.scene___28406 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -75925,7 +75952,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___27004.fields["tileMap"]; + r0 = s.scene___28406.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -75935,16 +75962,16 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim.image.ofBuffer(_hex27014); + r0 = pxsim.image.ofBuffer(_hex28416); { step = 5; continue; } case 3: case 4: s.tmp_5 = tiles_TileMap__C1086_v15_2_mk(s); - r0 = s.scene___27004.fields["tileMap"]; + r0 = s.scene___28406.fields["tileMap"]; s.tmp_5.arg0 = r0; s.tmp_6 = tiles_Location_tileSet__P1059_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 794; s.pc = 8; return s.tmp_6; + s.callLocIdx = 796; s.pc = 8; return s.tmp_6; case 8: r0 = s.retval; s.tmp_5.arg1 = r0; @@ -75971,11 +75998,11 @@ function tiles_getTileImage__P1117_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - scene___27004: undefined, + scene___28406: undefined, arg0: undefined, } } -const _hex27014 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") +const _hex28416 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") @@ -76007,7 +76034,7 @@ switch (step) { r0 = s.retval; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 792; s.pc = 1; return s.tmp_0; + s.callLocIdx = 794; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) @@ -76157,10 +76184,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.collisionHandlers___27051 = undefined; - s.wallCollisionHandlers___27059 = undefined; - s.wallHandlersToRun___27084 = undefined; - s.asTileLocation___27097 = undefined; + s.collisionHandlers___28450 = undefined; + s.wallCollisionHandlers___28458 = undefined; + s.wallHandlersToRun___28483 = undefined; + s.asTileLocation___28496 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -76193,24 +76220,24 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_2); - s.collisionHandlers___27051 = (r0); + s.collisionHandlers___28450 = (r0); s.tmp_0 = game_currentScene__P961_mk(s); s.callLocIdx = 423; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["wallCollisionHandlers"]; - s.wallCollisionHandlers___27059 = (r0); - r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___27051); + s.wallCollisionHandlers___28458 = (r0); + r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___28450); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P27067); + r0 = pxsim_pxtcore_mkAction(1, inline__P28466); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P27073); + r0 = pxsim_pxtcore_mkAction(1, inline__P28472); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); s.tmp_2 = helpers_arrayForEach__P60_mk(s); s.tmp_3 = helpers_arrayFilter__P61_mk(s); - s.tmp_3.arg0 = s.collisionHandlers___27051; + s.tmp_3.arg0 = s.collisionHandlers___28450; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 425; s.pc = 13; return s.tmp_3; case 13: @@ -76222,7 +76249,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___27059); + r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___28458); if (!r0) { step = 7; continue; } s.tmp_0 = r0 = s.arg3; r0 = pxsim_numops_toBool(s.tmp_0); @@ -76239,17 +76266,17 @@ switch (step) { // jmp value (already in r0) s.tmp_2 = r0; s.arg3 = (s.tmp_2); - r0 = pxsim_pxtcore_mkAction(1, inline__P27086); + r0 = pxsim_pxtcore_mkAction(1, inline__P28485); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = helpers_arrayFilter__P61_mk(s); - s.tmp_1.arg0 = s.wallCollisionHandlers___27059; + s.tmp_1.arg0 = s.wallCollisionHandlers___28458; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 430; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.wallHandlersToRun___27084 = (r0); - r0 = pxsim_Array__length(s.wallHandlersToRun___27084); + s.wallHandlersToRun___28483 = (r0); + r0 = pxsim_Array__length(s.wallHandlersToRun___28483); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } @@ -76294,13 +76321,13 @@ switch (step) { s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - s.asTileLocation___27097 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P27115); + s.asTileLocation___28496 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P28514); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___27097); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___28496); s.tmp_1 = helpers_arrayForEach__P60_mk(s); - s.tmp_1.arg0 = s.wallHandlersToRun___27084; + s.tmp_1.arg0 = s.wallHandlersToRun___28483; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 436; s.pc = 19; return s.tmp_1; case 19: @@ -76328,10 +76355,10 @@ function Sprite_registerObstacle__P819_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - collisionHandlers___27051: undefined, - wallCollisionHandlers___27059: undefined, - wallHandlersToRun___27084: undefined, - asTileLocation___27097: undefined, + collisionHandlers___28450: undefined, + wallCollisionHandlers___28458: undefined, + wallHandlersToRun___28483: undefined, + asTileLocation___28496: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -76342,7 +76369,7 @@ function Sprite_registerObstacle__P819_mk(s) { -function inline__P27067(s) { +function inline__P28466(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76364,12 +76391,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P27067.info = {"start":27270,"length":26,"line":824,"column":24,"endLine":824,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P28466.info = {"start":27270,"length":26,"line":824,"column":24,"endLine":824,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P27067_mk(s) { +function inline__P28466_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27067, depth: s.depth + 1, + parent: s, fn: inline__P28466, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -76380,7 +76407,7 @@ function inline__P27067_mk(s) { -function inline__P27073(s) { +function inline__P28472(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76412,12 +76439,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P27073.info = {"start":27323,"length":20,"line":825,"column":25,"endLine":825,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P28472.info = {"start":27323,"length":20,"line":825,"column":25,"endLine":825,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P27073_mk(s) { +function inline__P28472_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27073, depth: s.depth + 1, + parent: s, fn: inline__P28472, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -76427,7 +76454,7 @@ function inline__P27073_mk(s) { -function inline__P27086(s) { +function inline__P28485(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76449,12 +76476,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P27086.info = {"start":27529,"length":32,"line":830,"column":24,"endLine":830,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P28485.info = {"start":27529,"length":32,"line":830,"column":24,"endLine":830,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P27086_mk(s) { +function inline__P28485_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27086, depth: s.depth + 1, + parent: s, fn: inline__P28485, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -76465,7 +76492,7 @@ function inline__P27086_mk(s) { -function inline__P27115(s) { +function inline__P28514(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76498,12 +76525,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P27115.info = {"start":27769,"length":36,"line":834,"column":29,"endLine":834,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P28514.info = {"start":27769,"length":36,"line":834,"column":29,"endLine":834,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P27115_mk(s) { +function inline__P28514_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27115, depth: s.depth + 1, + parent: s, fn: inline__P28514, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -76607,26 +76634,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___27143 = undefined; - s.i___27146 = undefined; + s.len___28529 = undefined; + s.i___28532 = 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___27143 = (r0); - s.i___27146 = (0); + s.len___28529 = (r0); + s.i___28532 = (0); case 1: - r0 = (s.i___27146 < s.len___27143); + r0 = (s.i___28532 < s.len___28529); 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___27146); + r0 = pxsim_Array__getAt(s.arg0, s.i___28532); s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.i___27146; + s.tmp_2.arg1 = s.i___28532; setupLambda(s.tmp_2, s.tmp_2.argL); s.callLocIdx = 5; s.pc = 6; return s.tmp_2; case 6: @@ -76638,8 +76665,8 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.i___27146 + 1); - s.i___27146 = (r0); + r0 = (s.i___28532 + 1); + s.i___28532 = (r0); { step = 1; continue; } case 4: r0 = false; @@ -76657,8 +76684,8 @@ function helpers_arraySome__P58_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___27143: undefined, - i___27146: undefined, + len___28529: undefined, + i___28532: undefined, arg0: undefined, arg1: undefined, } } @@ -76732,25 +76759,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtf___27236 = undefined; - s.dtSec___27243 = undefined; - s.dt2___27247 = undefined; - s.scene___27251 = undefined; - s.tileMap___27254 = undefined; - s.movingSprites___27257 = undefined; - s.MAX_STEP_COUNT___27288 = undefined; - s.overlapHandlers___27299 = undefined; - s.selected___27306 = undefined; - s.buffers___27307 = undefined; - s.count___27311 = undefined; - s.currMovers___27321 = undefined; - s.remainingMovers___27328 = undefined; - s.ms___27333 = undefined; + s.dtf___28594 = undefined; + s.dtSec___28601 = undefined; + s.dt2___28605 = undefined; + s.scene___28609 = undefined; + s.tileMap___28612 = undefined; + s.movingSprites___28615 = undefined; + s.MAX_STEP_COUNT___28646 = undefined; + s.overlapHandlers___28657 = undefined; + s.selected___28664 = undefined; + s.buffers___28665 = undefined; + s.count___28669 = undefined; + s.currMovers___28679 = undefined; + s.remainingMovers___28686 = undefined; + s.ms___28691 = undefined; s.unnamed62___U14 = undefined; s.unnamed63___U15 = undefined; - s.s___27335 = undefined; - s.stepX___27428 = undefined; - s.stepY___27442 = undefined; + s.s___28693 = undefined; + s.stepX___28786 = undefined; + s.stepY___28800 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -76769,23 +76796,23 @@ switch (step) { s.callLocIdx = 517; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; - s.dtf___27236 = (r0); - r0 = pxsim.Math_.idiv(s.dtf___27236, 1000); - s.dtSec___27243 = (r0); - r0 = pxsim.Math_.idiv(s.dtf___27236, 2); - s.dt2___27247 = (r0); + s.dtf___28594 = (r0); + r0 = pxsim.Math_.idiv(s.dtf___28594, 1000); + s.dtSec___28601 = (r0); + r0 = pxsim.Math_.idiv(s.dtf___28594, 2); + s.dt2___28605 = (r0); s.tmp_0 = game_currentScene__P961_mk(s); s.callLocIdx = 520; s.pc = 48; return s.tmp_0; case 48: r0 = s.retval; - s.scene___27251 = (r0); - r0 = s.scene___27251.fields["tileMap"]; - s.tileMap___27254 = (r0); - r0 = pxsim_pxtcore_mkAction(3, inline__P27259); + s.scene___28609 = (r0); + r0 = s.scene___28609.fields["tileMap"]; + s.tileMap___28612 = (r0); + r0 = pxsim_pxtcore_mkAction(3, inline__P28617); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtSec___27243); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___27247); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtSec___28601); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___28605); s.tmp_1 = helpers_arrayMap__P57_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_1.arg0 = r0; @@ -76793,11 +76820,11 @@ switch (step) { s.callLocIdx = 522; s.pc = 49; return s.tmp_1; case 49: r0 = s.retval; - s.movingSprites___27257 = (r0); + s.movingSprites___28615 = (r0); s.tmp_0 = helpers_arrayForEach__P60_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P27271; + s.tmp_0.arg1 = inline__P28629; s.callLocIdx = 526; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; @@ -76823,41 +76850,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___27243); + r0 = pxsim.Math_.imul(s.tmp_1, s.dtSec___28601); 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___27288 = (r0); + s.MAX_STEP_COUNT___28646 = (r0); s.tmp_0 = helpers_arraySlice__P65_mk(s); - r0 = s.scene___27251.fields["overlapHandlers"]; + r0 = s.scene___28609.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___27299 = (r0); - s.selected___27306 = (0); + s.overlapHandlers___28657 = (r0); + s.selected___28664 = (0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___27257); + r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___28615); r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.buffers___27307 = (s.tmp_0); - s.count___27311 = (0); + s.buffers___28665 = (s.tmp_0); + s.count___28669 = (0); case 1: - r0 = (s.count___27311 < s.MAX_STEP_COUNT___27288); + r0 = (s.count___28669 < s.MAX_STEP_COUNT___28646); 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___27307, s.selected___27306); + r0 = pxsim_Array__getAt(s.buffers___28665, s.selected___28664); s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; @@ -76867,14 +76894,14 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 46; continue; } - r0 = pxsim_Array__getAt(s.buffers___27307, s.selected___27306); - s.currMovers___27321 = (r0); - r0 = (s.selected___27306 ^ 1); - s.selected___27306 = (r0); - r0 = pxsim_Array__getAt(s.buffers___27307, s.selected___27306); - s.remainingMovers___27328 = (r0); - s.ms___27333 = (undefined); - s.unnamed62___U14 = (s.currMovers___27321); + r0 = pxsim_Array__getAt(s.buffers___28665, s.selected___28664); + s.currMovers___28679 = (r0); + r0 = (s.selected___28664 ^ 1); + s.selected___28664 = (r0); + r0 = pxsim_Array__getAt(s.buffers___28665, s.selected___28664); + s.remainingMovers___28686 = (r0); + s.ms___28691 = (undefined); + s.unnamed62___U14 = (s.currMovers___28679); s.unnamed63___U15 = (0); case 4: s.tmp_0 = r0 = s.unnamed63___U15; @@ -76883,27 +76910,27 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 43; continue; } r0 = pxsim_Array__getAt(s.unnamed62___U14, s.unnamed63___U15); - s.ms___27333 = (r0); - r0 = s.ms___27333.fields["sprite"]; - s.s___27335 = (r0); - r0 = s.ms___27333.fields["cachedVx"]; + s.ms___28691 = (r0); + r0 = s.ms___28691.fields["sprite"]; + s.s___28693 = (r0); + r0 = s.ms___28691.fields["cachedVx"]; s.tmp_1 = r0; - r0 = s.s___27335.fields["_vx"]; + r0 = s.s___28693.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___27335.fields["_vx"]; + r0 = s.s___28693.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___27333).fields["dx"] = (0); + r0 = (s.ms___28691).fields["dx"] = (0); { step = 14; continue; } case 5: - r0 = s.s___27335.fields["_vx"]; + r0 = s.s___28693.fields["_vx"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -76912,7 +76939,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = s.ms___27333.fields["cachedVx"]; + r0 = s.ms___28691.fields["cachedVx"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 7: @@ -76923,7 +76950,7 @@ switch (step) { r0 = s.tmp_3; { step = 11; continue; } case 8: - r0 = s.s___27335.fields["_vx"]; + r0 = s.s___28693.fields["_vx"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -76932,7 +76959,7 @@ switch (step) { r0 = s.tmp_4; { step = 10; continue; } case 9: - r0 = s.ms___27333.fields["cachedVx"]; + r0 = s.ms___28691.fields["cachedVx"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 10: @@ -76944,14 +76971,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___27333; - r0 = s.ms___27333.fields["dx"]; + s.tmp_9 = r0 = s.ms___28691; + r0 = s.ms___28691.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___27333; - r0 = s.ms___27333.fields["xStep"]; + s.tmp_0 = r0 = s.ms___28691; + r0 = s.ms___28691.fields["xStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -76959,29 +76986,29 @@ switch (step) { case 12: case 13: case 14: - r0 = s.s___27335.fields["_vx"]; + r0 = s.s___28693.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.ms___27333).fields["cachedVx"] = (s.tmp_0); + r0 = (s.ms___28691).fields["cachedVx"] = (s.tmp_0); case 15: case 16: - r0 = s.ms___27333.fields["cachedVy"]; + r0 = s.ms___28691.fields["cachedVy"]; s.tmp_1 = r0; - r0 = s.s___27335.fields["_vy"]; + r0 = s.s___28693.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___27335.fields["_vy"]; + r0 = s.s___28693.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___27333).fields["dy"] = (0); + r0 = (s.ms___28691).fields["dy"] = (0); { step = 26; continue; } case 17: - r0 = s.s___27335.fields["_vy"]; + r0 = s.s___28693.fields["_vy"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -76990,7 +77017,7 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = s.ms___27333.fields["cachedVy"]; + r0 = s.ms___28691.fields["cachedVy"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 19: @@ -77001,7 +77028,7 @@ switch (step) { r0 = s.tmp_3; { step = 23; continue; } case 20: - r0 = s.s___27335.fields["_vy"]; + r0 = s.s___28693.fields["_vy"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -77010,7 +77037,7 @@ switch (step) { r0 = s.tmp_4; { step = 22; continue; } case 21: - r0 = s.ms___27333.fields["cachedVy"]; + r0 = s.ms___28691.fields["cachedVy"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 22: @@ -77022,14 +77049,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___27333; - r0 = s.ms___27333.fields["dy"]; + s.tmp_9 = r0 = s.ms___28691; + r0 = s.ms___28691.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___27333; - r0 = s.ms___27333.fields["yStep"]; + s.tmp_0 = r0 = s.ms___28691; + r0 = s.ms___28691.fields["yStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -77037,20 +77064,20 @@ switch (step) { case 24: case 25: case 26: - r0 = s.s___27335.fields["_vy"]; + r0 = s.s___28693.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.ms___27333).fields["cachedVy"] = (s.tmp_0); + r0 = (s.ms___28691).fields["cachedVy"] = (s.tmp_0); case 27: case 28: s.tmp_2 = Fx_abs__P122_mk(s); - r0 = s.ms___27333.fields["xStep"]; + r0 = s.ms___28691.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__P122_mk(s); - r0 = s.ms___27333.fields["dx"]; + r0 = s.ms___28691.fields["dx"]; s.tmp_4.arg0 = r0; s.callLocIdx = 538; s.pc = 55; return s.tmp_4; case 55: @@ -77060,23 +77087,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - r0 = s.ms___27333.fields["dx"]; + r0 = s.ms___28691.fields["dx"]; { step = 30; continue; } case 29: - r0 = s.ms___27333.fields["xStep"]; + r0 = s.ms___28691.fields["xStep"]; case 30: // jmp value (already in r0) s.tmp_5 = r0; - s.stepX___27428 = (s.tmp_5); + s.stepX___28786 = (s.tmp_5); s.tmp_2 = Fx_abs__P122_mk(s); - r0 = s.ms___27333.fields["yStep"]; + r0 = s.ms___28691.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__P122_mk(s); - r0 = s.ms___27333.fields["dy"]; + r0 = s.ms___28691.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 540; s.pc = 57; return s.tmp_4; case 57: @@ -77086,45 +77113,45 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = s.ms___27333.fields["dy"]; + r0 = s.ms___28691.fields["dy"]; { step = 32; continue; } case 31: - r0 = s.ms___27333.fields["yStep"]; + r0 = s.ms___28691.fields["yStep"]; case 32: // jmp value (already in r0) s.tmp_5 = r0; - s.stepY___27442 = (s.tmp_5); - s.tmp_0 = r0 = s.ms___27333; - r0 = s.ms___27333.fields["dx"]; + s.stepY___28800 = (s.tmp_5); + s.tmp_0 = r0 = s.ms___28691; + r0 = s.ms___28691.fields["dx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepX___27428); + r0 = (s.tmp_2 - s.stepX___28786); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dx"] = (s.tmp_1); - s.tmp_0 = r0 = s.ms___27333; - r0 = s.ms___27333.fields["dy"]; + s.tmp_0 = r0 = s.ms___28691; + r0 = s.ms___28691.fields["dy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepY___27442); + r0 = (s.tmp_2 - s.stepY___28800); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dy"] = (s.tmp_1); - r0 = s.s___27335.fields["_x"]; + r0 = s.s___28693.fields["_x"]; s.tmp_0 = r0; - r0 = (s.s___27335).fields["_lastX"] = (s.tmp_0); - r0 = s.s___27335.fields["_y"]; + r0 = (s.s___28693).fields["_lastX"] = (s.tmp_0); + r0 = s.s___28693.fields["_y"]; s.tmp_0 = r0; - r0 = (s.s___27335).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = r0 = s.s___27335; - r0 = s.s___27335.fields["_x"]; + r0 = (s.s___28693).fields["_lastY"] = (s.tmp_0); + s.tmp_0 = r0 = s.s___28693; + r0 = s.s___28693.fields["_x"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepX___27428); + r0 = (s.tmp_2 + s.stepX___28786); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.s___27335; - r0 = s.s___27335.fields["_y"]; + s.tmp_0 = r0 = s.s___28693; + r0 = s.s___28693.fields["_y"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepY___27442); + r0 = (s.tmp_2 + s.stepY___28800); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = s.s___27335.fields["flags"]; + r0 = s.s___28693.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 515); s.tmp_2 = r0; @@ -77137,18 +77164,18 @@ switch (step) { s.tmp_4 = sprites_SpriteMap_insertAABB__P835_mk(s); r0 = s.arg0.fields["map"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.s___27335; + s.tmp_4.arg1 = s.s___28693; s.callLocIdx = 545; s.pc = 58; return s.tmp_4; case 58: r0 = s.retval; - s.tmp_0 = r0 = s.tileMap___27254; + s.tmp_0 = r0 = s.tileMap___28612; 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__C1086_v6_1_mk(s); - s.tmp_1.arg0 = s.tileMap___27254; + s.tmp_1.arg0 = s.tileMap___28612; if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C1086_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.enabled; s.pc = 59; return s.tmp_1; @@ -77161,8 +77188,8 @@ switch (step) { if (!r0) { step = 35; continue; } s.tmp_3 = ArcadePhysicsEngine_tilemapCollisions__P923_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.ms___27333; - s.tmp_3.arg2 = s.tileMap___27254; + s.tmp_3.arg1 = s.ms___28691; + s.tmp_3.arg2 = s.tileMap___28612; s.callLocIdx = 546; s.pc = 60; return s.tmp_3; case 60: r0 = s.retval; @@ -77171,7 +77198,7 @@ switch (step) { case 37: case 38: s.tmp_2 = Fx_abs__P122_mk(s); - r0 = s.ms___27333.fields["dx"]; + r0 = s.ms___28691.fields["dx"]; s.tmp_2.arg0 = r0; s.callLocIdx = 547; s.pc = 61; return s.tmp_2; case 61: @@ -77185,7 +77212,7 @@ switch (step) { { step = 40; continue; } case 39: s.tmp_4 = Fx_abs__P122_mk(s); - r0 = s.ms___27333.fields["dy"]; + r0 = s.ms___28691.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 548; s.pc = 62; return s.tmp_4; case 62: @@ -77197,7 +77224,7 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 41; continue; } - r0 = pxsim_Array__push(s.remainingMovers___27328, s.ms___27333); + r0 = pxsim_Array__push(s.remainingMovers___28686, s.ms___28691); case 41: case 42: r0 = (s.unnamed63___U15 + 1); @@ -77207,21 +77234,21 @@ switch (step) { s.unnamed62___U14 = (undefined); s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P922_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.currMovers___27321; - s.tmp_0.arg2 = s.overlapHandlers___27299; + s.tmp_0.arg1 = s.currMovers___28679; + s.tmp_0.arg2 = s.overlapHandlers___28657; s.callLocIdx = 549; s.pc = 63; return s.tmp_0; case 63: r0 = s.retval; case 44: - r0 = pxsim_Array__length(s.currMovers___27321); + r0 = pxsim_Array__length(s.currMovers___28679); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 45; continue; } - r0 = pxsim_Array_.pop(s.currMovers___27321); + r0 = pxsim_Array_.pop(s.currMovers___28679); { step = 44; continue; } case 45: - r0 = (s.count___27311 + 1); - s.count___27311 = (r0); + r0 = (s.count___28669 + 1); + s.count___28669 = (r0); { step = 1; continue; } case 46: r0 = undefined; @@ -77247,25 +77274,25 @@ function ArcadePhysicsEngine_move__P920_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - dtf___27236: undefined, - dtSec___27243: undefined, - dt2___27247: undefined, - scene___27251: undefined, - tileMap___27254: undefined, - movingSprites___27257: undefined, - MAX_STEP_COUNT___27288: undefined, - overlapHandlers___27299: undefined, - selected___27306: undefined, - buffers___27307: undefined, - count___27311: undefined, - currMovers___27321: undefined, - remainingMovers___27328: undefined, - ms___27333: undefined, + dtf___28594: undefined, + dtSec___28601: undefined, + dt2___28605: undefined, + scene___28609: undefined, + tileMap___28612: undefined, + movingSprites___28615: undefined, + MAX_STEP_COUNT___28646: undefined, + overlapHandlers___28657: undefined, + selected___28664: undefined, + buffers___28665: undefined, + count___28669: undefined, + currMovers___28679: undefined, + remainingMovers___28686: undefined, + ms___28691: undefined, unnamed62___U14: undefined, unnamed63___U15: undefined, - s___27335: undefined, - stepX___27428: undefined, - stepY___27442: undefined, + s___28693: undefined, + stepX___28786: undefined, + stepY___28800: undefined, arg0: undefined, arg1: undefined, } } @@ -77274,7 +77301,7 @@ function ArcadePhysicsEngine_move__P920_mk(s) { -function inline__P27259(s) { +function inline__P28617(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77299,12 +77326,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P27259.info = {"start":2985,"length":53,"line":122,"column":17,"endLine":122,"endColumn":70,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["sprite"]} +inline__P28617.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__P27259_mk(s) { +function inline__P28617_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27259, depth: s.depth + 1, + parent: s, fn: inline__P28617, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -77314,7 +77341,7 @@ function inline__P27259_mk(s) { -function inline__P27271(s) { +function inline__P28629(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77360,12 +77387,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P27271.info = {"start":3121,"length":66,"line":125,"column":29,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["s"]} +inline__P28629.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__P27271_mk(s) { +function inline__P28629_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27271, depth: s.depth + 1, + parent: s, fn: inline__P28629, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -77389,18 +77416,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ms___27543 = undefined; + s.ms___28901 = undefined; s.unnamed64___U1 = undefined; s.unnamed65___U2 = undefined; - s.sprite___27545 = undefined; - s.overSprites___27552 = undefined; - s.overlapper___27560 = undefined; + s.sprite___28903 = undefined; + s.overSprites___28910 = undefined; + s.overlapper___28918 = undefined; s.unnamed66___U6 = undefined; s.unnamed67___U7 = undefined; - s.thisKind___27566 = undefined; - s.otherKind___27570 = undefined; - s.higher___27583 = undefined; - s.lower___27592 = undefined; + s.thisKind___28924 = undefined; + s.otherKind___28928 = undefined; + s.higher___28941 = undefined; + s.lower___28950 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -77420,7 +77447,7 @@ switch (step) { { step = 21; continue; } case 1: case 2: - s.ms___27543 = (undefined); + s.ms___28901 = (undefined); s.unnamed64___U1 = (s.arg1); s.unnamed65___U2 = (0); case 3: @@ -77430,10 +77457,10 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } r0 = pxsim_Array__getAt(s.unnamed64___U1, s.unnamed65___U2); - s.ms___27543 = (r0); - r0 = s.ms___27543.fields["sprite"]; - s.sprite___27545 = (r0); - r0 = s.sprite___27545.fields["flags"]; + s.ms___28901 = (r0); + r0 = s.ms___28901.fields["sprite"]; + s.sprite___28903 = (r0); + r0 = s.sprite___28903.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 515); s.tmp_0 = r0; @@ -77445,14 +77472,14 @@ switch (step) { s.tmp_2 = sprites_SpriteMap_overlaps__P829_mk(s); r0 = s.arg0.fields["map"]; s.tmp_2.arg0 = r0; - r0 = s.ms___27543.fields["sprite"]; + r0 = s.ms___28901.fields["sprite"]; s.tmp_2.arg1 = r0; s.callLocIdx = 583; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; - s.overSprites___27552 = (r0); - s.overlapper___27560 = (undefined); - s.unnamed66___U6 = (s.overSprites___27552); + s.overSprites___28910 = (r0); + s.overlapper___28918 = (undefined); + s.unnamed66___U6 = (s.overSprites___28910); s.unnamed67___U7 = (0); case 6: s.tmp_0 = r0 = s.unnamed67___U7; @@ -77461,8 +77488,8 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 18; continue; } r0 = pxsim_Array__getAt(s.unnamed66___U6, s.unnamed67___U7); - s.overlapper___27560 = (r0); - r0 = s.overlapper___27560.fields["flags"]; + s.overlapper___28918 = (r0); + r0 = s.overlapper___28918.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 515); s.tmp_2 = r0; @@ -77471,13 +77498,13 @@ switch (step) { { step = 17; continue; } case 7: case 8: - r0 = s.sprite___27545.fields["_kind"]; - s.thisKind___27566 = (r0); - r0 = s.overlapper___27560.fields["_kind"]; - s.otherKind___27570 = (r0); - r0 = s.sprite___27545.fields["_kindsOverlappedWith"]; + r0 = s.sprite___28903.fields["_kind"]; + s.thisKind___28924 = (r0); + r0 = s.overlapper___28918.fields["_kind"]; + s.otherKind___28928 = (r0); + r0 = s.sprite___28903.fields["_kindsOverlappedWith"]; s.tmp_2 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___27570, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___28928, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 === -1); s.tmp_0 = r0; @@ -77486,37 +77513,37 @@ switch (step) { { step = 17; continue; } case 9: case 10: - r0 = s.sprite___27545.fields["id"]; + r0 = s.sprite___28903.fields["id"]; s.tmp_4 = r0; - r0 = s.overlapper___27560.fields["id"]; + r0 = s.overlapper___28918.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___27545; + r0 = s.sprite___28903; { step = 12; continue; } case 11: - r0 = s.overlapper___27560; + r0 = s.overlapper___28918; case 12: // jmp value (already in r0) s.tmp_6 = r0; - s.higher___27583 = (s.tmp_6); - r0 = (s.higher___27583 === s.sprite___27545); + s.higher___28941 = (s.tmp_6); + r0 = (s.higher___28941 === s.sprite___28903); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = s.overlapper___27560; + r0 = s.overlapper___28918; { step = 14; continue; } case 13: - r0 = s.sprite___27545; + r0 = s.sprite___28903; case 14: // jmp value (already in r0) s.tmp_1 = r0; - s.lower___27592 = (s.tmp_1); - r0 = s.higher___27583.fields["_overlappers"]; + s.lower___28950 = (s.tmp_1); + r0 = s.higher___28941.fields["_overlappers"]; s.tmp_2 = r0; - r0 = s.lower___27592.fields["id"]; + r0 = s.lower___28950.fields["id"]; s.tmp_3 = r0; r0 = pxsim_Array_.indexOf(s.tmp_2, s.tmp_3, undefined); s.tmp_1 = r0; @@ -77524,17 +77551,17 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = pxsim_pxtcore_mkAction(2, inline__P27612); + r0 = pxsim_pxtcore_mkAction(2, inline__P28970); s.tmp_4 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___27566); - r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___27570); - r0 = pxsim_pxtcore_mkAction(5, inline__P27636); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___28924); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___28928); + r0 = pxsim_pxtcore_mkAction(5, inline__P28994); s.tmp_5 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___27583); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___27592); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___27545); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___27560); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___27566); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___28941); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___28950); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___28903); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___28918); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___28924); s.tmp_6 = helpers_arrayForEach__P60_mk(s); s.tmp_7 = helpers_arrayFilter__P61_mk(s); s.tmp_7.arg0 = s.arg2; @@ -77581,18 +77608,18 @@ function ArcadePhysicsEngine_spriteCollisions__P922_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - ms___27543: undefined, + ms___28901: undefined, unnamed64___U1: undefined, unnamed65___U2: undefined, - sprite___27545: undefined, - overSprites___27552: undefined, - overlapper___27560: undefined, + sprite___28903: undefined, + overSprites___28910: undefined, + overlapper___28918: undefined, unnamed66___U6: undefined, unnamed67___U7: undefined, - thisKind___27566: undefined, - otherKind___27570: undefined, - higher___27583: undefined, - lower___27592: undefined, + thisKind___28924: undefined, + otherKind___28928: undefined, + higher___28941: undefined, + lower___28950: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -77602,7 +77629,7 @@ function ArcadePhysicsEngine_spriteCollisions__P922_mk(s) { -function inline__P27612(s) { +function inline__P28970(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77659,12 +77686,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P27612.info = {"start":10557,"length":137,"line":331,"column":32,"endLine":332,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P28970.info = {"start":10557,"length":137,"line":331,"column":32,"endLine":332,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P27612_mk(s) { +function inline__P28970_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27612, depth: s.depth + 1, + parent: s, fn: inline__P28970, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -77682,7 +77709,7 @@ function inline__P27612_mk(s) { -function inline__P27636(s) { +function inline__P28994(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77701,7 +77728,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__P27646); + r0 = pxsim_pxtcore_mkAction(6, inline__P29004); 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]); @@ -77714,12 +77741,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P27636.info = {"start":10754,"length":648,"line":334,"column":33,"endLine":345,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P28994.info = {"start":10754,"length":648,"line":334,"column":33,"endLine":345,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P27636_mk(s) { +function inline__P28994_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27636, depth: s.depth + 1, + parent: s, fn: inline__P28994, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -77730,7 +77757,7 @@ function inline__P27636_mk(s) { -function inline__P27646(s) { +function inline__P29004(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77806,12 +77833,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P27646.info = {"start":10875,"length":499,"line":336,"column":50,"endLine":344,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} +inline__P29004.info = {"start":10875,"length":499,"line":336,"column":50,"endLine":344,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} -function inline__P27646_mk(s) { +function inline__P29004_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27646, depth: s.depth + 1, + parent: s, fn: inline__P29004, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -77842,8 +77869,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___27680 = undefined; - s.o___27684 = undefined; + s.n___29038 = undefined; + s.o___29042 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -77857,18 +77884,18 @@ switch (step) { s.callLocIdx = 466; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.n___27680 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P27686); + s.n___29038 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P29044); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); s.tmp_1 = helpers_arrayFilter__P61_mk(s); - s.tmp_1.arg0 = s.n___27680; + s.tmp_1.arg0 = s.n___29038; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 468; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.o___27684 = (r0); - r0 = s.o___27684; + s.o___29042 = (r0); + r0 = s.o___29042; return leave(s, r0) default: oops() } } } @@ -77881,8 +77908,8 @@ function sprites_SpriteMap_overlaps__P829_mk(s) { pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - n___27680: undefined, - o___27684: undefined, + n___29038: undefined, + o___29042: undefined, arg0: undefined, arg1: undefined, } } @@ -77891,7 +77918,7 @@ function sprites_SpriteMap_overlaps__P829_mk(s) { -function inline__P27686(s) { +function inline__P29044(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77914,12 +77941,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P27686.info = {"start":1037,"length":41,"line":32,"column":31,"endLine":32,"endColumn":72,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["neighbor"]} +inline__P29044.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__P27686_mk(s) { +function inline__P29044_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27686, depth: s.depth + 1, + parent: s, fn: inline__P29044, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -77939,8 +77966,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___27729 = undefined; - s.layer___27731 = undefined; + s.n___29087 = undefined; + s.layer___29089 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -77949,9 +77976,9 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, sprites_SpriteMap__C827_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.n___27729 = (r0); + s.n___29087 = (r0); r0 = s.arg1.fields["layer"]; - s.layer___27731 = (r0); + s.layer___29089 = (r0); s.tmp_0 = sprites_SpriteMap_mergeAtKey__P836_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = Sprite_left__P796_mk(s); @@ -77966,8 +77993,8 @@ switch (step) { case 3: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___27731; - s.tmp_0.arg4 = s.n___27729; + s.tmp_0.arg3 = s.layer___29089; + s.tmp_0.arg4 = s.n___29087; s.callLocIdx = 456; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -77985,8 +78012,8 @@ switch (step) { case 6: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___27731; - s.tmp_0.arg4 = s.n___27729; + s.tmp_0.arg3 = s.layer___29089; + s.tmp_0.arg4 = s.n___29087; s.callLocIdx = 459; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -78004,8 +78031,8 @@ switch (step) { case 9: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___27731; - s.tmp_0.arg4 = s.n___27729; + s.tmp_0.arg3 = s.layer___29089; + s.tmp_0.arg4 = s.n___29087; s.callLocIdx = 462; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -78023,13 +78050,13 @@ switch (step) { case 12: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___27731; - s.tmp_0.arg4 = s.n___27729; + s.tmp_0.arg3 = s.layer___29089; + s.tmp_0.arg4 = s.n___29087; s.callLocIdx = 465; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_Array_.removeElement(s.n___27729, s.arg1); - r0 = s.n___27729; + r0 = pxsim_Array_.removeElement(s.n___29087, s.arg1); + r0 = s.n___29087; return leave(s, r0) default: oops() } } } @@ -78043,8 +78070,8 @@ function sprites_SpriteMap_neighbors__P828_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - n___27729: undefined, - layer___27731: undefined, + n___29087: undefined, + layer___29089: undefined, arg0: undefined, arg1: undefined, } } @@ -78063,9 +78090,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___27772 = undefined; - s.bucket___27777 = undefined; - s.sprite___27784 = undefined; + s.k___29130 = undefined; + s.bucket___29135 = undefined; + s.sprite___29142 = undefined; s.unnamed60___U3 = undefined; s.unnamed61___U4 = undefined; if (s.lambdaArgs) { @@ -78085,15 +78112,15 @@ switch (step) { s.callLocIdx = 490; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___27772 = (r0); + s.k___29130 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___27772); - s.bucket___27777 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___27777); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___29130); + s.bucket___29135 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___29135); if (!r0) { step = 7; continue; } - s.sprite___27784 = (undefined); - s.unnamed60___U3 = (s.bucket___27777); + s.sprite___29142 = (undefined); + s.unnamed60___U3 = (s.bucket___29135); s.unnamed61___U4 = (0); case 1: s.tmp_0 = r0 = s.unnamed61___U4; @@ -78102,8 +78129,8 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } r0 = pxsim_Array__getAt(s.unnamed60___U3, s.unnamed61___U4); - s.sprite___27784 = (r0); - r0 = s.sprite___27784.fields["layer"]; + s.sprite___29142 = (r0); + r0 = s.sprite___29142.fields["layer"]; s.tmp_3 = r0; r0 = (s.tmp_3 & s.arg3); s.tmp_2 = r0; @@ -78112,7 +78139,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___27784, undefined); + r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___29142, undefined); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 3: @@ -78120,7 +78147,7 @@ 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___27784); + r0 = pxsim_Array__push(s.arg4, s.sprite___29142); case 4: case 5: r0 = (s.unnamed61___U4 + 1); @@ -78147,9 +78174,9 @@ function sprites_SpriteMap_mergeAtKey__P836_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - k___27772: undefined, - bucket___27777: undefined, - sprite___27784: undefined, + k___29130: undefined, + bucket___29135: undefined, + sprite___29142: undefined, unnamed60___U3: undefined, unnamed61___U4: undefined, arg0: undefined, @@ -78173,8 +78200,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.xi___27805 = undefined; - s.yi___27817 = undefined; + s.xi___29163 = undefined; + s.yi___29175 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -78194,7 +78221,7 @@ switch (step) { s.callLocIdx = 478; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.xi___27805 = (r0); + s.xi___29163 = (r0); s.tmp_0 = Math_clamp__P75_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["rowCount"]; @@ -78206,11 +78233,11 @@ switch (step) { s.callLocIdx = 479; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.yi___27817 = (r0); - s.tmp_0 = r0 = s.xi___27805; + s.yi___29175 = (r0); + s.tmp_0 = r0 = s.xi___29163; r0 = s.arg0.fields["columnCount"]; s.tmp_2 = r0; - r0 = (s.yi___27817 * s.tmp_2); + r0 = (s.yi___29175 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); return leave(s, r0) @@ -78226,8 +78253,8 @@ function sprites_SpriteMap_key__P833_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - xi___27805: undefined, - yi___27817: undefined, + xi___29163: undefined, + yi___29175: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -78361,16 +78388,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ovx___28019 = undefined; - s.ovy___28024 = undefined; - s.fx___28051 = undefined; - s.c___28057 = undefined; - s.fy___28100 = undefined; - s.c___28106 = undefined; - s.dx___28135 = undefined; - s.dy___28144 = undefined; - s.xStep___28153 = undefined; - s.yStep___28155 = undefined; + s.ovx___29377 = undefined; + s.ovy___29382 = undefined; + s.fx___29409 = undefined; + s.c___29415 = undefined; + s.fy___29458 = undefined; + s.c___29464 = undefined; + s.dx___29493 = undefined; + s.dy___29502 = undefined; + s.xStep___29511 = undefined; + s.yStep___29513 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -78387,7 +78414,7 @@ switch (step) { s.callLocIdx = 550; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.ovx___28019 = (r0); + s.ovx___29377 = (r0); s.tmp_0 = ArcadePhysicsEngine_constrain__P928_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; @@ -78395,7 +78422,7 @@ switch (step) { s.callLocIdx = 551; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.ovy___28024 = (r0); + s.ovy___29382 = (r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -78435,12 +78462,12 @@ switch (step) { r0 = pxsim.Math_.imul(s.tmp_1, s.arg2); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.fx___28051 = (r0); + s.fx___29409 = (r0); r0 = s.arg1.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fx___28051); - s.c___28057 = (r0); - r0 = (s.c___28057 < 0); + r0 = (s.tmp_0 - s.fx___29409); + s.c___29415 = (r0); + r0 = (s.c___29415 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } @@ -78449,7 +78476,7 @@ switch (step) { s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fx___28051); + r0 = (s.tmp_4 + s.fx___29409); s.tmp_3.arg1 = r0; s.callLocIdx = 558; s.pc = 28; return s.tmp_3; case 28: @@ -78458,7 +78485,7 @@ switch (step) { r0 = (s.tmp_1).fields["_vx"] = (s.tmp_2); { step = 5; continue; } case 2: - r0 = (s.c___28057 > 0); + r0 = (s.c___29415 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -78467,7 +78494,7 @@ switch (step) { s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fx___28051); + r0 = (s.tmp_4 - s.fx___29409); s.tmp_3.arg1 = r0; s.callLocIdx = 560; s.pc = 29; return s.tmp_3; case 29: @@ -78515,12 +78542,12 @@ switch (step) { r0 = pxsim.Math_.imul(s.tmp_1, s.arg2); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.fy___28100 = (r0); + s.fy___29458 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fy___28100); - s.c___28106 = (r0); - r0 = (s.c___28106 < 0); + r0 = (s.tmp_0 - s.fy___29458); + s.c___29464 = (r0); + r0 = (s.c___29464 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } @@ -78529,7 +78556,7 @@ switch (step) { s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fy___28100); + r0 = (s.tmp_4 + s.fy___29458); s.tmp_3.arg1 = r0; s.callLocIdx = 567; s.pc = 31; return s.tmp_3; case 31: @@ -78538,7 +78565,7 @@ switch (step) { r0 = (s.tmp_1).fields["_vy"] = (s.tmp_2); { step = 13; continue; } case 10: - r0 = (s.c___28106 > 0); + r0 = (s.c___29464 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } @@ -78547,7 +78574,7 @@ switch (step) { s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fy___28100); + r0 = (s.tmp_4 - s.fy___29458); s.tmp_3.arg1 = r0; s.callLocIdx = 569; s.pc = 32; return s.tmp_3; case 32: @@ -78564,29 +78591,29 @@ switch (step) { case 16: r0 = s.arg1.fields["_vx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.ovx___28019); + r0 = (s.tmp_2 + s.ovx___29377); 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___28135 = (r0); + s.dx___29493 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.ovy___28024); + r0 = (s.tmp_2 + s.ovy___29382); 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___28144 = (r0); - s.xStep___28153 = (s.dx___28135); - s.yStep___28155 = (s.dy___28144); + s.dy___29502 = (r0); + s.xStep___29511 = (s.dx___29493); + s.yStep___29513 = (s.dy___29502); case 17: s.tmp_2 = Fx_abs__P122_mk(s); - s.tmp_2.arg0 = s.xStep___28153; + s.tmp_2.arg0 = s.xStep___29511; s.callLocIdx = 576; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; @@ -78601,7 +78628,7 @@ switch (step) { { step = 19; continue; } case 18: s.tmp_5 = Fx_abs__P122_mk(s); - s.tmp_5.arg0 = s.yStep___28155; + s.tmp_5.arg0 = s.yStep___29513; s.callLocIdx = 577; s.pc = 34; return s.tmp_5; case 34: r0 = s.retval; @@ -78615,7 +78642,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 24; continue; } s.tmp_10 = Fx_abs__P122_mk(s); - s.tmp_10.arg0 = s.xStep___28153; + s.tmp_10.arg0 = s.xStep___29511; s.callLocIdx = 578; s.pc = 35; return s.tmp_10; case 35: r0 = s.retval; @@ -78626,12 +78653,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___28153, 2); - s.xStep___28153 = (r0); + r0 = pxsim.Math_.idiv(s.xStep___29511, 2); + s.xStep___29511 = (r0); case 20: case 21: s.tmp_2 = Fx_abs__P122_mk(s); - s.tmp_2.arg0 = s.yStep___28155; + s.tmp_2.arg0 = s.yStep___29513; s.callLocIdx = 580; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; @@ -78642,8 +78669,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = pxsim.Math_.idiv(s.yStep___28155, 2); - s.yStep___28155 = (r0); + r0 = pxsim.Math_.idiv(s.yStep___29513, 2); + s.yStep___29513 = (r0); case 22: case 23: { step = 17; continue; } @@ -78657,10 +78684,10 @@ switch (step) { s.tmp_1.arg2 = r0; r0 = s.arg1.fields["_vy"]; s.tmp_1.arg3 = r0; - s.tmp_1.arg4 = s.dx___28135; - s.tmp_1.arg5 = s.dy___28144; - s.tmp_1.arg6 = s.xStep___28153; - s.tmp_1.arg7 = s.yStep___28155; + s.tmp_1.arg4 = s.dx___29493; + s.tmp_1.arg5 = s.dy___29502; + s.tmp_1.arg6 = s.xStep___29511; + s.tmp_1.arg7 = s.yStep___29513; s.callLocIdx = 582; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; @@ -78687,16 +78714,16 @@ function ArcadePhysicsEngine_createMovingSprite__P921_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - ovx___28019: undefined, - ovy___28024: undefined, - fx___28051: undefined, - c___28057: undefined, - fy___28100: undefined, - c___28106: undefined, - dx___28135: undefined, - dy___28144: undefined, - xStep___28153: undefined, - yStep___28155: undefined, + ovx___29377: undefined, + ovy___29382: undefined, + fx___29409: undefined, + c___29415: undefined, + fy___29458: undefined, + c___29464: undefined, + dx___29493: undefined, + dy___29502: undefined, + xStep___29511: undefined, + yStep___29513: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -78849,12 +78876,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.left___27837 = undefined; - s.top___27840 = undefined; - s.xn___27843 = undefined; - s.yn___27854 = undefined; - s.x___27865 = undefined; - s.y___27870 = undefined; + s.left___29195 = undefined; + s.top___29198 = undefined; + s.xn___29201 = undefined; + s.yn___29212 = undefined; + s.x___29223 = undefined; + s.y___29228 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -78867,13 +78894,13 @@ switch (step) { s.callLocIdx = 481; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.left___27837 = (r0); + s.left___29195 = (r0); s.tmp_0 = Sprite_top__P800_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___27840 = (r0); + s.top___29198 = (r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); @@ -78887,7 +78914,7 @@ switch (step) { r0 = s.arg0.fields["cellWidth"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.xn___27843 = (r0); + s.xn___29201 = (r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -78901,22 +78928,22 @@ switch (step) { r0 = s.arg0.fields["cellHeight"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.yn___27854 = (r0); - s.x___27865 = (0); + s.yn___29212 = (r0); + s.x___29223 = (0); case 1: - r0 = (s.x___27865 <= s.xn___27843); + r0 = (s.x___29223 <= s.xn___29201); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.y___27870 = (0); + s.y___29228 = (0); case 2: - r0 = (s.y___27870 <= s.yn___27854); + r0 = (s.y___29228 <= s.yn___29212); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } s.tmp_1 = sprites_SpriteMap_insertAtKey__P834_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = r0 = s.left___27837; + s.tmp_2 = r0 = s.left___29195; s.tmp_4 = Math_min__P79_mk(s); r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; @@ -78924,7 +78951,7 @@ switch (step) { s.tmp_4.arg0 = r0; r0 = s.arg0.fields["cellWidth"]; s.tmp_6 = r0; - r0 = (s.x___27865 * s.tmp_6); + r0 = (s.x___29223 * s.tmp_6); s.tmp_4.arg1 = r0; s.callLocIdx = 486; s.pc = 8; return s.tmp_4; case 8: @@ -78932,7 +78959,7 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1.arg1 = r0; - s.tmp_7 = r0 = s.top___27840; + s.tmp_7 = r0 = s.top___29198; s.tmp_9 = Math_min__P79_mk(s); r0 = s.arg1.fields["_image"]; s.tmp_10 = r0; @@ -78940,7 +78967,7 @@ switch (step) { s.tmp_9.arg0 = r0; r0 = s.arg0.fields["cellHeight"]; s.tmp_11 = r0; - r0 = (s.y___27870 * s.tmp_11); + r0 = (s.y___29228 * s.tmp_11); s.tmp_9.arg1 = r0; s.callLocIdx = 488; s.pc = 9; return s.tmp_9; case 9: @@ -78952,12 +78979,12 @@ switch (step) { s.callLocIdx = 489; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = (s.y___27870 + 1); - s.y___27870 = (r0); + r0 = (s.y___29228 + 1); + s.y___29228 = (r0); { step = 2; continue; } case 3: - r0 = (s.x___27865 + 1); - s.x___27865 = (r0); + r0 = (s.x___29223 + 1); + s.x___29223 = (r0); { step = 1; continue; } case 4: r0 = undefined; @@ -78983,12 +79010,12 @@ function sprites_SpriteMap_insertAABB__P835_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - left___27837: undefined, - top___27840: undefined, - xn___27843: undefined, - yn___27854: undefined, - x___27865: undefined, - y___27870: undefined, + left___29195: undefined, + top___29198: undefined, + xn___29201: undefined, + yn___29212: undefined, + x___29223: undefined, + y___29228: undefined, arg0: undefined, arg1: undefined, } } @@ -79007,8 +79034,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___27905 = undefined; - s.bucket___27910 = undefined; + s.k___29263 = undefined; + s.bucket___29268 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -79025,12 +79052,12 @@ switch (step) { s.callLocIdx = 480; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.k___27905 = (r0); + s.k___29263 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___27905); - s.bucket___27910 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___27910); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___29263); + s.bucket___29268 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___29268); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -79038,20 +79065,20 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["buckets"]; s.tmp_2 = r0; - s.tmp_3 = r0 = s.k___27905; + s.tmp_3 = r0 = s.k___29263; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_Array_.setAt(s.tmp_2, s.tmp_3, s.tmp_4); - s.bucket___27910 = (s.tmp_4); + s.bucket___29268 = (s.tmp_4); case 1: case 2: - r0 = pxsim_Array_.indexOf(s.bucket___27910, s.arg3, undefined); + r0 = pxsim_Array_.indexOf(s.bucket___29268, 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___27910, s.arg3); + r0 = pxsim_Array__push(s.bucket___29268, s.arg3); case 3: case 4: r0 = undefined; @@ -79070,8 +79097,8 @@ function sprites_SpriteMap_insertAtKey__P834_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - k___27905: undefined, - bucket___27910: undefined, + k___29263: undefined, + bucket___29268: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -79132,14 +79159,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.maxWidth___27942 = undefined; - s.maxHeight___27943 = undefined; - s.sprite___27945 = undefined; + s.maxWidth___29300 = undefined; + s.maxHeight___29301 = undefined; + s.sprite___29303 = undefined; s.unnamed58___U3 = undefined; s.unnamed59___U4 = undefined; - s.tMap___27961 = undefined; - s.areaWidth___27965 = undefined; - s.areaHeight___27972 = undefined; + s.tMap___29319 = undefined; + s.areaWidth___29323 = undefined; + s.areaHeight___29330 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -79147,9 +79174,9 @@ switch (step) { } r0 = s.arg0; if (!checkSubtype(r0, sprites_SpriteMap__C827_VT)) failedCast(r0); - s.maxWidth___27942 = (0); - s.maxHeight___27943 = (0); - s.sprite___27945 = (undefined); + s.maxWidth___29300 = (0); + s.maxHeight___29301 = (0); + s.sprite___29303 = (undefined); s.unnamed58___U3 = (s.arg1); s.unnamed59___U4 = (0); case 1: @@ -79159,33 +79186,33 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } r0 = pxsim_Array__getAt(s.unnamed58___U3, s.unnamed59___U4); - s.sprite___27945 = (r0); - r0 = s.sprite___27945.fields["_image"]; + s.sprite___29303 = (r0); + r0 = s.sprite___29303.fields["_image"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = (s.tmp_3 > s.maxWidth___27942); + r0 = (s.tmp_3 > s.maxWidth___29300); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - r0 = s.sprite___27945.fields["_image"]; + r0 = s.sprite___29303.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); - s.maxWidth___27942 = (r0); + s.maxWidth___29300 = (r0); case 2: case 3: - r0 = s.sprite___27945.fields["_image"]; + r0 = s.sprite___29303.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.maxHeight___27943); + r0 = (s.tmp_1 > s.maxHeight___29301); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = s.sprite___27945.fields["_image"]; + r0 = s.sprite___29303.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); - s.maxHeight___27943 = (r0); + s.maxHeight___29301 = (r0); case 4: case 5: r0 = (s.unnamed59___U4 + 1); @@ -79198,11 +79225,11 @@ switch (step) { case 11: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tMap___27961 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tMap___27961); + s.tMap___29319 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tMap___29319); if (!r0) { step = 7; continue; } s.tmp_0 = tiles_TileMap__C1086_v3_1_mk(s); - s.tmp_0.arg0 = s.tMap___27961; + s.tmp_0.arg0 = s.tMap___29319; if (!checkSubtype(s.tmp_0.arg0, tiles_TileMap__C1086_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.areaWidth; s.pc = 12; return s.tmp_0; @@ -79214,11 +79241,11 @@ switch (step) { case 8: // jmp value (already in r0) s.tmp_1 = r0; - s.areaWidth___27965 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.tMap___27961); + s.areaWidth___29323 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.tMap___29319); if (!r0) { step = 9; continue; } s.tmp_0 = tiles_TileMap__C1086_v4_1_mk(s); - s.tmp_0.arg0 = s.tMap___27961; + s.tmp_0.arg0 = s.tMap___29319; if (!checkSubtype(s.tmp_0.arg0, tiles_TileMap__C1086_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.areaHeight; s.pc = 13; return s.tmp_0; @@ -79230,13 +79257,13 @@ switch (step) { case 10: // jmp value (already in r0) s.tmp_1 = r0; - s.areaHeight___27972 = (s.tmp_1); + s.areaHeight___29330 = (s.tmp_1); s.tmp_0 = r0 = s.arg0; s.tmp_2 = Math_clamp__P75_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaWidth___27965 >> 2); + r0 = (s.areaWidth___29323 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxWidth___27942 * 2); + r0 = (s.maxWidth___29300 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 476; s.pc = 14; return s.tmp_2; case 14: @@ -79246,9 +79273,9 @@ switch (step) { s.tmp_0 = r0 = s.arg0; s.tmp_2 = Math_clamp__P75_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaHeight___27972 >> 2); + r0 = (s.areaHeight___29330 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxHeight___27943 * 2); + r0 = (s.maxHeight___29301 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 477; s.pc = 15; return s.tmp_2; case 15: @@ -79258,13 +79285,13 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["cellHeight"]; s.tmp_2 = r0; - r0 = pxsim.Math_.idiv(s.areaHeight___27972, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaHeight___29330, 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___27965, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaWidth___29323, s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["columnCount"] = (s.tmp_1); r0 = undefined; @@ -79284,14 +79311,14 @@ function sprites_SpriteMap_resizeBuckets__P831_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - maxWidth___27942: undefined, - maxHeight___27943: undefined, - sprite___27945: undefined, + maxWidth___29300: undefined, + maxHeight___29301: undefined, + sprite___29303: undefined, unnamed58___U3: undefined, unnamed59___U4: undefined, - tMap___27961: undefined, - areaWidth___27965: undefined, - areaHeight___27972: undefined, + tMap___29319: undefined, + areaWidth___29323: undefined, + areaHeight___29330: undefined, arg0: undefined, arg1: undefined, } } @@ -79462,61 +79489,61 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x___28233 = undefined; - s.y___28239 = undefined; - s.left___28245 = undefined; - s.top___28250 = undefined; - s.k___28255 = undefined; - s.b___28260 = undefined; + s.x___29591 = undefined; + s.y___29597 = undefined; + s.left___29603 = undefined; + s.top___29608 = undefined; + s.k___29613 = undefined; + s.b___29618 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; if (!checkSubtype(r0, sprites_SpriteMap__C827_VT)) failedCast(r0); - s.x___28233 = (0); + s.x___29591 = (0); case 1: r0 = s.arg0.fields["columnCount"]; s.tmp_1 = r0; - r0 = (s.x___28233 < s.tmp_1); + r0 = (s.x___29591 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___28239 = (0); + s.y___29597 = (0); case 2: r0 = s.arg0.fields["rowCount"]; s.tmp_1 = r0; - r0 = (s.y___28239 < s.tmp_1); + r0 = (s.y___29597 < 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___28233 * s.tmp_2); - s.left___28245 = (r0); + r0 = (s.x___29591 * s.tmp_2); + s.left___29603 = (r0); r0 = s.arg0.fields["cellHeight"]; s.tmp_0 = r0; - r0 = (s.y___28239 * s.tmp_0); - s.top___28250 = (r0); + r0 = (s.y___29597 * s.tmp_0); + s.top___29608 = (r0); s.tmp_0 = sprites_SpriteMap_key__P833_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.left___28245; - s.tmp_0.arg2 = s.top___28250; + s.tmp_0.arg1 = s.left___29603; + s.tmp_0.arg2 = s.top___29608; s.callLocIdx = 469; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___28255 = (r0); + s.k___29613 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___28255); - s.b___28260 = (r0); - s.tmp_0 = r0 = s.b___28260; + r0 = pxsim_Array__getAt(s.tmp_0, s.k___29613); + s.b___29618 = (r0); + s.tmp_0 = r0 = s.b___29618; 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___28260); + r0 = pxsim_Array__length(s.b___29618); case 4: // jmp value (already in r0) s.tmp_1 = r0; @@ -79524,8 +79551,8 @@ switch (step) { if (!r0) { step = 5; continue; } s.tmp_2 = helpers_imageDrawRect__P520_mk(s); s.tmp_2.arg0 = globals.screen___578; - s.tmp_2.arg1 = s.left___28245; - s.tmp_2.arg2 = s.top___28250; + s.tmp_2.arg1 = s.left___29603; + s.tmp_2.arg2 = s.top___29608; r0 = s.arg0.fields["cellWidth"]; s.tmp_2.arg3 = r0; r0 = s.arg0.fields["cellHeight"]; @@ -79536,12 +79563,12 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = (s.y___28239 + 1); - s.y___28239 = (r0); + r0 = (s.y___29597 + 1); + s.y___29597 = (r0); { step = 2; continue; } case 7: - r0 = (s.x___28233 + 1); - s.x___28233 = (r0); + r0 = (s.x___29591 + 1); + s.x___29591 = (r0); { step = 1; continue; } case 8: r0 = undefined; @@ -79558,12 +79585,12 @@ function sprites_SpriteMap_draw__P830_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - x___28233: undefined, - y___28239: undefined, - left___28245: undefined, - top___28250: undefined, - k___28255: undefined, - b___28260: undefined, + x___29591: undefined, + y___29597: undefined, + left___29603: undefined, + top___29608: undefined, + k___29613: undefined, + b___29618: undefined, arg0: undefined, } } @@ -79621,7 +79648,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___28297 = undefined; + s.tm___29655 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -79637,15 +79664,15 @@ switch (step) { case 5: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___28297 = (r0); - s.tmp_0 = r0 = s.tm___28297; + s.tm___29655 = (r0); + s.tmp_0 = r0 = s.tm___29655; 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__C1086_v14_2_mk(s); - s.tmp_1.arg0 = s.tm___28297; + s.tmp_1.arg0 = s.tm___29655; s.tmp_1.arg1 = s.arg1; if (!checkSubtype(s.tmp_1.arg0, tiles_TileMap__C1086_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isOnWall; @@ -79682,7 +79709,7 @@ function ArcadePhysicsEngine_addSprite__P917_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tm___28297: undefined, + tm___29655: undefined, arg0: undefined, arg1: undefined, } } @@ -79701,9 +79728,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___28407 = undefined; - s.left___28410 = undefined; - s.top___28420 = undefined; + s.current___29721 = undefined; + s.left___29724 = undefined; + s.top___29734 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -79712,7 +79739,7 @@ switch (step) { r0 = s.arg0; if (!checkSubtype(r0, particles_ParticleSource__C1715_VT)) failedCast(r0); r0 = s.arg0.fields["head"]; - s.current___28407 = (r0); + s.current___29721 = (r0); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -79730,7 +79757,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.left___28410 = (s.tmp_4); + s.left___29724 = (s.tmp_4); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -79748,11 +79775,11 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.top___28420 = (s.tmp_4); + s.top___29734 = (s.tmp_4); case 5: - r0 = pxsim_numops_toBoolDecr(s.current___28407); + r0 = pxsim_numops_toBoolDecr(s.current___29721); if (!r0) { step = 8; continue; } - r0 = s.current___28407.fields["lifespan"]; + r0 = s.current___29721.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 0); s.tmp_0 = r0; @@ -79760,16 +79787,16 @@ switch (step) { if (!r0) { step = 6; continue; } s.tmp_2 = particles_ParticleSource_drawParticle__P1732_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.current___28407; - s.tmp_2.arg2 = s.left___28410; - s.tmp_2.arg3 = s.top___28420; - s.callLocIdx = 1072; s.pc = 9; return s.tmp_2; + s.tmp_2.arg1 = s.current___29721; + s.tmp_2.arg2 = s.left___29724; + s.tmp_2.arg3 = s.top___29734; + s.callLocIdx = 1074; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; case 6: case 7: - r0 = s.current___28407.fields["next"]; - s.current___28407 = (r0); + r0 = s.current___29721.fields["next"]; + s.current___29721 = (r0); { step = 5; continue; } case 8: r0 = undefined; @@ -79788,9 +79815,9 @@ function particles_ParticleSource___draw__P1717_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - current___28407: undefined, - left___28410: undefined, - top___28420: undefined, + current___29721: undefined, + left___29724: undefined, + top___29734: undefined, arg0: undefined, arg1: undefined, } } @@ -79924,7 +79951,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___28471 = undefined; + s.p___29785 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -79935,22 +79962,22 @@ switch (step) { s.tmp_0 = particles_AreaFactory_createParticle__P1788_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1166; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1168; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___28471 = (r0); - s.tmp_0 = r0 = s.p___28471; + s.p___29785 = (r0); + s.tmp_0 = r0 = s.p___29785; s.tmp_2 = Math_FastRandom_randomRange__P1567_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 1; s.tmp_2.arg2 = 14; - s.callLocIdx = 1167; s.pc = 2; return s.tmp_2; + s.callLocIdx = 1169; 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___28471; + r0 = s.p___29785; return leave(s, r0) default: oops() } } } @@ -79964,7 +79991,7 @@ function particles_ShapeFactory_createParticle__P1800_mk(s) { tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - p___28471: undefined, + p___29785: undefined, arg0: undefined, arg1: undefined, } } @@ -79983,7 +80010,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___28484 = undefined; + s.p___29798 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -79994,11 +80021,11 @@ switch (step) { s.tmp_0 = particles_SprayFactory_createParticle__P1781_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1148; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1150; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.p___28484 = (r0); - s.tmp_0 = r0 = s.p___28484; + s.p___29798 = (r0); + s.tmp_0 = r0 = s.p___29798; s.tmp_2 = Math_FastRandom_randomRange__P1567_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; @@ -80006,19 +80033,19 @@ switch (step) { s.tmp_2.arg1 = r0; r0 = s.arg0.fields["maxLifespan"]; s.tmp_2.arg2 = r0; - s.callLocIdx = 1149; s.pc = 4; return s.tmp_2; + s.callLocIdx = 1151; 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___28484; + s.tmp_0 = r0 = s.p___29798; s.tmp_4 = Math_FastRandom_randomRange__P1567_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 = 1150; s.pc = 5; return s.tmp_4; + s.callLocIdx = 1152; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; s.tmp_3 = r0; @@ -80028,7 +80055,7 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_3 - s.tmp_5); s.tmp_2 = r0; - r0 = s.p___28484.fields["_x"]; + r0 = s.p___29798.fields["_x"]; s.tmp_7 = r0; r0 = (s.tmp_2 << 8); s.tmp_8 = r0; @@ -80043,7 +80070,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 = 1153; s.pc = 6; return s.tmp_1; } + else { s.callLocIdx = 1155; s.pc = 6; return s.tmp_1; } } case 6: r0 = s.retval; @@ -80058,7 +80085,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 = 1154; s.pc = 7; return s.tmp_3; } + else { s.callLocIdx = 1156; s.pc = 7; return s.tmp_3; } } case 7: r0 = s.retval; @@ -80070,27 +80097,27 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = r0 = s.p___28484; + s.tmp_5 = r0 = s.p___29798; s.tmp_9 = Math_FastRandom_randomRange__P1567_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 = 1152; s.pc = 8; return s.tmp_9; + s.callLocIdx = 1154; 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___28484.fields["_y"]; + r0 = s.p___29798.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___28484; + r0 = s.p___29798; return leave(s, r0) default: oops() } } } @@ -80113,7 +80140,7 @@ function particles_AreaFactory_createParticle__P1788_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - p___28484: undefined, + p___29798: undefined, arg0: undefined, arg1: undefined, } } @@ -80132,8 +80159,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___28533 = undefined; - s.angle___28537 = undefined; + s.p___29847 = undefined; + s.angle___29851 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -80144,10 +80171,10 @@ switch (step) { s.tmp_0 = particles_ParticleFactory_createParticle__P1776_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1137; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1139; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___28533 = (r0); + s.p___29847 = (r0); r0 = s.arg0.fields["minAngle"]; s.tmp_1 = r0; s.tmp_3 = Math_FastRandom_randomRange__P1567_mk(s); @@ -80155,16 +80182,16 @@ switch (step) { s.tmp_3.arg1 = 0; r0 = s.arg0.fields["spread"]; s.tmp_3.arg2 = r0; - s.callLocIdx = 1138; s.pc = 2; return s.tmp_3; + s.callLocIdx = 1140; 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___28537 = (r0); - s.tmp_0 = r0 = s.p___28533; - r0 = pxsim_Array__getAt(globals.cachedSin___1753, s.angle___28537); + s.angle___29851 = (r0); + s.tmp_0 = r0 = s.p___29847; + r0 = pxsim_Array__getAt(globals.cachedSin___1753, s.angle___29851); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -80173,8 +80200,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___28533; - r0 = pxsim_Array__getAt(globals.cachedCos___1754, s.angle___28537); + s.tmp_0 = r0 = s.p___29847; + r0 = pxsim_Array__getAt(globals.cachedCos___1754, s.angle___29851); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -80183,7 +80210,7 @@ switch (step) { r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - r0 = s.p___28533; + r0 = s.p___29847; return leave(s, r0) default: oops() } } } @@ -80199,8 +80226,8 @@ function particles_SprayFactory_createParticle__P1781_mk(s) { tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - p___28533: undefined, - angle___28537: undefined, + p___29847: undefined, + angle___29851: undefined, arg0: undefined, arg1: undefined, } } @@ -80403,8 +80430,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bounce___28630 = undefined; - s.tm___28635 = undefined; + s.bounce___30108 = undefined; + s.tm___30113 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -80477,13 +80504,13 @@ switch (step) { r0 = s.arg0.fields["flags"]; s.tmp_0 = r0; r0 = (s.tmp_0 & 32); - s.bounce___28630 = (r0); + s.bounce___30108 = (r0); s.tmp_0 = game_currentScene__P961_mk(s); s.callLocIdx = 390; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___28635 = (r0); + s.tm___30113 = (r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 8); @@ -80493,13 +80520,13 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 9: - s.tmp_2 = r0 = s.bounce___28630; + s.tmp_2 = r0 = s.bounce___30108; 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___28635); + r0 = pxsim_numops_toBoolDecr(s.tm___30113); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); case 11: @@ -80530,7 +80557,7 @@ switch (step) { s.callLocIdx = 394; s.pc = 38; return s.tmp_10; case 38: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___28630); + r0 = pxsim_numops_toBoolDecr(s.bounce___30108); if (!r0) { step = 13; continue; } s.tmp_0 = Sprite_vx__P775_mk(s); s.tmp_0.arg0 = s.arg0; @@ -80576,7 +80603,7 @@ switch (step) { s.callLocIdx = 400; s.pc = 42; return s.tmp_6; case 42: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___28630); + r0 = pxsim_numops_toBoolDecr(s.bounce___30108); if (!r0) { step = 16; continue; } s.tmp_0 = Sprite_vx__P775_mk(s); s.tmp_0.arg0 = s.arg0; @@ -80615,7 +80642,7 @@ switch (step) { s.callLocIdx = 406; s.pc = 46; return s.tmp_4; case 46: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___28630); + r0 = pxsim_numops_toBoolDecr(s.bounce___30108); if (!r0) { step = 21; continue; } s.tmp_0 = Sprite_vy__P777_mk(s); s.tmp_0.arg0 = s.arg0; @@ -80661,7 +80688,7 @@ switch (step) { s.callLocIdx = 412; s.pc = 50; return s.tmp_6; case 50: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___28630); + r0 = pxsim_numops_toBoolDecr(s.bounce___30108); if (!r0) { step = 24; continue; } s.tmp_0 = Sprite_vy__P777_mk(s); s.tmp_0.arg0 = s.arg0; @@ -80726,8 +80753,8 @@ function Sprite___update__P812_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - bounce___28630: undefined, - tm___28635: undefined, + bounce___30108: undefined, + tm___30113: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -80993,7 +81020,7 @@ function sprites_BaseSprite___visible__P640_mk(s) { -function tileworld_GameHome_update__P4564(s) { +function tileworld_GameHome_update__P15721(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81008,7 +81035,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_GameHome__C4561_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_GameHome__C15718_VT)) failedCast(r0); r0 = s.arg0.fields["p"]; r0 = r0.fields["help"]; s.tmp_2 = r0; @@ -81025,7 +81052,7 @@ switch (step) { s.tmp_3.arg2 = undefined; s.tmp_3.arg3 = 15; s.tmp_3.arg4 = 1; - s.callLocIdx = 1402; s.pc = 3; return s.tmp_3; + s.callLocIdx = 1405; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; case 1: @@ -81034,21 +81061,21 @@ switch (step) { r0 = s.arg0.fields["dirMap"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.fill(s.tmp_0, 15); - r0 = pxsim_pxtcore_mkAction(1, inline__P28751); + r0 = pxsim_pxtcore_mkAction(1, inline__P15916); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = helpers_arrayForEach__P60_mk(s); - s.tmp_1.arg0 = globals.commandImages___4556; + s.tmp_1.arg0 = globals.commandImages___15713; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1406; s.pc = 4; return s.tmp_1; + s.callLocIdx = 1409; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 9; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = globals.settingsIcon___4009; - s.callLocIdx = 1407; s.pc = 5; return s.tmp_0; + s.tmp_0.arg3 = globals.settingsIcon___7238; + s.callLocIdx = 1410; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; s.tmp_0 = helpers_imagePrint__P541_mk(s); @@ -81059,10 +81086,10 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1408; s.pc = 6; return s.tmp_0; + s.callLocIdx = 1411; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P28786); + r0 = pxsim_pxtcore_mkAction(1, inline__P15951); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = helpers_arrayForEach__P60_mk(s); @@ -81071,7 +81098,7 @@ switch (step) { r0 = s.tmp_2.fields["_backgroundsI"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1411; s.pc = 7; return s.tmp_1; + s.callLocIdx = 1414; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; s.tmp_0 = helpers_imagePrint__P541_mk(s); @@ -81082,10 +81109,10 @@ switch (step) { s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1412; s.pc = 8; return s.tmp_0; + s.callLocIdx = 1415; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P28820); + r0 = pxsim_pxtcore_mkAction(1, inline__P15985); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = helpers_arrayForEach__P60_mk(s); @@ -81094,19 +81121,19 @@ switch (step) { r0 = s.tmp_2.fields["_spritesI"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1415; s.pc = 9; return s.tmp_1; + s.callLocIdx = 1418; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_GameHome_update__P4564.info = {"start":3011,"length":917,"line":74,"column":8,"endLine":96,"endColumn":9,"fileName":"home.ts","functionName":"update","argumentNames":["this"]} +tileworld_GameHome_update__P15721.info = {"start":3011,"length":917,"line":74,"column":8,"endLine":96,"endColumn":9,"fileName":"home.ts","functionName":"update","argumentNames":["this"]} -function tileworld_GameHome_update__P4564_mk(s) { +function tileworld_GameHome_update__P15721_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_GameHome_update__P4564, depth: s.depth + 1, + parent: s, fn: tileworld_GameHome_update__P15721, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -81119,7 +81146,7 @@ function tileworld_GameHome_update__P4564_mk(s) { -function inline__P28751(s) { +function inline__P15916(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81129,13 +81156,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.img2___28754 = undefined; + s.img2___15919 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = (s.arg0 == globals.play___3991); + r0 = (s.arg0 == globals.play___7220); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -81152,9 +81179,9 @@ switch (step) { r0 = s.arg0; { step = 2; continue; } case 1: - s.tmp_5 = tileworld_greyImage__P3839_mk(s); + s.tmp_5 = tileworld_greyImage__P3924_mk(s); s.tmp_5.arg0 = s.arg0; - s.callLocIdx = 1404; s.pc = 5; return s.tmp_5; + s.callLocIdx = 1407; s.pc = 5; return s.tmp_5; case 5: r0 = s.retval; case 2: @@ -81167,25 +81194,25 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_7 = r0; - s.img2___28754 = (s.tmp_7); - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.img2___15919 = (s.tmp_7); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_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___28754; - s.callLocIdx = 1405; s.pc = 6; return s.tmp_0; + s.tmp_0.arg3 = s.img2___15919; + s.callLocIdx = 1408; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P28751.info = {"start":3218,"length":172,"line":80,"column":34,"endLine":83,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P15916.info = {"start":3218,"length":172,"line":80,"column":34,"endLine":83,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P28751_mk(s) { +function inline__P15916_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28751, depth: s.depth + 1, + parent: s, fn: inline__P15916, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -81195,7 +81222,7 @@ function inline__P28751_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - img2___28754: undefined, + img2___15919: undefined, arg0: undefined, arg1: undefined, } } @@ -81204,7 +81231,7 @@ function inline__P28751_mk(s) { -function inline__P28786(s) { +function inline__P15951(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81219,7 +81246,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_0.arg0 = s.caps[0]; r0 = (s.arg1 << 1); s.tmp_1 = r0; @@ -81227,7 +81254,7 @@ switch (step) { s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 3; s.tmp_0.arg3 = s.arg0; - s.callLocIdx = 1410; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1413; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = s.caps[0].fields["dirMap"]; @@ -81241,12 +81268,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P28786.info = {"start":3548,"length":129,"line":87,"column":46,"endLine":90,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P15951.info = {"start":3548,"length":129,"line":87,"column":46,"endLine":90,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P28786_mk(s) { +function inline__P15951_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28786, depth: s.depth + 1, + parent: s, fn: inline__P15951, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -81259,7 +81286,7 @@ function inline__P28786_mk(s) { -function inline__P28820(s) { +function inline__P15985(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81274,7 +81301,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P4341_mk(s); + s.tmp_0 = tileworld_RuleVisualsBase_drawImage__P10850_mk(s); s.tmp_0.arg0 = s.caps[0]; r0 = (s.arg1 << 1); s.tmp_1 = r0; @@ -81282,7 +81309,7 @@ switch (step) { s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 5; s.tmp_0.arg3 = s.arg0; - s.callLocIdx = 1414; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1417; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = s.caps[0].fields["dirMap"]; @@ -81296,12 +81323,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P28820.info = {"start":3778,"length":138,"line":92,"column":42,"endLine":95,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":["img","i"]} +inline__P15985.info = {"start":3778,"length":138,"line":92,"column":42,"endLine":95,"endColumn":13,"fileName":"home.ts","functionName":"inline","argumentNames":["img","i"]} -function inline__P28820_mk(s) { +function inline__P15985_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28820, depth: s.depth + 1, + parent: s, fn: inline__P15985, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -81314,7 +81341,7 @@ function inline__P28820_mk(s) { -function tileworld_GameHome_cursorMove__P4563(s) { +function tileworld_GameHome_cursorMove__P15720(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81324,8 +81351,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___28869 = undefined; - s.message___28879 = undefined; + s.index___15866 = undefined; + s.message___15876 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -81333,16 +81360,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_GameHome__C4561_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_GameHome__C15718_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__P4339_mk(s); + s.tmp_3 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = true; - s.callLocIdx = 1387; s.pc = 9; return s.tmp_3; + s.callLocIdx = 1390; s.pc = 9; return s.tmp_3; case 9: r0 = s.retval; s.tmp_2 = r0; @@ -81353,7 +81380,7 @@ switch (step) { s.tmp_5 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_5.arg0 = r0; - s.callLocIdx = 1388; s.pc = 10; return s.tmp_5; + s.callLocIdx = 1391; s.pc = 10; return s.tmp_5; case 10: r0 = s.retval; s.tmp_4 = r0; @@ -81363,7 +81390,7 @@ switch (step) { s.tmp_7 = Sprite_x__P770_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_7.arg0 = r0; - s.callLocIdx = 1389; s.pc = 11; return s.tmp_7; + s.callLocIdx = 1392; s.pc = 11; return s.tmp_7; case 11: r0 = s.retval; s.tmp_6 = r0; @@ -81375,7 +81402,7 @@ switch (step) { r0 = s.arg0.fields["helpCursor"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.tmp_8; - s.callLocIdx = 1390; s.pc = 12; return s.tmp_9; + s.callLocIdx = 1393; s.pc = 12; return s.tmp_9; case 12: r0 = s.retval; s.tmp_0 = Sprite_y__P773_mk(s); @@ -81384,37 +81411,37 @@ switch (step) { s.tmp_2 = Sprite_y__P772_mk(s); r0 = s.arg0.fields["cursor"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 1391; s.pc = 14; return s.tmp_2; + s.callLocIdx = 1394; 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 = 1392; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1395; 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__P4339_mk(s); + s.tmp_2 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1393; s.pc = 15; return s.tmp_2; + s.callLocIdx = 1396; s.pc = 15; return s.tmp_2; case 15: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_4 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1394; s.pc = 16; return s.tmp_4; + s.callLocIdx = 1397; 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___28869 = (r0); - s.tmp_2 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.index___15866 = (r0); + s.tmp_2 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = true; - s.callLocIdx = 1395; s.pc = 17; return s.tmp_2; + s.callLocIdx = 1398; s.pc = 17; return s.tmp_2; case 17: r0 = s.retval; s.tmp_1 = r0; @@ -81423,38 +81450,38 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } s.tmp_3 = tileworld_getHelp__P3837_mk(s); - s.tmp_3.arg0 = globals.helpString___4554; - s.tmp_4 = tileworld_RuleVisualsBase_col__P4339_mk(s); + s.tmp_3.arg0 = globals.helpString___15710; + s.tmp_4 = tileworld_RuleVisualsBase_col__P10848_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = true; - s.callLocIdx = 1396; s.pc = 19; return s.tmp_4; + s.callLocIdx = 1399; s.pc = 19; return s.tmp_4; case 19: r0 = s.retval; s.tmp_3.arg1 = r0; - s.tmp_5 = tileworld_RuleVisualsBase_row__P4340_mk(s); + s.tmp_5 = tileworld_RuleVisualsBase_row__P10849_mk(s); s.tmp_5.arg0 = s.arg0; s.tmp_5.arg1 = true; - s.callLocIdx = 1397; s.pc = 20; return s.tmp_5; + s.callLocIdx = 1400; s.pc = 20; return s.tmp_5; case 20: r0 = s.retval; s.tmp_3.arg2 = r0; - s.callLocIdx = 1398; s.pc = 18; return s.tmp_3; + s.callLocIdx = 1401; s.pc = 18; return s.tmp_3; case 18: r0 = s.retval; - s.message___28879 = (r0); + s.message___15876 = (r0); s.tmp_0 = Sprite_say__P808_mk(s); r0 = s.arg0.fields["helpCursor"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.message___28879; + s.tmp_0.arg1 = s.message___15876; s.tmp_0.arg2 = undefined; s.tmp_0.arg3 = 15; s.tmp_0.arg4 = 1; - s.callLocIdx = 1399; s.pc = 21; return s.tmp_0; + s.callLocIdx = 1402; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; { step = 6; continue; } case 3: - r0 = (s.index___28869 != 15); + r0 = (s.index___15866 != 15); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } @@ -81465,7 +81492,7 @@ switch (step) { s.tmp_1.arg2 = undefined; s.tmp_1.arg3 = 15; s.tmp_1.arg4 = 1; - s.callLocIdx = 1400; s.pc = 22; return s.tmp_1; + s.callLocIdx = 1403; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; { step = 5; continue; } @@ -81477,7 +81504,7 @@ switch (step) { s.tmp_0.arg2 = undefined; s.tmp_0.arg3 = 15; s.tmp_0.arg4 = 1; - s.callLocIdx = 1401; s.pc = 23; return s.tmp_0; + s.callLocIdx = 1404; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; case 5: @@ -81488,12 +81515,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_GameHome_cursorMove__P4563.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__P15720.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__P4563_mk(s) { +function tileworld_GameHome_cursorMove__P15720_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_GameHome_cursorMove__P4563, depth: s.depth + 1, + parent: s, fn: tileworld_GameHome_cursorMove__P15720, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -81505,8 +81532,8 @@ function tileworld_GameHome_cursorMove__P4563_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - index___28869: undefined, - message___28879: undefined, + index___15866: undefined, + message___15876: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -81516,7 +81543,7 @@ function tileworld_GameHome_cursorMove__P4563_mk(s) { -function tileworld_LoadScreen_cursorMove__P4574(s) { +function tileworld_LoadScreen_cursorMove__P16013(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81533,7 +81560,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_LoadScreen__C4572_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_LoadScreen__C16011_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } r0 = s.arg1; @@ -81548,12 +81575,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tileworld_LoadScreen_cursorMove__P4574.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__P16013.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__P4574_mk(s) { +function tileworld_LoadScreen_cursorMove__P16013_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_LoadScreen_cursorMove__P4574, depth: s.depth + 1, + parent: s, fn: tileworld_LoadScreen_cursorMove__P16013, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -81565,7 +81592,7 @@ function tileworld_LoadScreen_cursorMove__P4574_mk(s) { -function tileworld_BackgroundBase_update__P4282(s) { +function tileworld_BackgroundBase_update__P9494(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81580,17 +81607,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tileworld_BackgroundBase__C4281_VT)) failedCast(r0); + if (!checkSubtype(r0, tileworld_BackgroundBase__C9493_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_BackgroundBase_update__P4282.info = {"start":212,"length":31,"line":10,"column":8,"endLine":12,"endColumn":9,"fileName":"rulesBase.ts","functionName":"update","argumentNames":["this"]} +tileworld_BackgroundBase_update__P9494.info = {"start":212,"length":31,"line":10,"column":8,"endLine":12,"endColumn":9,"fileName":"rulesBase.ts","functionName":"update","argumentNames":["this"]} -function tileworld_BackgroundBase_update__P4282_mk(s) { +function tileworld_BackgroundBase_update__P9494_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_BackgroundBase_update__P4282, depth: s.depth + 1, + parent: s, fn: tileworld_BackgroundBase_update__P9494, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -81609,8 +81636,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctrl___28912 = undefined; - s.b___28916 = undefined; + s.ctrl___30211 = undefined; + s.b___30215 = undefined; s.unnamed56___U2 = undefined; s.unnamed57___U3 = undefined; if (s.lambdaArgs) { @@ -81623,9 +81650,9 @@ switch (step) { s.callLocIdx = 158; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.ctrl___28912 = (r0); - s.b___28916 = (undefined); - r0 = s.ctrl___28912.fields["buttons"]; + s.ctrl___30211 = (r0); + s.b___30215 = (undefined); + r0 = s.ctrl___30211.fields["buttons"]; s.unnamed56___U2 = (r0); s.unnamed57___U3 = (0); case 1: @@ -81635,9 +81662,9 @@ switch (step) { r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } r0 = pxsim_Array__getAt(s.unnamed56___U2, s.unnamed57___U3); - s.b___28916 = (r0); + s.b___30215 = (r0); s.tmp_3 = controller_Button__C694_v0_1_mk(s); - s.tmp_3.arg0 = s.b___28916; + s.tmp_3.arg0 = s.b___30215; if (!checkSubtype(s.tmp_3.arg0, controller_Button__C694_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isPressed; s.pc = 7; return s.tmp_3; @@ -81671,8 +81698,8 @@ function controller_AnyButton_isPressed__P708_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - ctrl___28912: undefined, - b___28916: undefined, + ctrl___30211: undefined, + b___30215: undefined, unnamed56___U2: undefined, unnamed57___U3: undefined, arg0: undefined, @@ -81768,7 +81795,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___28956 = undefined; + s.scale___29952 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -81778,12 +81805,12 @@ switch (step) { r0 = s.arg0.fields["tileMap"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___28956 = (r0); + s.scale___29952 = (r0); r0 = s.arg0.fields["_row"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___28956); + r0 = (s.tmp_1 << s.scale___29952); s.tmp_0 = r0; - r0 = (s.scale___28956 - 1); + r0 = (s.scale___29952 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -81803,7 +81830,7 @@ function tiles_Location_y__P1058_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - scale___28956: undefined, + scale___29952: undefined, arg0: undefined, } } @@ -81821,7 +81848,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___28973 = undefined; + s.scale___29969 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -81831,12 +81858,12 @@ switch (step) { r0 = s.arg0.fields["tileMap"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___28973 = (r0); + s.scale___29969 = (r0); r0 = s.arg0.fields["_col"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___28973); + r0 = (s.tmp_1 << s.scale___29969); s.tmp_0 = r0; - r0 = (s.scale___28973 - 1); + r0 = (s.scale___29969 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -81856,7 +81883,7 @@ function tiles_Location_x__P1057_mk(s) { tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - scale___28973: undefined, + scale___29969: undefined, arg0: undefined, } } @@ -82034,7 +82061,7 @@ function sprites_StaticObstacle_x__P873_mk(s) { -function tiles_legacy_LegacyTilemap_getTileImage__P4628(s) { +function tiles_legacy_LegacyTilemap_getTileImage__P9580(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82050,7 +82077,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C9551_VT)) failedCast(r0); r0 = s.arg0.fields["_tileSets"]; s.tmp_3 = r0; r0 = pxsim_Array__getAt(s.tmp_3, s.arg1); @@ -82061,31 +82088,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__P4620_mk(s); + s.tmp_4 = tiles_legacy_LegacyTilemap_generateTile__P9572_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; - s.callLocIdx = 1751; s.pc = 3; return s.tmp_4; + s.callLocIdx = 1754; s.pc = 3; return s.tmp_4; case 3: r0 = s.retval; case 1: case 2: - s.tmp_0 = tiles_legacy_TileSet_image__P4598_mk(s); + s.tmp_0 = tiles_legacy_TileSet_image__P18347_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 = 1752; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1755; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_getTileImage__P4628.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__P9580.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__P4628_mk(s) { +function tiles_legacy_LegacyTilemap_getTileImage__P9580_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_getTileImage__P4628, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_getTileImage__P9580, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -82100,7 +82127,7 @@ function tiles_legacy_LegacyTilemap_getTileImage__P4628_mk(s) { -function tiles_legacy_LegacyTilemap_isOnWall__P4626(s) { +function tiles_legacy_LegacyTilemap_isOnWall__P9578(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82110,25 +82137,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___29004 = undefined; - s.left___29007 = undefined; - s.right___29013 = undefined; - s.top___29019 = undefined; - s.bottom___29025 = undefined; - s.col___29031 = undefined; - s.row___29037 = undefined; + s.hbox___18957 = undefined; + s.left___18961 = undefined; + s.right___18967 = undefined; + s.top___18973 = undefined; + s.bottom___18979 = undefined; + s.col___18985 = undefined; + s.row___18991 = 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__C4600_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C9551_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___29004 = (r0); + s.hbox___18957 = (r0); s.tmp_1 = game_Hitbox_left__P755_mk(s); - s.tmp_1.arg0 = s.hbox___29004; - s.callLocIdx = 1739; s.pc = 8; return s.tmp_1; + s.tmp_1.arg0 = s.hbox___18957; + s.callLocIdx = 1742; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0 = r0; @@ -82137,10 +82164,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.left___29007 = (r0); + s.left___18961 = (r0); s.tmp_1 = game_Hitbox_right__P757_mk(s); - s.tmp_1.arg0 = s.hbox___29004; - s.callLocIdx = 1742; s.pc = 9; return s.tmp_1; + s.tmp_1.arg0 = s.hbox___18957; + s.callLocIdx = 1745; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.tmp_0 = r0; @@ -82149,10 +82176,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.right___29013 = (r0); + s.right___18967 = (r0); s.tmp_1 = game_Hitbox_top__P756_mk(s); - s.tmp_1.arg0 = s.hbox___29004; - s.callLocIdx = 1745; s.pc = 10; return s.tmp_1; + s.tmp_1.arg0 = s.hbox___18957; + s.callLocIdx = 1748; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; s.tmp_0 = r0; @@ -82161,10 +82188,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.top___29019 = (r0); + s.top___18973 = (r0); s.tmp_1 = game_Hitbox_bottom__P758_mk(s); - s.tmp_1.arg0 = s.hbox___29004; - s.callLocIdx = 1748; s.pc = 11; return s.tmp_1; + s.tmp_1.arg0 = s.hbox___18957; + s.callLocIdx = 1751; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = r0; @@ -82173,24 +82200,24 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.bottom___29025 = (r0); - s.col___29031 = (s.left___29007); + s.bottom___18979 = (r0); + s.col___18985 = (s.left___18961); case 1: - r0 = (s.col___29031 <= s.right___29013); + r0 = (s.col___18985 <= s.right___18967); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___29037 = (s.top___29019); + s.row___18991 = (s.top___18973); case 2: - r0 = (s.row___29037 <= s.bottom___29025); + r0 = (s.row___18991 <= s.bottom___18979); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tiles_legacy_LegacyTilemap__C4600_v12_3_mk(s); + s.tmp_2 = tiles_legacy_LegacyTilemap__C9551_v12_3_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___29031; - s.tmp_2.arg2 = s.row___29037; - if (!checkSubtype(s.tmp_2.arg0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(s.tmp_2.arg0); + s.tmp_2.arg1 = s.col___18985; + s.tmp_2.arg2 = s.row___18991; + if (!checkSubtype(s.tmp_2.arg0, tiles_legacy_LegacyTilemap__C9551_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: @@ -82202,12 +82229,12 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___29037 + 1); - s.row___29037 = (r0); + r0 = (s.row___18991 + 1); + s.row___18991 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___29031 + 1); - s.col___29031 = (r0); + r0 = (s.col___18985 + 1); + s.col___18985 = (r0); { step = 1; continue; } case 6: r0 = false; @@ -82215,24 +82242,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_isOnWall__P4626.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__P9578.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__P4626_mk(s) { +function tiles_legacy_LegacyTilemap_isOnWall__P9578_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_isOnWall__P4626, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_isOnWall__P9578, depth: s.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___29004: undefined, - left___29007: undefined, - right___29013: undefined, - top___29019: undefined, - bottom___29025: undefined, - col___29031: undefined, - row___29037: undefined, + hbox___18957: undefined, + left___18961: undefined, + right___18967: undefined, + top___18973: undefined, + bottom___18979: undefined, + col___18985: undefined, + row___18991: undefined, arg0: undefined, arg1: undefined, } } @@ -82241,7 +82268,7 @@ function tiles_legacy_LegacyTilemap_isOnWall__P4626_mk(s) { -function tiles_legacy_LegacyTilemap_getObstacle__P4625(s) { +function tiles_legacy_LegacyTilemap_getObstacle__P9577(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82251,8 +82278,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___29055 = undefined; - s.tile___29066 = undefined; + s.index___18924 = undefined; + s.tile___18935 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -82260,12 +82287,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(r0); - s.tmp_1 = tiles_legacy_LegacyTilemap_isOutsideMap__P4621_mk(s); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C9551_VT)) failedCast(r0); + s.tmp_1 = tiles_legacy_LegacyTilemap_isOutsideMap__P9573_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; - s.callLocIdx = 1733; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1736; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0 = r0; @@ -82280,33 +82307,33 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.index___29055 = (s.tmp_3); + s.index___18924 = (s.tmp_3); r0 = s.arg0.fields["_tileSets"]; s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.tmp_1, s.index___29055); + r0 = pxsim_Array__getAt(s.tmp_1, s.index___18924); 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__P4620_mk(s); + s.tmp_2 = tiles_legacy_LegacyTilemap_generateTile__P9572_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.index___29055; - s.callLocIdx = 1734; s.pc = 6; return s.tmp_2; + s.tmp_2.arg1 = s.index___18924; + s.callLocIdx = 1737; 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___29066 = (s.tmp_3); + s.tile___18935 = (s.tmp_3); r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C872_VT); s.tmp_0 = r0; s.tmp_1 = sprites_StaticObstacle_constructor__P879_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_2 = tiles_legacy_TileSet_image__P4598_mk(s); - s.tmp_2.arg0 = s.tile___29066; - s.callLocIdx = 1735; s.pc = 8; return s.tmp_2; + s.tmp_2 = tiles_legacy_TileSet_image__P18347_mk(s); + s.tmp_2.arg0 = s.tile___18935; + s.callLocIdx = 1738; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; s.tmp_1.arg1 = r0; @@ -82320,28 +82347,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__C4600_v5_1_mk(s); + s.tmp_7 = tiles_legacy_LegacyTilemap__C9551_v5_1_mk(s); s.tmp_7.arg0 = s.arg0; - if (!checkSubtype(s.tmp_7.arg0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(s.tmp_7.arg0); + if (!checkSubtype(s.tmp_7.arg0, tiles_legacy_LegacyTilemap__C9551_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___29055; - s.callLocIdx = 1738; s.pc = 7; return s.tmp_1; + s.tmp_1.arg5 = s.index___18924; + s.callLocIdx = 1741; 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__P4625.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__P9577.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__P4625_mk(s) { +function tiles_legacy_LegacyTilemap_getObstacle__P9577_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_getObstacle__P4625, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_getObstacle__P9577, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -82351,8 +82378,8 @@ function tiles_legacy_LegacyTilemap_getObstacle__P4625_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - index___29055: undefined, - tile___29066: undefined, + index___18924: undefined, + tile___18935: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -82362,7 +82389,7 @@ function tiles_legacy_LegacyTilemap_getObstacle__P4625_mk(s) { -function tiles_legacy_LegacyTilemap_isObstacle__P4624(s) { +function tiles_legacy_LegacyTilemap_isObstacle__P9576(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82372,7 +82399,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___29094 = undefined; + s.t___18908 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -82380,10 +82407,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(r0); - s.tmp_3 = tiles_legacy_LegacyTilemap__C4600_v6_1_mk(s); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C9551_VT)) failedCast(r0); + s.tmp_3 = tiles_legacy_LegacyTilemap__C9551_v6_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, tiles_legacy_LegacyTilemap__C9551_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: @@ -82399,11 +82426,11 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.tmp_5 = tiles_legacy_LegacyTilemap_isOutsideMap__P4621_mk(s); + s.tmp_5 = tiles_legacy_LegacyTilemap_isOutsideMap__P9573_mk(s); s.tmp_5.arg0 = s.arg0; s.tmp_5.arg1 = s.arg1; s.tmp_5.arg2 = s.arg2; - s.callLocIdx = 1732; s.pc = 9; return s.tmp_5; + s.callLocIdx = 1735; s.pc = 9; return s.tmp_5; case 9: r0 = s.retval; s.tmp_4 = r0; @@ -82420,14 +82447,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___29094 = (r0); - s.tmp_0 = r0 = s.t___29094; + s.t___18908 = (r0); + s.tmp_0 = r0 = s.t___18908; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } r0 = s.tmp_0; { step = 6; continue; } case 5: - r0 = s.t___29094.fields["obstacle"]; + r0 = s.t___18908.fields["obstacle"]; case 6: // jmp value (already in r0) s.tmp_1 = r0; @@ -82436,12 +82463,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_isObstacle__P4624.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__P9576.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__P4624_mk(s) { +function tiles_legacy_LegacyTilemap_isObstacle__P9576_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_isObstacle__P4624, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_isObstacle__P9576, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -82452,7 +82479,7 @@ function tiles_legacy_LegacyTilemap_isObstacle__P4624_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - t___29094: undefined, + t___18908: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -82462,7 +82489,7 @@ function tiles_legacy_LegacyTilemap_isObstacle__P4624_mk(s) { -function tiles_legacy_LegacyTilemap_getTile__P4616(s) { +function tiles_legacy_LegacyTilemap_getTile__P9568(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82479,7 +82506,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C9551_VT)) failedCast(r0); r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C1054_VT); s.tmp_0 = r0; s.tmp_1 = tiles_Location_constructor__P1062_mk(s); @@ -82487,19 +82514,19 @@ switch (step) { s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; s.tmp_1.arg3 = s.arg0; - s.callLocIdx = 1709; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1712; 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__P4616.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__P9568.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__P4616_mk(s) { +function tiles_legacy_LegacyTilemap_getTile__P9568_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_getTile__P4616, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_getTile__P9568, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -82512,7 +82539,7 @@ function tiles_legacy_LegacyTilemap_getTile__P4616_mk(s) { -function tiles_legacy_LegacyTilemap_layer__P4610(s) { +function tiles_legacy_LegacyTilemap_layer__P9562(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82527,18 +82554,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C4600_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_legacy_LegacyTilemap__C9551_VT)) failedCast(r0); r0 = s.arg0.fields["_layer"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_legacy_LegacyTilemap_layer__P4610.info = {"start":2685,"length":63,"line":89,"column":8,"endLine":91,"endColumn":9,"fileName":"mytilemap.ts","functionName":"layer","argumentNames":["this"]} -tiles_legacy_LegacyTilemap_layer__P4610.isGetter = true; +tiles_legacy_LegacyTilemap_layer__P9562.info = {"start":2685,"length":63,"line":89,"column":8,"endLine":91,"endColumn":9,"fileName":"mytilemap.ts","functionName":"layer","argumentNames":["this"]} +tiles_legacy_LegacyTilemap_layer__P9562.isGetter = true; -function tiles_legacy_LegacyTilemap_layer__P4610_mk(s) { +function tiles_legacy_LegacyTilemap_layer__P9562_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_legacy_LegacyTilemap_layer__P4610, depth: s.depth + 1, + parent: s, fn: tiles_legacy_LegacyTilemap_layer__P9562, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -82547,7 +82574,7 @@ function tiles_legacy_LegacyTilemap_layer__P4610_mk(s) { -function tileworld_TileSprite___drawCore__P4246(s) { +function tileworld_TileSprite___drawCore__P7465(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -82557,21 +82584,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___29121 = undefined; - s.oy___29129 = undefined; - s.l___29137 = undefined; - s.t___29145 = undefined; + s.ox___7611 = undefined; + s.oy___7619 = undefined; + s.l___7627 = undefined; + s.t___7635 = 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__C4240_VT)) failedCast(r0); - s.tmp_1 = tileworld_TileSprite__C4240_v4_2_mk(s); + if (!checkSubtype(r0, tileworld_TileSprite__C7459_VT)) failedCast(r0); + s.tmp_1 = tileworld_TileSprite__C7459_v4_2_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; - if (!checkSubtype(s.tmp_1.arg0, tileworld_TileSprite__C4240_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, tileworld_TileSprite__C7459_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: @@ -82595,7 +82622,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.ox___29121 = (s.tmp_4); + s.ox___7611 = (s.tmp_4); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -82609,7 +82636,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___29129 = (s.tmp_2); + s.oy___7619 = (s.tmp_2); r0 = s.arg0.fields["debug"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -82623,47 +82650,47 @@ switch (step) { s.tmp_1 = r0; s.tmp_4 = Sprite_left__P796_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 295; s.pc = 11; return s.tmp_4; + s.callLocIdx = 296; s.pc = 11; return s.tmp_4; case 11: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 - s.ox___29121); + r0 = (s.tmp_3 - s.ox___7611); s.tmp_2 = r0; r0 = (s.tmp_2 + s.tmp_1); - s.l___29137 = (r0); + s.l___7627 = (r0); s.tmp_1 = Sprite_top__P800_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 296; s.pc = 12; return s.tmp_1; + s.callLocIdx = 297; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.oy___29129); - s.t___29145 = (r0); + r0 = (s.tmp_0 - s.oy___7619); + s.t___7635 = (r0); s.tmp_0 = r0 = globals.screen___578; r0 = s.arg0.fields["_image"]; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.l___29137, s.t___29145); + r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.l___7627, s.t___7635); case 9: r0 = undefined; return leave(s, r0) default: oops() } } } -tileworld_TileSprite___drawCore__P4246.info = {"start":2158,"length":627,"line":44,"column":8,"endLine":57,"endColumn":9,"fileName":"vm.ts","functionName":"__drawCore","argumentNames":["this","camera"]} +tileworld_TileSprite___drawCore__P7465.info = {"start":2191,"length":627,"line":45,"column":8,"endLine":58,"endColumn":9,"fileName":"vm.ts","functionName":"__drawCore","argumentNames":["this","camera"]} -function tileworld_TileSprite___drawCore__P4246_mk(s) { +function tileworld_TileSprite___drawCore__P7465_mk(s) { checkStack(s.depth); return { - parent: s, fn: tileworld_TileSprite___drawCore__P4246, depth: s.depth + 1, + parent: s, fn: tileworld_TileSprite___drawCore__P7465, depth: s.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___29121: undefined, - oy___29129: undefined, - l___29137: undefined, - t___29145: undefined, + ox___7611: undefined, + oy___7619: undefined, + l___7627: undefined, + t___7635: undefined, arg0: undefined, arg1: undefined, } } @@ -82695,12 +82722,12 @@ switch (step) { 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 = 810; s.pc = 1; return s.tmp_0; + s.callLocIdx = 812; 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 = 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; } + 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; } } case 1: r0 = s.retval; @@ -82744,12 +82771,12 @@ switch (step) { 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 = 809; s.pc = 1; return s.tmp_0; + s.callLocIdx = 811; 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 = 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; } + 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; } } case 1: r0 = s.retval; @@ -82851,7 +82878,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pImage___29172 = undefined; + s.pImage___30236 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -82866,17 +82893,17 @@ switch (step) { s.tmp_1.arg0 = r0; r0 = s.arg0.fields["sources"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 1161; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1163; 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___29172 = (r0); + s.pImage___30236 = (r0); r0 = s.arg1.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.pImage___29172, 15, s.tmp_0); + r0 = pxsim_ImageMethods.replace(s.pImage___30236, 15, s.tmp_0); s.tmp_0 = r0 = globals.screen___578; - s.tmp_1 = r0 = s.pImage___29172; + s.tmp_1 = r0 = s.pImage___30236; r0 = s.arg0.fields["ox"]; s.tmp_4 = r0; r0 = (s.arg2 - s.tmp_4); @@ -82915,7 +82942,7 @@ function particles_ShapeFactory_drawParticle__P1799_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - pImage___29172: undefined, + pImage___30236: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -82972,7 +82999,7 @@ switch (step) { s.tmp_7 = r0; r0 = (s.tmp_7 - 1); s.tmp_6.arg2 = r0; - s.callLocIdx = 897; 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; @@ -83014,7 +83041,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___29219 = undefined; + s.col___30283 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -83050,7 +83077,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.col___29219 = (s.tmp_5); + s.col___30283 = (s.tmp_5); s.tmp_0 = r0 = globals.screen___578; r0 = (s.arg2 + 128); s.tmp_2 = r0; @@ -83060,7 +83087,7 @@ 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___29219); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, s.col___30283); r0 = undefined; return leave(s, r0) default: oops() @@ -83078,7 +83105,7 @@ function particles_AreaFactory_drawParticle__P1789_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - col___29219: undefined, + col___30283: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -83154,13 +83181,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___29250 = undefined; - s.oy___29258 = undefined; - s.l___29266 = undefined; - s.t___29270 = undefined; - s.font___29286 = undefined; - s.tx___29290 = undefined; - s.ty___29292 = undefined; + s.ox___30327 = undefined; + s.oy___30335 = undefined; + s.l___30343 = undefined; + s.t___30347 = undefined; + s.font___30363 = undefined; + s.tx___30367 = undefined; + s.ty___30369 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -83195,7 +83222,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.ox___29250 = (s.tmp_4); + s.ox___30327 = (s.tmp_4); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -83209,35 +83236,35 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___29258 = (s.tmp_2); + s.oy___30335 = (s.tmp_2); s.tmp_1 = Sprite_left__P796_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___29250); - s.l___29266 = (r0); + r0 = (s.tmp_0 - s.ox___30327); + s.l___30343 = (r0); s.tmp_1 = Sprite_top__P800_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___29258); - s.t___29270 = (r0); + r0 = (s.tmp_0 - s.oy___30335); + s.t___30347 = (r0); r0 = s.arg0.fields["_image"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___578, s.tmp_0, s.l___29266, s.t___29270); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___578, s.tmp_0, s.l___30343, s.t___30347); 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___29286 = (globals.font5___537); - s.tx___29290 = (s.l___29266); - s.tmp_1 = r0 = s.t___29270; + s.font___30363 = (globals.font5___537); + s.tx___30367 = (s.l___30343); + s.tmp_1 = r0 = s.t___30347; r0 = s.arg0.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -83245,7 +83272,7 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 2); - s.ty___29292 = (r0); + s.ty___30369 = (r0); s.tmp_0 = helpers_imagePrint__P541_mk(s); s.tmp_0.arg0 = globals.screen___578; r0 = pxsim_String_.mkEmpty(); @@ -83290,17 +83317,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___29290; - s.tmp_0.arg3 = s.ty___29292; + s.tmp_0.arg2 = s.tx___30367; + s.tmp_0.arg3 = s.ty___30369; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___29286; + s.tmp_0.arg5 = s.font___30363; 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___29290; + s.tmp_0 = r0 = s.tx___30367; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___29286; + s.tmp_2.arg0 = s.font___30363; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -83313,7 +83340,7 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.tx___29290 = (r0); + s.tx___30367 = (r0); s.tmp_1 = Sprite_vx__P774_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 369; s.pc = 29; return s.tmp_1; @@ -83335,9 +83362,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___29292; + s.tmp_4 = r0 = s.ty___30369; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___29286; + s.tmp_7.arg0 = s.font___30363; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -83352,7 +83379,7 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___29292 = (r0); + s.ty___30369 = (r0); s.tmp_0 = helpers_imagePrint__P541_mk(s); s.tmp_0.arg0 = globals.screen___578; s.tmp_6 = Sprite_vx__P774_mk(s); @@ -83395,10 +83422,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___29290; - s.tmp_0.arg3 = s.ty___29292; + s.tmp_0.arg2 = s.tx___30367; + s.tmp_0.arg3 = s.ty___30369; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___29286; + s.tmp_0.arg5 = s.font___30363; s.tmp_0.arg6 = undefined; s.callLocIdx = 374; s.pc = 32; return s.tmp_0; case 32: @@ -83426,9 +83453,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___29292; + s.tmp_4 = r0 = s.ty___30369; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___29286; + s.tmp_7.arg0 = s.font___30363; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -83443,7 +83470,7 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___29292 = (r0); + s.ty___30369 = (r0); s.tmp_0 = helpers_imagePrint__P541_mk(s); s.tmp_0.arg0 = globals.screen___578; s.tmp_6 = Sprite_ax__P778_mk(s); @@ -83486,10 +83513,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___29290; - s.tmp_0.arg3 = s.ty___29292; + s.tmp_0.arg2 = s.tx___30367; + s.tmp_0.arg3 = s.ty___30369; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___29286; + s.tmp_0.arg5 = s.font___30363; s.tmp_0.arg6 = undefined; s.callLocIdx = 380; s.pc = 40; return s.tmp_0; case 40: @@ -83513,7 +83540,7 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.ox___29250); + r0 = (s.tmp_1 - s.ox___30327); s.tmp_0.arg1 = r0; s.tmp_7 = game_Hitbox_top__P756_mk(s); r0 = s.arg0.fields["_hitbox"]; @@ -83526,7 +83553,7 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 >> 8); s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___29258); + r0 = (s.tmp_5 - s.oy___30335); s.tmp_0.arg2 = r0; r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["width"]; @@ -83573,13 +83600,13 @@ function Sprite___drawCore__P811_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - ox___29250: undefined, - oy___29258: undefined, - l___29266: undefined, - t___29270: undefined, - font___29286: undefined, - tx___29290: undefined, - ty___29292: undefined, + ox___30327: undefined, + oy___30335: undefined, + l___30343: undefined, + t___30347: undefined, + font___30363: undefined, + tx___30367: undefined, + ty___30369: undefined, arg0: undefined, arg1: undefined, } } @@ -84815,7 +84842,7 @@ function if_up_2_mk(s) { } } -function tileworld_LoadScreen__C4572_v0_1_mk(s) { +function tileworld_LoadScreen__C16011_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84829,7 +84856,7 @@ function tileworld_LoadScreen__C4572_v0_1_mk(s) { } } -function tileworld_ProjectSettings__C4550_v0_1_mk(s) { +function tileworld_ProjectSettings__C15482_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84857,7 +84884,7 @@ function if_width_1_mk(s) { } } -function tileworld_ruleediting_RuleRoom__C4455_v0_1_mk(s) { +function tileworld_ruleediting_RuleRoom__C12555_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84871,7 +84898,7 @@ function tileworld_ruleediting_RuleRoom__C4455_v0_1_mk(s) { } } -function tileworld_ruleediting_RuleEditor__C4487_v0_1_mk(s) { +function tileworld_ruleediting_RuleEditor__C12671_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84885,7 +84912,7 @@ function tileworld_ruleediting_RuleEditor__C4487_v0_1_mk(s) { } } -function tileworld_ruleediting_RuleDisplay__C4397_v4_4_mk(s) { +function tileworld_ruleediting_RuleDisplay__C11265_v4_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84902,7 +84929,7 @@ function tileworld_ruleediting_RuleDisplay__C4397_v4_4_mk(s) { } } -function tileworld_ruleediting_RuleDisplay__C4397_v3_1_mk(s) { +function tileworld_ruleediting_RuleDisplay__C11265_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84916,7 +84943,7 @@ function tileworld_ruleediting_RuleDisplay__C4397_v3_1_mk(s) { } } -function tileworld_ruleediting_RuleRoom__C4455_v3_1_mk(s) { +function tileworld_ruleediting_RuleRoom__C12555_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84930,7 +84957,7 @@ function tileworld_ruleediting_RuleRoom__C4455_v3_1_mk(s) { } } -function tileworld_ImageEditor__C4316_v0_1_mk(s) { +function tileworld_ImageEditor__C10052_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84958,7 +84985,7 @@ function if_update_1_mk(s) { } } -function tileworld_MapEditor__C4531_v0_1_mk(s) { +function tileworld_MapEditor__C13477_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -84989,7 +85016,7 @@ function tiles_TileMap__C1086_v9_4_mk(s) { } } -function tiles_legacy_LegacyTilemap__C4600_v10_2_mk(s) { +function tiles_legacy_LegacyTilemap__C9551_v10_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -85004,7 +85031,7 @@ function tiles_legacy_LegacyTilemap__C4600_v10_2_mk(s) { } } -function tileworld_RuleVisualsBase__C4330_v1_1_mk(s) { +function tileworld_RuleVisualsBase__C10839_v1_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -85018,7 +85045,7 @@ function tileworld_RuleVisualsBase__C4330_v1_1_mk(s) { } } -function tileworld_RuleVisualsBase__C4330_v2_3_mk(s) { +function tileworld_RuleVisualsBase__C10839_v2_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -85034,7 +85061,7 @@ function tileworld_RuleVisualsBase__C4330_v2_3_mk(s) { } } -function tiles_legacy_LegacyTilemap__C4600_v6_1_mk(s) { +function tiles_legacy_LegacyTilemap__C9551_v6_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -85048,7 +85075,7 @@ function tiles_legacy_LegacyTilemap__C4600_v6_1_mk(s) { } } -function tiles_legacy_LegacyTilemap__C4600_v4_1_mk(s) { +function tiles_legacy_LegacyTilemap__C9551_v4_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -85062,7 +85089,7 @@ function tiles_legacy_LegacyTilemap__C4600_v4_1_mk(s) { } } -function tiles_legacy_LegacyTilemap__C4600_v3_1_mk(s) { +function tiles_legacy_LegacyTilemap__C9551_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -85076,7 +85103,7 @@ function tiles_legacy_LegacyTilemap__C4600_v3_1_mk(s) { } } -function tileworld_ruleediting_RuleViewDisplay__C4445_v0_1_mk(s) { +function tileworld_ruleediting_RuleViewDisplay__C12387_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -85090,7 +85117,7 @@ function tileworld_ruleediting_RuleViewDisplay__C4445_v0_1_mk(s) { } } -function tiles_legacy_LegacyTilemap__C4600_v12_3_mk(s) { +function tiles_legacy_LegacyTilemap__C9551_v12_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -85106,7 +85133,7 @@ function tiles_legacy_LegacyTilemap__C4600_v12_3_mk(s) { } } -function tiles_legacy_LegacyTilemap__C4600_v5_1_mk(s) { +function tiles_legacy_LegacyTilemap__C9551_v5_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -85120,7 +85147,7 @@ function tiles_legacy_LegacyTilemap__C4600_v5_1_mk(s) { } } -function tileworld_TileSprite__C4240_v4_2_mk(s) { +function tileworld_TileSprite__C7459_v4_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -85236,29 +85263,29 @@ const texteffects_TextEffect__C1907_VT = mkVTable({ "set/getState": null, }, }); -const tileworld_BackgroundBase__C4281_VT = mkVTable({ +const tileworld_BackgroundBase__C9493_VT = mkVTable({ name: "BackgroundBase", numFields: 0, classNo: 20, lastSubtypeNo: 32, maxBgInstances: null, methods: { - "update": tileworld_BackgroundBase_update__P4282, + "update": tileworld_BackgroundBase_update__P9494, }, iface: { - "update": tileworld_BackgroundBase_update__P4282, + "update": tileworld_BackgroundBase_update__P9494, }, }); -const tileworld_RuleVisualsBase__C4330_VT = mkVTable({ +const tileworld_RuleVisualsBase__C10839_VT = mkVTable({ name: "RuleVisualsBase", numFields: 6, classNo: 21, lastSubtypeNo: 29, maxBgInstances: null, methods: { - "update": tileworld_BackgroundBase_update__P4282, - "okToMove": tileworld_RuleVisualsBase_okToMove__P4335, - "cursorMove": tileworld_RuleVisualsBase_cursorMove__P4347, + "update": tileworld_BackgroundBase_update__P9494, + "okToMove": tileworld_RuleVisualsBase_okToMove__P10844, + "cursorMove": tileworld_RuleVisualsBase_cursorMove__P10856, }, iface: { "cursor": null, @@ -85273,35 +85300,35 @@ const tileworld_RuleVisualsBase__C4330_VT = mkVTable({ "set/dirMap": null, "p": null, "set/p": null, - "moveInX": tileworld_RuleVisualsBase_moveInX__P4332, - "moveUp": tileworld_RuleVisualsBase_moveUp__P4333, - "moveDown": tileworld_RuleVisualsBase_moveDown__P4334, - "okToMove": tileworld_RuleVisualsBase_okToMove__P4335, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P4336, - "setCol": tileworld_RuleVisualsBase_setCol__P4337, - "setRow": tileworld_RuleVisualsBase_setRow__P4338, - "col": tileworld_RuleVisualsBase_col__P4339, - "row": tileworld_RuleVisualsBase_row__P4340, - "drawImage": tileworld_RuleVisualsBase_drawImage__P4341, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P4342, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P4343, - "fillTile": tileworld_RuleVisualsBase_fillTile__P4344, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P4345, - "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P4346, - "cursorMove": tileworld_RuleVisualsBase_cursorMove__P4347, - "update": tileworld_BackgroundBase_update__P4282, + "moveInX": tileworld_RuleVisualsBase_moveInX__P10841, + "moveUp": tileworld_RuleVisualsBase_moveUp__P10842, + "moveDown": tileworld_RuleVisualsBase_moveDown__P10843, + "okToMove": tileworld_RuleVisualsBase_okToMove__P10844, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P10845, + "setCol": tileworld_RuleVisualsBase_setCol__P10846, + "setRow": tileworld_RuleVisualsBase_setRow__P10847, + "col": tileworld_RuleVisualsBase_col__P10848, + "row": tileworld_RuleVisualsBase_row__P10849, + "drawImage": tileworld_RuleVisualsBase_drawImage__P10850, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P10851, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P10852, + "fillTile": tileworld_RuleVisualsBase_fillTile__P10853, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P10854, + "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P10855, + "cursorMove": tileworld_RuleVisualsBase_cursorMove__P10856, + "update": tileworld_BackgroundBase_update__P9494, }, }); -const tileworld_LoadScreen__C4572_VT = mkVTable({ +const tileworld_LoadScreen__C16011_VT = mkVTable({ name: "LoadScreen", numFields: 7, classNo: 22, lastSubtypeNo: 22, maxBgInstances: null, methods: { - "update": tileworld_LoadScreen_update__P4576, - "okToMove": tileworld_RuleVisualsBase_okToMove__P4335, - "cursorMove": tileworld_LoadScreen_cursorMove__P4574, + "update": tileworld_LoadScreen_update__P16015, + "okToMove": tileworld_RuleVisualsBase_okToMove__P10844, + "cursorMove": tileworld_LoadScreen_cursorMove__P16013, }, iface: { "cursor": null, @@ -85318,27 +85345,27 @@ const tileworld_LoadScreen__C4572_VT = mkVTable({ "set/p": null, "lastDir": null, "set/lastDir": null, - "cursorMove": tileworld_LoadScreen_cursorMove__P4574, - "makeIt": tileworld_LoadScreen_makeIt__P4575, - "update": tileworld_LoadScreen_update__P4576, - "moveInX": tileworld_RuleVisualsBase_moveInX__P4332, - "moveUp": tileworld_RuleVisualsBase_moveUp__P4333, - "moveDown": tileworld_RuleVisualsBase_moveDown__P4334, - "okToMove": tileworld_RuleVisualsBase_okToMove__P4335, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P4336, - "setCol": tileworld_RuleVisualsBase_setCol__P4337, - "setRow": tileworld_RuleVisualsBase_setRow__P4338, - "col": tileworld_RuleVisualsBase_col__P4339, - "row": tileworld_RuleVisualsBase_row__P4340, - "drawImage": tileworld_RuleVisualsBase_drawImage__P4341, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P4342, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P4343, - "fillTile": tileworld_RuleVisualsBase_fillTile__P4344, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P4345, - "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P4346, + "cursorMove": tileworld_LoadScreen_cursorMove__P16013, + "makeIt": tileworld_LoadScreen_makeIt__P16014, + "update": tileworld_LoadScreen_update__P16015, + "moveInX": tileworld_RuleVisualsBase_moveInX__P10841, + "moveUp": tileworld_RuleVisualsBase_moveUp__P10842, + "moveDown": tileworld_RuleVisualsBase_moveDown__P10843, + "okToMove": tileworld_RuleVisualsBase_okToMove__P10844, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P10845, + "setCol": tileworld_RuleVisualsBase_setCol__P10846, + "setRow": tileworld_RuleVisualsBase_setRow__P10847, + "col": tileworld_RuleVisualsBase_col__P10848, + "row": tileworld_RuleVisualsBase_row__P10849, + "drawImage": tileworld_RuleVisualsBase_drawImage__P10850, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P10851, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P10852, + "fillTile": tileworld_RuleVisualsBase_fillTile__P10853, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P10854, + "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P10855, }, }); -const tileworld_Project__C3937_VT = mkVTable({ +const tileworld_Project__C6110_VT = mkVTable({ name: "Project", numFields: 12, classNo: 33, @@ -85371,45 +85398,45 @@ const tileworld_Project__C3937_VT = mkVTable({ "set/_backgroundsI": null, "_spritesI": null, "set/_spritesI": null, - "setRules": tileworld_Project_setRules__P3938, - "getRules": tileworld_Project_getRules__P3939, - "setPlayer": tileworld_Project_setPlayer__P3940, - "getPlayer": tileworld_Project_getPlayer__P3941, - "setWorldBackgrounds": tileworld_Project_setWorldBackgrounds__P3942, - "getWorldBackgrounds": tileworld_Project_getWorldBackgrounds__P3943, - "setWorldSprites": tileworld_Project_setWorldSprites__P3944, - "getWorldSprites": tileworld_Project_getWorldSprites__P3945, - "backCnt": tileworld_Project_backCnt__P3946, - "spriteCnt": tileworld_Project_spriteCnt__P3947, - "allCnt": tileworld_Project_allCnt__P3948, - "backgroundImages": tileworld_Project_backgroundImages__P3949, - "spriteImages": tileworld_Project_spriteImages__P3950, - "getBackgroundImage": tileworld_Project_getBackgroundImage__P3951, - "getSpriteImage": tileworld_Project_getSpriteImage__P3952, - "saveBackgroundImage": tileworld_Project_saveBackgroundImage__P3953, - "saveSpriteImage": tileworld_Project_saveSpriteImage__P3954, - "saveRule": tileworld_Project_saveRule__P3955, - "makeRule": tileworld_Project_makeRule__P3956, - "removeRule": tileworld_Project_removeRule__P3957, - "saveWorld": tileworld_Project_saveWorld__P3958, - "saveHelp": tileworld_Project_saveHelp__P3959, - "newHighScore": tileworld_Project_newHighScore__P3960, - "storeRule": tileworld_Project_storeRule__P3961, - "saveProject": tileworld_Project_saveProject__P3962, - "wrapRule": tileworld_Project_wrapRule__P3964, - "getRulesForSpriteKind": tileworld_Project_getRulesForSpriteKind__P3965, + "setRules": tileworld_Project_setRules__P6111, + "getRules": tileworld_Project_getRules__P6112, + "setPlayer": tileworld_Project_setPlayer__P6113, + "getPlayer": tileworld_Project_getPlayer__P6114, + "setWorldBackgrounds": tileworld_Project_setWorldBackgrounds__P6115, + "getWorldBackgrounds": tileworld_Project_getWorldBackgrounds__P6116, + "setWorldSprites": tileworld_Project_setWorldSprites__P6117, + "getWorldSprites": tileworld_Project_getWorldSprites__P6118, + "backCnt": tileworld_Project_backCnt__P5248, + "spriteCnt": tileworld_Project_spriteCnt__P5256, + "allCnt": tileworld_Project_allCnt__P6119, + "backgroundImages": tileworld_Project_backgroundImages__P5990, + "spriteImages": tileworld_Project_spriteImages__P5994, + "getBackgroundImage": tileworld_Project_getBackgroundImage__P6002, + "getSpriteImage": tileworld_Project_getSpriteImage__P6007, + "saveBackgroundImage": tileworld_Project_saveBackgroundImage__P6016, + "saveSpriteImage": tileworld_Project_saveSpriteImage__P6021, + "saveRule": tileworld_Project_saveRule__P6120, + "makeRule": tileworld_Project_makeRule__P6121, + "removeRule": tileworld_Project_removeRule__P6122, + "saveWorld": tileworld_Project_saveWorld__P6123, + "saveHelp": tileworld_Project_saveHelp__P6124, + "newHighScore": tileworld_Project_newHighScore__P6125, + "storeRule": tileworld_Project_storeRule__P6126, + "saveProject": tileworld_Project_saveProject__P6127, + "wrapRule": tileworld_Project_wrapRule__P6129, + "getRulesForSpriteKind": tileworld_Project_getRulesForSpriteKind__P6130, }, }); -const tileworld_GameHome__C4561_VT = mkVTable({ +const tileworld_GameHome__C15718_VT = mkVTable({ name: "GameHome", numFields: 6, classNo: 23, lastSubtypeNo: 23, maxBgInstances: null, methods: { - "update": tileworld_GameHome_update__P4564, - "okToMove": tileworld_RuleVisualsBase_okToMove__P4335, - "cursorMove": tileworld_GameHome_cursorMove__P4563, + "update": tileworld_GameHome_update__P15721, + "okToMove": tileworld_RuleVisualsBase_okToMove__P10844, + "cursorMove": tileworld_GameHome_cursorMove__P15720, }, iface: { "cursor": null, @@ -85424,35 +85451,35 @@ const tileworld_GameHome__C4561_VT = mkVTable({ "set/dirMap": null, "p": null, "set/p": null, - "cursorMove": tileworld_GameHome_cursorMove__P4563, - "update": tileworld_GameHome_update__P4564, - "moveInX": tileworld_RuleVisualsBase_moveInX__P4332, - "moveUp": tileworld_RuleVisualsBase_moveUp__P4333, - "moveDown": tileworld_RuleVisualsBase_moveDown__P4334, - "okToMove": tileworld_RuleVisualsBase_okToMove__P4335, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P4336, - "setCol": tileworld_RuleVisualsBase_setCol__P4337, - "setRow": tileworld_RuleVisualsBase_setRow__P4338, - "col": tileworld_RuleVisualsBase_col__P4339, - "row": tileworld_RuleVisualsBase_row__P4340, - "drawImage": tileworld_RuleVisualsBase_drawImage__P4341, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P4342, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P4343, - "fillTile": tileworld_RuleVisualsBase_fillTile__P4344, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P4345, - "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P4346, + "cursorMove": tileworld_GameHome_cursorMove__P15720, + "update": tileworld_GameHome_update__P15721, + "moveInX": tileworld_RuleVisualsBase_moveInX__P10841, + "moveUp": tileworld_RuleVisualsBase_moveUp__P10842, + "moveDown": tileworld_RuleVisualsBase_moveDown__P10843, + "okToMove": tileworld_RuleVisualsBase_okToMove__P10844, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P10845, + "setCol": tileworld_RuleVisualsBase_setCol__P10846, + "setRow": tileworld_RuleVisualsBase_setRow__P10847, + "col": tileworld_RuleVisualsBase_col__P10848, + "row": tileworld_RuleVisualsBase_row__P10849, + "drawImage": tileworld_RuleVisualsBase_drawImage__P10850, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P10851, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P10852, + "fillTile": tileworld_RuleVisualsBase_fillTile__P10853, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P10854, + "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P10855, }, }); -const tileworld_ProjectSettings__C4550_VT = mkVTable({ +const tileworld_ProjectSettings__C15482_VT = mkVTable({ name: "ProjectSettings", numFields: 7, classNo: 24, lastSubtypeNo: 24, maxBgInstances: null, methods: { - "update": tileworld_ProjectSettings_update__P4552, - "okToMove": tileworld_RuleVisualsBase_okToMove__P4335, - "cursorMove": tileworld_RuleVisualsBase_cursorMove__P4347, + "update": tileworld_ProjectSettings_update__P15484, + "okToMove": tileworld_RuleVisualsBase_okToMove__P10844, + "cursorMove": tileworld_RuleVisualsBase_cursorMove__P10856, }, iface: { "cursor": null, @@ -85469,23 +85496,23 @@ const tileworld_ProjectSettings__C4550_VT = mkVTable({ "set/p": null, "askDeleteRule": null, "set/askDeleteRule": null, - "update": tileworld_ProjectSettings_update__P4552, - "moveInX": tileworld_RuleVisualsBase_moveInX__P4332, - "moveUp": tileworld_RuleVisualsBase_moveUp__P4333, - "moveDown": tileworld_RuleVisualsBase_moveDown__P4334, - "okToMove": tileworld_RuleVisualsBase_okToMove__P4335, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P4336, - "setCol": tileworld_RuleVisualsBase_setCol__P4337, - "setRow": tileworld_RuleVisualsBase_setRow__P4338, - "col": tileworld_RuleVisualsBase_col__P4339, - "row": tileworld_RuleVisualsBase_row__P4340, - "drawImage": tileworld_RuleVisualsBase_drawImage__P4341, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P4342, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P4343, - "fillTile": tileworld_RuleVisualsBase_fillTile__P4344, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P4345, - "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P4346, - "cursorMove": tileworld_RuleVisualsBase_cursorMove__P4347, + "update": tileworld_ProjectSettings_update__P15484, + "moveInX": tileworld_RuleVisualsBase_moveInX__P10841, + "moveUp": tileworld_RuleVisualsBase_moveUp__P10842, + "moveDown": tileworld_RuleVisualsBase_moveDown__P10843, + "okToMove": tileworld_RuleVisualsBase_okToMove__P10844, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P10845, + "setCol": tileworld_RuleVisualsBase_setCol__P10846, + "setRow": tileworld_RuleVisualsBase_setRow__P10847, + "col": tileworld_RuleVisualsBase_col__P10848, + "row": tileworld_RuleVisualsBase_row__P10849, + "drawImage": tileworld_RuleVisualsBase_drawImage__P10850, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P10851, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P10852, + "fillTile": tileworld_RuleVisualsBase_fillTile__P10853, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P10854, + "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P10855, + "cursorMove": tileworld_RuleVisualsBase_cursorMove__P10856, }, }); const sprites_BaseSprite__C639_VT = mkVTable({ @@ -86403,16 +86430,16 @@ const music_Melody__C444_VT = mkVTable({ }, toStringMethod: music_Melody_toString__P454, }); -const tileworld_Gallery__C4546_VT = mkVTable({ +const tileworld_Gallery__C15344_VT = mkVTable({ name: "Gallery", numFields: 11, classNo: 25, lastSubtypeNo: 25, maxBgInstances: null, methods: { - "update": tileworld_Gallery_update__P4548, - "okToMove": tileworld_RuleVisualsBase_okToMove__P4335, - "cursorMove": tileworld_RuleVisualsBase_cursorMove__P4347, + "update": tileworld_Gallery_update__P15346, + "okToMove": tileworld_RuleVisualsBase_okToMove__P10844, + "cursorMove": tileworld_RuleVisualsBase_cursorMove__P10856, }, iface: { "cursor": null, @@ -86437,26 +86464,26 @@ const tileworld_Gallery__C4546_VT = mkVTable({ "set/wrapper": null, "gallery": null, "set/gallery": null, - "update": tileworld_Gallery_update__P4548, - "moveInX": tileworld_RuleVisualsBase_moveInX__P4332, - "moveUp": tileworld_RuleVisualsBase_moveUp__P4333, - "moveDown": tileworld_RuleVisualsBase_moveDown__P4334, - "okToMove": tileworld_RuleVisualsBase_okToMove__P4335, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P4336, - "setCol": tileworld_RuleVisualsBase_setCol__P4337, - "setRow": tileworld_RuleVisualsBase_setRow__P4338, - "col": tileworld_RuleVisualsBase_col__P4339, - "row": tileworld_RuleVisualsBase_row__P4340, - "drawImage": tileworld_RuleVisualsBase_drawImage__P4341, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P4342, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P4343, - "fillTile": tileworld_RuleVisualsBase_fillTile__P4344, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P4345, - "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P4346, - "cursorMove": tileworld_RuleVisualsBase_cursorMove__P4347, + "update": tileworld_Gallery_update__P15346, + "moveInX": tileworld_RuleVisualsBase_moveInX__P10841, + "moveUp": tileworld_RuleVisualsBase_moveUp__P10842, + "moveDown": tileworld_RuleVisualsBase_moveDown__P10843, + "okToMove": tileworld_RuleVisualsBase_okToMove__P10844, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P10845, + "setCol": tileworld_RuleVisualsBase_setCol__P10846, + "setRow": tileworld_RuleVisualsBase_setRow__P10847, + "col": tileworld_RuleVisualsBase_col__P10848, + "row": tileworld_RuleVisualsBase_row__P10849, + "drawImage": tileworld_RuleVisualsBase_drawImage__P10850, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P10851, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P10852, + "fillTile": tileworld_RuleVisualsBase_fillTile__P10853, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P10854, + "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P10855, + "cursorMove": tileworld_RuleVisualsBase_cursorMove__P10856, }, }); -const tileworld_SwitchExport__C3926_VT = mkVTable({ +const tileworld_SwitchExport__C5978_VT = mkVTable({ name: "SwitchExport", numFields: 2, classNo: 64, @@ -86469,18 +86496,18 @@ const tileworld_SwitchExport__C3926_VT = mkVTable({ "set/p": null, "backgrounds": null, "set/backgrounds": null, - "getImage": tileworld_SwitchExport_getImage__P3928, - "saveImage": tileworld_SwitchExport_saveImage__P3929, + "getImage": tileworld_SwitchExport_getImage__P5980, + "saveImage": tileworld_SwitchExport_saveImage__P5981, }, }); -const tileworld_RunGame__C4279_VT = mkVTable({ +const tileworld_RunGame__C9491_VT = mkVTable({ name: "RunGame", numFields: 7, classNo: 30, lastSubtypeNo: 30, maxBgInstances: null, methods: { - "update": tileworld_BackgroundBase_update__P4282, + "update": tileworld_BackgroundBase_update__P9494, }, iface: { "running": null, @@ -86497,22 +86524,22 @@ const tileworld_RunGame__C4279_VT = mkVTable({ "set/debug": null, "currentDirection": null, "set/currentDirection": null, - "setWorld": tileworld_RunGame_setWorld__P4283, - "roundToCompletion": tileworld_RunGame_roundToCompletion__P4284, - "start": tileworld_RunGame_start__P4285, - "registerController": tileworld_RunGame_registerController__P4287, - "requestMove": tileworld_RunGame_requestMove__P4288, - "update": tileworld_BackgroundBase_update__P4282, + "setWorld": tileworld_RunGame_setWorld__P9495, + "roundToCompletion": tileworld_RunGame_roundToCompletion__P9496, + "start": tileworld_RunGame_start__P9497, + "registerController": tileworld_RunGame_registerController__P9499, + "requestMove": tileworld_RunGame_requestMove__P9500, + "update": tileworld_BackgroundBase_update__P9494, }, }); -const tileworld_MapEditor__C4531_VT = mkVTable({ +const tileworld_MapEditor__C13477_VT = mkVTable({ name: "MapEditor", numFields: 9, classNo: 31, lastSubtypeNo: 31, maxBgInstances: null, methods: { - "update": tileworld_MapEditor_update__P4544, + "update": tileworld_MapEditor_update__P13491, }, iface: { "offsetX": null, @@ -86533,28 +86560,28 @@ const tileworld_MapEditor__C4531_VT = mkVTable({ "set/aDown": null, "p": null, "set/p": null, - "paintHome": tileworld_MapEditor_paintHome__P4533, - "setCursor": tileworld_MapEditor_setCursor__P4534, - "moveLeft": tileworld_MapEditor_moveLeft__P4535, - "moveRight": tileworld_MapEditor_moveRight__P4536, - "moveUp": tileworld_MapEditor_moveUp__P4537, - "moveDown": tileworld_MapEditor_moveDown__P4538, - "updateSelection": tileworld_MapEditor_updateSelection__P4539, - "cursorAction": tileworld_MapEditor_cursorAction__P4540, - "col": tileworld_MapEditor_col__P4541, - "row": tileworld_MapEditor_row__P4542, - "drawImage": tileworld_MapEditor_drawImage__P4543, - "update": tileworld_MapEditor_update__P4544, + "paintHome": tileworld_MapEditor_paintHome__P13480, + "setCursor": tileworld_MapEditor_setCursor__P13481, + "moveLeft": tileworld_MapEditor_moveLeft__P13482, + "moveRight": tileworld_MapEditor_moveRight__P13483, + "moveUp": tileworld_MapEditor_moveUp__P13484, + "moveDown": tileworld_MapEditor_moveDown__P13485, + "updateSelection": tileworld_MapEditor_updateSelection__P13486, + "cursorAction": tileworld_MapEditor_cursorAction__P13487, + "col": tileworld_MapEditor_col__P13488, + "row": tileworld_MapEditor_row__P13489, + "drawImage": tileworld_MapEditor_drawImage__P13490, + "update": tileworld_MapEditor_update__P13491, }, }); -const tileworld_ImageEditor__C4316_VT = mkVTable({ +const tileworld_ImageEditor__C10052_VT = mkVTable({ name: "ImageEditor", numFields: 10, classNo: 32, lastSubtypeNo: 32, maxBgInstances: null, methods: { - "update": tileworld_ImageEditor_update__P4325, + "update": tileworld_ImageEditor_update__P10061, }, iface: { "cursorType": null, @@ -86577,17 +86604,17 @@ const tileworld_ImageEditor__C4316_VT = mkVTable({ "set/dirty": null, "p": null, "set/p": null, - "paintPixel": tileworld_ImageEditor_paintPixel__P4318, - "moveLeft": tileworld_ImageEditor_moveLeft__P4319, - "moveRight": tileworld_ImageEditor_moveRight__P4320, - "moveUp": tileworld_ImageEditor_moveUp__P4321, - "moveDown": tileworld_ImageEditor_moveDown__P4322, - "saveAndPop": tileworld_ImageEditor_saveAndPop__P4323, - "setCursor": tileworld_ImageEditor_setCursor__P4324, - "update": tileworld_ImageEditor_update__P4325, + "paintPixel": tileworld_ImageEditor_paintPixel__P10054, + "moveLeft": tileworld_ImageEditor_moveLeft__P10055, + "moveRight": tileworld_ImageEditor_moveRight__P10056, + "moveUp": tileworld_ImageEditor_moveUp__P10057, + "moveDown": tileworld_ImageEditor_moveDown__P10058, + "saveAndPop": tileworld_ImageEditor_saveAndPop__P10059, + "setCursor": tileworld_ImageEditor_setCursor__P10060, + "update": tileworld_ImageEditor_update__P10061, }, }); -const tileworld_AllExport__C3931_VT = mkVTable({ +const tileworld_AllExport__C6025_VT = mkVTable({ name: "AllExport", numFields: 2, classNo: 65, @@ -86600,24 +86627,24 @@ const tileworld_AllExport__C3931_VT = mkVTable({ "set/allImages": null, "p": null, "set/p": null, - "getImages": tileworld_AllExport_getImages__P3932, - "getImage": tileworld_AllExport_getImage__P3933, - "saveImage": tileworld_AllExport_saveImage__P3934, - "getSetAttr": tileworld_AllExport_getSetAttr__P3935, + "getImages": tileworld_AllExport_getImages__P6026, + "getImage": tileworld_AllExport_getImage__P6027, + "saveImage": tileworld_AllExport_saveImage__P6028, + "getSetAttr": tileworld_AllExport_getSetAttr__P6029, }, }); -const tileworld_ruleediting_RuleDisplay__C4397_VT = mkVTable({ +const tileworld_ruleediting_RuleDisplay__C11265_VT = mkVTable({ name: "RuleDisplay", numFields: 13, classNo: 26, lastSubtypeNo: 29, maxBgInstances: null, methods: { - "update": tileworld_ruleediting_RuleDisplay_update__P4408, - "okToMove": tileworld_RuleVisualsBase_okToMove__P4335, - "cursorMove": tileworld_ruleediting_RuleDisplay_cursorMove__P4405, - "centerImage": tileworld_ruleediting_RuleDisplay_centerImage__P4402, - "showAttributes": tileworld_ruleediting_RuleDisplay_showAttributes__P4420, + "update": tileworld_ruleediting_RuleDisplay_update__P11276, + "okToMove": tileworld_RuleVisualsBase_okToMove__P10844, + "cursorMove": tileworld_ruleediting_RuleDisplay_cursorMove__P11273, + "centerImage": tileworld_ruleediting_RuleDisplay_centerImage__P11270, + "showAttributes": tileworld_ruleediting_RuleDisplay_showAttributes__P11288, }, iface: { "cursor": null, @@ -86646,59 +86673,59 @@ const tileworld_ruleediting_RuleDisplay__C4397_VT = mkVTable({ "set/commandLengths": null, "tokens": null, "set/tokens": null, - "getDir": tileworld_ruleediting_RuleDisplay_getDir__P4399, - "getType": tileworld_ruleediting_RuleDisplay_getType__P4400, - "getKind": tileworld_ruleediting_RuleDisplay_getKind__P4401, - "centerImage": tileworld_ruleediting_RuleDisplay_centerImage__P4402, - "getDirectionImage": tileworld_ruleediting_RuleDisplay_getDirectionImage__P4403, - "otherCursorMove": tileworld_ruleediting_RuleDisplay_otherCursorMove__P4404, - "cursorMove": tileworld_ruleediting_RuleDisplay_cursorMove__P4405, - "showCollision": tileworld_ruleediting_RuleDisplay_showCollision__P4406, - "showRuleType": tileworld_ruleediting_RuleDisplay_showRuleType__P4407, - "update": tileworld_ruleediting_RuleDisplay_update__P4408, - "makeContext": tileworld_ruleediting_RuleDisplay_makeContext__P4409, - "active": tileworld_ruleediting_RuleDisplay_active__P4410, - "rowToColCoord": tileworld_ruleediting_RuleDisplay_rowToColCoord__P4411, - "rowToRowCoord": tileworld_ruleediting_RuleDisplay_rowToRowCoord__P4412, - "showCommands": tileworld_ruleediting_RuleDisplay_showCommands__P4413, - "instToImage": tileworld_ruleediting_RuleDisplay_instToImage__P4414, - "showCommandsAt": tileworld_ruleediting_RuleDisplay_showCommandsAt__P4415, - "showCommand": tileworld_ruleediting_RuleDisplay_showCommand__P4416, - "startTokens": tileworld_ruleediting_RuleDisplay_startTokens__P4417, - "updateTokens": tileworld_ruleediting_RuleDisplay_updateTokens__P4418, - "getWhenDoImage": tileworld_ruleediting_RuleDisplay_getWhenDoImage__P4419, - "showAttributes": tileworld_ruleediting_RuleDisplay_showAttributes__P4420, - "projectAttrs": tileworld_ruleediting_RuleDisplay_projectAttrs__P4421, - "attrIndex": tileworld_ruleediting_RuleDisplay_attrIndex__P4422, - "moveInX": tileworld_RuleVisualsBase_moveInX__P4332, - "moveUp": tileworld_RuleVisualsBase_moveUp__P4333, - "moveDown": tileworld_RuleVisualsBase_moveDown__P4334, - "okToMove": tileworld_RuleVisualsBase_okToMove__P4335, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P4336, - "setCol": tileworld_RuleVisualsBase_setCol__P4337, - "setRow": tileworld_RuleVisualsBase_setRow__P4338, - "col": tileworld_RuleVisualsBase_col__P4339, - "row": tileworld_RuleVisualsBase_row__P4340, - "drawImage": tileworld_RuleVisualsBase_drawImage__P4341, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P4342, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P4343, - "fillTile": tileworld_RuleVisualsBase_fillTile__P4344, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P4345, - "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P4346, + "getDir": tileworld_ruleediting_RuleDisplay_getDir__P11267, + "getType": tileworld_ruleediting_RuleDisplay_getType__P11268, + "getKind": tileworld_ruleediting_RuleDisplay_getKind__P11269, + "centerImage": tileworld_ruleediting_RuleDisplay_centerImage__P11270, + "getDirectionImage": tileworld_ruleediting_RuleDisplay_getDirectionImage__P11271, + "otherCursorMove": tileworld_ruleediting_RuleDisplay_otherCursorMove__P11272, + "cursorMove": tileworld_ruleediting_RuleDisplay_cursorMove__P11273, + "showCollision": tileworld_ruleediting_RuleDisplay_showCollision__P11274, + "showRuleType": tileworld_ruleediting_RuleDisplay_showRuleType__P11275, + "update": tileworld_ruleediting_RuleDisplay_update__P11276, + "makeContext": tileworld_ruleediting_RuleDisplay_makeContext__P11277, + "active": tileworld_ruleediting_RuleDisplay_active__P11278, + "rowToColCoord": tileworld_ruleediting_RuleDisplay_rowToColCoord__P11279, + "rowToRowCoord": tileworld_ruleediting_RuleDisplay_rowToRowCoord__P11280, + "showCommands": tileworld_ruleediting_RuleDisplay_showCommands__P11281, + "instToImage": tileworld_ruleediting_RuleDisplay_instToImage__P11282, + "showCommandsAt": tileworld_ruleediting_RuleDisplay_showCommandsAt__P11283, + "showCommand": tileworld_ruleediting_RuleDisplay_showCommand__P11284, + "startTokens": tileworld_ruleediting_RuleDisplay_startTokens__P11285, + "updateTokens": tileworld_ruleediting_RuleDisplay_updateTokens__P11286, + "getWhenDoImage": tileworld_ruleediting_RuleDisplay_getWhenDoImage__P11287, + "showAttributes": tileworld_ruleediting_RuleDisplay_showAttributes__P11288, + "projectAttrs": tileworld_ruleediting_RuleDisplay_projectAttrs__P11289, + "attrIndex": tileworld_ruleediting_RuleDisplay_attrIndex__P11290, + "moveInX": tileworld_RuleVisualsBase_moveInX__P10841, + "moveUp": tileworld_RuleVisualsBase_moveUp__P10842, + "moveDown": tileworld_RuleVisualsBase_moveDown__P10843, + "okToMove": tileworld_RuleVisualsBase_okToMove__P10844, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P10845, + "setCol": tileworld_RuleVisualsBase_setCol__P10846, + "setRow": tileworld_RuleVisualsBase_setRow__P10847, + "col": tileworld_RuleVisualsBase_col__P10848, + "row": tileworld_RuleVisualsBase_row__P10849, + "drawImage": tileworld_RuleVisualsBase_drawImage__P10850, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P10851, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P10852, + "fillTile": tileworld_RuleVisualsBase_fillTile__P10853, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P10854, + "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P10855, }, }); -const tileworld_ruleediting_RuleRoom__C4455_VT = mkVTable({ +const tileworld_ruleediting_RuleRoom__C12555_VT = mkVTable({ name: "RuleRoom", numFields: 16, classNo: 27, lastSubtypeNo: 27, maxBgInstances: null, methods: { - "update": tileworld_ruleediting_RuleRoom_update__P4458, - "okToMove": tileworld_RuleVisualsBase_okToMove__P4335, - "cursorMove": tileworld_ruleediting_RuleRoom_cursorMove__P4457, - "centerImage": tileworld_ruleediting_RuleRoom_centerImage__P4459, - "showAttributes": tileworld_ruleediting_RuleDisplay_showAttributes__P4420, + "update": tileworld_ruleediting_RuleRoom_update__P12558, + "okToMove": tileworld_RuleVisualsBase_okToMove__P10844, + "cursorMove": tileworld_ruleediting_RuleRoom_cursorMove__P12557, + "centerImage": tileworld_ruleediting_RuleRoom_centerImage__P12559, + "showAttributes": tileworld_ruleediting_RuleDisplay_showAttributes__P11288, }, iface: { "cursor": null, @@ -86733,64 +86760,64 @@ const tileworld_ruleediting_RuleRoom__C4455_VT = mkVTable({ "set/moreHelp": null, "rules": null, "set/rules": null, - "cursorMove": tileworld_ruleediting_RuleRoom_cursorMove__P4457, - "update": tileworld_ruleediting_RuleRoom_update__P4458, - "centerImage": tileworld_ruleediting_RuleRoom_centerImage__P4459, - "make3by3": tileworld_ruleediting_RuleRoom_make3by3__P4460, - "setRuleType": tileworld_ruleediting_RuleRoom_setRuleType__P4461, - "doBoth": tileworld_ruleediting_RuleRoom_doBoth__P4462, - "stringColumn": tileworld_ruleediting_RuleRoom_stringColumn__P4463, - "showRuleMenu": tileworld_ruleediting_RuleRoom_showRuleMenu__P4464, - "getDir": tileworld_ruleediting_RuleDisplay_getDir__P4399, - "getType": tileworld_ruleediting_RuleDisplay_getType__P4400, - "getKind": tileworld_ruleediting_RuleDisplay_getKind__P4401, - "getDirectionImage": tileworld_ruleediting_RuleDisplay_getDirectionImage__P4403, - "otherCursorMove": tileworld_ruleediting_RuleDisplay_otherCursorMove__P4404, - "showCollision": tileworld_ruleediting_RuleDisplay_showCollision__P4406, - "showRuleType": tileworld_ruleediting_RuleDisplay_showRuleType__P4407, - "makeContext": tileworld_ruleediting_RuleDisplay_makeContext__P4409, - "active": tileworld_ruleediting_RuleDisplay_active__P4410, - "rowToColCoord": tileworld_ruleediting_RuleDisplay_rowToColCoord__P4411, - "rowToRowCoord": tileworld_ruleediting_RuleDisplay_rowToRowCoord__P4412, - "showCommands": tileworld_ruleediting_RuleDisplay_showCommands__P4413, - "instToImage": tileworld_ruleediting_RuleDisplay_instToImage__P4414, - "showCommandsAt": tileworld_ruleediting_RuleDisplay_showCommandsAt__P4415, - "showCommand": tileworld_ruleediting_RuleDisplay_showCommand__P4416, - "startTokens": tileworld_ruleediting_RuleDisplay_startTokens__P4417, - "updateTokens": tileworld_ruleediting_RuleDisplay_updateTokens__P4418, - "getWhenDoImage": tileworld_ruleediting_RuleDisplay_getWhenDoImage__P4419, - "showAttributes": tileworld_ruleediting_RuleDisplay_showAttributes__P4420, - "projectAttrs": tileworld_ruleediting_RuleDisplay_projectAttrs__P4421, - "attrIndex": tileworld_ruleediting_RuleDisplay_attrIndex__P4422, - "moveInX": tileworld_RuleVisualsBase_moveInX__P4332, - "moveUp": tileworld_RuleVisualsBase_moveUp__P4333, - "moveDown": tileworld_RuleVisualsBase_moveDown__P4334, - "okToMove": tileworld_RuleVisualsBase_okToMove__P4335, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P4336, - "setCol": tileworld_RuleVisualsBase_setCol__P4337, - "setRow": tileworld_RuleVisualsBase_setRow__P4338, - "col": tileworld_RuleVisualsBase_col__P4339, - "row": tileworld_RuleVisualsBase_row__P4340, - "drawImage": tileworld_RuleVisualsBase_drawImage__P4341, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P4342, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P4343, - "fillTile": tileworld_RuleVisualsBase_fillTile__P4344, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P4345, - "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P4346, + "cursorMove": tileworld_ruleediting_RuleRoom_cursorMove__P12557, + "update": tileworld_ruleediting_RuleRoom_update__P12558, + "centerImage": tileworld_ruleediting_RuleRoom_centerImage__P12559, + "make3by3": tileworld_ruleediting_RuleRoom_make3by3__P12560, + "setRuleType": tileworld_ruleediting_RuleRoom_setRuleType__P12561, + "doBoth": tileworld_ruleediting_RuleRoom_doBoth__P12562, + "stringColumn": tileworld_ruleediting_RuleRoom_stringColumn__P12563, + "showRuleMenu": tileworld_ruleediting_RuleRoom_showRuleMenu__P12564, + "getDir": tileworld_ruleediting_RuleDisplay_getDir__P11267, + "getType": tileworld_ruleediting_RuleDisplay_getType__P11268, + "getKind": tileworld_ruleediting_RuleDisplay_getKind__P11269, + "getDirectionImage": tileworld_ruleediting_RuleDisplay_getDirectionImage__P11271, + "otherCursorMove": tileworld_ruleediting_RuleDisplay_otherCursorMove__P11272, + "showCollision": tileworld_ruleediting_RuleDisplay_showCollision__P11274, + "showRuleType": tileworld_ruleediting_RuleDisplay_showRuleType__P11275, + "makeContext": tileworld_ruleediting_RuleDisplay_makeContext__P11277, + "active": tileworld_ruleediting_RuleDisplay_active__P11278, + "rowToColCoord": tileworld_ruleediting_RuleDisplay_rowToColCoord__P11279, + "rowToRowCoord": tileworld_ruleediting_RuleDisplay_rowToRowCoord__P11280, + "showCommands": tileworld_ruleediting_RuleDisplay_showCommands__P11281, + "instToImage": tileworld_ruleediting_RuleDisplay_instToImage__P11282, + "showCommandsAt": tileworld_ruleediting_RuleDisplay_showCommandsAt__P11283, + "showCommand": tileworld_ruleediting_RuleDisplay_showCommand__P11284, + "startTokens": tileworld_ruleediting_RuleDisplay_startTokens__P11285, + "updateTokens": tileworld_ruleediting_RuleDisplay_updateTokens__P11286, + "getWhenDoImage": tileworld_ruleediting_RuleDisplay_getWhenDoImage__P11287, + "showAttributes": tileworld_ruleediting_RuleDisplay_showAttributes__P11288, + "projectAttrs": tileworld_ruleediting_RuleDisplay_projectAttrs__P11289, + "attrIndex": tileworld_ruleediting_RuleDisplay_attrIndex__P11290, + "moveInX": tileworld_RuleVisualsBase_moveInX__P10841, + "moveUp": tileworld_RuleVisualsBase_moveUp__P10842, + "moveDown": tileworld_RuleVisualsBase_moveDown__P10843, + "okToMove": tileworld_RuleVisualsBase_okToMove__P10844, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P10845, + "setCol": tileworld_RuleVisualsBase_setCol__P10846, + "setRow": tileworld_RuleVisualsBase_setRow__P10847, + "col": tileworld_RuleVisualsBase_col__P10848, + "row": tileworld_RuleVisualsBase_row__P10849, + "drawImage": tileworld_RuleVisualsBase_drawImage__P10850, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P10851, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P10852, + "fillTile": tileworld_RuleVisualsBase_fillTile__P10853, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P10854, + "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P10855, }, }); -const tileworld_ruleediting_RuleEditor__C4487_VT = mkVTable({ +const tileworld_ruleediting_RuleEditor__C12671_VT = mkVTable({ name: "RuleEditor", numFields: 19, classNo: 28, lastSubtypeNo: 28, maxBgInstances: null, methods: { - "update": tileworld_ruleediting_RuleEditor_update__P4498, - "okToMove": tileworld_ruleediting_RuleEditor_okToMove__P4490, - "cursorMove": tileworld_ruleediting_RuleEditor_cursorMove__P4496, - "centerImage": tileworld_ruleediting_RuleDisplay_centerImage__P4402, - "showAttributes": tileworld_ruleediting_RuleEditor_showAttributes__P4509, + "update": tileworld_ruleediting_RuleEditor_update__P12683, + "okToMove": tileworld_ruleediting_RuleEditor_okToMove__P12675, + "cursorMove": tileworld_ruleediting_RuleEditor_cursorMove__P12681, + "centerImage": tileworld_ruleediting_RuleDisplay_centerImage__P11270, + "showAttributes": tileworld_ruleediting_RuleEditor_showAttributes__P12694, }, iface: { "cursor": null, @@ -86831,71 +86858,71 @@ const tileworld_ruleediting_RuleEditor__C4487_VT = mkVTable({ "set/askDeleteRule": null, "kind": null, "set/kind": null, - "mainMenu": tileworld_ruleediting_RuleEditor_mainMenu__P4489, - "okToMove": tileworld_ruleediting_RuleEditor_okToMove__P4490, - "restoreCursor": tileworld_ruleediting_RuleEditor_restoreCursor__P4491, - "changeRule": tileworld_ruleediting_RuleEditor_changeRule__P4492, - "resetRule": tileworld_ruleediting_RuleEditor_resetRule__P4493, - "saveAndPop": tileworld_ruleediting_RuleEditor_saveAndPop__P4494, - "currentRules": tileworld_ruleediting_RuleEditor_currentRules__P4495, - "cursorMove": tileworld_ruleediting_RuleEditor_cursorMove__P4496, - "inWhenPredicate": tileworld_ruleediting_RuleEditor_inWhenPredicate__P4497, - "update": tileworld_ruleediting_RuleEditor_update__P4498, - "showMainMenu": tileworld_ruleediting_RuleEditor_showMainMenu__P4499, - "tryEditCommand": tileworld_ruleediting_RuleEditor_tryEditCommand__P4500, - "makeCommandMenu": tileworld_ruleediting_RuleEditor_makeCommandMenu__P4501, - "modifyCommandMenu": tileworld_ruleediting_RuleEditor_modifyCommandMenu__P4502, - "instToStartArg": tileworld_ruleediting_RuleEditor_instToStartArg__P4503, - "instToArgText": tileworld_ruleediting_RuleEditor_instToArgText__P4504, - "instToNumArgs": tileworld_ruleediting_RuleEditor_instToNumArgs__P4505, - "makeArgMenu": tileworld_ruleediting_RuleEditor_makeArgMenu__P4506, - "commandUpdate": tileworld_ruleediting_RuleEditor_commandUpdate__P4507, - "setCommand": tileworld_ruleediting_RuleEditor_setCommand__P4508, - "showAttributes": tileworld_ruleediting_RuleEditor_showAttributes__P4509, - "attrMenu": tileworld_ruleediting_RuleEditor_attrMenu__P4510, - "selectAttr": tileworld_ruleediting_RuleEditor_selectAttr__P4511, - "attrUpdate": tileworld_ruleediting_RuleEditor_attrUpdate__P4512, - "setAttr": tileworld_ruleediting_RuleEditor_setAttr__P4513, - "dirExprMenu": tileworld_ruleediting_RuleEditor_dirExprMenu__P4514, - "dirExprUpdate": tileworld_ruleediting_RuleEditor_dirExprUpdate__P4515, - "getDir": tileworld_ruleediting_RuleDisplay_getDir__P4399, - "getType": tileworld_ruleediting_RuleDisplay_getType__P4400, - "getKind": tileworld_ruleediting_RuleDisplay_getKind__P4401, - "centerImage": tileworld_ruleediting_RuleDisplay_centerImage__P4402, - "getDirectionImage": tileworld_ruleediting_RuleDisplay_getDirectionImage__P4403, - "otherCursorMove": tileworld_ruleediting_RuleDisplay_otherCursorMove__P4404, - "showCollision": tileworld_ruleediting_RuleDisplay_showCollision__P4406, - "showRuleType": tileworld_ruleediting_RuleDisplay_showRuleType__P4407, - "makeContext": tileworld_ruleediting_RuleDisplay_makeContext__P4409, - "active": tileworld_ruleediting_RuleDisplay_active__P4410, - "rowToColCoord": tileworld_ruleediting_RuleDisplay_rowToColCoord__P4411, - "rowToRowCoord": tileworld_ruleediting_RuleDisplay_rowToRowCoord__P4412, - "showCommands": tileworld_ruleediting_RuleDisplay_showCommands__P4413, - "instToImage": tileworld_ruleediting_RuleDisplay_instToImage__P4414, - "showCommandsAt": tileworld_ruleediting_RuleDisplay_showCommandsAt__P4415, - "showCommand": tileworld_ruleediting_RuleDisplay_showCommand__P4416, - "startTokens": tileworld_ruleediting_RuleDisplay_startTokens__P4417, - "updateTokens": tileworld_ruleediting_RuleDisplay_updateTokens__P4418, - "getWhenDoImage": tileworld_ruleediting_RuleDisplay_getWhenDoImage__P4419, - "projectAttrs": tileworld_ruleediting_RuleDisplay_projectAttrs__P4421, - "attrIndex": tileworld_ruleediting_RuleDisplay_attrIndex__P4422, - "moveInX": tileworld_RuleVisualsBase_moveInX__P4332, - "moveUp": tileworld_RuleVisualsBase_moveUp__P4333, - "moveDown": tileworld_RuleVisualsBase_moveDown__P4334, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P4336, - "setCol": tileworld_RuleVisualsBase_setCol__P4337, - "setRow": tileworld_RuleVisualsBase_setRow__P4338, - "col": tileworld_RuleVisualsBase_col__P4339, - "row": tileworld_RuleVisualsBase_row__P4340, - "drawImage": tileworld_RuleVisualsBase_drawImage__P4341, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P4342, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P4343, - "fillTile": tileworld_RuleVisualsBase_fillTile__P4344, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P4345, - "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P4346, + "mainMenu": tileworld_ruleediting_RuleEditor_mainMenu__P12674, + "okToMove": tileworld_ruleediting_RuleEditor_okToMove__P12675, + "restoreCursor": tileworld_ruleediting_RuleEditor_restoreCursor__P12676, + "changeRule": tileworld_ruleediting_RuleEditor_changeRule__P12677, + "resetRule": tileworld_ruleediting_RuleEditor_resetRule__P12678, + "saveAndPop": tileworld_ruleediting_RuleEditor_saveAndPop__P12679, + "currentRules": tileworld_ruleediting_RuleEditor_currentRules__P12680, + "cursorMove": tileworld_ruleediting_RuleEditor_cursorMove__P12681, + "inWhenPredicate": tileworld_ruleediting_RuleEditor_inWhenPredicate__P12682, + "update": tileworld_ruleediting_RuleEditor_update__P12683, + "showMainMenu": tileworld_ruleediting_RuleEditor_showMainMenu__P12684, + "tryEditCommand": tileworld_ruleediting_RuleEditor_tryEditCommand__P12685, + "makeCommandMenu": tileworld_ruleediting_RuleEditor_makeCommandMenu__P12686, + "modifyCommandMenu": tileworld_ruleediting_RuleEditor_modifyCommandMenu__P12687, + "instToStartArg": tileworld_ruleediting_RuleEditor_instToStartArg__P12688, + "instToArgText": tileworld_ruleediting_RuleEditor_instToArgText__P12689, + "instToNumArgs": tileworld_ruleediting_RuleEditor_instToNumArgs__P12690, + "makeArgMenu": tileworld_ruleediting_RuleEditor_makeArgMenu__P12691, + "commandUpdate": tileworld_ruleediting_RuleEditor_commandUpdate__P12692, + "setCommand": tileworld_ruleediting_RuleEditor_setCommand__P12693, + "showAttributes": tileworld_ruleediting_RuleEditor_showAttributes__P12694, + "attrMenu": tileworld_ruleediting_RuleEditor_attrMenu__P12695, + "selectAttr": tileworld_ruleediting_RuleEditor_selectAttr__P12696, + "attrUpdate": tileworld_ruleediting_RuleEditor_attrUpdate__P12697, + "setAttr": tileworld_ruleediting_RuleEditor_setAttr__P12698, + "dirExprMenu": tileworld_ruleediting_RuleEditor_dirExprMenu__P12699, + "dirExprUpdate": tileworld_ruleediting_RuleEditor_dirExprUpdate__P12700, + "getDir": tileworld_ruleediting_RuleDisplay_getDir__P11267, + "getType": tileworld_ruleediting_RuleDisplay_getType__P11268, + "getKind": tileworld_ruleediting_RuleDisplay_getKind__P11269, + "centerImage": tileworld_ruleediting_RuleDisplay_centerImage__P11270, + "getDirectionImage": tileworld_ruleediting_RuleDisplay_getDirectionImage__P11271, + "otherCursorMove": tileworld_ruleediting_RuleDisplay_otherCursorMove__P11272, + "showCollision": tileworld_ruleediting_RuleDisplay_showCollision__P11274, + "showRuleType": tileworld_ruleediting_RuleDisplay_showRuleType__P11275, + "makeContext": tileworld_ruleediting_RuleDisplay_makeContext__P11277, + "active": tileworld_ruleediting_RuleDisplay_active__P11278, + "rowToColCoord": tileworld_ruleediting_RuleDisplay_rowToColCoord__P11279, + "rowToRowCoord": tileworld_ruleediting_RuleDisplay_rowToRowCoord__P11280, + "showCommands": tileworld_ruleediting_RuleDisplay_showCommands__P11281, + "instToImage": tileworld_ruleediting_RuleDisplay_instToImage__P11282, + "showCommandsAt": tileworld_ruleediting_RuleDisplay_showCommandsAt__P11283, + "showCommand": tileworld_ruleediting_RuleDisplay_showCommand__P11284, + "startTokens": tileworld_ruleediting_RuleDisplay_startTokens__P11285, + "updateTokens": tileworld_ruleediting_RuleDisplay_updateTokens__P11286, + "getWhenDoImage": tileworld_ruleediting_RuleDisplay_getWhenDoImage__P11287, + "projectAttrs": tileworld_ruleediting_RuleDisplay_projectAttrs__P11289, + "attrIndex": tileworld_ruleediting_RuleDisplay_attrIndex__P11290, + "moveInX": tileworld_RuleVisualsBase_moveInX__P10841, + "moveUp": tileworld_RuleVisualsBase_moveUp__P10842, + "moveDown": tileworld_RuleVisualsBase_moveDown__P10843, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P10845, + "setCol": tileworld_RuleVisualsBase_setCol__P10846, + "setRow": tileworld_RuleVisualsBase_setRow__P10847, + "col": tileworld_RuleVisualsBase_col__P10848, + "row": tileworld_RuleVisualsBase_row__P10849, + "drawImage": tileworld_RuleVisualsBase_drawImage__P10850, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P10851, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P10852, + "fillTile": tileworld_RuleVisualsBase_fillTile__P10853, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P10854, + "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P10855, }, }); -const tileworld_RuleView__C3884_VT = mkVTable({ +const tileworld_RuleView__C4976_VT = mkVTable({ name: "RuleView", numFields: 4, classNo: 66, @@ -86912,51 +86939,51 @@ const tileworld_RuleView__C3884_VT = mkVTable({ "set/rid": null, "r": null, "set/r": null, - "getBaseRule": tileworld_RuleView_getBaseRule__P3885, - "getDerivedRules": tileworld_RuleView_getDerivedRules__P3886, - "getTransforms": tileworld_RuleView_getTransforms__P3888, - "setTransforms": tileworld_RuleView_setTransforms__P3889, - "getRuleId": tileworld_RuleView_getRuleId__P3890, - "getRuleType": tileworld_RuleView_getRuleType__P3891, - "getRuleArg": tileworld_RuleView_getRuleArg__P3893, - "getDirFromRule": tileworld_RuleView_getDirFromRule__P3895, - "rawView": tileworld_RuleView_rawView__P3896, - "getWhenDo": tileworld_RuleView_getWhenDo__P3897, - "makeWhenDo": tileworld_RuleView_makeWhenDo__P3898, - "getWhenDoCol": tileworld_RuleView_getWhenDoCol__P3899, - "getWhenDoRow": tileworld_RuleView_getWhenDoRow__P3900, - "getSetBuffAttr": tileworld_RuleView_getSetBuffAttr__P3901, - "getSetBgAttr": tileworld_RuleView_getSetBgAttr__P3902, - "getSetSpAttr": tileworld_RuleView_getSetSpAttr__P3903, - "attrCnt": tileworld_RuleView_attrCnt__P3904, - "attrBgIndex": tileworld_RuleView_attrBgIndex__P3905, - "attrSpIndex": tileworld_RuleView_attrSpIndex__P3906, - "findWitnessColRow": tileworld_RuleView_findWitnessColRow__P3907, - "getWitnessDirection": tileworld_RuleView_getWitnessDirection__P3908, - "setWitnessDirection": tileworld_RuleView_setWitnessDirection__P3909, - "getCmdsLen": tileworld_RuleView_getCmdsLen__P3910, - "getCmdInst": tileworld_RuleView_getCmdInst__P3911, - "getCmdArg": tileworld_RuleView_getCmdArg__P3912, - "setCmdInst": tileworld_RuleView_setCmdInst__P3913, - "setCmdArg": tileworld_RuleView_setCmdArg__P3914, - "removeCommand": tileworld_RuleView_removeCommand__P3915, - "getSpriteKinds": tileworld_RuleView_getSpriteKinds__P3916, - "hasSpriteKind": tileworld_RuleView_hasSpriteKind__P3917, - "whendoTrue": tileworld_RuleView_whendoTrue__P3918, + "getBaseRule": tileworld_RuleView_getBaseRule__P4977, + "getDerivedRules": tileworld_RuleView_getDerivedRules__P4978, + "getTransforms": tileworld_RuleView_getTransforms__P4980, + "setTransforms": tileworld_RuleView_setTransforms__P4981, + "getRuleId": tileworld_RuleView_getRuleId__P4982, + "getRuleType": tileworld_RuleView_getRuleType__P4983, + "getRuleArg": tileworld_RuleView_getRuleArg__P4985, + "getDirFromRule": tileworld_RuleView_getDirFromRule__P4987, + "rawView": tileworld_RuleView_rawView__P4988, + "getWhenDo": tileworld_RuleView_getWhenDo__P4608, + "makeWhenDo": tileworld_RuleView_makeWhenDo__P4989, + "getWhenDoCol": tileworld_RuleView_getWhenDoCol__P4990, + "getWhenDoRow": tileworld_RuleView_getWhenDoRow__P4991, + "getSetBuffAttr": tileworld_RuleView_getSetBuffAttr__P4992, + "getSetBgAttr": tileworld_RuleView_getSetBgAttr__P4993, + "getSetSpAttr": tileworld_RuleView_getSetSpAttr__P4994, + "attrCnt": tileworld_RuleView_attrCnt__P4630, + "attrBgIndex": tileworld_RuleView_attrBgIndex__P4995, + "attrSpIndex": tileworld_RuleView_attrSpIndex__P4996, + "findWitnessColRow": tileworld_RuleView_findWitnessColRow__P4997, + "getWitnessDirection": tileworld_RuleView_getWitnessDirection__P4998, + "setWitnessDirection": tileworld_RuleView_setWitnessDirection__P4999, + "getCmdsLen": tileworld_RuleView_getCmdsLen__P4622, + "getCmdInst": tileworld_RuleView_getCmdInst__P5000, + "getCmdArg": tileworld_RuleView_getCmdArg__P5001, + "setCmdInst": tileworld_RuleView_setCmdInst__P5002, + "setCmdArg": tileworld_RuleView_setCmdArg__P5003, + "removeCommand": tileworld_RuleView_removeCommand__P5004, + "getSpriteKinds": tileworld_RuleView_getSpriteKinds__P5005, + "hasSpriteKind": tileworld_RuleView_hasSpriteKind__P5006, + "whendoTrue": tileworld_RuleView_whendoTrue__P5007, }, }); -const tileworld_ruleediting_RuleViewDisplay__C4445_VT = mkVTable({ +const tileworld_ruleediting_RuleViewDisplay__C12387_VT = mkVTable({ name: "RuleViewDisplay", numFields: 15, classNo: 29, lastSubtypeNo: 29, maxBgInstances: null, methods: { - "update": tileworld_ruleediting_RuleViewDisplay_update__P4449, - "okToMove": tileworld_RuleVisualsBase_okToMove__P4335, - "cursorMove": tileworld_ruleediting_RuleViewDisplay_cursorMove__P4447, - "centerImage": tileworld_ruleediting_RuleDisplay_centerImage__P4402, - "showAttributes": tileworld_ruleediting_RuleDisplay_showAttributes__P4420, + "update": tileworld_ruleediting_RuleViewDisplay_update__P12391, + "okToMove": tileworld_RuleVisualsBase_okToMove__P10844, + "cursorMove": tileworld_ruleediting_RuleViewDisplay_cursorMove__P12389, + "centerImage": tileworld_ruleediting_RuleDisplay_centerImage__P11270, + "showAttributes": tileworld_ruleediting_RuleDisplay_showAttributes__P11288, }, iface: { "cursor": null, @@ -86989,49 +87016,49 @@ const tileworld_ruleediting_RuleViewDisplay__C4445_VT = mkVTable({ "set/ruleViews": null, "baseRule": null, "set/baseRule": null, - "cursorMove": tileworld_ruleediting_RuleViewDisplay_cursorMove__P4447, - "cursorToView": tileworld_ruleediting_RuleViewDisplay_cursorToView__P4448, - "update": tileworld_ruleediting_RuleViewDisplay_update__P4449, - "getDir": tileworld_ruleediting_RuleDisplay_getDir__P4399, - "getType": tileworld_ruleediting_RuleDisplay_getType__P4400, - "getKind": tileworld_ruleediting_RuleDisplay_getKind__P4401, - "centerImage": tileworld_ruleediting_RuleDisplay_centerImage__P4402, - "getDirectionImage": tileworld_ruleediting_RuleDisplay_getDirectionImage__P4403, - "otherCursorMove": tileworld_ruleediting_RuleDisplay_otherCursorMove__P4404, - "showCollision": tileworld_ruleediting_RuleDisplay_showCollision__P4406, - "showRuleType": tileworld_ruleediting_RuleDisplay_showRuleType__P4407, - "makeContext": tileworld_ruleediting_RuleDisplay_makeContext__P4409, - "active": tileworld_ruleediting_RuleDisplay_active__P4410, - "rowToColCoord": tileworld_ruleediting_RuleDisplay_rowToColCoord__P4411, - "rowToRowCoord": tileworld_ruleediting_RuleDisplay_rowToRowCoord__P4412, - "showCommands": tileworld_ruleediting_RuleDisplay_showCommands__P4413, - "instToImage": tileworld_ruleediting_RuleDisplay_instToImage__P4414, - "showCommandsAt": tileworld_ruleediting_RuleDisplay_showCommandsAt__P4415, - "showCommand": tileworld_ruleediting_RuleDisplay_showCommand__P4416, - "startTokens": tileworld_ruleediting_RuleDisplay_startTokens__P4417, - "updateTokens": tileworld_ruleediting_RuleDisplay_updateTokens__P4418, - "getWhenDoImage": tileworld_ruleediting_RuleDisplay_getWhenDoImage__P4419, - "showAttributes": tileworld_ruleediting_RuleDisplay_showAttributes__P4420, - "projectAttrs": tileworld_ruleediting_RuleDisplay_projectAttrs__P4421, - "attrIndex": tileworld_ruleediting_RuleDisplay_attrIndex__P4422, - "moveInX": tileworld_RuleVisualsBase_moveInX__P4332, - "moveUp": tileworld_RuleVisualsBase_moveUp__P4333, - "moveDown": tileworld_RuleVisualsBase_moveDown__P4334, - "okToMove": tileworld_RuleVisualsBase_okToMove__P4335, - "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P4336, - "setCol": tileworld_RuleVisualsBase_setCol__P4337, - "setRow": tileworld_RuleVisualsBase_setRow__P4338, - "col": tileworld_RuleVisualsBase_col__P4339, - "row": tileworld_RuleVisualsBase_row__P4340, - "drawImage": tileworld_RuleVisualsBase_drawImage__P4341, - "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P4342, - "drawOutline": tileworld_RuleVisualsBase_drawOutline__P4343, - "fillTile": tileworld_RuleVisualsBase_fillTile__P4344, - "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P4345, - "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P4346, + "cursorMove": tileworld_ruleediting_RuleViewDisplay_cursorMove__P12389, + "cursorToView": tileworld_ruleediting_RuleViewDisplay_cursorToView__P12390, + "update": tileworld_ruleediting_RuleViewDisplay_update__P12391, + "getDir": tileworld_ruleediting_RuleDisplay_getDir__P11267, + "getType": tileworld_ruleediting_RuleDisplay_getType__P11268, + "getKind": tileworld_ruleediting_RuleDisplay_getKind__P11269, + "centerImage": tileworld_ruleediting_RuleDisplay_centerImage__P11270, + "getDirectionImage": tileworld_ruleediting_RuleDisplay_getDirectionImage__P11271, + "otherCursorMove": tileworld_ruleediting_RuleDisplay_otherCursorMove__P11272, + "showCollision": tileworld_ruleediting_RuleDisplay_showCollision__P11274, + "showRuleType": tileworld_ruleediting_RuleDisplay_showRuleType__P11275, + "makeContext": tileworld_ruleediting_RuleDisplay_makeContext__P11277, + "active": tileworld_ruleediting_RuleDisplay_active__P11278, + "rowToColCoord": tileworld_ruleediting_RuleDisplay_rowToColCoord__P11279, + "rowToRowCoord": tileworld_ruleediting_RuleDisplay_rowToRowCoord__P11280, + "showCommands": tileworld_ruleediting_RuleDisplay_showCommands__P11281, + "instToImage": tileworld_ruleediting_RuleDisplay_instToImage__P11282, + "showCommandsAt": tileworld_ruleediting_RuleDisplay_showCommandsAt__P11283, + "showCommand": tileworld_ruleediting_RuleDisplay_showCommand__P11284, + "startTokens": tileworld_ruleediting_RuleDisplay_startTokens__P11285, + "updateTokens": tileworld_ruleediting_RuleDisplay_updateTokens__P11286, + "getWhenDoImage": tileworld_ruleediting_RuleDisplay_getWhenDoImage__P11287, + "showAttributes": tileworld_ruleediting_RuleDisplay_showAttributes__P11288, + "projectAttrs": tileworld_ruleediting_RuleDisplay_projectAttrs__P11289, + "attrIndex": tileworld_ruleediting_RuleDisplay_attrIndex__P11290, + "moveInX": tileworld_RuleVisualsBase_moveInX__P10841, + "moveUp": tileworld_RuleVisualsBase_moveUp__P10842, + "moveDown": tileworld_RuleVisualsBase_moveDown__P10843, + "okToMove": tileworld_RuleVisualsBase_okToMove__P10844, + "getRulesForTypeDir": tileworld_RuleVisualsBase_getRulesForTypeDir__P10845, + "setCol": tileworld_RuleVisualsBase_setCol__P10846, + "setRow": tileworld_RuleVisualsBase_setRow__P10847, + "col": tileworld_RuleVisualsBase_col__P10848, + "row": tileworld_RuleVisualsBase_row__P10849, + "drawImage": tileworld_RuleVisualsBase_drawImage__P10850, + "drawImageAbs": tileworld_RuleVisualsBase_drawImageAbs__P10851, + "drawOutline": tileworld_RuleVisualsBase_drawOutline__P10852, + "fillTile": tileworld_RuleVisualsBase_fillTile__P10853, + "setTileSaved": tileworld_RuleVisualsBase_setTileSaved__P10854, + "isTileSaved": tileworld_RuleVisualsBase_isTileSaved__P10855, }, }); -const tileworld_WhenDo__C3859_VT = mkVTable({ +const tileworld_WhenDo__C4302_VT = mkVTable({ name: "WhenDo", numFields: 7, classNo: 67, @@ -87119,7 +87146,7 @@ const JSON_Stringifier__C274_VT = mkVTable({ "go": JSON_Stringifier_go__P276, }, }); -const tileworld_Rule__C3861_VT = mkVTable({ +const tileworld_Rule__C4315_VT = mkVTable({ name: "Rule", numFields: 4, classNo: 71, @@ -87195,7 +87222,7 @@ const scene_Renderable__C1141_VT = mkVTable({ "__update": sprites_BaseSprite___update__P645, }, }); -const tileworld_TileSprite__C4240_VT = mkVTable({ +const tileworld_TileSprite__C7459_VT = mkVTable({ name: "TileSprite", numFields: 33, classNo: 36, @@ -87204,9 +87231,9 @@ const tileworld_TileSprite__C4240_VT = mkVTable({ methods: { "__visible": Sprite___visible__P793, "__draw": sprites_BaseSprite___draw__P643, - "__drawCore": tileworld_TileSprite___drawCore__P4246, + "__drawCore": tileworld_TileSprite___drawCore__P7465, "__update": Sprite___update__P812, - "isOutOfScreen": tileworld_TileSprite_isOutOfScreen__P4245, + "isOutOfScreen": tileworld_TileSprite_isOutOfScreen__P7464, }, iface: { "_z": null, @@ -87275,11 +87302,11 @@ const tileworld_TileSprite__C4240_VT = mkVTable({ "set/arg": null, "movedToStopped": null, "set/movedToStopped": null, - "col": tileworld_TileSprite_col__P4242, - "row": tileworld_TileSprite_row__P4243, - "update": tileworld_TileSprite_update__P4244, - "isOutOfScreen": tileworld_TileSprite_isOutOfScreen__P4245, - "__drawCore": tileworld_TileSprite___drawCore__P4246, + "col": tileworld_TileSprite_col__P7461, + "row": tileworld_TileSprite_row__P7462, + "update": tileworld_TileSprite_update__P7463, + "isOutOfScreen": tileworld_TileSprite_isOutOfScreen__P7464, + "__drawCore": tileworld_TileSprite___drawCore__P7465, "x": Sprite_x__P770, "set/x": Sprite_x__P771, "y": Sprite_y__P772, @@ -87329,7 +87356,7 @@ const tileworld_TileSprite__C4240_VT = mkVTable({ "__draw": sprites_BaseSprite___draw__P643, }, }); -const tileworld_TileWorldVM__C4254_VT = mkVTable({ +const tileworld_TileWorldVM__C7665_VT = mkVTable({ name: "TileWorldVM", numFields: 7, classNo: 73, @@ -87352,31 +87379,31 @@ const tileworld_TileWorldVM__C4254_VT = mkVTable({ "set/p": null, "rules": null, "set/rules": null, - "setState": tileworld_TileWorldVM_setState__P4255, - "startRound": tileworld_TileWorldVM_startRound__P4256, - "processClosure": tileworld_TileWorldVM_processClosure__P4257, - "continueRound": tileworld_TileWorldVM_continueRound__P4258, - "allSprites": tileworld_TileWorldVM_allSprites__P4259, - "contextChanged": tileworld_TileWorldVM_contextChanged__P4260, - "ruleMatchesSprite": tileworld_TileWorldVM_ruleMatchesSprite__P4261, - "exprMatchesDirection": tileworld_TileWorldVM_exprMatchesDirection__P4262, - "ruleMatchesDirection": tileworld_TileWorldVM_ruleMatchesDirection__P4263, - "applyRules": tileworld_TileWorldVM_applyRules__P4264, - "collidingRules": tileworld_TileWorldVM_collidingRules__P4265, - "moving": tileworld_TileWorldVM_moving__P4266, - "collisionDetection": tileworld_TileWorldVM_collisionDetection__P4267, - "collide": tileworld_TileWorldVM_collide__P4269, - "updateWorld": tileworld_TileWorldVM_updateWorld__P4270, - "evaluateRule": tileworld_TileWorldVM_evaluateRule__P4271, - "getWitness": tileworld_TileWorldVM_getWitness__P4272, - "inBounds": tileworld_TileWorldVM_inBounds__P4273, - "evaluateWhenDo": tileworld_TileWorldVM_evaluateWhenDo__P4274, - "manhattan": tileworld_TileWorldVM_manhattan__P4275, - "evaluateRuleClosure": tileworld_TileWorldVM_evaluateRuleClosure__P4276, - "evaluateWhenDoCommands": tileworld_TileWorldVM_evaluateWhenDoCommands__P4277, + "setState": tileworld_TileWorldVM_setState__P7666, + "startRound": tileworld_TileWorldVM_startRound__P7667, + "processClosure": tileworld_TileWorldVM_processClosure__P7668, + "continueRound": tileworld_TileWorldVM_continueRound__P7669, + "allSprites": tileworld_TileWorldVM_allSprites__P7670, + "contextChanged": tileworld_TileWorldVM_contextChanged__P7671, + "ruleMatchesSprite": tileworld_TileWorldVM_ruleMatchesSprite__P7672, + "exprMatchesDirection": tileworld_TileWorldVM_exprMatchesDirection__P7673, + "ruleMatchesDirection": tileworld_TileWorldVM_ruleMatchesDirection__P7674, + "applyRules": tileworld_TileWorldVM_applyRules__P7675, + "collidingRules": tileworld_TileWorldVM_collidingRules__P7676, + "moving": tileworld_TileWorldVM_moving__P7677, + "collisionDetection": tileworld_TileWorldVM_collisionDetection__P7678, + "collide": tileworld_TileWorldVM_collide__P7680, + "updateWorld": tileworld_TileWorldVM_updateWorld__P7681, + "evaluateRule": tileworld_TileWorldVM_evaluateRule__P7682, + "getWitness": tileworld_TileWorldVM_getWitness__P7683, + "inBounds": tileworld_TileWorldVM_inBounds__P7684, + "evaluateWhenDo": tileworld_TileWorldVM_evaluateWhenDo__P7685, + "manhattan": tileworld_TileWorldVM_manhattan__P7686, + "evaluateRuleClosure": tileworld_TileWorldVM_evaluateRuleClosure__P7687, + "evaluateWhenDoCommands": tileworld_TileWorldVM_evaluateWhenDoCommands__P7688, }, }); -const tileworld_Tile__C4248_VT = mkVTable({ +const tileworld_Tile__C7646_VT = mkVTable({ name: "Tile", numFields: 3, classNo: 74, @@ -87393,7 +87420,7 @@ const tileworld_Tile__C4248_VT = mkVTable({ "set/kind": null, }, }); -const tileworld_RuleClosure__C4252_VT = mkVTable({ +const tileworld_RuleClosure__C7659_VT = mkVTable({ name: "RuleClosure", numFields: 3, classNo: 75, @@ -87410,7 +87437,7 @@ const tileworld_RuleClosure__C4252_VT = mkVTable({ "set/witnesses": null, }, }); -const tileworld_VMState__C4250_VT = mkVTable({ +const tileworld_VMState__C7652_VT = mkVTable({ name: "VMState", numFields: 14, classNo: 76, @@ -87449,29 +87476,29 @@ const tileworld_VMState__C4250_VT = mkVTable({ "set/changed": null, }, }); -const tiles_legacy_LegacyTilemap__C4600_VT = mkVTable({ +const tiles_legacy_LegacyTilemap__C9551_VT = mkVTable({ name: "LegacyTilemap", numFields: 7, classNo: 60, lastSubtypeNo: 60, maxBgInstances: null, methods: { - "data": tiles_legacy_LegacyTilemap_data__P4602, - "offsetX": tiles_legacy_LegacyTilemap_offsetX__P4606, - "offsetY": tiles_legacy_LegacyTilemap_offsetY__P4607, - "areaWidth": tiles_legacy_LegacyTilemap_areaWidth__P4608, - "areaHeight": tiles_legacy_LegacyTilemap_areaHeight__P4609, - "layer": tiles_legacy_LegacyTilemap_layer__P4610, - "enabled": tiles_legacy_LegacyTilemap_enabled__P4612, - "getTile": tiles_legacy_LegacyTilemap_getTile__P4616, - "getTileIndex": tiles_legacy_LegacyTilemap_getTileIndex__P4627, - "setTileAt": tiles_legacy_LegacyTilemap_setTileAt__P4617, - "isInvalidIndex": tiles_legacy_LegacyTilemap_isInvalidIndex__P4622, - "draw": tiles_legacy_LegacyTilemap_draw__P4623, - "isObstacle": tiles_legacy_LegacyTilemap_isObstacle__P4624, - "getObstacle": tiles_legacy_LegacyTilemap_getObstacle__P4625, - "isOnWall": tiles_legacy_LegacyTilemap_isOnWall__P4626, - "getTileImage": tiles_legacy_LegacyTilemap_getTileImage__P4628, + "data": tiles_legacy_LegacyTilemap_data__P9554, + "offsetX": tiles_legacy_LegacyTilemap_offsetX__P9558, + "offsetY": tiles_legacy_LegacyTilemap_offsetY__P9559, + "areaWidth": tiles_legacy_LegacyTilemap_areaWidth__P9560, + "areaHeight": tiles_legacy_LegacyTilemap_areaHeight__P9561, + "layer": tiles_legacy_LegacyTilemap_layer__P9562, + "enabled": tiles_legacy_LegacyTilemap_enabled__P9564, + "getTile": tiles_legacy_LegacyTilemap_getTile__P9568, + "getTileIndex": tiles_legacy_LegacyTilemap_getTileIndex__P9579, + "setTileAt": tiles_legacy_LegacyTilemap_setTileAt__P9569, + "isInvalidIndex": tiles_legacy_LegacyTilemap_isInvalidIndex__P9574, + "draw": tiles_legacy_LegacyTilemap_draw__P9575, + "isObstacle": tiles_legacy_LegacyTilemap_isObstacle__P9576, + "getObstacle": tiles_legacy_LegacyTilemap_getObstacle__P9577, + "isOnWall": tiles_legacy_LegacyTilemap_isOnWall__P9578, + "getTileImage": tiles_legacy_LegacyTilemap_getTileImage__P9580, }, iface: { "_scale": null, @@ -87488,33 +87515,33 @@ const tiles_legacy_LegacyTilemap__C4600_VT = mkVTable({ "set/_screenX": null, "isLegacy": null, "set/isLegacy": null, - "data": tiles_legacy_LegacyTilemap_data__P4602, - "myLeft": tiles_legacy_LegacyTilemap_myLeft__P4604, - "myWidth": tiles_legacy_LegacyTilemap_myWidth__P4605, - "offsetX": tiles_legacy_LegacyTilemap_offsetX__P4606, - "offsetY": tiles_legacy_LegacyTilemap_offsetY__P4607, - "areaWidth": tiles_legacy_LegacyTilemap_areaWidth__P4608, - "areaHeight": tiles_legacy_LegacyTilemap_areaHeight__P4609, - "layer": tiles_legacy_LegacyTilemap_layer__P4610, - "enabled": tiles_legacy_LegacyTilemap_enabled__P4612, - "setTile": tiles_legacy_LegacyTilemap_setTile__P4613, - "setMap": tiles_legacy_LegacyTilemap_setMap__P4614, - "getTile": tiles_legacy_LegacyTilemap_getTile__P4616, - "setTileAt": tiles_legacy_LegacyTilemap_setTileAt__P4617, - "generateTile": tiles_legacy_LegacyTilemap_generateTile__P4620, - "isOutsideMap": tiles_legacy_LegacyTilemap_isOutsideMap__P4621, - "isInvalidIndex": tiles_legacy_LegacyTilemap_isInvalidIndex__P4622, - "draw": tiles_legacy_LegacyTilemap_draw__P4623, - "isObstacle": tiles_legacy_LegacyTilemap_isObstacle__P4624, - "getObstacle": tiles_legacy_LegacyTilemap_getObstacle__P4625, - "isOnWall": tiles_legacy_LegacyTilemap_isOnWall__P4626, - "getTileIndex": tiles_legacy_LegacyTilemap_getTileIndex__P4627, - "getTileImage": tiles_legacy_LegacyTilemap_getTileImage__P4628, + "data": tiles_legacy_LegacyTilemap_data__P9554, + "myLeft": tiles_legacy_LegacyTilemap_myLeft__P9556, + "myWidth": tiles_legacy_LegacyTilemap_myWidth__P9557, + "offsetX": tiles_legacy_LegacyTilemap_offsetX__P9558, + "offsetY": tiles_legacy_LegacyTilemap_offsetY__P9559, + "areaWidth": tiles_legacy_LegacyTilemap_areaWidth__P9560, + "areaHeight": tiles_legacy_LegacyTilemap_areaHeight__P9561, + "layer": tiles_legacy_LegacyTilemap_layer__P9562, + "enabled": tiles_legacy_LegacyTilemap_enabled__P9564, + "setTile": tiles_legacy_LegacyTilemap_setTile__P9565, + "setMap": tiles_legacy_LegacyTilemap_setMap__P9566, + "getTile": tiles_legacy_LegacyTilemap_getTile__P9568, + "setTileAt": tiles_legacy_LegacyTilemap_setTileAt__P9569, + "generateTile": tiles_legacy_LegacyTilemap_generateTile__P9572, + "isOutsideMap": tiles_legacy_LegacyTilemap_isOutsideMap__P9573, + "isInvalidIndex": tiles_legacy_LegacyTilemap_isInvalidIndex__P9574, + "draw": tiles_legacy_LegacyTilemap_draw__P9575, + "isObstacle": tiles_legacy_LegacyTilemap_isObstacle__P9576, + "getObstacle": tiles_legacy_LegacyTilemap_getObstacle__P9577, + "isOnWall": tiles_legacy_LegacyTilemap_isOnWall__P9578, + "getTileIndex": tiles_legacy_LegacyTilemap_getTileIndex__P9579, + "getTileImage": tiles_legacy_LegacyTilemap_getTileImage__P9580, "scale": tiles_TileMap_scale__P1087, "set/scale": tiles_TileMap_scale__P1088, }, }); -const tiles_legacy_TileSet__C4597_VT = mkVTable({ +const tiles_legacy_TileSet__C18346_VT = mkVTable({ name: "TileSet", numFields: 4, classNo: 77, @@ -87531,7 +87558,7 @@ const tiles_legacy_TileSet__C4597_VT = mkVTable({ "set/originalImage": null, "cachedImage": null, "set/cachedImage": null, - "image": tiles_legacy_TileSet_image__P4598, + "image": tiles_legacy_TileSet_image__P18347, }, }); const scene_systemMenu_PauseMenu__C1585_VT = mkVTable({ @@ -87672,7 +87699,7 @@ const tiles_Location__C1054_VT = mkVTable({ }, }); -const breakpoints = setupDebugger(1, ["zeroCode___3834","map___3988","play___3991","debug___3994","code___3997","paint___4000","music___4003","garbageCan___4006","settingsIcon___4009","addRule___4012","emptyTile___4015","emptyDiagTile___4018","cursorIn___4021","cursorOut___4024","collisionSprite___4027","genericSprite___4030","exclude___4033","include___4036","include2___4039","ok___4042","anyOutline___4045","allFourOutline___4048","restingOutline___4051","downArrowOutline___4054","upArrowOutline___4057","rightArrowOutline___4060","leftArrowOutline___4063","leftButton___4066","rightButton___4069","downButton___4072","upButton___4075","AButton___4078","flipHoriz___4081","flipVert___4084","rotate3way___4087","leftRotate___4090","rightRotate___4093","allFour___4096","downArrow___4099","upArrow___4102","rightArrow___4105","leftArrow___4108","eat___4111","stopSign___4114","uTurn___4117","spawn___4120","smallPaint___4123","portal___4126","gameIcon___4129","trophyUp___4132","trophyDown___4135","scoreUp10___4138","diskIcon___4141","reset___4144","negate___4147","twCursor___4150","apple___4153","snakeHead___4156","snakeBody___4159","ship___4162","alien___4165","missile___4168","cat___4171","fish___4174","dog___4177","chimp___4180","player___4183","diamond___4186","boulder___4189","enemy___4192","brick___4195","grass___4198","water___4201","dirt2___4204","wall___4207","wall2___4210","dirt___4213","space___4216","gallerySprites___4219","galleryTiles___4232","colorOut___4305","colorIn___4308","paintOut___4311","paintIn___4314","moveImages___4350","movedImages___4358","buttonImages___4368","attrImages___4384","gameImages___4390","transformImages___4438","categoryImages___4476","paintOut___4526","paintIn___4529","commandImages___4556","TileWorld___4634","TileWorldVersion___3925","HelpKey___3973","attrValues___4382","transformMap___4436","RuleKey___3981","bitIndex___3876","ruleBuf___3874","categoryText___4484","moveText___4366","gameText___4394","BackImageKey___3979","SpriteImageKey___3980","WorldBackgroundsKey___3977","WorldSpritesKey___3978","HighScoreKey___3982","VersionKey___3972","BackImgCntKey___3974","SpriteImgCntKey___3975","PlayerIndexKey___3976","toHex___3967","menuHelpString___4485","attrHelpString___4486","helpStringTop___4453","helpStringBot___4454","helpString___4554"]) +const breakpoints = setupDebugger(1, ["zeroCode___3834","map___7217","play___7220","debug___7223","code___7226","paint___7229","music___7232","garbageCan___7235","settingsIcon___7238","addRule___7241","emptyTile___7244","emptyDiagTile___7247","cursorIn___7250","cursorOut___7253","collisionSprite___7256","genericSprite___7259","exclude___7262","include___7265","include2___7268","ok___7271","anyOutline___7274","allFourOutline___7277","restingOutline___7280","downArrowOutline___7283","upArrowOutline___7286","rightArrowOutline___7289","leftArrowOutline___7292","leftButton___7295","rightButton___7298","downButton___7301","upButton___7304","AButton___7307","flipHoriz___7310","flipVert___7313","rotate3way___7316","leftRotate___7319","rightRotate___7322","allFour___7325","downArrow___7328","upArrow___7331","rightArrow___7334","leftArrow___7337","eat___7340","stopSign___7343","uTurn___7346","spawn___7349","smallPaint___7352","portal___7355","gameIcon___7358","trophyUp___7361","trophyDown___7364","scoreUp10___7367","diskIcon___7370","reset___7373","negate___7376","twCursor___7379","apple___7382","snakeHead___7385","snakeBody___7388","ship___7391","alien___7394","missile___7397","cat___7400","fish___7403","dog___7406","chimp___7409","player___7180","diamond___7413","boulder___7416","enemy___7419","brick___7162","grass___7423","water___7426","dirt2___7429","wall___7432","wall2___7435","dirt___7438","space___7441","gallerySprites___7178","galleryTiles___7160","colorOut___10041","colorIn___10044","paintOut___10047","paintIn___10050","moveImages___11219","movedImages___11227","buttonImages___11238","attrImages___11251","gameImages___11257","transformImages___12380","categoryImages___13289","paintOut___14745","paintIn___14748","commandImages___15713","TileWorld___19032","TileWorldVersion___5977","HelpKey___6366","attrValues___11248","transformMap___12377","RuleKey___6323","bitIndex___4645","ruleBuf___4643","categoryText___13297","moveText___11235","gameText___11261","BackImageKey___6729","SpriteImageKey___6731","WorldBackgroundsKey___6341","WorldSpritesKey___6355","HighScoreKey___6382","VersionKey___6418","BackImgCntKey___6437","SpriteImgCntKey___6446","PlayerIndexKey___6455","toHex___6576","menuHelpString___13299","attrHelpString___13301","helpStringTop___12551","helpStringBot___12553","helpString___15710"]) -return _main___P58189 +return _main___P41706 }) diff --git a/assets/version.txt b/assets/version.txt index ef8d756..d87edbf 100644 --- a/assets/version.txt +++ b/assets/version.txt @@ -1 +1 @@ -4.2.0 \ No newline at end of file +4.2.1 \ No newline at end of file diff --git a/pxt.json b/pxt.json index 6bb1b6a..3b8b37a 100644 --- a/pxt.json +++ b/pxt.json @@ -1,6 +1,6 @@ { "name": "tileworld", - "version": "4.2.0", + "version": "4.2.1", "description": "", "dependencies": { "device": "*",