pxt-common-packages 12.3.25 → 12.3.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- // total=1679803 new=95.68% cached=0.00% other=4.32%
1
+ // total=1689521 new=95.70% cached=0.00% other=4.30%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -1353,7 +1353,7 @@ switch (step) {
1353
1353
  s.lambdaArgs = null;
1354
1354
  }
1355
1355
  r0 = s.arg0;
1356
- if (!checkSubtype(r0, Math_FastRandom__C179347_VT)) failedCast(r0);
1356
+ if (!checkSubtype(r0, Math_FastRandom__C179347_VT)) failedCast(r0, Math_FastRandom__C179347_VT);
1357
1357
  r0 = (s.arg1 === undefined);
1358
1358
  s.tmp_0 = r0;
1359
1359
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -2391,7 +2391,7 @@ switch (step) {
2391
2391
  s.lambdaArgs = null;
2392
2392
  }
2393
2393
  r0 = s.arg0;
2394
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C179367_VT)) failedCast(r0);
2394
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C179367_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C179367_VT);
2395
2395
  s.tmp_0 = r0 = s.arg0;
2396
2396
  s.tmp_2 = if_generator_1_mk(s);
2397
2397
  s.tmp_2.arg0 = s.arg0;
@@ -3220,7 +3220,7 @@ switch (step) {
3220
3220
  s.lambdaArgs = null;
3221
3221
  }
3222
3222
  r0 = s.arg0;
3223
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C179367_VT)) failedCast(r0);
3223
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C179367_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C179367_VT);
3224
3224
  r0 = s.arg0.fields["options"];
3225
3225
  s.tmp_2 = r0;
3226
3226
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -4417,7 +4417,7 @@ switch (step) {
4417
4417
  s.lambdaArgs = null;
4418
4418
  }
4419
4419
  r0 = s.arg0;
4420
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C179367_VT)) failedCast(r0);
4420
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C179367_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C179367_VT);
4421
4421
  r0 = pxsim.control.millis();
4422
4422
  s.tmp_0 = r0;
4423
4423
  r0 = (s.tmp_0 / 250);
@@ -4605,7 +4605,7 @@ switch (step) {
4605
4605
  s.lambdaArgs = null;
4606
4606
  }
4607
4607
  r0 = s.arg0;
4608
- if (!checkSubtype(r0, scene_Camera__C178977_VT)) failedCast(r0);
4608
+ if (!checkSubtype(r0, scene_Camera__C178977_VT)) failedCast(r0, scene_Camera__C178977_VT);
4609
4609
  s.tmp_0 = game_currentScene__P178268_mk(s);
4610
4610
  s.callLocIdx = 914; s.pc = 5; return s.tmp_0;
4611
4611
  case 5:
@@ -4700,7 +4700,7 @@ switch (step) {
4700
4700
  s.lambdaArgs = null;
4701
4701
  }
4702
4702
  r0 = s.arg0;
4703
- if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0);
4703
+ if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0, tiles_TileMap__C178930_VT);
4704
4704
  s.tmp_0 = Math_clamp__P177378_mk(s);
4705
4705
  s.tmp_0.arg0 = 0;
4706
4706
  s.tmp_1 = Math_max__P177381_mk(s);
@@ -4761,7 +4761,7 @@ switch (step) {
4761
4761
  s.lambdaArgs = null;
4762
4762
  }
4763
4763
  r0 = s.arg0;
4764
- if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0);
4764
+ if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0, tiles_TileMap__C178930_VT);
4765
4765
  r0 = s.arg0.fields["_map"];
4766
4766
  s.tmp_0 = r0;
4767
4767
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -4817,7 +4817,7 @@ switch (step) {
4817
4817
  s.lambdaArgs = null;
4818
4818
  }
4819
4819
  r0 = s.arg0;
4820
- if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0);
4820
+ if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0, tiles_TileMap__C178930_VT);
4821
4821
  r0 = s.arg0.fields["_scale"];
4822
4822
  return leaveAccessor(s, r0)
4823
4823
  default: oops()
@@ -4852,7 +4852,7 @@ switch (step) {
4852
4852
  s.lambdaArgs = null;
4853
4853
  }
4854
4854
  r0 = s.arg0;
4855
- if (!checkSubtype(r0, tiles_TileMapData__C178915_VT)) failedCast(r0);
4855
+ if (!checkSubtype(r0, tiles_TileMapData__C178915_VT)) failedCast(r0, tiles_TileMapData__C178915_VT);
4856
4856
  r0 = s.arg0.fields["_height"];
4857
4857
  return leaveAccessor(s, r0)
4858
4858
  default: oops()
@@ -4887,7 +4887,7 @@ switch (step) {
4887
4887
  s.lambdaArgs = null;
4888
4888
  }
4889
4889
  r0 = s.arg0;
4890
- if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0);
4890
+ if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0, tiles_TileMap__C178930_VT);
4891
4891
  r0 = s.arg0.fields["_map"];
4892
4892
  s.tmp_3 = r0;
4893
4893
  r0 = pxsim_numops_toBoolDecr(s.tmp_3);
@@ -4934,7 +4934,7 @@ switch (step) {
4934
4934
  s.lambdaArgs = null;
4935
4935
  }
4936
4936
  r0 = s.arg0;
4937
- if (!checkSubtype(r0, scene_Camera__C178977_VT)) failedCast(r0);
4937
+ if (!checkSubtype(r0, scene_Camera__C178977_VT)) failedCast(r0, scene_Camera__C178977_VT);
4938
4938
  r0 = s.arg0.fields["_offsetY"];
4939
4939
  return leaveAccessor(s, r0)
4940
4940
  default: oops()
@@ -5014,7 +5014,7 @@ switch (step) {
5014
5014
  s.lambdaArgs = null;
5015
5015
  }
5016
5016
  r0 = s.arg0;
5017
- if (!checkSubtype(r0, control_EventContext__C177598_VT)) failedCast(r0);
5017
+ if (!checkSubtype(r0, control_EventContext__C177598_VT)) failedCast(r0, control_EventContext__C177598_VT);
5018
5018
  r0 = s.arg0.fields["deltaTimeMillis"];
5019
5019
  s.tmp_0 = r0;
5020
5020
  r0 = (s.tmp_0 / 1000);
@@ -5053,7 +5053,7 @@ switch (step) {
5053
5053
  s.lambdaArgs = null;
5054
5054
  }
5055
5055
  r0 = s.arg0;
5056
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C179358_VT)) failedCast(r0);
5056
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C179358_VT)) failedCast(r0, scene_systemMenu_MenuOption__C179358_VT);
5057
5057
  s.tmp_0 = Sprite_top__P178545_mk(s);
5058
5058
  r0 = s.arg0.fields["card"];
5059
5059
  s.tmp_0.arg0 = r0;
@@ -5114,7 +5114,7 @@ switch (step) {
5114
5114
  s.lambdaArgs = null;
5115
5115
  }
5116
5116
  r0 = s.arg0;
5117
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
5117
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
5118
5118
  s.tmp_0 = Sprite_top__P178545_mk(s);
5119
5119
  s.tmp_0.arg0 = s.arg0;
5120
5120
  s.tmp_1 = r0 = s.arg1;
@@ -5170,7 +5170,7 @@ switch (step) {
5170
5170
  s.lambdaArgs = null;
5171
5171
  }
5172
5172
  r0 = s.arg0;
5173
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
5173
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
5174
5174
  r0 = s.arg0.fields["_height"];
5175
5175
  s.tmp_0 = r0;
5176
5176
  r0 = (s.tmp_0 / 256);
@@ -5240,7 +5240,7 @@ switch (step) {
5240
5240
  s.lambdaArgs = null;
5241
5241
  }
5242
5242
  r0 = s.arg0;
5243
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
5243
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
5244
5244
  r0 = s.arg0.fields["_y"];
5245
5245
  s.tmp_1 = r0;
5246
5246
  r0 = s.arg0.fields["_height"];
@@ -5363,7 +5363,7 @@ switch (step) {
5363
5363
  s.lambdaArgs = null;
5364
5364
  }
5365
5365
  r0 = s.arg0;
5366
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
5366
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
5367
5367
  s.tmp_0 = game_currentScene__P178268_mk(s);
5368
5368
  s.callLocIdx = 374; s.pc = 1; return s.tmp_0;
5369
5369
  case 1:
@@ -5382,7 +5382,7 @@ switch (step) {
5382
5382
  s.tmp_3 = r0;
5383
5383
  r0 = (s.tmp_1 - s.tmp_3);
5384
5384
  s.tmp_0.arg3 = r0;
5385
- if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C178644_VT)) failedCast(s.tmp_0.arg0);
5385
+ if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C178644_VT)) failedCast(s.tmp_0.arg0, PhysicsEngine__C178644_VT);
5386
5386
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.moveSprite;
5387
5387
  s.pc = 2; return s.tmp_0;
5388
5388
  case 2:
@@ -5463,7 +5463,7 @@ switch (step) {
5463
5463
  s.lambdaArgs = null;
5464
5464
  }
5465
5465
  r0 = s.arg0;
5466
- if (!checkSubtype(r0, PhysicsEngine__C178644_VT)) failedCast(r0);
5466
+ if (!checkSubtype(r0, PhysicsEngine__C178644_VT)) failedCast(r0, PhysicsEngine__C178644_VT);
5467
5467
  r0 = undefined;
5468
5468
  return leave(s, r0)
5469
5469
  default: oops()
@@ -5500,7 +5500,7 @@ switch (step) {
5500
5500
  s.lambdaArgs = null;
5501
5501
  }
5502
5502
  r0 = s.arg0;
5503
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
5503
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
5504
5504
  r0 = s.arg0.fields["_y"];
5505
5505
  s.tmp_0 = r0;
5506
5506
  r0 = (s.tmp_0 / 256);
@@ -5688,7 +5688,7 @@ switch (step) {
5688
5688
  s.lambdaArgs = null;
5689
5689
  }
5690
5690
  r0 = s.arg0;
5691
- if (!checkSubtype(r0, scene_Renderable__C178992_VT)) failedCast(r0);
5691
+ if (!checkSubtype(r0, scene_Renderable__C178992_VT)) failedCast(r0, scene_Renderable__C178992_VT);
5692
5692
  r0 = (s.arg0).fields["handler"] = (s.arg1);
5693
5693
  r0 = (s.arg0).fields["shouldBeVisible"] = (s.arg2);
5694
5694
  s.tmp_0 = sprites_BaseSprite_constructor__P178213_mk(s);
@@ -5735,7 +5735,7 @@ switch (step) {
5735
5735
  s.lambdaArgs = null;
5736
5736
  }
5737
5737
  r0 = s.arg0;
5738
- if (!checkSubtype(r0, sprites_BaseSprite__C178205_VT)) failedCast(r0);
5738
+ if (!checkSubtype(r0, sprites_BaseSprite__C178205_VT)) failedCast(r0, sprites_BaseSprite__C178205_VT);
5739
5739
  s.tmp_0 = sprites_BaseSprite_z__P178208_mk(s);
5740
5740
  s.tmp_0.arg0 = s.arg0;
5741
5741
  s.tmp_0.arg1 = s.arg1;
@@ -5789,7 +5789,7 @@ switch (step) {
5789
5789
  s.lambdaArgs = null;
5790
5790
  }
5791
5791
  r0 = s.arg0;
5792
- if (!checkSubtype(r0, scene_Scene__C178260_VT)) failedCast(r0);
5792
+ if (!checkSubtype(r0, scene_Scene__C178260_VT)) failedCast(r0, scene_Scene__C178260_VT);
5793
5793
  r0 = s.arg0.fields["allSprites"];
5794
5794
  s.tmp_0 = r0;
5795
5795
  r0 = pxsim_Array__push(s.tmp_0, s.arg1);
@@ -5851,7 +5851,7 @@ switch (step) {
5851
5851
  s.lambdaArgs = null;
5852
5852
  }
5853
5853
  r0 = s.arg0;
5854
- if (!checkSubtype(r0, sprites_BaseSprite__C178205_VT)) failedCast(r0);
5854
+ if (!checkSubtype(r0, sprites_BaseSprite__C178205_VT)) failedCast(r0, sprites_BaseSprite__C178205_VT);
5855
5855
  r0 = s.arg0.fields["_z"];
5856
5856
  s.tmp_1 = r0;
5857
5857
  r0 = (s.tmp_1 !== s.arg1);
@@ -5909,7 +5909,7 @@ switch (step) {
5909
5909
  s.lambdaArgs = null;
5910
5910
  }
5911
5911
  r0 = s.arg0;
5912
- if (!checkSubtype(r0, sprites_BaseSprite__C178205_VT)) failedCast(r0);
5912
+ if (!checkSubtype(r0, sprites_BaseSprite__C178205_VT)) failedCast(r0, sprites_BaseSprite__C178205_VT);
5913
5913
  r0 = s.arg0.fields["_z"];
5914
5914
  return leaveAccessor(s, r0)
5915
5915
  default: oops()
@@ -6018,7 +6018,7 @@ switch (step) {
6018
6018
  s.lambdaArgs = null;
6019
6019
  }
6020
6020
  r0 = s.arg0;
6021
- if (!checkSubtype(r0, scene_Scene__C178260_VT)) failedCast(r0);
6021
+ if (!checkSubtype(r0, scene_Scene__C178260_VT)) failedCast(r0, scene_Scene__C178260_VT);
6022
6022
  r0 = s.arg0.fields["allSprites"];
6023
6023
  s.tmp_0 = r0;
6024
6024
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -6213,7 +6213,7 @@ switch (step) {
6213
6213
  s.tmp_2 = r0;
6214
6214
  r0 = (s.tmp_2 / 1000);
6215
6215
  s.tmp_0.arg1 = r0;
6216
- if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C178644_VT)) failedCast(s.tmp_0.arg0);
6216
+ if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C178644_VT)) failedCast(s.tmp_0.arg0, PhysicsEngine__C178644_VT);
6217
6217
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.move;
6218
6218
  s.pc = 1; return s.tmp_0;
6219
6219
  case 1:
@@ -6424,7 +6424,7 @@ switch (step) {
6424
6424
  s.tmp_0 = PhysicsEngine__C178644_v3_1_mk(s);
6425
6425
  r0 = s.caps[0].fields["physicsEngine"];
6426
6426
  s.tmp_0.arg0 = r0;
6427
- if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C178644_VT)) failedCast(s.tmp_0.arg0);
6427
+ if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C178644_VT)) failedCast(s.tmp_0.arg0, PhysicsEngine__C178644_VT);
6428
6428
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.draw;
6429
6429
  s.pc = 11; return s.tmp_0;
6430
6430
  case 11:
@@ -6761,7 +6761,7 @@ switch (step) {
6761
6761
  s.lambdaArgs = null;
6762
6762
  }
6763
6763
  r0 = s.arg0;
6764
- if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0);
6764
+ if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0, controller_Controller__C178338_VT);
6765
6765
  r0 = s.arg0.fields["_connected"];
6766
6766
  s.tmp_1 = r0;
6767
6767
  r0 = (s.arg1 != s.tmp_1);
@@ -6827,7 +6827,7 @@ switch (step) {
6827
6827
  s.lambdaArgs = null;
6828
6828
  }
6829
6829
  r0 = s.arg0;
6830
- if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0);
6830
+ if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0, controller_Controller__C178338_VT);
6831
6831
  s.tmp_0 = r0 = s.arg0;
6832
6832
  r0 = pxsim.control.allocateNotifyEvent();
6833
6833
  s.tmp_1 = r0;
@@ -7144,7 +7144,7 @@ switch (step) {
7144
7144
  s.lambdaArgs = null;
7145
7145
  }
7146
7146
  r0 = s.arg0;
7147
- if (!checkSubtype(r0, control_EventContext__C177598_VT)) failedCast(r0);
7147
+ if (!checkSubtype(r0, control_EventContext__C177598_VT)) failedCast(r0, control_EventContext__C177598_VT);
7148
7148
  s.h___181458 = (undefined);
7149
7149
  r0 = s.arg0.fields["handlers"];
7150
7150
  s.unnamed700___U1 = (r0);
@@ -7252,7 +7252,7 @@ switch (step) {
7252
7252
  s.lambdaArgs = null;
7253
7253
  }
7254
7254
  r0 = s.arg0;
7255
- if (!checkSubtype(r0, control_EventHandler__C177593_VT)) failedCast(r0);
7255
+ if (!checkSubtype(r0, control_EventHandler__C177593_VT)) failedCast(r0, control_EventHandler__C177593_VT);
7256
7256
  r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P181502);
7257
7257
  s.tmp_0 = r0;
7258
7258
  r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0);
@@ -7352,7 +7352,7 @@ switch (step) {
7352
7352
  s.lambdaArgs = null;
7353
7353
  }
7354
7354
  r0 = s.arg0;
7355
- if (!checkSubtype(r0, control_EventHandler__C177593_VT)) failedCast(r0);
7355
+ if (!checkSubtype(r0, control_EventHandler__C177593_VT)) failedCast(r0, control_EventHandler__C177593_VT);
7356
7356
  r0 = (s.arg0).fields["src"] = (s.arg1);
7357
7357
  r0 = (s.arg0).fields["value"] = (s.arg2);
7358
7358
  r0 = (s.arg0).fields["handler"] = (s.arg3);
@@ -7969,7 +7969,7 @@ switch (step) {
7969
7969
  s.lambdaArgs = null;
7970
7970
  }
7971
7971
  r0 = s.arg0;
7972
- if (!checkSubtype(r0, PhysicsEngine__C178644_VT)) failedCast(r0);
7972
+ if (!checkSubtype(r0, PhysicsEngine__C178644_VT)) failedCast(r0, PhysicsEngine__C178644_VT);
7973
7973
  r0 = undefined;
7974
7974
  return leave(s, r0)
7975
7975
  default: oops()
@@ -8006,7 +8006,7 @@ switch (step) {
8006
8006
  s.lambdaArgs = null;
8007
8007
  }
8008
8008
  r0 = s.arg0;
8009
- if (!checkSubtype(r0, scene_Scene__C178260_VT)) failedCast(r0);
8009
+ if (!checkSubtype(r0, scene_Scene__C178260_VT)) failedCast(r0, scene_Scene__C178260_VT);
8010
8010
  r0 = s.arg0.fields["flags"];
8011
8011
  s.tmp_1 = r0;
8012
8012
  r0 = (s.tmp_1 & 4);
@@ -8634,7 +8634,7 @@ switch (step) {
8634
8634
  s.lambdaArgs = null;
8635
8635
  }
8636
8636
  r0 = s.arg0;
8637
- if (!checkSubtype(r0, scene_Background__C178877_VT)) failedCast(r0);
8637
+ if (!checkSubtype(r0, scene_Background__C178877_VT)) failedCast(r0, scene_Background__C178877_VT);
8638
8638
  r0 = s.arg0.fields["color"];
8639
8639
  s.tmp_0 = r0;
8640
8640
  r0 = pxsim_ImageMethods.fill(globals.screen___178134, s.tmp_0);
@@ -8783,7 +8783,7 @@ switch (step) {
8783
8783
  s.lambdaArgs = null;
8784
8784
  }
8785
8785
  r0 = s.arg0;
8786
- if (!checkSubtype(r0, scene_BackgroundLayer__C178884_VT)) failedCast(r0);
8786
+ if (!checkSubtype(r0, scene_BackgroundLayer__C178884_VT)) failedCast(r0, scene_BackgroundLayer__C178884_VT);
8787
8787
  r0 = pxsim_ImageMethods.width(globals.screen___178134);
8788
8788
  s.w___181924 = (r0);
8789
8789
  r0 = pxsim_ImageMethods.height(globals.screen___178134);
@@ -9028,7 +9028,7 @@ switch (step) {
9028
9028
  s.lambdaArgs = null;
9029
9029
  }
9030
9030
  r0 = s.arg0;
9031
- if (!checkSubtype(r0, scene_Camera__C178977_VT)) failedCast(r0);
9031
+ if (!checkSubtype(r0, scene_Camera__C178977_VT)) failedCast(r0, scene_Camera__C178977_VT);
9032
9032
  r0 = s.arg0.fields["sprite"];
9033
9033
  s.tmp_0 = r0;
9034
9034
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -9238,7 +9238,7 @@ switch (step) {
9238
9238
  s.lambdaArgs = null;
9239
9239
  }
9240
9240
  r0 = s.arg0;
9241
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
9241
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
9242
9242
  r0 = s.arg0.fields["_width"];
9243
9243
  s.tmp_0 = r0;
9244
9244
  r0 = (s.tmp_0 / 256);
@@ -9276,7 +9276,7 @@ switch (step) {
9276
9276
  s.lambdaArgs = null;
9277
9277
  }
9278
9278
  r0 = s.arg0;
9279
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
9279
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
9280
9280
  r0 = s.arg0.fields["_x"];
9281
9281
  s.tmp_0 = r0;
9282
9282
  r0 = (s.tmp_0 / 256);
@@ -9316,7 +9316,7 @@ switch (step) {
9316
9316
  s.lambdaArgs = null;
9317
9317
  }
9318
9318
  r0 = s.arg0;
9319
- if (!checkSubtype(r0, scene_Camera__C178977_VT)) failedCast(r0);
9319
+ if (!checkSubtype(r0, scene_Camera__C178977_VT)) failedCast(r0, scene_Camera__C178977_VT);
9320
9320
  s.tmp_0 = game_currentScene__P178268_mk(s);
9321
9321
  s.callLocIdx = 911; s.pc = 5; return s.tmp_0;
9322
9322
  case 5:
@@ -9411,7 +9411,7 @@ switch (step) {
9411
9411
  s.lambdaArgs = null;
9412
9412
  }
9413
9413
  r0 = s.arg0;
9414
- if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0);
9414
+ if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0, tiles_TileMap__C178930_VT);
9415
9415
  s.tmp_0 = Math_clamp__P177378_mk(s);
9416
9416
  s.tmp_0.arg0 = 0;
9417
9417
  s.tmp_1 = Math_max__P177381_mk(s);
@@ -9472,7 +9472,7 @@ switch (step) {
9472
9472
  s.lambdaArgs = null;
9473
9473
  }
9474
9474
  r0 = s.arg0;
9475
- if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0);
9475
+ if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0, tiles_TileMap__C178930_VT);
9476
9476
  r0 = s.arg0.fields["_map"];
9477
9477
  s.tmp_0 = r0;
9478
9478
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -9528,7 +9528,7 @@ switch (step) {
9528
9528
  s.lambdaArgs = null;
9529
9529
  }
9530
9530
  r0 = s.arg0;
9531
- if (!checkSubtype(r0, tiles_TileMapData__C178915_VT)) failedCast(r0);
9531
+ if (!checkSubtype(r0, tiles_TileMapData__C178915_VT)) failedCast(r0, tiles_TileMapData__C178915_VT);
9532
9532
  r0 = s.arg0.fields["_width"];
9533
9533
  return leaveAccessor(s, r0)
9534
9534
  default: oops()
@@ -9563,7 +9563,7 @@ switch (step) {
9563
9563
  s.lambdaArgs = null;
9564
9564
  }
9565
9565
  r0 = s.arg0;
9566
- if (!checkSubtype(r0, scene_Camera__C178977_VT)) failedCast(r0);
9566
+ if (!checkSubtype(r0, scene_Camera__C178977_VT)) failedCast(r0, scene_Camera__C178977_VT);
9567
9567
  r0 = s.arg0.fields["_offsetX"];
9568
9568
  return leaveAccessor(s, r0)
9569
9569
  default: oops()
@@ -9598,7 +9598,7 @@ switch (step) {
9598
9598
  s.lambdaArgs = null;
9599
9599
  }
9600
9600
  r0 = s.arg0;
9601
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
9601
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
9602
9602
  r0 = s.arg0.fields["_x"];
9603
9603
  s.tmp_1 = r0;
9604
9604
  r0 = s.arg0.fields["_width"];
@@ -9649,7 +9649,7 @@ switch (step) {
9649
9649
  s.lambdaArgs = null;
9650
9650
  }
9651
9651
  r0 = s.arg0;
9652
- if (!checkSubtype(r0, PhysicsEngine__C178644_VT)) failedCast(r0);
9652
+ if (!checkSubtype(r0, PhysicsEngine__C178644_VT)) failedCast(r0, PhysicsEngine__C178644_VT);
9653
9653
  r0 = undefined;
9654
9654
  return leave(s, r0)
9655
9655
  default: oops()
@@ -9768,7 +9768,7 @@ switch (step) {
9768
9768
  s.lambdaArgs = null;
9769
9769
  }
9770
9770
  r0 = s.arg0;
9771
- if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0);
9771
+ if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0, controller_Controller__C178338_VT);
9772
9772
  s.tmp_3 = controller_Controller__controlledSprites__P178339_mk(s);
9773
9773
  s.tmp_3.arg0 = s.arg0;
9774
9774
  s.callLocIdx = 170; s.pc = 18; return s.tmp_3;
@@ -9862,7 +9862,7 @@ switch (step) {
9862
9862
  case 28:
9863
9863
  r0 = s.retval;
9864
9864
  s.tmp_1.arg0 = r0;
9865
- if (!checkSubtype(s.tmp_1.arg0, controller_Button__C178372_VT)) failedCast(s.tmp_1.arg0);
9865
+ if (!checkSubtype(s.tmp_1.arg0, controller_Button__C178372_VT)) failedCast(s.tmp_1.arg0, controller_Button__C178372_VT);
9866
9866
  s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed;
9867
9867
  s.pc = 27; return s.tmp_1;
9868
9868
  case 27:
@@ -9884,7 +9884,7 @@ switch (step) {
9884
9884
  case 30:
9885
9885
  r0 = s.retval;
9886
9886
  s.tmp_5.arg0 = r0;
9887
- if (!checkSubtype(s.tmp_5.arg0, controller_Button__C178372_VT)) failedCast(s.tmp_5.arg0);
9887
+ if (!checkSubtype(s.tmp_5.arg0, controller_Button__C178372_VT)) failedCast(s.tmp_5.arg0, controller_Button__C178372_VT);
9888
9888
  s.tmp_5.fn = s.tmp_5.arg0.vtable.methods.isPressed;
9889
9889
  s.pc = 29; return s.tmp_5;
9890
9890
  case 29:
@@ -9910,7 +9910,7 @@ switch (step) {
9910
9910
  case 32:
9911
9911
  r0 = s.retval;
9912
9912
  s.tmp_1.arg0 = r0;
9913
- if (!checkSubtype(s.tmp_1.arg0, controller_Button__C178372_VT)) failedCast(s.tmp_1.arg0);
9913
+ if (!checkSubtype(s.tmp_1.arg0, controller_Button__C178372_VT)) failedCast(s.tmp_1.arg0, controller_Button__C178372_VT);
9914
9914
  s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed;
9915
9915
  s.pc = 31; return s.tmp_1;
9916
9916
  case 31:
@@ -9932,7 +9932,7 @@ switch (step) {
9932
9932
  case 34:
9933
9933
  r0 = s.retval;
9934
9934
  s.tmp_5.arg0 = r0;
9935
- if (!checkSubtype(s.tmp_5.arg0, controller_Button__C178372_VT)) failedCast(s.tmp_5.arg0);
9935
+ if (!checkSubtype(s.tmp_5.arg0, controller_Button__C178372_VT)) failedCast(s.tmp_5.arg0, controller_Button__C178372_VT);
9936
9936
  s.tmp_5.fn = s.tmp_5.arg0.vtable.methods.isPressed;
9937
9937
  s.pc = 33; return s.tmp_5;
9938
9938
  case 33:
@@ -10319,7 +10319,7 @@ switch (step) {
10319
10319
  s.lambdaArgs = null;
10320
10320
  }
10321
10321
  r0 = s.arg0;
10322
- if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0);
10322
+ if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0, controller_Controller__C178338_VT);
10323
10323
  s.tmp_1 = game_currentScene__P178268_mk(s);
10324
10324
  s.callLocIdx = 164; s.pc = 1; return s.tmp_1;
10325
10325
  case 1:
@@ -10400,7 +10400,7 @@ switch (step) {
10400
10400
  s.lambdaArgs = null;
10401
10401
  }
10402
10402
  r0 = s.arg0;
10403
- if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0);
10403
+ if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0, controller_Button__C178372_VT);
10404
10404
  r0 = s.arg0.fields["_pressed"];
10405
10405
  return leave(s, r0)
10406
10406
  default: oops()
@@ -10434,7 +10434,7 @@ switch (step) {
10434
10434
  s.lambdaArgs = null;
10435
10435
  }
10436
10436
  r0 = s.arg0;
10437
- if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0);
10437
+ if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0, controller_Controller__C178338_VT);
10438
10438
  r0 = s.arg0.fields["buttons"];
10439
10439
  s.tmp_0 = r0;
10440
10440
  r0 = (2 - 1);
@@ -10476,7 +10476,7 @@ switch (step) {
10476
10476
  s.lambdaArgs = null;
10477
10477
  }
10478
10478
  r0 = s.arg0;
10479
- if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0);
10479
+ if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0, controller_Controller__C178338_VT);
10480
10480
  r0 = s.arg0.fields["buttons"];
10481
10481
  s.tmp_0 = r0;
10482
10482
  r0 = (s.arg1 - 1);
@@ -10517,7 +10517,7 @@ switch (step) {
10517
10517
  s.lambdaArgs = null;
10518
10518
  }
10519
10519
  r0 = s.arg0;
10520
- if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0);
10520
+ if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0, controller_Controller__C178338_VT);
10521
10521
  r0 = s.arg0.fields["buttons"];
10522
10522
  s.tmp_0 = r0;
10523
10523
  r0 = (4 - 1);
@@ -10558,7 +10558,7 @@ switch (step) {
10558
10558
  s.lambdaArgs = null;
10559
10559
  }
10560
10560
  r0 = s.arg0;
10561
- if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0);
10561
+ if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0, controller_Controller__C178338_VT);
10562
10562
  r0 = s.arg0.fields["buttons"];
10563
10563
  s.tmp_0 = r0;
10564
10564
  r0 = (1 - 1);
@@ -10599,7 +10599,7 @@ switch (step) {
10599
10599
  s.lambdaArgs = null;
10600
10600
  }
10601
10601
  r0 = s.arg0;
10602
- if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0);
10602
+ if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0, controller_Controller__C178338_VT);
10603
10603
  r0 = s.arg0.fields["buttons"];
10604
10604
  s.tmp_0 = r0;
10605
10605
  r0 = (3 - 1);
@@ -10640,7 +10640,7 @@ switch (step) {
10640
10640
  s.lambdaArgs = null;
10641
10641
  }
10642
10642
  r0 = s.arg0;
10643
- if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0);
10643
+ if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0, controller_Button__C178372_VT);
10644
10644
  r0 = pxsim.control.deviceDalVersion();
10645
10645
  s.tmp_1 = r0;
10646
10646
  r0 = (s.tmp_1 == "sim");
@@ -10649,7 +10649,7 @@ switch (step) {
10649
10649
  if (!r0) { step = 3; continue; }
10650
10650
  s.tmp_3 = controller_Button__C178372_v0_1_mk(s);
10651
10651
  s.tmp_3.arg0 = s.arg0;
10652
- if (!checkSubtype(s.tmp_3.arg0, controller_Button__C178372_VT)) failedCast(s.tmp_3.arg0);
10652
+ if (!checkSubtype(s.tmp_3.arg0, controller_Button__C178372_VT)) failedCast(s.tmp_3.arg0, controller_Button__C178372_VT);
10653
10653
  s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isPressed;
10654
10654
  s.pc = 6; return s.tmp_3;
10655
10655
  case 6:
@@ -10713,7 +10713,7 @@ switch (step) {
10713
10713
  s.lambdaArgs = null;
10714
10714
  }
10715
10715
  r0 = s.arg0;
10716
- if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0);
10716
+ if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0, controller_Controller__C178338_VT);
10717
10717
  s.tmp_1 = game_currentScene__P178268_mk(s);
10718
10718
  s.callLocIdx = 163; s.pc = 1; return s.tmp_1;
10719
10719
  case 1:
@@ -10931,7 +10931,7 @@ switch (step) {
10931
10931
  s.lambdaArgs = null;
10932
10932
  }
10933
10933
  r0 = s.arg0;
10934
- if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0);
10934
+ if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0, controller_Controller__C178338_VT);
10935
10935
  r0 = pxsim_pxtrt.mklocRef();
10936
10936
  s.tmp_0 = r0;
10937
10937
  r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1);
@@ -11034,7 +11034,7 @@ switch (step) {
11034
11034
  s.lambdaArgs = null;
11035
11035
  }
11036
11036
  r0 = s.arg0;
11037
- if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0);
11037
+ if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0, controller_Button__C178372_VT);
11038
11038
  r0 = s.arg0.fields["_pressed"];
11039
11039
  s.tmp_2 = r0;
11040
11040
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -11157,7 +11157,7 @@ switch (step) {
11157
11157
  s.lambdaArgs = null;
11158
11158
  }
11159
11159
  r0 = s.arg0;
11160
- if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0);
11160
+ if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0, controller_Button__C178372_VT);
11161
11161
  r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___178396);
11162
11162
  if (!r0) { step = 1; continue; }
11163
11163
  r0 = s.arg0.fields["id"];
@@ -11207,7 +11207,7 @@ switch (step) {
11207
11207
  s.lambdaArgs = null;
11208
11208
  }
11209
11209
  r0 = s.arg0;
11210
- if (!checkSubtype(r0, control_EventContext__C177598_VT)) failedCast(r0);
11210
+ if (!checkSubtype(r0, control_EventContext__C177598_VT)) failedCast(r0, control_EventContext__C177598_VT);
11211
11211
  r0 = s.arg0.fields["frameCallbacks"];
11212
11212
  s.tmp_2 = r0;
11213
11213
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -11312,7 +11312,7 @@ switch (step) {
11312
11312
  s.lambdaArgs = null;
11313
11313
  }
11314
11314
  r0 = s.arg0;
11315
- if (!checkSubtype(r0, control_EventContext__C177598_VT)) failedCast(r0);
11315
+ if (!checkSubtype(r0, control_EventContext__C177598_VT)) failedCast(r0, control_EventContext__C177598_VT);
11316
11316
  r0 = s.arg0.fields["frameCallbacks"];
11317
11317
  s.tmp_2 = r0;
11318
11318
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -11487,7 +11487,7 @@ switch (step) {
11487
11487
  s.lambdaArgs = null;
11488
11488
  }
11489
11489
  r0 = s.arg0;
11490
- if (!checkSubtype(r0, control_EventContext__C177598_VT)) failedCast(r0);
11490
+ if (!checkSubtype(r0, control_EventContext__C177598_VT)) failedCast(r0, control_EventContext__C177598_VT);
11491
11491
  r0 = pxsim.control.millis();
11492
11492
  s.loopStart___182704 = (r0);
11493
11493
  s.tmp_0 = r0 = s.arg0;
@@ -12100,7 +12100,7 @@ switch (step) {
12100
12100
  s.lambdaArgs = null;
12101
12101
  }
12102
12102
  r0 = s.arg0;
12103
- if (!checkSubtype(r0, control_PollEvent__C177553_VT)) failedCast(r0);
12103
+ if (!checkSubtype(r0, control_PollEvent__C177553_VT)) failedCast(r0, control_PollEvent__C177553_VT);
12104
12104
  r0 = (s.arg0).fields["eid"] = (s.arg1);
12105
12105
  r0 = (s.arg0).fields["vid"] = (s.arg2);
12106
12106
  r0 = (s.arg0).fields["start"] = (s.arg3);
@@ -12246,7 +12246,7 @@ switch (step) {
12246
12246
  s.lambdaArgs = null;
12247
12247
  }
12248
12248
  r0 = s.arg0;
12249
- if (!checkSubtype(r0, control_EventContext__C177598_VT)) failedCast(r0);
12249
+ if (!checkSubtype(r0, control_EventContext__C177598_VT)) failedCast(r0, control_EventContext__C177598_VT);
12250
12250
  s.tmp_0 = r0 = s.arg0;
12251
12251
  r0 = pxsim_Array__mk();
12252
12252
  s.tmp_1 = r0;
@@ -12304,7 +12304,7 @@ switch (step) {
12304
12304
  s.lambdaArgs = null;
12305
12305
  }
12306
12306
  r0 = s.arg0;
12307
- if (!checkSubtype(r0, control_EventContext__C177598_VT)) failedCast(r0);
12307
+ if (!checkSubtype(r0, control_EventContext__C177598_VT)) failedCast(r0, control_EventContext__C177598_VT);
12308
12308
  s.h___183008 = (undefined);
12309
12309
  r0 = s.arg0.fields["handlers"];
12310
12310
  s.unnamed698___U1 = (r0);
@@ -12372,7 +12372,7 @@ switch (step) {
12372
12372
  s.lambdaArgs = null;
12373
12373
  }
12374
12374
  r0 = s.arg0;
12375
- if (!checkSubtype(r0, control_EventHandler__C177593_VT)) failedCast(r0);
12375
+ if (!checkSubtype(r0, control_EventHandler__C177593_VT)) failedCast(r0, control_EventHandler__C177593_VT);
12376
12376
  r0 = s.arg0.fields["src"];
12377
12377
  s.tmp_0 = r0;
12378
12378
  r0 = s.arg0.fields["value"];
@@ -12445,7 +12445,7 @@ switch (step) {
12445
12445
  s.lambdaArgs = null;
12446
12446
  }
12447
12447
  r0 = s.arg0;
12448
- if (!checkSubtype(r0, scene_Scene__C178260_VT)) failedCast(r0);
12448
+ if (!checkSubtype(r0, scene_Scene__C178260_VT)) failedCast(r0, scene_Scene__C178260_VT);
12449
12449
  r0 = (s.arg0).fields["previousScene"] = (s.arg2);
12450
12450
  r0 = (s.arg0).fields["eventContext"] = (s.arg1);
12451
12451
  r0 = (s.arg0).fields["flags"] = (0);
@@ -12565,7 +12565,7 @@ switch (step) {
12565
12565
  s.lambdaArgs = null;
12566
12566
  }
12567
12567
  r0 = s.arg0;
12568
- if (!checkSubtype(r0, scene_Background__C178877_VT)) failedCast(r0);
12568
+ if (!checkSubtype(r0, scene_Background__C178877_VT)) failedCast(r0, scene_Background__C178877_VT);
12569
12569
  r0 = (s.arg0).fields["color"] = (0);
12570
12570
  r0 = (s.arg0).fields["camera"] = (s.arg1);
12571
12571
  s.tmp_0 = r0 = s.arg0;
@@ -12608,7 +12608,7 @@ switch (step) {
12608
12608
  s.lambdaArgs = null;
12609
12609
  }
12610
12610
  r0 = s.arg0;
12611
- if (!checkSubtype(r0, scene_Camera__C178977_VT)) failedCast(r0);
12611
+ if (!checkSubtype(r0, scene_Camera__C178977_VT)) failedCast(r0, scene_Camera__C178977_VT);
12612
12612
  r0 = (s.arg0).fields["_offsetX"] = (0);
12613
12613
  r0 = (s.arg0).fields["_offsetY"] = (0);
12614
12614
  r0 = (s.arg0).fields["drawOffsetX"] = (0);
@@ -12649,7 +12649,7 @@ switch (step) {
12649
12649
  s.lambdaArgs = null;
12650
12650
  }
12651
12651
  r0 = s.arg0;
12652
- if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0);
12652
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0, ArcadePhysicsEngine__C178695_VT);
12653
12653
  r0 = undefined;
12654
12654
  s.tmp_0 = r0 = s.arg0;
12655
12655
  r0 = pxsim_Array__mk();
@@ -12720,7 +12720,7 @@ switch (step) {
12720
12720
  s.lambdaArgs = null;
12721
12721
  }
12722
12722
  r0 = s.arg0;
12723
- if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0);
12723
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0, ArcadePhysicsEngine__C178695_VT);
12724
12724
  s.tmp_0 = r0 = s.arg0;
12725
12725
  r0 = (s.arg1 * 256);
12726
12726
  s.tmp_2 = r0;
@@ -12764,7 +12764,7 @@ switch (step) {
12764
12764
  s.lambdaArgs = null;
12765
12765
  }
12766
12766
  r0 = s.arg0;
12767
- if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0);
12767
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0, ArcadePhysicsEngine__C178695_VT);
12768
12768
  r0 = s.arg0.fields["minSingleStep"];
12769
12769
  s.tmp_0 = r0;
12770
12770
  r0 = (s.tmp_0 + 128);
@@ -12841,7 +12841,7 @@ switch (step) {
12841
12841
  s.lambdaArgs = null;
12842
12842
  }
12843
12843
  r0 = s.arg0;
12844
- if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0);
12844
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0, ArcadePhysicsEngine__C178695_VT);
12845
12845
  s.tmp_0 = r0 = s.arg0;
12846
12846
  r0 = (s.arg1 * 256);
12847
12847
  s.tmp_2 = r0;
@@ -12885,7 +12885,7 @@ switch (step) {
12885
12885
  s.lambdaArgs = null;
12886
12886
  }
12887
12887
  r0 = s.arg0;
12888
- if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0);
12888
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0, ArcadePhysicsEngine__C178695_VT);
12889
12889
  r0 = s.arg0.fields["maxSingleStep"];
12890
12890
  s.tmp_0 = r0;
12891
12891
  r0 = (s.tmp_0 + 128);
@@ -12927,7 +12927,7 @@ switch (step) {
12927
12927
  s.lambdaArgs = null;
12928
12928
  }
12929
12929
  r0 = s.arg0;
12930
- if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0);
12930
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0, ArcadePhysicsEngine__C178695_VT);
12931
12931
  s.tmp_0 = r0 = s.arg0;
12932
12932
  r0 = (s.arg1 * 256);
12933
12933
  s.tmp_2 = r0;
@@ -13009,7 +13009,7 @@ switch (step) {
13009
13009
  s.lambdaArgs = null;
13010
13010
  }
13011
13011
  r0 = s.arg0;
13012
- if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0);
13012
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0, ArcadePhysicsEngine__C178695_VT);
13013
13013
  r0 = s.arg0.fields["maxVelocity"];
13014
13014
  s.tmp_0 = r0;
13015
13015
  r0 = (s.tmp_0 + 128);
@@ -13050,7 +13050,7 @@ switch (step) {
13050
13050
  s.lambdaArgs = null;
13051
13051
  }
13052
13052
  r0 = s.arg0;
13053
- if (!checkSubtype(r0, sprites_SpriteMap__C178591_VT)) failedCast(r0);
13053
+ if (!checkSubtype(r0, sprites_SpriteMap__C178591_VT)) failedCast(r0, sprites_SpriteMap__C178591_VT);
13054
13054
  s.tmp_0 = r0 = s.arg0;
13055
13055
  r0 = pxsim_Array__mk();
13056
13056
  s.tmp_1 = r0;
@@ -13090,7 +13090,7 @@ switch (step) {
13090
13090
  s.lambdaArgs = null;
13091
13091
  }
13092
13092
  r0 = s.arg0;
13093
- if (!checkSubtype(r0, PhysicsEngine__C178644_VT)) failedCast(r0);
13093
+ if (!checkSubtype(r0, PhysicsEngine__C178644_VT)) failedCast(r0, PhysicsEngine__C178644_VT);
13094
13094
  r0 = undefined;
13095
13095
  return leave(s, r0)
13096
13096
  default: oops()
@@ -13169,7 +13169,7 @@ switch (step) {
13169
13169
  s.lambdaArgs = null;
13170
13170
  }
13171
13171
  r0 = s.arg0;
13172
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C179367_VT)) failedCast(r0);
13172
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C179367_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C179367_VT);
13173
13173
  r0 = s.arg0.fields["options"];
13174
13174
  s.tmp_2 = r0;
13175
13175
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -13213,7 +13213,7 @@ switch (step) {
13213
13213
  if (!r0) { step = 7; continue; }
13214
13214
  s.tmp_4 = controller_Button__C178372_v0_1_mk(s);
13215
13215
  s.tmp_4.arg0 = globals.A___178231;
13216
- if (!checkSubtype(s.tmp_4.arg0, controller_Button__C178372_VT)) failedCast(s.tmp_4.arg0);
13216
+ if (!checkSubtype(s.tmp_4.arg0, controller_Button__C178372_VT)) failedCast(s.tmp_4.arg0, controller_Button__C178372_VT);
13217
13217
  s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.isPressed;
13218
13218
  s.pc = 11; return s.tmp_4;
13219
13219
  case 11:
@@ -13291,7 +13291,7 @@ switch (step) {
13291
13291
  s.lambdaArgs = null;
13292
13292
  }
13293
13293
  r0 = s.arg0;
13294
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C179367_VT)) failedCast(r0);
13294
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C179367_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C179367_VT);
13295
13295
  r0 = s.arg0.fields["selection"];
13296
13296
  s.tmp_0 = r0;
13297
13297
  s.tmp_2 = if_cardsPerRow_1_mk(s);
@@ -13791,7 +13791,7 @@ switch (step) {
13791
13791
  s.lambdaArgs = null;
13792
13792
  }
13793
13793
  r0 = s.arg0;
13794
- if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0);
13794
+ if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0, particles_ParticleSource__C179485_VT);
13795
13795
  case 1:
13796
13796
  r0 = s.arg0.fields["head"];
13797
13797
  s.tmp_0 = r0;
@@ -14064,7 +14064,7 @@ switch (step) {
14064
14064
  s.lambdaArgs = null;
14065
14065
  }
14066
14066
  r0 = s.arg0;
14067
- if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0);
14067
+ if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0, particles_ParticleSource__C179485_VT);
14068
14068
  s.tmp_1 = r0 = s.arg1;
14069
14069
  s.tmp_3 = particles_ParticleSource_enabled__P179493_mk(s);
14070
14070
  s.tmp_3.arg0 = s.arg0;
@@ -14134,7 +14134,7 @@ switch (step) {
14134
14134
  s.lambdaArgs = null;
14135
14135
  }
14136
14136
  r0 = s.arg0;
14137
- if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0);
14137
+ if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0, particles_ParticleSource__C179485_VT);
14138
14138
  r0 = s.arg0.fields["pFlags"];
14139
14139
  s.tmp_4 = r0;
14140
14140
  r0 = (s.tmp_4 & 1);
@@ -14301,7 +14301,7 @@ switch (step) {
14301
14301
  s.lambdaArgs = null;
14302
14302
  }
14303
14303
  r0 = s.arg0;
14304
- if (!checkSubtype(r0, control_EventContext__C177598_VT)) failedCast(r0);
14304
+ if (!checkSubtype(r0, control_EventContext__C177598_VT)) failedCast(r0, control_EventContext__C177598_VT);
14305
14305
  s.h___183526 = (undefined);
14306
14306
  r0 = s.arg0.fields["handlers"];
14307
14307
  s.unnamed696___U1 = (r0);
@@ -14368,7 +14368,7 @@ switch (step) {
14368
14368
  s.lambdaArgs = null;
14369
14369
  }
14370
14370
  r0 = s.arg0;
14371
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C179367_VT)) failedCast(r0);
14371
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C179367_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C179367_VT);
14372
14372
  r0 = s.arg0.fields["options"];
14373
14373
  s.tmp_0 = r0;
14374
14374
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -14456,7 +14456,7 @@ switch (step) {
14456
14456
  s.lambdaArgs = null;
14457
14457
  }
14458
14458
  r0 = s.arg0;
14459
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C179358_VT)) failedCast(r0);
14459
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C179358_VT)) failedCast(r0, scene_systemMenu_MenuOption__C179358_VT);
14460
14460
  r0 = s.arg0.fields["card"];
14461
14461
  s.tmp_0 = r0;
14462
14462
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -14518,7 +14518,7 @@ switch (step) {
14518
14518
  s.lambdaArgs = null;
14519
14519
  }
14520
14520
  r0 = s.arg0;
14521
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
14521
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
14522
14522
  r0 = s.arg0.fields["flags"];
14523
14523
  s.tmp_1 = r0;
14524
14524
  r0 = (s.tmp_1 & 2);
@@ -14594,7 +14594,7 @@ switch (step) {
14594
14594
  s.lambdaArgs = null;
14595
14595
  }
14596
14596
  r0 = s.arg0;
14597
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
14597
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
14598
14598
  s.tmp_0 = r0 = s.arg0;
14599
14599
  r0 = s.tmp_0.fields["flags"];
14600
14600
  s.tmp_2 = r0;
@@ -14645,7 +14645,7 @@ switch (step) {
14645
14645
  r0 = s.scene___183588.fields["physicsEngine"];
14646
14646
  s.tmp_0.arg0 = r0;
14647
14647
  s.tmp_0.arg1 = s.arg0;
14648
- if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C178644_VT)) failedCast(s.tmp_0.arg0);
14648
+ if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C178644_VT)) failedCast(s.tmp_0.arg0, PhysicsEngine__C178644_VT);
14649
14649
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.removeSprite;
14650
14650
  s.pc = 9; return s.tmp_0;
14651
14651
  case 9:
@@ -14816,7 +14816,7 @@ switch (step) {
14816
14816
  s.lambdaArgs = null;
14817
14817
  }
14818
14818
  r0 = s.arg0;
14819
- if (!checkSubtype(r0, PhysicsEngine__C178644_VT)) failedCast(r0);
14819
+ if (!checkSubtype(r0, PhysicsEngine__C178644_VT)) failedCast(r0, PhysicsEngine__C178644_VT);
14820
14820
  r0 = undefined;
14821
14821
  return leave(s, r0)
14822
14822
  default: oops()
@@ -14853,7 +14853,7 @@ switch (step) {
14853
14853
  s.lambdaArgs = null;
14854
14854
  }
14855
14855
  r0 = s.arg0;
14856
- if (!checkSubtype(r0, sprites_SpriteSet__C178608_VT)) failedCast(r0);
14856
+ if (!checkSubtype(r0, sprites_SpriteSet__C178608_VT)) failedCast(r0, sprites_SpriteSet__C178608_VT);
14857
14857
  r0 = s.arg0.fields["_sprites"];
14858
14858
  s.tmp_0 = r0;
14859
14859
  r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined);
@@ -14912,7 +14912,7 @@ switch (step) {
14912
14912
  s.lambdaArgs = null;
14913
14913
  }
14914
14914
  r0 = s.arg0;
14915
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
14915
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
14916
14916
  r0 = s.arg0.fields["_kind"];
14917
14917
  return leave(s, r0)
14918
14918
  default: oops()
@@ -14949,7 +14949,7 @@ switch (step) {
14949
14949
  s.lambdaArgs = null;
14950
14950
  }
14951
14951
  r0 = s.arg0;
14952
- if (!checkSubtype(r0, effects_ParticleEffect__C179612_VT)) failedCast(r0);
14952
+ if (!checkSubtype(r0, effects_ParticleEffect__C179612_VT)) failedCast(r0, effects_ParticleEffect__C179612_VT);
14953
14953
  s.tmp_0 = Sprite_setFlag__P178560_mk(s);
14954
14954
  s.tmp_0.arg0 = s.arg1;
14955
14955
  s.tmp_0.arg1 = 7168;
@@ -15323,7 +15323,7 @@ switch (step) {
15323
15323
  s.lambdaArgs = null;
15324
15324
  }
15325
15325
  r0 = s.arg0;
15326
- if (!checkSubtype(r0, Math_FastRandom__C179347_VT)) failedCast(r0);
15326
+ if (!checkSubtype(r0, Math_FastRandom__C179347_VT)) failedCast(r0, Math_FastRandom__C179347_VT);
15327
15327
  r0 = (s.arg2 > s.arg1);
15328
15328
  s.tmp_0 = r0;
15329
15329
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -15386,7 +15386,7 @@ switch (step) {
15386
15386
  s.lambdaArgs = null;
15387
15387
  }
15388
15388
  r0 = s.arg0;
15389
- if (!checkSubtype(r0, Math_FastRandom__C179347_VT)) failedCast(r0);
15389
+ if (!checkSubtype(r0, Math_FastRandom__C179347_VT)) failedCast(r0, Math_FastRandom__C179347_VT);
15390
15390
  s.tmp_0 = r0 = s.arg0;
15391
15391
  r0 = s.arg0.fields["lfsr"];
15392
15392
  s.tmp_3 = r0;
@@ -15446,7 +15446,7 @@ switch (step) {
15446
15446
  s.lambdaArgs = null;
15447
15447
  }
15448
15448
  r0 = s.arg0;
15449
- if (!checkSubtype(r0, effects_ImageEffect__C179665_VT)) failedCast(r0);
15449
+ if (!checkSubtype(r0, effects_ImageEffect__C179665_VT)) failedCast(r0, effects_ImageEffect__C179665_VT);
15450
15450
  r0 = (s.arg0).fields["effect"] = (s.arg2);
15451
15451
  r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C179347_VT);
15452
15452
  s.tmp_0 = r0;
@@ -15498,7 +15498,7 @@ switch (step) {
15498
15498
  s.lambdaArgs = null;
15499
15499
  }
15500
15500
  r0 = s.arg0;
15501
- if (!checkSubtype(r0, effects_ImageEffect__C179665_VT)) failedCast(r0);
15501
+ if (!checkSubtype(r0, effects_ImageEffect__C179665_VT)) failedCast(r0, effects_ImageEffect__C179665_VT);
15502
15502
  r0 = pxsim_numops_toBoolDecr(s.arg1);
15503
15503
  s.tmp_1 = r0;
15504
15504
  r0 = pxsim_Boolean__bang(s.tmp_1);
@@ -15580,7 +15580,7 @@ switch (step) {
15580
15580
  s.lambdaArgs = null;
15581
15581
  }
15582
15582
  r0 = s.arg0;
15583
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
15583
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
15584
15584
  r0 = pxsim_numops_toBoolDecr(s.arg1);
15585
15585
  s.tmp_1 = r0;
15586
15586
  r0 = pxsim_Boolean__bang(s.tmp_1);
@@ -15604,7 +15604,7 @@ switch (step) {
15604
15604
  r0 = (s.arg0).fields["_image"] = (s.arg1);
15605
15605
  s.tmp_0 = Sprite__C178498_v5_1_mk(s);
15606
15606
  s.tmp_0.arg0 = s.arg0;
15607
- if (!checkSubtype(s.tmp_0.arg0, Sprite__C178498_VT)) failedCast(s.tmp_0.arg0);
15607
+ if (!checkSubtype(s.tmp_0.arg0, Sprite__C178498_VT)) failedCast(s.tmp_0.arg0, Sprite__C178498_VT);
15608
15608
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.recalcSize;
15609
15609
  s.pc = 6; return s.tmp_0;
15610
15610
  case 6:
@@ -15648,7 +15648,7 @@ switch (step) {
15648
15648
  s.lambdaArgs = null;
15649
15649
  }
15650
15650
  r0 = s.arg0;
15651
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
15651
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
15652
15652
  r0 = s.arg0.fields["_rotatedBBox"];
15653
15653
  s.tmp_0 = r0;
15654
15654
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -15790,11 +15790,11 @@ switch (step) {
15790
15790
  s.lambdaArgs = null;
15791
15791
  }
15792
15792
  r0 = s.arg0;
15793
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
15793
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
15794
15794
  r0 = (s.arg0).fields["_hitbox"] = (null);
15795
15795
  s.tmp_0 = Sprite__C178498_v4_1_mk(s);
15796
15796
  s.tmp_0.arg0 = s.arg0;
15797
- if (!checkSubtype(s.tmp_0.arg0, Sprite__C178498_VT)) failedCast(s.tmp_0.arg0);
15797
+ if (!checkSubtype(s.tmp_0.arg0, Sprite__C178498_VT)) failedCast(s.tmp_0.arg0, Sprite__C178498_VT);
15798
15798
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.setHitbox;
15799
15799
  s.pc = 1; return s.tmp_0;
15800
15800
  case 1:
@@ -15833,7 +15833,7 @@ switch (step) {
15833
15833
  s.lambdaArgs = null;
15834
15834
  }
15835
15835
  r0 = s.arg0;
15836
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
15836
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
15837
15837
  r0 = s.arg0.fields["_hitbox"];
15838
15838
  s.tmp_0 = r0;
15839
15839
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -16318,7 +16318,7 @@ switch (step) {
16318
16318
  s.lambdaArgs = null;
16319
16319
  }
16320
16320
  r0 = s.arg0;
16321
- if (!checkSubtype(r0, game_Hitbox__C178410_VT)) failedCast(r0);
16321
+ if (!checkSubtype(r0, game_Hitbox__C178410_VT)) failedCast(r0, game_Hitbox__C178410_VT);
16322
16322
  s.tmp_0 = r0 = s.arg0;
16323
16323
  s.tmp_2 = Sprite_calcDimensionalHash__P178531_mk(s);
16324
16324
  s.tmp_2.arg0 = s.arg1;
@@ -16373,7 +16373,7 @@ switch (step) {
16373
16373
  s.lambdaArgs = null;
16374
16374
  }
16375
16375
  r0 = s.arg0;
16376
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
16376
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
16377
16377
  r0 = s.arg0.fields["_image"];
16378
16378
  s.tmp_3 = r0;
16379
16379
  r0 = pxsim_ImageMethods.revision(s.tmp_3);
@@ -16445,7 +16445,7 @@ switch (step) {
16445
16445
  s.lambdaArgs = null;
16446
16446
  }
16447
16447
  r0 = s.arg0;
16448
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
16448
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
16449
16449
  r0 = s.arg0.fields["_rotatedBBox"];
16450
16450
  s.tmp_0 = r0;
16451
16451
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -16496,7 +16496,7 @@ switch (step) {
16496
16496
  s.lambdaArgs = null;
16497
16497
  }
16498
16498
  r0 = s.arg0;
16499
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C178467_VT)) failedCast(r0);
16499
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C178467_VT)) failedCast(r0, sprites_RotatedBoundingBox__C178467_VT);
16500
16500
  r0 = s.arg0.fields["_rotation"];
16501
16501
  return leaveAccessor(s, r0)
16502
16502
  default: oops()
@@ -16570,7 +16570,7 @@ switch (step) {
16570
16570
  s.lambdaArgs = null;
16571
16571
  }
16572
16572
  r0 = s.arg0;
16573
- if (!checkSubtype(r0, game_Hitbox__C178410_VT)) failedCast(r0);
16573
+ if (!checkSubtype(r0, game_Hitbox__C178410_VT)) failedCast(r0, game_Hitbox__C178410_VT);
16574
16574
  r0 = s.arg0.fields["hash"];
16575
16575
  s.tmp_0 = r0;
16576
16576
  s.tmp_2 = Sprite_calcDimensionalHash__P178531_mk(s);
@@ -16627,7 +16627,7 @@ switch (step) {
16627
16627
  s.lambdaArgs = null;
16628
16628
  }
16629
16629
  r0 = s.arg0;
16630
- if (!checkSubtype(r0, game_Hitbox__C178410_VT)) failedCast(r0);
16630
+ if (!checkSubtype(r0, game_Hitbox__C178410_VT)) failedCast(r0, game_Hitbox__C178410_VT);
16631
16631
  s.tmp_1 = game_Hitbox_isValid__P178415_mk(s);
16632
16632
  s.tmp_1.arg0 = s.arg0;
16633
16633
  s.callLocIdx = 233; s.pc = 8; return s.tmp_1;
@@ -16819,7 +16819,7 @@ switch (step) {
16819
16819
  s.lambdaArgs = null;
16820
16820
  }
16821
16821
  r0 = s.arg0;
16822
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C178467_VT)) failedCast(r0);
16822
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C178467_VT)) failedCast(r0, sprites_RotatedBoundingBox__C178467_VT);
16823
16823
  r0 = s.arg0.fields["_height"];
16824
16824
  return leaveAccessor(s, r0)
16825
16825
  default: oops()
@@ -16854,7 +16854,7 @@ switch (step) {
16854
16854
  s.lambdaArgs = null;
16855
16855
  }
16856
16856
  r0 = s.arg0;
16857
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C178467_VT)) failedCast(r0);
16857
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C178467_VT)) failedCast(r0, sprites_RotatedBoundingBox__C178467_VT);
16858
16858
  r0 = s.arg0.fields["_width"];
16859
16859
  return leaveAccessor(s, r0)
16860
16860
  default: oops()
@@ -16889,7 +16889,7 @@ switch (step) {
16889
16889
  s.lambdaArgs = null;
16890
16890
  }
16891
16891
  r0 = s.arg0;
16892
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
16892
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
16893
16893
  r0 = s.arg0.fields["_sy"];
16894
16894
  s.tmp_0 = r0;
16895
16895
  r0 = (s.tmp_0 / 256);
@@ -16927,7 +16927,7 @@ switch (step) {
16927
16927
  s.lambdaArgs = null;
16928
16928
  }
16929
16929
  r0 = s.arg0;
16930
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
16930
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
16931
16931
  r0 = s.arg0.fields["_sx"];
16932
16932
  s.tmp_0 = r0;
16933
16933
  r0 = (s.tmp_0 / 256);
@@ -16967,7 +16967,7 @@ switch (step) {
16967
16967
  s.lambdaArgs = null;
16968
16968
  }
16969
16969
  r0 = s.arg0;
16970
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C178467_VT)) failedCast(r0);
16970
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C178467_VT)) failedCast(r0, sprites_RotatedBoundingBox__C178467_VT);
16971
16971
  r0 = (s.arg1 / 2);
16972
16972
  s.arg1 = (r0);
16973
16973
  r0 = (s.arg2 / 2);
@@ -17034,7 +17034,7 @@ switch (step) {
17034
17034
  s.lambdaArgs = null;
17035
17035
  }
17036
17036
  r0 = s.arg0;
17037
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C178467_VT)) failedCast(r0);
17037
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C178467_VT)) failedCast(r0, sprites_RotatedBoundingBox__C178467_VT);
17038
17038
  r0 = (s.arg0).fields["_rotation"] = (s.arg1);
17039
17039
  r0 = s.arg0.fields["points"];
17040
17040
  s.tmp_0 = r0;
@@ -17199,7 +17199,7 @@ switch (step) {
17199
17199
  s.lambdaArgs = null;
17200
17200
  }
17201
17201
  r0 = s.arg0;
17202
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C178467_VT)) failedCast(r0);
17202
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C178467_VT)) failedCast(r0, sprites_RotatedBoundingBox__C178467_VT);
17203
17203
  r0 = s.arg0.fields["points"];
17204
17204
  s.tmp_0 = r0;
17205
17205
  r0 = pxsim_Array__getAt(s.tmp_0, 0);
@@ -17318,7 +17318,7 @@ switch (step) {
17318
17318
  s.lambdaArgs = null;
17319
17319
  }
17320
17320
  r0 = s.arg0;
17321
- if (!checkSubtype(r0, effects_ImageEffect__C179665_VT)) failedCast(r0);
17321
+ if (!checkSubtype(r0, effects_ImageEffect__C179665_VT)) failedCast(r0, effects_ImageEffect__C179665_VT);
17322
17322
  s.tmp_0 = if_effect_3_mk(s);
17323
17323
  s.tmp_0.arg0 = s.arg0;
17324
17324
  s.tmp_0.arg1 = s.arg1;
@@ -17370,7 +17370,7 @@ switch (step) {
17370
17370
  s.lambdaArgs = null;
17371
17371
  }
17372
17372
  r0 = s.arg0;
17373
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
17373
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
17374
17374
  r0 = s.arg0.fields["_image"];
17375
17375
  return leaveAccessor(s, r0)
17376
17376
  default: oops()
@@ -17410,7 +17410,7 @@ switch (step) {
17410
17410
  s.lambdaArgs = null;
17411
17411
  }
17412
17412
  r0 = s.arg0;
17413
- if (!checkSubtype(r0, effects_ParticleEffect__C179612_VT)) failedCast(r0);
17413
+ if (!checkSubtype(r0, effects_ParticleEffect__C179612_VT)) failedCast(r0, effects_ParticleEffect__C179612_VT);
17414
17414
  r0 = s.arg0.fields["sourceFactory"];
17415
17415
  s.tmp_2 = r0;
17416
17416
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -17521,7 +17521,7 @@ switch (step) {
17521
17521
  s.lambdaArgs = null;
17522
17522
  }
17523
17523
  r0 = s.arg0;
17524
- if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0);
17524
+ if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0, particles_ParticleSource__C179485_VT);
17525
17525
  r0 = pxsim_numops_toBoolDecr(s.arg1);
17526
17526
  if (!r0) { step = 1; continue; }
17527
17527
  s.tmp_0 = r0 = s.arg0;
@@ -17584,7 +17584,7 @@ switch (step) {
17584
17584
  s.lambdaArgs = null;
17585
17585
  }
17586
17586
  r0 = s.arg0;
17587
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
17587
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
17588
17588
  r0 = pxsim_numops_toBoolDecr(s.arg2);
17589
17589
  if (!r0) { step = 1; continue; }
17590
17590
  s.tmp_0 = r0 = s.arg0;
@@ -17647,7 +17647,7 @@ switch (step) {
17647
17647
  s.lambdaArgs = null;
17648
17648
  }
17649
17649
  r0 = s.arg0;
17650
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C179358_VT)) failedCast(r0);
17650
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C179358_VT)) failedCast(r0, scene_systemMenu_MenuOption__C179358_VT);
17651
17651
  r0 = s.arg0.fields["state"];
17652
17652
  s.tmp_1 = r0;
17653
17653
  r0 = (s.tmp_1 === s.arg1);
@@ -17700,7 +17700,7 @@ switch (step) {
17700
17700
  s.lambdaArgs = null;
17701
17701
  }
17702
17702
  r0 = s.arg0;
17703
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C179358_VT)) failedCast(r0);
17703
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C179358_VT)) failedCast(r0, scene_systemMenu_MenuOption__C179358_VT);
17704
17704
  r0 = s.arg0.fields["theme"];
17705
17705
  s.tmp_2 = r0;
17706
17706
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -17855,7 +17855,7 @@ switch (step) {
17855
17855
  s.lambdaArgs = null;
17856
17856
  }
17857
17857
  r0 = s.arg0;
17858
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
17858
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
17859
17859
  s.tmp_0 = Sprite_left__P178541_mk(s);
17860
17860
  s.tmp_0.arg0 = s.arg0;
17861
17861
  s.tmp_1 = r0 = s.arg1;
@@ -17913,7 +17913,7 @@ switch (step) {
17913
17913
  s.lambdaArgs = null;
17914
17914
  }
17915
17915
  r0 = s.arg0;
17916
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
17916
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
17917
17917
  s.tmp_0 = game_currentScene__P178268_mk(s);
17918
17918
  s.callLocIdx = 366; s.pc = 1; return s.tmp_0;
17919
17919
  case 1:
@@ -17932,7 +17932,7 @@ switch (step) {
17932
17932
  r0 = (s.tmp_1 - s.tmp_3);
17933
17933
  s.tmp_0.arg2 = r0;
17934
17934
  s.tmp_0.arg3 = 0;
17935
- if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C178644_VT)) failedCast(s.tmp_0.arg0);
17935
+ if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C178644_VT)) failedCast(s.tmp_0.arg0, PhysicsEngine__C178644_VT);
17936
17936
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.moveSprite;
17937
17937
  s.pc = 2; return s.tmp_0;
17938
17938
  case 2:
@@ -18011,7 +18011,7 @@ switch (step) {
18011
18011
  s.lambdaArgs = null;
18012
18012
  }
18013
18013
  r0 = s.arg0;
18014
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C179358_VT)) failedCast(r0);
18014
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C179358_VT)) failedCast(r0, scene_systemMenu_MenuOption__C179358_VT);
18015
18015
  r0 = (s.arg0).fields["top"] = (s.arg2);
18016
18016
  s.tmp_0 = Sprite_left__P178541_mk(s);
18017
18017
  r0 = s.arg0.fields["card"];
@@ -18091,7 +18091,7 @@ switch (step) {
18091
18091
  s.lambdaArgs = null;
18092
18092
  }
18093
18093
  r0 = s.arg0;
18094
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C179358_VT)) failedCast(r0);
18094
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C179358_VT)) failedCast(r0, scene_systemMenu_MenuOption__C179358_VT);
18095
18095
  r0 = (s.arg0).fields["theme"] = (s.arg1);
18096
18096
  s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P179365_mk(s);
18097
18097
  s.tmp_0.arg0 = s.arg0;
@@ -18133,7 +18133,7 @@ switch (step) {
18133
18133
  s.lambdaArgs = null;
18134
18134
  }
18135
18135
  r0 = s.arg0;
18136
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C179358_VT)) failedCast(r0);
18136
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C179358_VT)) failedCast(r0, scene_systemMenu_MenuOption__C179358_VT);
18137
18137
  r0 = s.arg0.fields["theme"];
18138
18138
  s.tmp_0 = r0;
18139
18139
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -18270,7 +18270,7 @@ switch (step) {
18270
18270
  r0 = s.scene___184738.fields["physicsEngine"];
18271
18271
  s.tmp_0.arg0 = r0;
18272
18272
  s.tmp_0.arg1 = s.sprite___184741;
18273
- if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C178644_VT)) failedCast(s.tmp_0.arg0);
18273
+ if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C178644_VT)) failedCast(s.tmp_0.arg0, PhysicsEngine__C178644_VT);
18274
18274
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.addSprite;
18275
18275
  s.pc = 4; return s.tmp_0;
18276
18276
  case 4:
@@ -18417,7 +18417,7 @@ switch (step) {
18417
18417
  s.lambdaArgs = null;
18418
18418
  }
18419
18419
  r0 = s.arg0;
18420
- if (!checkSubtype(r0, PhysicsEngine__C178644_VT)) failedCast(r0);
18420
+ if (!checkSubtype(r0, PhysicsEngine__C178644_VT)) failedCast(r0, PhysicsEngine__C178644_VT);
18421
18421
  r0 = undefined;
18422
18422
  return leave(s, r0)
18423
18423
  default: oops()
@@ -18455,7 +18455,7 @@ switch (step) {
18455
18455
  s.lambdaArgs = null;
18456
18456
  }
18457
18457
  r0 = s.arg0;
18458
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
18458
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
18459
18459
  r0 = (s.arg1 == undefined);
18460
18460
  s.tmp_0 = r0;
18461
18461
  r0 = pxsim_numops_toBool(s.tmp_0);
@@ -18609,7 +18609,7 @@ switch (step) {
18609
18609
  s.lambdaArgs = null;
18610
18610
  }
18611
18611
  r0 = s.arg0;
18612
- if (!checkSubtype(r0, sprites_SpriteSet__C178608_VT)) failedCast(r0);
18612
+ if (!checkSubtype(r0, sprites_SpriteSet__C178608_VT)) failedCast(r0, sprites_SpriteSet__C178608_VT);
18613
18613
  r0 = pxsim_numops_toBoolDecr(s.arg1);
18614
18614
  s.tmp_1 = r0;
18615
18615
  r0 = pxsim_Boolean__bang(s.tmp_1);
@@ -18677,7 +18677,7 @@ switch (step) {
18677
18677
  s.lambdaArgs = null;
18678
18678
  }
18679
18679
  r0 = s.arg0;
18680
- if (!checkSubtype(r0, sprites_SpriteSet__C178608_VT)) failedCast(r0);
18680
+ if (!checkSubtype(r0, sprites_SpriteSet__C178608_VT)) failedCast(r0, sprites_SpriteSet__C178608_VT);
18681
18681
  r0 = s.arg0.fields["_sprites"];
18682
18682
  s.tmp_1 = r0;
18683
18683
  r0 = pxsim_Array_.indexOf(s.tmp_1, s.arg1, undefined);
@@ -18718,7 +18718,7 @@ switch (step) {
18718
18718
  s.lambdaArgs = null;
18719
18719
  }
18720
18720
  r0 = s.arg0;
18721
- if (!checkSubtype(r0, sprites_SpriteSet__C178608_VT)) failedCast(r0);
18721
+ if (!checkSubtype(r0, sprites_SpriteSet__C178608_VT)) failedCast(r0, sprites_SpriteSet__C178608_VT);
18722
18722
  s.tmp_0 = r0 = s.arg0;
18723
18723
  r0 = pxsim_Array__mk();
18724
18724
  s.tmp_1 = r0;
@@ -18759,7 +18759,7 @@ switch (step) {
18759
18759
  s.lambdaArgs = null;
18760
18760
  }
18761
18761
  r0 = s.arg0;
18762
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
18762
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
18763
18763
  s.tmp_0 = sprites_BaseSprite_constructor__P178213_mk(s);
18764
18764
  s.tmp_0.arg0 = s.arg0;
18765
18765
  s.tmp_0.arg1 = 0;
@@ -18903,7 +18903,7 @@ switch (step) {
18903
18903
  s.lambdaArgs = null;
18904
18904
  }
18905
18905
  r0 = s.arg0;
18906
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
18906
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
18907
18907
  s.tmp_0 = r0 = s.arg0;
18908
18908
  s.tmp_3 = Math_max__P177381_mk(s);
18909
18909
  s.tmp_3.arg0 = 0;
@@ -18956,7 +18956,7 @@ switch (step) {
18956
18956
  s.lambdaArgs = null;
18957
18957
  }
18958
18958
  r0 = s.arg0;
18959
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
18959
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
18960
18960
  r0 = s.arg0.fields["_fy"];
18961
18961
  s.tmp_0 = r0;
18962
18962
  r0 = (s.tmp_0 / 256);
@@ -18995,7 +18995,7 @@ switch (step) {
18995
18995
  s.lambdaArgs = null;
18996
18996
  }
18997
18997
  r0 = s.arg0;
18998
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
18998
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
18999
18999
  s.tmp_0 = r0 = s.arg0;
19000
19000
  s.tmp_3 = Math_max__P177381_mk(s);
19001
19001
  s.tmp_3.arg0 = 0;
@@ -19048,7 +19048,7 @@ switch (step) {
19048
19048
  s.lambdaArgs = null;
19049
19049
  }
19050
19050
  r0 = s.arg0;
19051
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
19051
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
19052
19052
  r0 = s.arg0.fields["_fx"];
19053
19053
  s.tmp_0 = r0;
19054
19054
  r0 = (s.tmp_0 / 256);
@@ -19087,7 +19087,7 @@ switch (step) {
19087
19087
  s.lambdaArgs = null;
19088
19088
  }
19089
19089
  r0 = s.arg0;
19090
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
19090
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
19091
19091
  s.tmp_0 = r0 = s.arg0;
19092
19092
  r0 = (s.arg1 * 256);
19093
19093
  s.tmp_2 = r0;
@@ -19131,7 +19131,7 @@ switch (step) {
19131
19131
  s.lambdaArgs = null;
19132
19132
  }
19133
19133
  r0 = s.arg0;
19134
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
19134
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
19135
19135
  r0 = s.arg0.fields["_ay"];
19136
19136
  s.tmp_0 = r0;
19137
19137
  r0 = (s.tmp_0 / 256);
@@ -19170,7 +19170,7 @@ switch (step) {
19170
19170
  s.lambdaArgs = null;
19171
19171
  }
19172
19172
  r0 = s.arg0;
19173
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
19173
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
19174
19174
  s.tmp_0 = r0 = s.arg0;
19175
19175
  r0 = (s.arg1 * 256);
19176
19176
  s.tmp_2 = r0;
@@ -19214,7 +19214,7 @@ switch (step) {
19214
19214
  s.lambdaArgs = null;
19215
19215
  }
19216
19216
  r0 = s.arg0;
19217
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
19217
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
19218
19218
  r0 = s.arg0.fields["_ax"];
19219
19219
  s.tmp_0 = r0;
19220
19220
  r0 = (s.tmp_0 / 256);
@@ -19253,7 +19253,7 @@ switch (step) {
19253
19253
  s.lambdaArgs = null;
19254
19254
  }
19255
19255
  r0 = s.arg0;
19256
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
19256
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
19257
19257
  s.tmp_0 = r0 = s.arg0;
19258
19258
  r0 = (s.arg1 * 256);
19259
19259
  s.tmp_2 = r0;
@@ -19297,7 +19297,7 @@ switch (step) {
19297
19297
  s.lambdaArgs = null;
19298
19298
  }
19299
19299
  r0 = s.arg0;
19300
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
19300
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
19301
19301
  r0 = s.arg0.fields["_vy"];
19302
19302
  s.tmp_0 = r0;
19303
19303
  r0 = (s.tmp_0 / 256);
@@ -19336,7 +19336,7 @@ switch (step) {
19336
19336
  s.lambdaArgs = null;
19337
19337
  }
19338
19338
  r0 = s.arg0;
19339
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
19339
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
19340
19340
  s.tmp_0 = r0 = s.arg0;
19341
19341
  r0 = (s.arg1 * 256);
19342
19342
  s.tmp_2 = r0;
@@ -19380,7 +19380,7 @@ switch (step) {
19380
19380
  s.lambdaArgs = null;
19381
19381
  }
19382
19382
  r0 = s.arg0;
19383
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
19383
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
19384
19384
  r0 = s.arg0.fields["_vx"];
19385
19385
  s.tmp_0 = r0;
19386
19386
  r0 = (s.tmp_0 / 256);
@@ -22361,7 +22361,7 @@ switch (step) {
22361
22361
  s.lambdaArgs = null;
22362
22362
  }
22363
22363
  r0 = s.arg0;
22364
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C179358_VT)) failedCast(r0);
22364
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C179358_VT)) failedCast(r0, scene_systemMenu_MenuOption__C179358_VT);
22365
22365
  r0 = (s.arg0).fields["iconImage"] = (s.arg1);
22366
22366
  r0 = (s.arg0).fields["getText"] = (s.arg2);
22367
22367
  r0 = (s.arg0).fields["action"] = (s.arg3);
@@ -22403,7 +22403,7 @@ switch (step) {
22403
22403
  s.lambdaArgs = null;
22404
22404
  }
22405
22405
  r0 = s.arg0;
22406
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C179367_VT)) failedCast(r0);
22406
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C179367_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C179367_VT);
22407
22407
  r0 = (s.arg0).fields["generator"] = (s.arg1);
22408
22408
  s.tmp_0 = r0 = s.arg2;
22409
22409
  r0 = pxsim_numops_toBool(s.tmp_0);
@@ -23071,7 +23071,7 @@ switch (step) {
23071
23071
  s.lambdaArgs = null;
23072
23072
  }
23073
23073
  r0 = s.arg0;
23074
- if (!checkSubtype(r0, music_PlayableState__C178022_VT)) failedCast(r0);
23074
+ if (!checkSubtype(r0, music_PlayableState__C178022_VT)) failedCast(r0, music_PlayableState__C178022_VT);
23075
23075
  s.tmp_0 = r0 = s.arg0;
23076
23076
  r0 = pxsim_Array__mk();
23077
23077
  s.tmp_1 = r0;
@@ -23333,7 +23333,7 @@ switch (step) {
23333
23333
  s.lambdaArgs = null;
23334
23334
  }
23335
23335
  r0 = s.arg0;
23336
- if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0);
23336
+ if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0, particles_ParticleSource__C179485_VT);
23337
23337
  r0 = (s.arg0).fields["head"] = (undefined);
23338
23338
  r0 = undefined;
23339
23339
  return leave(s, r0)
@@ -23371,7 +23371,7 @@ switch (step) {
23371
23371
  s.lambdaArgs = null;
23372
23372
  }
23373
23373
  r0 = s.arg0;
23374
- if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0);
23374
+ if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0, controller_Button__C178372_VT);
23375
23375
  s.tmp_0 = controller_Button_getOrCreateHandlerForEvent__P178387_mk(s);
23376
23376
  s.tmp_0.arg0 = s.arg0;
23377
23377
  s.tmp_0.arg1 = s.arg1;
@@ -23423,7 +23423,7 @@ switch (step) {
23423
23423
  s.lambdaArgs = null;
23424
23424
  }
23425
23425
  r0 = s.arg0;
23426
- if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0);
23426
+ if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0, controller_Button__C178372_VT);
23427
23427
  s.tmp_3 = controller_Button_handlerState__P178373_mk(s);
23428
23428
  s.tmp_3.arg0 = s.arg0;
23429
23429
  s.callLocIdx = 216; s.pc = 10; return s.tmp_3;
@@ -23611,7 +23611,7 @@ switch (step) {
23611
23611
  s.lambdaArgs = null;
23612
23612
  }
23613
23613
  r0 = s.arg0;
23614
- if (!checkSubtype(r0, controller_ButtonHandler__C178403_VT)) failedCast(r0);
23614
+ if (!checkSubtype(r0, controller_ButtonHandler__C178403_VT)) failedCast(r0, controller_ButtonHandler__C178403_VT);
23615
23615
  r0 = (s.arg0).fields["event"] = (s.arg1);
23616
23616
  r0 = (s.arg0).fields["callback"] = (s.arg2);
23617
23617
  r0 = undefined;
@@ -23655,7 +23655,7 @@ switch (step) {
23655
23655
  s.lambdaArgs = null;
23656
23656
  }
23657
23657
  r0 = s.arg0;
23658
- if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0);
23658
+ if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0, controller_Button__C178372_VT);
23659
23659
  s.tmp_0 = controller_Button_handlerState__P178373_mk(s);
23660
23660
  s.tmp_0.arg0 = s.arg0;
23661
23661
  s.callLocIdx = 212; s.pc = 14; return s.tmp_0;
@@ -23797,7 +23797,7 @@ switch (step) {
23797
23797
  s.lambdaArgs = null;
23798
23798
  }
23799
23799
  r0 = s.arg0;
23800
- if (!checkSubtype(r0, controller_ButtonEventHandlerState__C178405_VT)) failedCast(r0);
23800
+ if (!checkSubtype(r0, controller_ButtonEventHandlerState__C178405_VT)) failedCast(r0, controller_ButtonEventHandlerState__C178405_VT);
23801
23801
  r0 = (s.arg0).fields["id"] = (s.arg1);
23802
23802
  r0 = undefined;
23803
23803
  return leave(s, r0)
@@ -23836,7 +23836,7 @@ switch (step) {
23836
23836
  s.lambdaArgs = null;
23837
23837
  }
23838
23838
  r0 = s.arg0;
23839
- if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0);
23839
+ if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0, controller_Button__C178372_VT);
23840
23840
  s.state___186036 = (undefined);
23841
23841
  s.tmp_0 = game_currentScene__P178268_mk(s);
23842
23842
  s.callLocIdx = 202; s.pc = 6; return s.tmp_0;
@@ -24245,7 +24245,7 @@ switch (step) {
24245
24245
  s.lambdaArgs = null;
24246
24246
  }
24247
24247
  r0 = s.arg0;
24248
- if (!checkSubtype(r0, game_GameOverConfig__C179151_VT)) failedCast(r0);
24248
+ if (!checkSubtype(r0, game_GameOverConfig__C179151_VT)) failedCast(r0, game_GameOverConfig__C179151_VT);
24249
24249
  s.tmp_0 = game_GameOverConfig_init__P179152_mk(s);
24250
24250
  s.tmp_0.arg0 = s.arg0;
24251
24251
  s.callLocIdx = 972; s.pc = 1; return s.tmp_0;
@@ -24285,7 +24285,7 @@ switch (step) {
24285
24285
  s.lambdaArgs = null;
24286
24286
  }
24287
24287
  r0 = s.arg0;
24288
- if (!checkSubtype(r0, game_GameOverConfig__C179151_VT)) failedCast(r0);
24288
+ if (!checkSubtype(r0, game_GameOverConfig__C179151_VT)) failedCast(r0, game_GameOverConfig__C179151_VT);
24289
24289
  r0 = (s.arg0).fields["scoringType"] = (0);
24290
24290
  r0 = (s.arg0).fields["winEffect"] = (globals.confetti___179636);
24291
24291
  r0 = (s.arg0).fields["loseEffect"] = (globals.melt___179673);
@@ -24351,7 +24351,7 @@ switch (step) {
24351
24351
  s.lambdaArgs = null;
24352
24352
  }
24353
24353
  r0 = s.arg0;
24354
- if (!checkSubtype(r0, music_Melody__C177780_VT)) failedCast(r0);
24354
+ if (!checkSubtype(r0, music_Melody__C177780_VT)) failedCast(r0, music_Melody__C177780_VT);
24355
24355
  r0 = (s.arg0).fields["_text"] = (s.arg1);
24356
24356
  r0 = undefined;
24357
24357
  return leave(s, r0)
@@ -24430,7 +24430,7 @@ switch (step) {
24430
24430
  s.lambdaArgs = null;
24431
24431
  }
24432
24432
  r0 = s.arg0;
24433
- if (!checkSubtype(r0, music_MelodyPlayable__C178029_VT)) failedCast(r0);
24433
+ if (!checkSubtype(r0, music_MelodyPlayable__C178029_VT)) failedCast(r0, music_MelodyPlayable__C178029_VT);
24434
24434
  r0 = (s.arg0).fields["melody"] = (s.arg1);
24435
24435
  r0 = undefined;
24436
24436
  r0 = undefined;
@@ -24467,7 +24467,7 @@ switch (step) {
24467
24467
  s.lambdaArgs = null;
24468
24468
  }
24469
24469
  r0 = s.arg0;
24470
- if (!checkSubtype(r0, music_Playable__C177855_VT)) failedCast(r0);
24470
+ if (!checkSubtype(r0, music_Playable__C177855_VT)) failedCast(r0, music_Playable__C177855_VT);
24471
24471
  r0 = undefined;
24472
24472
  return leave(s, r0)
24473
24473
  default: oops()
@@ -24706,7 +24706,7 @@ switch (step) {
24706
24706
  s.lambdaArgs = null;
24707
24707
  }
24708
24708
  r0 = s.arg0;
24709
- if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0);
24709
+ if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0, particles_ParticleSource__C179485_VT);
24710
24710
  s.tmp_0 = sprites_BaseSprite_constructor__P178213_mk(s);
24711
24711
  s.tmp_0.arg0 = s.arg0;
24712
24712
  s.tmp_0.arg1 = 0;
@@ -24837,7 +24837,7 @@ switch (step) {
24837
24837
  s.lambdaArgs = null;
24838
24838
  }
24839
24839
  r0 = s.arg0;
24840
- if (!checkSubtype(r0, particles_SprayFactory__C179549_VT)) failedCast(r0);
24840
+ if (!checkSubtype(r0, particles_SprayFactory__C179549_VT)) failedCast(r0, particles_SprayFactory__C179549_VT);
24841
24841
  r0 = undefined;
24842
24842
  s.tmp_0 = particles_initTrig__P179537_mk(s);
24843
24843
  s.callLocIdx = 1249; s.pc = 1; return s.tmp_0;
@@ -24895,7 +24895,7 @@ switch (step) {
24895
24895
  s.lambdaArgs = null;
24896
24896
  }
24897
24897
  r0 = s.arg0;
24898
- if (!checkSubtype(r0, particles_SprayFactory__C179549_VT)) failedCast(r0);
24898
+ if (!checkSubtype(r0, particles_SprayFactory__C179549_VT)) failedCast(r0, particles_SprayFactory__C179549_VT);
24899
24899
  s.tmp_0 = r0 = s.arg0;
24900
24900
  s.tmp_4 = particles_toRadians__P179544_mk(s);
24901
24901
  s.tmp_5 = r0 = s.arg1;
@@ -25207,7 +25207,7 @@ switch (step) {
25207
25207
  s.lambdaArgs = null;
25208
25208
  }
25209
25209
  r0 = s.arg0;
25210
- if (!checkSubtype(r0, particles_ParticleFactory__C179545_VT)) failedCast(r0);
25210
+ if (!checkSubtype(r0, particles_ParticleFactory__C179545_VT)) failedCast(r0, particles_ParticleFactory__C179545_VT);
25211
25211
  r0 = undefined;
25212
25212
  return leave(s, r0)
25213
25213
  default: oops()
@@ -25242,7 +25242,7 @@ switch (step) {
25242
25242
  s.lambdaArgs = null;
25243
25243
  }
25244
25244
  r0 = s.arg0;
25245
- if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0);
25245
+ if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0, particles_ParticleSource__C179485_VT);
25246
25246
  r0 = pxsim_numops_toBoolDecr(s.arg1);
25247
25247
  if (!r0) { step = 1; continue; }
25248
25248
  r0 = (s.arg0).fields["_factory"] = (s.arg1);
@@ -25283,7 +25283,7 @@ switch (step) {
25283
25283
  s.lambdaArgs = null;
25284
25284
  }
25285
25285
  r0 = s.arg0;
25286
- if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0);
25286
+ if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0, particles_ParticleSource__C179485_VT);
25287
25287
  r0 = (s.arg0).fields["anchor"] = (s.arg1);
25288
25288
  r0 = undefined;
25289
25289
  return leave(s, r0)
@@ -25321,7 +25321,7 @@ switch (step) {
25321
25321
  s.lambdaArgs = null;
25322
25322
  }
25323
25323
  r0 = s.arg0;
25324
- if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0);
25324
+ if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0, particles_ParticleSource__C179485_VT);
25325
25325
  s.tmp_0 = r0 = s.arg0;
25326
25326
  r0 = (s.arg1 * 256);
25327
25327
  s.tmp_2 = r0;
@@ -25373,7 +25373,7 @@ switch (step) {
25373
25373
  s.lambdaArgs = null;
25374
25374
  }
25375
25375
  r0 = s.arg0;
25376
- if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0);
25376
+ if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0, particles_ParticleSource__C179485_VT);
25377
25377
  s.tmp_0 = r0 = s.arg0;
25378
25378
  r0 = (1000 / s.arg1);
25379
25379
  s.tmp_2 = r0;
@@ -25418,7 +25418,7 @@ switch (step) {
25418
25418
  s.lambdaArgs = null;
25419
25419
  }
25420
25420
  r0 = s.arg0;
25421
- if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0);
25421
+ if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0, particles_ParticleSource__C179485_VT);
25422
25422
  s.tmp_0 = particles_ParticleSource_enabled__P179494_mk(s);
25423
25423
  s.tmp_0.arg0 = s.arg0;
25424
25424
  s.tmp_0.arg1 = false;
@@ -25923,7 +25923,7 @@ switch (step) {
25923
25923
  s.lambdaArgs = null;
25924
25924
  }
25925
25925
  r0 = s.arg0;
25926
- if (!checkSubtype(r0, scene_Scene__C178260_VT)) failedCast(r0);
25926
+ if (!checkSubtype(r0, scene_Scene__C178260_VT)) failedCast(r0, scene_Scene__C178260_VT);
25927
25927
  r0 = s.arg0.fields["_millis"];
25928
25928
  return leave(s, r0)
25929
25929
  default: oops()
@@ -26045,7 +26045,7 @@ switch (step) {
26045
26045
  s.lambdaArgs = null;
26046
26046
  }
26047
26047
  r0 = s.arg0;
26048
- if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0);
26048
+ if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0, particles_ParticleSource__C179485_VT);
26049
26049
  s.tmp_0 = r0 = s.arg0;
26050
26050
  r0 = s.tmp_0.fields["timer"];
26051
26051
  s.tmp_2 = r0;
@@ -26167,7 +26167,7 @@ switch (step) {
26167
26167
  s.tmp_0.arg0 = r0;
26168
26168
  r0 = s.arg0.fields["anchor"];
26169
26169
  s.tmp_0.arg1 = r0;
26170
- if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C179545_VT)) failedCast(s.tmp_0.arg0);
26170
+ if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C179545_VT)) failedCast(s.tmp_0.arg0, particles_ParticleFactory__C179545_VT);
26171
26171
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.createParticle;
26172
26172
  s.pc = 32; return s.tmp_0;
26173
26173
  case 32:
@@ -26232,7 +26232,7 @@ switch (step) {
26232
26232
  s.tmp_0.arg0 = s.arg0;
26233
26233
  s.tmp_0.arg1 = s.current___186691;
26234
26234
  s.tmp_0.arg2 = s.fixedDt___186699;
26235
- if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C179485_VT)) failedCast(s.tmp_0.arg0);
26235
+ if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C179485_VT)) failedCast(s.tmp_0.arg0, particles_ParticleSource__C179485_VT);
26236
26236
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.updateParticle;
26237
26237
  s.pc = 33; return s.tmp_0;
26238
26238
  case 33:
@@ -26312,7 +26312,7 @@ switch (step) {
26312
26312
  s.lambdaArgs = null;
26313
26313
  }
26314
26314
  r0 = s.arg0;
26315
- if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0);
26315
+ if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0, particles_ParticleSource__C179485_VT);
26316
26316
  r0 = (s.arg2 >> 10);
26317
26317
  s.arg2 = (r0);
26318
26318
  s.tmp_0 = r0 = s.arg1;
@@ -26440,7 +26440,7 @@ switch (step) {
26440
26440
  s.lambdaArgs = null;
26441
26441
  }
26442
26442
  r0 = s.arg0;
26443
- if (!checkSubtype(r0, particles_ParticleFactory__C179545_VT)) failedCast(r0);
26443
+ if (!checkSubtype(r0, particles_ParticleFactory__C179545_VT)) failedCast(r0, particles_ParticleFactory__C179545_VT);
26444
26444
  r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C179483_VT);
26445
26445
  s.p___186786 = (r0);
26446
26446
  s.tmp_0 = r0 = s.p___186786;
@@ -26582,7 +26582,7 @@ switch (step) {
26582
26582
  s.lambdaArgs = null;
26583
26583
  }
26584
26584
  r0 = s.arg0;
26585
- if (!checkSubtype(r0, particles_SprayFactory__C179549_VT)) failedCast(r0);
26585
+ if (!checkSubtype(r0, particles_SprayFactory__C179549_VT)) failedCast(r0, particles_SprayFactory__C179549_VT);
26586
26586
  s.tmp_0 = r0 = s.arg0;
26587
26587
  r0 = (s.arg1 * 256);
26588
26588
  s.tmp_2 = r0;
@@ -26630,7 +26630,7 @@ switch (step) {
26630
26630
  s.lambdaArgs = null;
26631
26631
  }
26632
26632
  r0 = s.arg0;
26633
- if (!checkSubtype(r0, particles_ConfettiFactory__C179572_VT)) failedCast(r0);
26633
+ if (!checkSubtype(r0, particles_ConfettiFactory__C179572_VT)) failedCast(r0, particles_ConfettiFactory__C179572_VT);
26634
26634
  r0 = pxsim_Array__mk();
26635
26635
  s.tmp_0 = r0;
26636
26636
  r0 = pxsim_Array__push(s.tmp_0, undefined);
@@ -26712,7 +26712,7 @@ switch (step) {
26712
26712
  s.lambdaArgs = null;
26713
26713
  }
26714
26714
  r0 = s.arg0;
26715
- if (!checkSubtype(r0, particles_ShapeFactory__C179566_VT)) failedCast(r0);
26715
+ if (!checkSubtype(r0, particles_ShapeFactory__C179566_VT)) failedCast(r0, particles_ShapeFactory__C179566_VT);
26716
26716
  r0 = pxsim_numops_toBoolDecr(s.arg1);
26717
26717
  if (!r0) { step = 1; continue; }
26718
26718
  r0 = s.arg0.fields["sources"];
@@ -26758,7 +26758,7 @@ switch (step) {
26758
26758
  s.lambdaArgs = null;
26759
26759
  }
26760
26760
  r0 = s.arg0;
26761
- if (!checkSubtype(r0, particles_ShapeFactory__C179566_VT)) failedCast(r0);
26761
+ if (!checkSubtype(r0, particles_ShapeFactory__C179566_VT)) failedCast(r0, particles_ShapeFactory__C179566_VT);
26762
26762
  s.tmp_0 = particles_AreaFactory_constructor__P179560_mk(s);
26763
26763
  s.tmp_0.arg0 = s.arg0;
26764
26764
  s.tmp_0.arg1 = s.arg1;
@@ -26837,7 +26837,7 @@ switch (step) {
26837
26837
  s.lambdaArgs = null;
26838
26838
  }
26839
26839
  r0 = s.arg0;
26840
- if (!checkSubtype(r0, particles_AreaFactory__C179556_VT)) failedCast(r0);
26840
+ if (!checkSubtype(r0, particles_AreaFactory__C179556_VT)) failedCast(r0, particles_AreaFactory__C179556_VT);
26841
26841
  s.tmp_0 = particles_SprayFactory_constructor__P179555_mk(s);
26842
26842
  s.tmp_0.arg0 = s.arg0;
26843
26843
  s.tmp_0.arg1 = 40;
@@ -26920,7 +26920,7 @@ switch (step) {
26920
26920
  s.lambdaArgs = null;
26921
26921
  }
26922
26922
  r0 = s.arg0;
26923
- if (!checkSubtype(r0, effects_ScreenEffect__C179622_VT)) failedCast(r0);
26923
+ if (!checkSubtype(r0, effects_ScreenEffect__C179622_VT)) failedCast(r0, effects_ScreenEffect__C179622_VT);
26924
26924
  s.tmp_0 = effects_ParticleEffect_constructor__P179615_mk(s);
26925
26925
  s.tmp_0.arg0 = s.arg0;
26926
26926
  s.tmp_0.arg1 = s.arg1;
@@ -26971,7 +26971,7 @@ switch (step) {
26971
26971
  s.lambdaArgs = null;
26972
26972
  }
26973
26973
  r0 = s.arg0;
26974
- if (!checkSubtype(r0, effects_ParticleEffect__C179612_VT)) failedCast(r0);
26974
+ if (!checkSubtype(r0, effects_ParticleEffect__C179612_VT)) failedCast(r0, effects_ParticleEffect__C179612_VT);
26975
26975
  r0 = (s.arg0).fields["sourceFactory"] = (s.arg3);
26976
26976
  r0 = (s.arg0).fields["defaultRate"] = (s.arg1);
26977
26977
  r0 = (s.arg0).fields["defaultLifespan"] = (s.arg2);
@@ -27086,7 +27086,7 @@ switch (step) {
27086
27086
  s.lambdaArgs = null;
27087
27087
  }
27088
27088
  r0 = s.arg0;
27089
- if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0);
27089
+ if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0, controller_Button__C178372_VT);
27090
27090
  r0 = (s.arg0).fields["id"] = (s.arg1);
27091
27091
  r0 = (s.arg0).fields["_pressed"] = (false);
27092
27092
  r0 = (s.arg0).fields["repeatDelay"] = (undefined);
@@ -27258,7 +27258,7 @@ switch (step) {
27258
27258
  s.lambdaArgs = null;
27259
27259
  }
27260
27260
  r0 = s.arg0;
27261
- if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0);
27261
+ if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0, controller_Button__C178372_VT);
27262
27262
  r0 = s.arg0.fields["_pressed"];
27263
27263
  s.tmp_1 = r0;
27264
27264
  r0 = (s.tmp_1 != s.arg1);
@@ -27341,7 +27341,7 @@ switch (step) {
27341
27341
  s.lambdaArgs = null;
27342
27342
  }
27343
27343
  r0 = s.arg0;
27344
- if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0);
27344
+ if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0, controller_Button__C178372_VT);
27345
27345
  r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___178396);
27346
27346
  if (!r0) { step = 1; continue; }
27347
27347
  r0 = s.arg0.fields["id"];
@@ -27387,7 +27387,7 @@ switch (step) {
27387
27387
  s.lambdaArgs = null;
27388
27388
  }
27389
27389
  r0 = s.arg0;
27390
- if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0);
27390
+ if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0, controller_Button__C178372_VT);
27391
27391
  r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___178396);
27392
27392
  if (!r0) { step = 1; continue; }
27393
27393
  r0 = s.arg0.fields["id"];
@@ -27486,7 +27486,7 @@ switch (step) {
27486
27486
  s.lambdaArgs = null;
27487
27487
  }
27488
27488
  r0 = s.arg0;
27489
- if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0);
27489
+ if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0, controller_Controller__C178338_VT);
27490
27490
  r0 = s.arg0.fields["_id"];
27491
27491
  return leaveAccessor(s, r0)
27492
27492
  default: oops()
@@ -27521,7 +27521,7 @@ switch (step) {
27521
27521
  s.lambdaArgs = null;
27522
27522
  }
27523
27523
  r0 = s.arg0;
27524
- if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0);
27524
+ if (!checkSubtype(r0, controller_Controller__C178338_VT)) failedCast(r0, controller_Controller__C178338_VT);
27525
27525
  r0 = s.arg0.fields["_connected"];
27526
27526
  return leaveAccessor(s, r0)
27527
27527
  default: oops()
@@ -28034,7 +28034,7 @@ switch (step) {
28034
28034
  s.lambdaArgs = null;
28035
28035
  }
28036
28036
  r0 = s.arg0;
28037
- if (!checkSubtype(r0, particles_ShapeFactory__C179566_VT)) failedCast(r0);
28037
+ if (!checkSubtype(r0, particles_ShapeFactory__C179566_VT)) failedCast(r0, particles_ShapeFactory__C179566_VT);
28038
28038
  s.tmp_0 = particles_AreaFactory_createParticle__P179558_mk(s);
28039
28039
  s.tmp_0.arg0 = s.arg0;
28040
28040
  s.tmp_0.arg1 = s.arg1;
@@ -28093,7 +28093,7 @@ switch (step) {
28093
28093
  s.lambdaArgs = null;
28094
28094
  }
28095
28095
  r0 = s.arg0;
28096
- if (!checkSubtype(r0, particles_AreaFactory__C179556_VT)) failedCast(r0);
28096
+ if (!checkSubtype(r0, particles_AreaFactory__C179556_VT)) failedCast(r0, particles_AreaFactory__C179556_VT);
28097
28097
  s.tmp_0 = particles_SprayFactory_createParticle__P179551_mk(s);
28098
28098
  s.tmp_0.arg0 = s.arg0;
28099
28099
  s.tmp_0.arg1 = s.arg1;
@@ -28280,7 +28280,7 @@ switch (step) {
28280
28280
  s.lambdaArgs = null;
28281
28281
  }
28282
28282
  r0 = s.arg0;
28283
- if (!checkSubtype(r0, particles_SprayFactory__C179549_VT)) failedCast(r0);
28283
+ if (!checkSubtype(r0, particles_SprayFactory__C179549_VT)) failedCast(r0, particles_SprayFactory__C179549_VT);
28284
28284
  s.tmp_0 = particles_ParticleFactory_createParticle__P179546_mk(s);
28285
28285
  s.tmp_0.arg0 = s.arg0;
28286
28286
  s.tmp_0.arg1 = s.arg1;
@@ -28364,7 +28364,7 @@ switch (step) {
28364
28364
  s.lambdaArgs = null;
28365
28365
  }
28366
28366
  r0 = s.arg0;
28367
- if (!checkSubtype(r0, music_Melody__C177780_VT)) failedCast(r0);
28367
+ if (!checkSubtype(r0, music_Melody__C177780_VT)) failedCast(r0, music_Melody__C177780_VT);
28368
28368
  r0 = s.arg0.fields["_text"];
28369
28369
  return leave(s, r0)
28370
28370
  default: oops()
@@ -28401,7 +28401,7 @@ switch (step) {
28401
28401
  s.lambdaArgs = null;
28402
28402
  }
28403
28403
  r0 = s.arg0;
28404
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C178467_VT)) failedCast(r0);
28404
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C178467_VT)) failedCast(r0, sprites_RotatedBoundingBox__C178467_VT);
28405
28405
  r0 = (s.arg0).fields["anchor"] = (s.arg1);
28406
28406
  s.tmp_0 = r0 = s.arg0;
28407
28407
  r0 = pxsim_Array__mk();
@@ -28453,7 +28453,7 @@ switch (step) {
28453
28453
  s.lambdaArgs = null;
28454
28454
  }
28455
28455
  r0 = s.arg0;
28456
- if (!checkSubtype(r0, sprites_SpriteSet__C178608_VT)) failedCast(r0);
28456
+ if (!checkSubtype(r0, sprites_SpriteSet__C178608_VT)) failedCast(r0, sprites_SpriteSet__C178608_VT);
28457
28457
  r0 = pxsim_String_.mkEmpty();
28458
28458
  s.tmp_1 = r0;
28459
28459
  r0 = s.arg0.fields["_sprites"];
@@ -28509,7 +28509,7 @@ switch (step) {
28509
28509
  s.lambdaArgs = null;
28510
28510
  }
28511
28511
  r0 = s.arg0;
28512
- if (!checkSubtype(r0, sprites_SpriteSet__C178608_VT)) failedCast(r0);
28512
+ if (!checkSubtype(r0, sprites_SpriteSet__C178608_VT)) failedCast(r0, sprites_SpriteSet__C178608_VT);
28513
28513
  r0 = s.arg0.fields["_sprites"];
28514
28514
  s.tmp_0 = r0;
28515
28515
  r0 = pxsim_Array__length(s.tmp_0);
@@ -28551,7 +28551,7 @@ switch (step) {
28551
28551
  s.lambdaArgs = null;
28552
28552
  }
28553
28553
  r0 = s.arg0;
28554
- if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0);
28554
+ if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0, particles_ParticleSource__C179485_VT);
28555
28555
  r0 = s.arg0.fields["head"];
28556
28556
  s.current___187289 = (r0);
28557
28557
  r0 = s.arg0.fields["pFlags"];
@@ -28658,7 +28658,7 @@ switch (step) {
28658
28658
  s.lambdaArgs = null;
28659
28659
  }
28660
28660
  r0 = s.arg0;
28661
- if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0);
28661
+ if (!checkSubtype(r0, particles_ParticleSource__C179485_VT)) failedCast(r0, particles_ParticleSource__C179485_VT);
28662
28662
  s.tmp_0 = particles_ParticleFactory__C179545_v1_4_mk(s);
28663
28663
  r0 = s.arg0.fields["_factory"];
28664
28664
  s.tmp_0.arg0 = r0;
@@ -28671,7 +28671,7 @@ switch (step) {
28671
28671
  s.tmp_2 = r0;
28672
28672
  r0 = (s.tmp_2 - s.arg3);
28673
28673
  s.tmp_0.arg3 = r0;
28674
- if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C179545_VT)) failedCast(s.tmp_0.arg0);
28674
+ if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C179545_VT)) failedCast(s.tmp_0.arg0, particles_ParticleFactory__C179545_VT);
28675
28675
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawParticle;
28676
28676
  s.pc = 1; return s.tmp_0;
28677
28677
  case 1:
@@ -28718,7 +28718,7 @@ switch (step) {
28718
28718
  s.lambdaArgs = null;
28719
28719
  }
28720
28720
  r0 = s.arg0;
28721
- if (!checkSubtype(r0, particles_ParticleFactory__C179545_VT)) failedCast(r0);
28721
+ if (!checkSubtype(r0, particles_ParticleFactory__C179545_VT)) failedCast(r0, particles_ParticleFactory__C179545_VT);
28722
28722
  s.tmp_0 = r0 = globals.screen___178134;
28723
28723
  r0 = (s.arg2 + 128);
28724
28724
  s.tmp_2 = r0;
@@ -28770,7 +28770,7 @@ switch (step) {
28770
28770
  s.lambdaArgs = null;
28771
28771
  }
28772
28772
  r0 = s.arg0;
28773
- if (!checkSubtype(r0, sprites_SpriteMap__C178591_VT)) failedCast(r0);
28773
+ if (!checkSubtype(r0, sprites_SpriteMap__C178591_VT)) failedCast(r0, sprites_SpriteMap__C178591_VT);
28774
28774
  r0 = pxsim_String_.mkEmpty();
28775
28775
  s.tmp_3 = r0;
28776
28776
  r0 = s.arg0.fields["buckets"];
@@ -28902,7 +28902,7 @@ switch (step) {
28902
28902
  s.lambdaArgs = null;
28903
28903
  }
28904
28904
  r0 = s.arg0;
28905
- if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0);
28905
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0, ArcadePhysicsEngine__C178695_VT);
28906
28906
  r0 = s.arg1.fields["_x"];
28907
28907
  s.tmp_0 = r0;
28908
28908
  r0 = (s.arg1).fields["_lastX"] = (s.tmp_0);
@@ -29120,7 +29120,7 @@ switch (step) {
29120
29120
  s.lambdaArgs = null;
29121
29121
  }
29122
29122
  r0 = s.arg0;
29123
- if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0);
29123
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0, ArcadePhysicsEngine__C178695_VT);
29124
29124
  r0 = s.arg1.fields["_image"];
29125
29125
  s.tmp_3 = r0;
29126
29126
  r0 = pxsim_ImageMethods.isStatic(s.tmp_3);
@@ -29133,7 +29133,7 @@ switch (step) {
29133
29133
  if (!r0) { step = 1; continue; }
29134
29134
  s.tmp_4 = Sprite__C178498_v4_1_mk(s);
29135
29135
  s.tmp_4.arg0 = s.arg1;
29136
- if (!checkSubtype(s.tmp_4.arg0, Sprite__C178498_VT)) failedCast(s.tmp_4.arg0);
29136
+ if (!checkSubtype(s.tmp_4.arg0, Sprite__C178498_VT)) failedCast(s.tmp_4.arg0, Sprite__C178498_VT);
29137
29137
  s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox;
29138
29138
  s.pc = 20; return s.tmp_4;
29139
29139
  case 20:
@@ -29419,7 +29419,7 @@ switch (step) {
29419
29419
  s.lambdaArgs = null;
29420
29420
  }
29421
29421
  r0 = s.arg0;
29422
- if (!checkSubtype(r0, game_Hitbox__C178410_VT)) failedCast(r0);
29422
+ if (!checkSubtype(r0, game_Hitbox__C178410_VT)) failedCast(r0, game_Hitbox__C178410_VT);
29423
29423
  r0 = s.arg0.fields["height"];
29424
29424
  s.tmp_1 = r0;
29425
29425
  s.tmp_3 = game_Hitbox_top__P178412_mk(s);
@@ -29468,7 +29468,7 @@ switch (step) {
29468
29468
  s.lambdaArgs = null;
29469
29469
  }
29470
29470
  r0 = s.arg0;
29471
- if (!checkSubtype(r0, game_Hitbox__C178410_VT)) failedCast(r0);
29471
+ if (!checkSubtype(r0, game_Hitbox__C178410_VT)) failedCast(r0, game_Hitbox__C178410_VT);
29472
29472
  r0 = s.arg0.fields["oy"];
29473
29473
  s.tmp_0 = r0;
29474
29474
  r0 = s.arg0.fields["parent"];
@@ -29510,7 +29510,7 @@ switch (step) {
29510
29510
  s.lambdaArgs = null;
29511
29511
  }
29512
29512
  r0 = s.arg0;
29513
- if (!checkSubtype(r0, game_Hitbox__C178410_VT)) failedCast(r0);
29513
+ if (!checkSubtype(r0, game_Hitbox__C178410_VT)) failedCast(r0, game_Hitbox__C178410_VT);
29514
29514
  r0 = s.arg0.fields["width"];
29515
29515
  s.tmp_1 = r0;
29516
29516
  s.tmp_3 = game_Hitbox_left__P178411_mk(s);
@@ -29559,7 +29559,7 @@ switch (step) {
29559
29559
  s.lambdaArgs = null;
29560
29560
  }
29561
29561
  r0 = s.arg0;
29562
- if (!checkSubtype(r0, game_Hitbox__C178410_VT)) failedCast(r0);
29562
+ if (!checkSubtype(r0, game_Hitbox__C178410_VT)) failedCast(r0, game_Hitbox__C178410_VT);
29563
29563
  r0 = s.arg0.fields["ox"];
29564
29564
  s.tmp_0 = r0;
29565
29565
  r0 = s.arg0.fields["parent"];
@@ -29601,7 +29601,7 @@ switch (step) {
29601
29601
  s.lambdaArgs = null;
29602
29602
  }
29603
29603
  r0 = s.arg0;
29604
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
29604
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
29605
29605
  r0 = s.arg0.fields["_image"];
29606
29606
  s.tmp_0 = r0;
29607
29607
  r0 = pxsim_ImageMethods.isStatic(s.tmp_0);
@@ -29646,7 +29646,7 @@ switch (step) {
29646
29646
  s.lambdaArgs = null;
29647
29647
  }
29648
29648
  r0 = s.arg0;
29649
- if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0);
29649
+ if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0, tiles_TileMap__C178930_VT);
29650
29650
  r0 = s.arg1.fields["_hitbox"];
29651
29651
  s.hbox___187654 = (r0);
29652
29652
  s.tmp_1 = game_Hitbox_left__P178411_mk(s);
@@ -29779,7 +29779,7 @@ switch (step) {
29779
29779
  s.lambdaArgs = null;
29780
29780
  }
29781
29781
  r0 = s.arg0;
29782
- if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0);
29782
+ if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0, tiles_TileMap__C178930_VT);
29783
29783
  r0 = s.arg0.fields["_map"];
29784
29784
  s.tmp_6 = r0;
29785
29785
  r0 = pxsim_numops_toBoolDecr(s.tmp_6);
@@ -29871,7 +29871,7 @@ switch (step) {
29871
29871
  s.lambdaArgs = null;
29872
29872
  }
29873
29873
  r0 = s.arg0;
29874
- if (!checkSubtype(r0, tiles_TileMapData__C178915_VT)) failedCast(r0);
29874
+ if (!checkSubtype(r0, tiles_TileMapData__C178915_VT)) failedCast(r0, tiles_TileMapData__C178915_VT);
29875
29875
  r0 = s.arg0.fields["layers"];
29876
29876
  s.tmp_1 = r0;
29877
29877
  r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.arg1, s.arg2);
@@ -29915,7 +29915,7 @@ switch (step) {
29915
29915
  s.lambdaArgs = null;
29916
29916
  }
29917
29917
  r0 = s.arg0;
29918
- if (!checkSubtype(r0, tiles_TileMapData__C178915_VT)) failedCast(r0);
29918
+ if (!checkSubtype(r0, tiles_TileMapData__C178915_VT)) failedCast(r0, tiles_TileMapData__C178915_VT);
29919
29919
  r0 = (s.arg1 < 0);
29920
29920
  s.tmp_0 = r0;
29921
29921
  r0 = pxsim_numops_toBool(s.tmp_0);
@@ -30027,7 +30027,7 @@ switch (step) {
30027
30027
  s.lambdaArgs = null;
30028
30028
  }
30029
30029
  r0 = s.arg0;
30030
- if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0);
30030
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0, ArcadePhysicsEngine__C178695_VT);
30031
30031
  r0 = s.arg1.fields["sprite"];
30032
30032
  s.s___187748 = (r0);
30033
30033
  r0 = s.s___187748.fields["flags"];
@@ -30071,7 +30071,7 @@ switch (step) {
30071
30071
  if (!r0) { step = 5; continue; }
30072
30072
  s.tmp_4 = Sprite__C178498_v4_1_mk(s);
30073
30073
  s.tmp_4.arg0 = s.s___187748;
30074
- if (!checkSubtype(s.tmp_4.arg0, Sprite__C178498_VT)) failedCast(s.tmp_4.arg0);
30074
+ if (!checkSubtype(s.tmp_4.arg0, Sprite__C178498_VT)) failedCast(s.tmp_4.arg0, Sprite__C178498_VT);
30075
30075
  s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox;
30076
30076
  s.pc = 98; return s.tmp_4;
30077
30077
  case 98:
@@ -31155,7 +31155,7 @@ switch (step) {
31155
31155
  s.lambdaArgs = null;
31156
31156
  }
31157
31157
  r0 = s.arg0;
31158
- if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0);
31158
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0, ArcadePhysicsEngine__C178695_VT);
31159
31159
  r0 = pxsim_Array__mk();
31160
31160
  s.alreadyHandled___188280 = (r0);
31161
31161
  s.tile___188283 = (undefined);
@@ -31514,7 +31514,7 @@ switch (step) {
31514
31514
  s.lambdaArgs = null;
31515
31515
  }
31516
31516
  r0 = s.arg0;
31517
- if (!checkSubtype(r0, tiles_Location__C178887_VT)) failedCast(r0);
31517
+ if (!checkSubtype(r0, tiles_Location__C178887_VT)) failedCast(r0, tiles_Location__C178887_VT);
31518
31518
  s.tmp_0 = tiles_TileMap_getTileIndex__P178943_mk(s);
31519
31519
  s.tmp_1 = tiles_Location_tileMap__P178888_mk(s);
31520
31520
  s.tmp_1.arg0 = s.arg0;
@@ -31564,7 +31564,7 @@ switch (step) {
31564
31564
  s.lambdaArgs = null;
31565
31565
  }
31566
31566
  r0 = s.arg0;
31567
- if (!checkSubtype(r0, tiles_Location__C178887_VT)) failedCast(r0);
31567
+ if (!checkSubtype(r0, tiles_Location__C178887_VT)) failedCast(r0, tiles_Location__C178887_VT);
31568
31568
  s.tmp_0 = game_currentScene__P178268_mk(s);
31569
31569
  s.callLocIdx = 829; s.pc = 1; return s.tmp_0;
31570
31570
  case 1:
@@ -31606,7 +31606,7 @@ switch (step) {
31606
31606
  s.lambdaArgs = null;
31607
31607
  }
31608
31608
  r0 = s.arg0;
31609
- if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0);
31609
+ if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0, tiles_TileMap__C178930_VT);
31610
31610
  s.tmp_0 = tiles_TileMapData_getTile__P178920_mk(s);
31611
31611
  r0 = s.arg0.fields["_map"];
31612
31612
  s.tmp_0.arg0 = r0;
@@ -31652,7 +31652,7 @@ switch (step) {
31652
31652
  s.lambdaArgs = null;
31653
31653
  }
31654
31654
  r0 = s.arg0;
31655
- if (!checkSubtype(r0, tiles_TileMapData__C178915_VT)) failedCast(r0);
31655
+ if (!checkSubtype(r0, tiles_TileMapData__C178915_VT)) failedCast(r0, tiles_TileMapData__C178915_VT);
31656
31656
  s.tmp_1 = tiles_TileMapData_isOutsideMap__P178926_mk(s);
31657
31657
  s.tmp_1.arg0 = s.arg0;
31658
31658
  s.tmp_1.arg1 = s.arg1;
@@ -31727,7 +31727,7 @@ switch (step) {
31727
31727
  s.lambdaArgs = null;
31728
31728
  }
31729
31729
  r0 = s.arg0;
31730
- if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0);
31730
+ if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0, tiles_TileMap__C178930_VT);
31731
31731
  s.tmp_0 = tiles_TileMapData_getTileImage__P178923_mk(s);
31732
31732
  r0 = s.arg0.fields["_map"];
31733
31733
  s.tmp_0.arg0 = r0;
@@ -31773,7 +31773,7 @@ switch (step) {
31773
31773
  s.lambdaArgs = null;
31774
31774
  }
31775
31775
  r0 = s.arg0;
31776
- if (!checkSubtype(r0, tiles_TileMapData__C178915_VT)) failedCast(r0);
31776
+ if (!checkSubtype(r0, tiles_TileMapData__C178915_VT)) failedCast(r0, tiles_TileMapData__C178915_VT);
31777
31777
  r0 = s.arg0.fields["_scale"];
31778
31778
  s.tmp_0 = r0;
31779
31779
  r0 = (1 << s.tmp_0);
@@ -31866,7 +31866,7 @@ switch (step) {
31866
31866
  s.lambdaArgs = null;
31867
31867
  }
31868
31868
  r0 = s.arg0;
31869
- if (!checkSubtype(r0, tiles_TileMapData__C178915_VT)) failedCast(r0);
31869
+ if (!checkSubtype(r0, tiles_TileMapData__C178915_VT)) failedCast(r0, tiles_TileMapData__C178915_VT);
31870
31870
  r0 = s.arg0.fields["_scale"];
31871
31871
  return leaveAccessor(s, r0)
31872
31872
  default: oops()
@@ -31901,7 +31901,7 @@ switch (step) {
31901
31901
  s.lambdaArgs = null;
31902
31902
  }
31903
31903
  r0 = s.arg0;
31904
- if (!checkSubtype(r0, tiles_Location__C178887_VT)) failedCast(r0);
31904
+ if (!checkSubtype(r0, tiles_Location__C178887_VT)) failedCast(r0, tiles_Location__C178887_VT);
31905
31905
  r0 = s.arg0.fields["_row"];
31906
31906
  return leaveAccessor(s, r0)
31907
31907
  default: oops()
@@ -31936,7 +31936,7 @@ switch (step) {
31936
31936
  s.lambdaArgs = null;
31937
31937
  }
31938
31938
  r0 = s.arg0;
31939
- if (!checkSubtype(r0, tiles_Location__C178887_VT)) failedCast(r0);
31939
+ if (!checkSubtype(r0, tiles_Location__C178887_VT)) failedCast(r0, tiles_Location__C178887_VT);
31940
31940
  r0 = s.arg0.fields["_col"];
31941
31941
  return leaveAccessor(s, r0)
31942
31942
  default: oops()
@@ -31973,7 +31973,7 @@ switch (step) {
31973
31973
  s.lambdaArgs = null;
31974
31974
  }
31975
31975
  r0 = s.arg0;
31976
- if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0);
31976
+ if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0, tiles_TileMap__C178930_VT);
31977
31977
  r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C178887_VT);
31978
31978
  s.tmp_0 = r0;
31979
31979
  s.tmp_1 = tiles_Location_constructor__P178904_mk(s);
@@ -32024,7 +32024,7 @@ switch (step) {
32024
32024
  s.lambdaArgs = null;
32025
32025
  }
32026
32026
  r0 = s.arg0;
32027
- if (!checkSubtype(r0, tiles_Location__C178887_VT)) failedCast(r0);
32027
+ if (!checkSubtype(r0, tiles_Location__C178887_VT)) failedCast(r0, tiles_Location__C178887_VT);
32028
32028
  r0 = (s.arg0).fields["_col"] = (s.arg1);
32029
32029
  r0 = (s.arg0).fields["_row"] = (s.arg2);
32030
32030
  r0 = undefined;
@@ -32121,7 +32121,7 @@ switch (step) {
32121
32121
  s.lambdaArgs = null;
32122
32122
  }
32123
32123
  r0 = s.arg0;
32124
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
32124
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
32125
32125
  r0 = s.arg0.fields["_obstacles"];
32126
32126
  s.tmp_0 = r0;
32127
32127
  r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.arg2);
@@ -32552,7 +32552,7 @@ switch (step) {
32552
32552
  s.lambdaArgs = null;
32553
32553
  }
32554
32554
  r0 = s.arg0;
32555
- if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0);
32555
+ if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0, tiles_TileMap__C178930_VT);
32556
32556
  s.tmp_1 = tiles_TileMapData_isOutsideMap__P178926_mk(s);
32557
32557
  r0 = s.arg0.fields["_map"];
32558
32558
  s.tmp_1.arg0 = r0;
@@ -32651,7 +32651,7 @@ switch (step) {
32651
32651
  s.lambdaArgs = null;
32652
32652
  }
32653
32653
  r0 = s.arg0;
32654
- if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0);
32654
+ if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0, tiles_TileMap__C178930_VT);
32655
32655
  r0 = s.arg0.fields["_layer"];
32656
32656
  return leaveAccessor(s, r0)
32657
32657
  default: oops()
@@ -32691,7 +32691,7 @@ switch (step) {
32691
32691
  s.lambdaArgs = null;
32692
32692
  }
32693
32693
  r0 = s.arg0;
32694
- if (!checkSubtype(r0, sprites_StaticObstacle__C178636_VT)) failedCast(r0);
32694
+ if (!checkSubtype(r0, sprites_StaticObstacle__C178636_VT)) failedCast(r0, sprites_StaticObstacle__C178636_VT);
32695
32695
  r0 = (s.arg0).fields["image"] = (s.arg1);
32696
32696
  r0 = (s.arg0).fields["layer"] = (s.arg4);
32697
32697
  r0 = (s.arg0).fields["top"] = (s.arg2);
@@ -32742,7 +32742,7 @@ switch (step) {
32742
32742
  s.lambdaArgs = null;
32743
32743
  }
32744
32744
  r0 = s.arg0;
32745
- if (!checkSubtype(r0, MovingSprite__C178693_VT)) failedCast(r0);
32745
+ if (!checkSubtype(r0, MovingSprite__C178693_VT)) failedCast(r0, MovingSprite__C178693_VT);
32746
32746
  r0 = (s.arg0).fields["sprite"] = (s.arg1);
32747
32747
  r0 = (s.arg0).fields["cachedVx"] = (s.arg2);
32748
32748
  r0 = (s.arg0).fields["cachedVy"] = (s.arg3);
@@ -32810,7 +32810,7 @@ switch (step) {
32810
32810
  s.lambdaArgs = null;
32811
32811
  }
32812
32812
  r0 = s.arg0;
32813
- if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0);
32813
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0, ArcadePhysicsEngine__C178695_VT);
32814
32814
  s.tmp_0 = Math_min__P177382_mk(s);
32815
32815
  s.tmp_0.arg0 = 100;
32816
32816
  r0 = (s.arg1 * 1000);
@@ -33517,7 +33517,7 @@ switch (step) {
33517
33517
  s.lambdaArgs = null;
33518
33518
  }
33519
33519
  r0 = s.arg0;
33520
- if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0);
33520
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0, ArcadePhysicsEngine__C178695_VT);
33521
33521
  r0 = pxsim_Array__length(s.arg2);
33522
33522
  s.tmp_2 = r0;
33523
33523
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -33969,7 +33969,7 @@ switch (step) {
33969
33969
  s.lambdaArgs = null;
33970
33970
  }
33971
33971
  r0 = s.arg0;
33972
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
33972
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
33973
33973
  r0 = (s.arg1 == s.arg0);
33974
33974
  s.tmp_0 = r0;
33975
33975
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -34765,7 +34765,7 @@ switch (step) {
34765
34765
  s.lambdaArgs = null;
34766
34766
  }
34767
34767
  r0 = s.arg0;
34768
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
34768
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
34769
34769
  r0 = s.arg0.fields["_sx"];
34770
34770
  s.tmp_1 = r0;
34771
34771
  r0 = (s.tmp_1 !== 256);
@@ -34886,7 +34886,7 @@ switch (step) {
34886
34886
  s.lambdaArgs = null;
34887
34887
  }
34888
34888
  r0 = s.arg0;
34889
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
34889
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
34890
34890
  s.tmp_1 = Sprite_top__P178544_mk(s);
34891
34891
  s.tmp_1.arg0 = s.arg0;
34892
34892
  s.callLocIdx = 377; s.pc = 1; return s.tmp_1;
@@ -34937,7 +34937,7 @@ switch (step) {
34937
34937
  s.lambdaArgs = null;
34938
34938
  }
34939
34939
  r0 = s.arg0;
34940
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
34940
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
34941
34941
  s.tmp_1 = Sprite_left__P178540_mk(s);
34942
34942
  s.tmp_1.arg0 = s.arg0;
34943
34943
  s.callLocIdx = 369; s.pc = 1; return s.tmp_1;
@@ -34992,7 +34992,7 @@ switch (step) {
34992
34992
  s.lambdaArgs = null;
34993
34993
  }
34994
34994
  r0 = s.arg0;
34995
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C178467_VT)) failedCast(r0);
34995
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C178467_VT)) failedCast(r0, sprites_RotatedBoundingBox__C178467_VT);
34996
34996
  r0 = pxsim_numops_toBoolDecr(globals.aabbPoints___178466);
34997
34997
  s.tmp_1 = r0;
34998
34998
  r0 = pxsim_Boolean__bang(s.tmp_1);
@@ -35479,7 +35479,7 @@ switch (step) {
35479
35479
  s.lambdaArgs = null;
35480
35480
  }
35481
35481
  r0 = s.arg0;
35482
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C178467_VT)) failedCast(r0);
35482
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C178467_VT)) failedCast(r0, sprites_RotatedBoundingBox__C178467_VT);
35483
35483
  s.tmp_0 = sprites_doRectanglesIntersect__P178486_mk(s);
35484
35484
  r0 = s.arg0.fields["points"];
35485
35485
  s.tmp_0.arg0 = r0;
@@ -35555,7 +35555,7 @@ switch (step) {
35555
35555
  s.lambdaArgs = null;
35556
35556
  }
35557
35557
  r0 = s.arg0;
35558
- if (!checkSubtype(r0, game_Hitbox__C178410_VT)) failedCast(r0);
35558
+ if (!checkSubtype(r0, game_Hitbox__C178410_VT)) failedCast(r0, game_Hitbox__C178410_VT);
35559
35559
  s.tmp_0 = game_Hitbox_updateIfInvalid__P178417_mk(s);
35560
35560
  s.tmp_0.arg0 = s.arg0;
35561
35561
  s.callLocIdx = 249; s.pc = 10; return s.tmp_0;
@@ -35709,7 +35709,7 @@ switch (step) {
35709
35709
  s.lambdaArgs = null;
35710
35710
  }
35711
35711
  r0 = s.arg0;
35712
- if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0);
35712
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0, ArcadePhysicsEngine__C178695_VT);
35713
35713
  r0 = s.arg1.fields["sprite"];
35714
35714
  s.s___189724 = (r0);
35715
35715
  r0 = s.s___189724.fields["_image"];
@@ -35724,7 +35724,7 @@ switch (step) {
35724
35724
  if (!r0) { step = 1; continue; }
35725
35725
  s.tmp_4 = Sprite__C178498_v4_1_mk(s);
35726
35726
  s.tmp_4.arg0 = s.s___189724;
35727
- if (!checkSubtype(s.tmp_4.arg0, Sprite__C178498_VT)) failedCast(s.tmp_4.arg0);
35727
+ if (!checkSubtype(s.tmp_4.arg0, Sprite__C178498_VT)) failedCast(s.tmp_4.arg0, Sprite__C178498_VT);
35728
35728
  s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox;
35729
35729
  s.pc = 21; return s.tmp_4;
35730
35730
  case 21:
@@ -36014,7 +36014,7 @@ switch (step) {
36014
36014
  s.lambdaArgs = null;
36015
36015
  }
36016
36016
  r0 = s.arg0;
36017
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
36017
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
36018
36018
  s.tmp_0 = Sprite_top__P178545_mk(s);
36019
36019
  s.tmp_0.arg0 = s.arg0;
36020
36020
  s.tmp_1 = r0 = s.arg1;
@@ -36068,7 +36068,7 @@ switch (step) {
36068
36068
  s.lambdaArgs = null;
36069
36069
  }
36070
36070
  r0 = s.arg0;
36071
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
36071
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
36072
36072
  s.tmp_0 = Sprite_left__P178541_mk(s);
36073
36073
  s.tmp_0.arg0 = s.arg0;
36074
36074
  s.tmp_1 = r0 = s.arg1;
@@ -36121,7 +36121,7 @@ switch (step) {
36121
36121
  s.lambdaArgs = null;
36122
36122
  }
36123
36123
  r0 = s.arg0;
36124
- if (!checkSubtype(r0, scene_Camera__C178977_VT)) failedCast(r0);
36124
+ if (!checkSubtype(r0, scene_Camera__C178977_VT)) failedCast(r0, scene_Camera__C178977_VT);
36125
36125
  r0 = s.arg0.fields["sprite"];
36126
36126
  s.tmp_2 = r0;
36127
36127
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -36218,7 +36218,7 @@ switch (step) {
36218
36218
  s.lambdaArgs = null;
36219
36219
  }
36220
36220
  r0 = s.arg0;
36221
- if (!checkSubtype(r0, sprites_SpriteMap__C178591_VT)) failedCast(r0);
36221
+ if (!checkSubtype(r0, sprites_SpriteMap__C178591_VT)) failedCast(r0, sprites_SpriteMap__C178591_VT);
36222
36222
  s.tmp_0 = Sprite_left__P178540_mk(s);
36223
36223
  s.tmp_0.arg0 = s.arg1;
36224
36224
  s.callLocIdx = 538; s.pc = 5; return s.tmp_0;
@@ -36382,7 +36382,7 @@ switch (step) {
36382
36382
  s.lambdaArgs = null;
36383
36383
  }
36384
36384
  r0 = s.arg0;
36385
- if (!checkSubtype(r0, sprites_SpriteMap__C178591_VT)) failedCast(r0);
36385
+ if (!checkSubtype(r0, sprites_SpriteMap__C178591_VT)) failedCast(r0, sprites_SpriteMap__C178591_VT);
36386
36386
  s.tmp_0 = sprites_SpriteMap_key__P178597_mk(s);
36387
36387
  s.tmp_0.arg0 = s.arg0;
36388
36388
  s.tmp_0.arg1 = s.arg1;
@@ -36469,7 +36469,7 @@ switch (step) {
36469
36469
  s.lambdaArgs = null;
36470
36470
  }
36471
36471
  r0 = s.arg0;
36472
- if (!checkSubtype(r0, sprites_SpriteMap__C178591_VT)) failedCast(r0);
36472
+ if (!checkSubtype(r0, sprites_SpriteMap__C178591_VT)) failedCast(r0, sprites_SpriteMap__C178591_VT);
36473
36473
  s.tmp_0 = Math_clamp__P177378_mk(s);
36474
36474
  s.tmp_0.arg0 = 0;
36475
36475
  r0 = s.arg0.fields["columnCount"];
@@ -36582,7 +36582,7 @@ switch (step) {
36582
36582
  s.lambdaArgs = null;
36583
36583
  }
36584
36584
  r0 = s.arg0;
36585
- if (!checkSubtype(r0, sprites_SpriteMap__C178591_VT)) failedCast(r0);
36585
+ if (!checkSubtype(r0, sprites_SpriteMap__C178591_VT)) failedCast(r0, sprites_SpriteMap__C178591_VT);
36586
36586
  s.maxWidth___190006 = (0);
36587
36587
  s.maxHeight___190007 = (0);
36588
36588
  s.sprite___190009 = (undefined);
@@ -36755,7 +36755,7 @@ switch (step) {
36755
36755
  s.lambdaArgs = null;
36756
36756
  }
36757
36757
  r0 = s.arg0;
36758
- if (!checkSubtype(r0, sprites_SpriteMap__C178591_VT)) failedCast(r0);
36758
+ if (!checkSubtype(r0, sprites_SpriteMap__C178591_VT)) failedCast(r0, sprites_SpriteMap__C178591_VT);
36759
36759
  s.tmp_0 = r0 = s.arg0;
36760
36760
  r0 = pxsim_Array__mk();
36761
36761
  s.tmp_1 = r0;
@@ -36799,7 +36799,7 @@ switch (step) {
36799
36799
  s.lambdaArgs = null;
36800
36800
  }
36801
36801
  r0 = s.arg0;
36802
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
36802
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
36803
36803
  s.tmp_0 = r0 = s.arg0;
36804
36804
  r0 = pxsim_Array__mk();
36805
36805
  s.tmp_1 = r0;
@@ -36852,7 +36852,7 @@ switch (step) {
36852
36852
  s.lambdaArgs = null;
36853
36853
  }
36854
36854
  r0 = s.arg0;
36855
- if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0);
36855
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0, ArcadePhysicsEngine__C178695_VT);
36856
36856
  s.tmp_0 = ArcadePhysicsEngine_constrain__P178716_mk(s);
36857
36857
  s.tmp_0.arg0 = s.arg0;
36858
36858
  r0 = s.arg1.fields["_vx"];
@@ -37246,7 +37246,7 @@ switch (step) {
37246
37246
  s.lambdaArgs = null;
37247
37247
  }
37248
37248
  r0 = s.arg0;
37249
- if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0);
37249
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0, ArcadePhysicsEngine__C178695_VT);
37250
37250
  s.tmp_0 = Fx_max__P177427_mk(s);
37251
37251
  s.tmp_1 = Fx_min__P177426_mk(s);
37252
37252
  r0 = s.arg0.fields["maxVelocity"];
@@ -37366,7 +37366,7 @@ switch (step) {
37366
37366
  s.lambdaArgs = null;
37367
37367
  }
37368
37368
  r0 = s.arg0;
37369
- if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0);
37369
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0, ArcadePhysicsEngine__C178695_VT);
37370
37370
  s.tmp_0 = sprites_SpriteMap_draw__P178594_mk(s);
37371
37371
  r0 = s.arg0.fields["map"];
37372
37372
  s.tmp_0.arg0 = r0;
@@ -37413,7 +37413,7 @@ switch (step) {
37413
37413
  s.lambdaArgs = null;
37414
37414
  }
37415
37415
  r0 = s.arg0;
37416
- if (!checkSubtype(r0, sprites_SpriteMap__C178591_VT)) failedCast(r0);
37416
+ if (!checkSubtype(r0, sprites_SpriteMap__C178591_VT)) failedCast(r0, sprites_SpriteMap__C178591_VT);
37417
37417
  s.x___190330 = (0);
37418
37418
  case 1:
37419
37419
  r0 = s.arg0.fields["columnCount"];
@@ -37527,7 +37527,7 @@ switch (step) {
37527
37527
  s.lambdaArgs = null;
37528
37528
  }
37529
37529
  r0 = s.arg0;
37530
- if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0);
37530
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0, ArcadePhysicsEngine__C178695_VT);
37531
37531
  r0 = s.arg0.fields["sprites"];
37532
37532
  s.tmp_0 = r0;
37533
37533
  r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg1);
@@ -37568,7 +37568,7 @@ switch (step) {
37568
37568
  s.lambdaArgs = null;
37569
37569
  }
37570
37570
  r0 = s.arg0;
37571
- if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0);
37571
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C178695_VT)) failedCast(r0, ArcadePhysicsEngine__C178695_VT);
37572
37572
  r0 = s.arg0.fields["sprites"];
37573
37573
  s.tmp_0 = r0;
37574
37574
  r0 = pxsim_Array__push(s.tmp_0, s.arg1);
@@ -37647,7 +37647,7 @@ switch (step) {
37647
37647
  s.lambdaArgs = null;
37648
37648
  }
37649
37649
  r0 = s.arg0;
37650
- if (!checkSubtype(r0, scene_BackgroundLayer__C178884_VT)) failedCast(r0);
37650
+ if (!checkSubtype(r0, scene_BackgroundLayer__C178884_VT)) failedCast(r0, scene_BackgroundLayer__C178884_VT);
37651
37651
  s.tmp_0 = r0 = s.arg0;
37652
37652
  s.tmp_2 = Math_max__P177381_mk(s);
37653
37653
  s.tmp_2.arg0 = 1;
@@ -37730,7 +37730,7 @@ switch (step) {
37730
37730
  s.lambdaArgs = null;
37731
37731
  }
37732
37732
  r0 = s.arg0;
37733
- if (!checkSubtype(r0, scene_Scene__C178260_VT)) failedCast(r0);
37733
+ if (!checkSubtype(r0, scene_Scene__C178260_VT)) failedCast(r0, scene_Scene__C178260_VT);
37734
37734
  r0 = s.arg0.fields["_data"];
37735
37735
  return leaveAccessor(s, r0)
37736
37736
  default: oops()
@@ -37765,7 +37765,7 @@ switch (step) {
37765
37765
  s.lambdaArgs = null;
37766
37766
  }
37767
37767
  r0 = s.arg0;
37768
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
37768
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
37769
37769
  r0 = pxsim_String_.mkEmpty();
37770
37770
  s.tmp_9 = r0;
37771
37771
  r0 = s.arg0.fields["id"];
@@ -37916,7 +37916,7 @@ switch (step) {
37916
37916
  s.lambdaArgs = null;
37917
37917
  }
37918
37918
  r0 = s.arg0;
37919
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
37919
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
37920
37920
  r0 = s.arg0.fields["lifespan"];
37921
37921
  s.tmp_1 = r0;
37922
37922
  r0 = (s.tmp_1 !== undefined);
@@ -37986,7 +37986,7 @@ switch (step) {
37986
37986
  s.tmp_1.arg1 = s.arg2;
37987
37987
  s.tmp_1.arg2 = s.arg1;
37988
37988
  s.tmp_1.arg3 = s.arg0;
37989
- if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C178451_VT)) failedCast(s.tmp_1.arg0);
37989
+ if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C178451_VT)) failedCast(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C178451_VT);
37990
37990
  s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.update;
37991
37991
  s.pc = 14; return s.tmp_1;
37992
37992
  case 14:
@@ -38037,7 +38037,7 @@ switch (step) {
38037
38037
  s.lambdaArgs = null;
38038
38038
  }
38039
38039
  r0 = s.arg0;
38040
- if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C178451_VT)) failedCast(r0);
38040
+ if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C178451_VT)) failedCast(r0, sprites_BaseSpriteSayRenderer__C178451_VT);
38041
38041
  r0 = undefined;
38042
38042
  return leave(s, r0)
38043
38043
  default: oops()
@@ -38077,7 +38077,7 @@ switch (step) {
38077
38077
  s.lambdaArgs = null;
38078
38078
  }
38079
38079
  r0 = s.arg0;
38080
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
38080
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
38081
38081
  r0 = s.arg0.fields["flags"];
38082
38082
  s.tmp_1 = r0;
38083
38083
  r0 = (s.tmp_1 & 512);
@@ -38226,7 +38226,7 @@ switch (step) {
38226
38226
  s.lambdaArgs = null;
38227
38227
  }
38228
38228
  r0 = s.arg0;
38229
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
38229
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
38230
38230
  r0 = (s.arg0).fields["_data"] = (s.arg1);
38231
38231
  r0 = undefined;
38232
38232
  return leave(s, r0)
@@ -38262,7 +38262,7 @@ switch (step) {
38262
38262
  s.lambdaArgs = null;
38263
38263
  }
38264
38264
  r0 = s.arg0;
38265
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
38265
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
38266
38266
  r0 = s.arg0.fields["_data"];
38267
38267
  s.tmp_2 = r0;
38268
38268
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -38318,7 +38318,7 @@ switch (step) {
38318
38318
  s.lambdaArgs = null;
38319
38319
  }
38320
38320
  r0 = s.arg0;
38321
- if (!checkSubtype(r0, sprites_BaseSprite__C178205_VT)) failedCast(r0);
38321
+ if (!checkSubtype(r0, sprites_BaseSprite__C178205_VT)) failedCast(r0, sprites_BaseSprite__C178205_VT);
38322
38322
  r0 = undefined;
38323
38323
  return leave(s, r0)
38324
38324
  default: oops()
@@ -38355,10 +38355,10 @@ switch (step) {
38355
38355
  s.lambdaArgs = null;
38356
38356
  }
38357
38357
  r0 = s.arg0;
38358
- if (!checkSubtype(r0, sprites_BaseSprite__C178205_VT)) failedCast(r0);
38358
+ if (!checkSubtype(r0, sprites_BaseSprite__C178205_VT)) failedCast(r0, sprites_BaseSprite__C178205_VT);
38359
38359
  s.tmp_1 = sprites_BaseSprite__C178205_v0_1_mk(s);
38360
38360
  s.tmp_1.arg0 = s.arg0;
38361
- if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C178205_VT)) failedCast(s.tmp_1.arg0);
38361
+ if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C178205_VT)) failedCast(s.tmp_1.arg0, sprites_BaseSprite__C178205_VT);
38362
38362
  s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.__visible;
38363
38363
  s.pc = 3; return s.tmp_1;
38364
38364
  case 3:
@@ -38369,7 +38369,7 @@ switch (step) {
38369
38369
  s.tmp_2 = sprites_BaseSprite__C178205_v2_2_mk(s);
38370
38370
  s.tmp_2.arg0 = s.arg0;
38371
38371
  s.tmp_2.arg1 = s.arg1;
38372
- if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C178205_VT)) failedCast(s.tmp_2.arg0);
38372
+ if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C178205_VT)) failedCast(s.tmp_2.arg0, sprites_BaseSprite__C178205_VT);
38373
38373
  s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.__drawCore;
38374
38374
  s.pc = 4; return s.tmp_2;
38375
38375
  case 4:
@@ -38414,7 +38414,7 @@ switch (step) {
38414
38414
  s.lambdaArgs = null;
38415
38415
  }
38416
38416
  r0 = s.arg0;
38417
- if (!checkSubtype(r0, sprites_BaseSprite__C178205_VT)) failedCast(r0);
38417
+ if (!checkSubtype(r0, sprites_BaseSprite__C178205_VT)) failedCast(r0, sprites_BaseSprite__C178205_VT);
38418
38418
  r0 = undefined;
38419
38419
  return leave(s, r0)
38420
38420
  default: oops()
@@ -38449,7 +38449,7 @@ switch (step) {
38449
38449
  s.lambdaArgs = null;
38450
38450
  }
38451
38451
  r0 = s.arg0;
38452
- if (!checkSubtype(r0, sprites_BaseSprite__C178205_VT)) failedCast(r0);
38452
+ if (!checkSubtype(r0, sprites_BaseSprite__C178205_VT)) failedCast(r0, sprites_BaseSprite__C178205_VT);
38453
38453
  r0 = true;
38454
38454
  return leave(s, r0)
38455
38455
  default: oops()
@@ -38487,7 +38487,7 @@ switch (step) {
38487
38487
  s.lambdaArgs = null;
38488
38488
  }
38489
38489
  r0 = s.arg0;
38490
- if (!checkSubtype(r0, tiles_TileMapData__C178915_VT)) failedCast(r0);
38490
+ if (!checkSubtype(r0, tiles_TileMapData__C178915_VT)) failedCast(r0, tiles_TileMapData__C178915_VT);
38491
38491
  r0 = (s.arg0).fields["data"] = (s.arg1);
38492
38492
  r0 = (s.arg0).fields["layers"] = (s.arg2);
38493
38493
  r0 = (s.arg0).fields["tileset"] = (s.arg3);
@@ -38545,7 +38545,7 @@ switch (step) {
38545
38545
  s.lambdaArgs = null;
38546
38546
  }
38547
38547
  r0 = s.arg0;
38548
- if (!checkSubtype(r0, tiles_TileMapData__C178915_VT)) failedCast(r0);
38548
+ if (!checkSubtype(r0, tiles_TileMapData__C178915_VT)) failedCast(r0, tiles_TileMapData__C178915_VT);
38549
38549
  r0 = (s.arg0).fields["_scale"] = (s.arg1);
38550
38550
  s.tmp_0 = r0 = s.arg0;
38551
38551
  r0 = pxsim_Array__mk();
@@ -38588,7 +38588,7 @@ switch (step) {
38588
38588
  s.lambdaArgs = null;
38589
38589
  }
38590
38590
  r0 = s.arg0;
38591
- if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0);
38591
+ if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0, tiles_TileMap__C178930_VT);
38592
38592
  r0 = (s.arg0).fields["_layer"] = (1);
38593
38593
  s.tmp_0 = tiles_TileMap_scale__P178932_mk(s);
38594
38594
  s.tmp_0.arg0 = s.arg0;
@@ -38706,7 +38706,7 @@ switch (step) {
38706
38706
  s.lambdaArgs = null;
38707
38707
  }
38708
38708
  r0 = s.arg0;
38709
- if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0);
38709
+ if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0, tiles_TileMap__C178930_VT);
38710
38710
  r0 = s.arg0.fields["_map"];
38711
38711
  s.tmp_6 = r0;
38712
38712
  r0 = pxsim_numops_toBoolDecr(s.tmp_6);
@@ -39026,7 +39026,7 @@ switch (step) {
39026
39026
  s.lambdaArgs = null;
39027
39027
  }
39028
39028
  r0 = s.arg0;
39029
- if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0);
39029
+ if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0, tiles_TileMap__C178930_VT);
39030
39030
  r0 = (s.arg0).fields["_scale"] = (s.arg1);
39031
39031
  r0 = s.arg0.fields["_map"];
39032
39032
  s.tmp_0 = r0;
@@ -39077,7 +39077,7 @@ switch (step) {
39077
39077
  s.lambdaArgs = null;
39078
39078
  }
39079
39079
  r0 = s.arg0;
39080
- if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0);
39080
+ if (!checkSubtype(r0, tiles_TileMap__C178930_VT)) failedCast(r0, tiles_TileMap__C178930_VT);
39081
39081
  r0 = s.arg0.fields["_map"];
39082
39082
  return leaveAccessor(s, r0)
39083
39083
  default: oops()
@@ -39112,7 +39112,7 @@ switch (step) {
39112
39112
  s.lambdaArgs = null;
39113
39113
  }
39114
39114
  r0 = s.arg0;
39115
- if (!checkSubtype(r0, scene_Camera__C178977_VT)) failedCast(r0);
39115
+ if (!checkSubtype(r0, scene_Camera__C178977_VT)) failedCast(r0, scene_Camera__C178977_VT);
39116
39116
  r0 = s.arg0.fields["_offsetY"];
39117
39117
  s.tmp_0 = r0;
39118
39118
  r0 = pxsim_ImageMethods.height(globals.screen___178134);
@@ -39156,7 +39156,7 @@ switch (step) {
39156
39156
  s.lambdaArgs = null;
39157
39157
  }
39158
39158
  r0 = s.arg0;
39159
- if (!checkSubtype(r0, scene_Camera__C178977_VT)) failedCast(r0);
39159
+ if (!checkSubtype(r0, scene_Camera__C178977_VT)) failedCast(r0, scene_Camera__C178977_VT);
39160
39160
  r0 = s.arg0.fields["_offsetX"];
39161
39161
  s.tmp_0 = r0;
39162
39162
  r0 = pxsim_ImageMethods.width(globals.screen___178134);
@@ -39204,7 +39204,7 @@ switch (step) {
39204
39204
  s.lambdaArgs = null;
39205
39205
  }
39206
39206
  r0 = s.arg0;
39207
- if (!checkSubtype(r0, controller_AnyButton__C178370_VT)) failedCast(r0);
39207
+ if (!checkSubtype(r0, controller_AnyButton__C178370_VT)) failedCast(r0, controller_AnyButton__C178370_VT);
39208
39208
  s.tmp_0 = controller__player1__P178333_mk(s);
39209
39209
  s.callLocIdx = 200; s.pc = 6; return s.tmp_0;
39210
39210
  case 6:
@@ -39224,7 +39224,7 @@ switch (step) {
39224
39224
  s.b___190875 = (r0);
39225
39225
  s.tmp_3 = controller_Button__C178372_v0_1_mk(s);
39226
39226
  s.tmp_3.arg0 = s.b___190875;
39227
- if (!checkSubtype(s.tmp_3.arg0, controller_Button__C178372_VT)) failedCast(s.tmp_3.arg0);
39227
+ if (!checkSubtype(s.tmp_3.arg0, controller_Button__C178372_VT)) failedCast(s.tmp_3.arg0, controller_Button__C178372_VT);
39228
39228
  s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isPressed;
39229
39229
  s.pc = 7; return s.tmp_3;
39230
39230
  case 7:
@@ -39283,7 +39283,7 @@ switch (step) {
39283
39283
  s.lambdaArgs = null;
39284
39284
  }
39285
39285
  r0 = s.arg0;
39286
- if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0);
39286
+ if (!checkSubtype(r0, controller_Button__C178372_VT)) failedCast(r0, controller_Button__C178372_VT);
39287
39287
  r0 = s.arg0.fields["_pressed"];
39288
39288
  s.tmp_0 = r0;
39289
39289
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -39362,7 +39362,7 @@ switch (step) {
39362
39362
  s.lambdaArgs = null;
39363
39363
  }
39364
39364
  r0 = s.arg0;
39365
- if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C178451_VT)) failedCast(r0);
39365
+ if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C178451_VT)) failedCast(r0, sprites_BaseSpriteSayRenderer__C178451_VT);
39366
39366
  r0 = (s.arg0).fields["text"] = (s.arg1);
39367
39367
  r0 = (s.arg0).fields["fgColor"] = (s.arg2);
39368
39368
  r0 = (s.arg0).fields["bgColor"] = (s.arg3);
@@ -39402,7 +39402,7 @@ switch (step) {
39402
39402
  s.lambdaArgs = null;
39403
39403
  }
39404
39404
  r0 = s.arg0;
39405
- if (!checkSubtype(r0, sprites_StaticObstacle__C178636_VT)) failedCast(r0);
39405
+ if (!checkSubtype(r0, sprites_StaticObstacle__C178636_VT)) failedCast(r0, sprites_StaticObstacle__C178636_VT);
39406
39406
  r0 = s.arg0.fields["image"];
39407
39407
  s.tmp_0 = r0;
39408
39408
  r0 = pxsim_ImageMethods.width(s.tmp_0);
@@ -39440,7 +39440,7 @@ switch (step) {
39440
39440
  s.lambdaArgs = null;
39441
39441
  }
39442
39442
  r0 = s.arg0;
39443
- if (!checkSubtype(r0, sprites_StaticObstacle__C178636_VT)) failedCast(r0);
39443
+ if (!checkSubtype(r0, sprites_StaticObstacle__C178636_VT)) failedCast(r0, sprites_StaticObstacle__C178636_VT);
39444
39444
  r0 = s.arg0.fields["image"];
39445
39445
  s.tmp_0 = r0;
39446
39446
  r0 = pxsim_ImageMethods.height(s.tmp_0);
@@ -39478,7 +39478,7 @@ switch (step) {
39478
39478
  s.lambdaArgs = null;
39479
39479
  }
39480
39480
  r0 = s.arg0;
39481
- if (!checkSubtype(r0, sprites_StaticObstacle__C178636_VT)) failedCast(r0);
39481
+ if (!checkSubtype(r0, sprites_StaticObstacle__C178636_VT)) failedCast(r0, sprites_StaticObstacle__C178636_VT);
39482
39482
  r0 = s.arg0.fields["top"];
39483
39483
  s.tmp_0 = r0;
39484
39484
  r0 = s.arg0.fields["image"];
@@ -39525,7 +39525,7 @@ switch (step) {
39525
39525
  s.lambdaArgs = null;
39526
39526
  }
39527
39527
  r0 = s.arg0;
39528
- if (!checkSubtype(r0, sprites_StaticObstacle__C178636_VT)) failedCast(r0);
39528
+ if (!checkSubtype(r0, sprites_StaticObstacle__C178636_VT)) failedCast(r0, sprites_StaticObstacle__C178636_VT);
39529
39529
  r0 = s.arg0.fields["left"];
39530
39530
  s.tmp_0 = r0;
39531
39531
  r0 = s.arg0.fields["image"];
@@ -39572,7 +39572,7 @@ switch (step) {
39572
39572
  s.lambdaArgs = null;
39573
39573
  }
39574
39574
  r0 = s.arg0;
39575
- if (!checkSubtype(r0, tiles_Location__C178887_VT)) failedCast(r0);
39575
+ if (!checkSubtype(r0, tiles_Location__C178887_VT)) failedCast(r0, tiles_Location__C178887_VT);
39576
39576
  r0 = s.arg0.fields["_row"];
39577
39577
  s.tmp_0 = r0;
39578
39578
  s.tmp_3 = tiles_Location_tileMap__P178888_mk(s);
@@ -39621,7 +39621,7 @@ switch (step) {
39621
39621
  s.lambdaArgs = null;
39622
39622
  }
39623
39623
  r0 = s.arg0;
39624
- if (!checkSubtype(r0, tiles_Location__C178887_VT)) failedCast(r0);
39624
+ if (!checkSubtype(r0, tiles_Location__C178887_VT)) failedCast(r0, tiles_Location__C178887_VT);
39625
39625
  r0 = s.arg0.fields["_col"];
39626
39626
  s.tmp_0 = r0;
39627
39627
  s.tmp_3 = tiles_Location_tileMap__P178888_mk(s);
@@ -39671,7 +39671,7 @@ switch (step) {
39671
39671
  s.lambdaArgs = null;
39672
39672
  }
39673
39673
  r0 = s.arg0;
39674
- if (!checkSubtype(r0, tiles_Location__C178887_VT)) failedCast(r0);
39674
+ if (!checkSubtype(r0, tiles_Location__C178887_VT)) failedCast(r0, tiles_Location__C178887_VT);
39675
39675
  s.tmp_1 = tiles_Location_tileMap__P178888_mk(s);
39676
39676
  s.tmp_1.arg0 = s.arg0;
39677
39677
  s.callLocIdx = 832; s.pc = 1; return s.tmp_1;
@@ -39728,7 +39728,7 @@ switch (step) {
39728
39728
  s.lambdaArgs = null;
39729
39729
  }
39730
39730
  r0 = s.arg0;
39731
- if (!checkSubtype(r0, tiles_Location__C178887_VT)) failedCast(r0);
39731
+ if (!checkSubtype(r0, tiles_Location__C178887_VT)) failedCast(r0, tiles_Location__C178887_VT);
39732
39732
  s.tmp_1 = tiles_Location_tileMap__P178888_mk(s);
39733
39733
  s.tmp_1.arg0 = s.arg0;
39734
39734
  s.callLocIdx = 830; s.pc = 1; return s.tmp_1;
@@ -39788,7 +39788,7 @@ switch (step) {
39788
39788
  s.lambdaArgs = null;
39789
39789
  }
39790
39790
  r0 = s.arg0;
39791
- if (!checkSubtype(r0, particles_ShapeFactory__C179566_VT)) failedCast(r0);
39791
+ if (!checkSubtype(r0, particles_ShapeFactory__C179566_VT)) failedCast(r0, particles_ShapeFactory__C179566_VT);
39792
39792
  s.tmp_1 = Math_FastRandom_pickRandom__P179350_mk(s);
39793
39793
  r0 = s.arg0.fields["galois"];
39794
39794
  s.tmp_1.arg0 = r0;
@@ -39870,7 +39870,7 @@ switch (step) {
39870
39870
  s.lambdaArgs = null;
39871
39871
  }
39872
39872
  r0 = s.arg0;
39873
- if (!checkSubtype(r0, Math_FastRandom__C179347_VT)) failedCast(r0);
39873
+ if (!checkSubtype(r0, Math_FastRandom__C179347_VT)) failedCast(r0, Math_FastRandom__C179347_VT);
39874
39874
  r0 = pxsim_numops_toBoolDecr(s.arg1);
39875
39875
  s.tmp_1 = r0;
39876
39876
  r0 = pxsim_Boolean__bang(s.tmp_1);
@@ -39951,7 +39951,7 @@ switch (step) {
39951
39951
  s.lambdaArgs = null;
39952
39952
  }
39953
39953
  r0 = s.arg0;
39954
- if (!checkSubtype(r0, particles_AreaFactory__C179556_VT)) failedCast(r0);
39954
+ if (!checkSubtype(r0, particles_AreaFactory__C179556_VT)) failedCast(r0, particles_AreaFactory__C179556_VT);
39955
39955
  r0 = s.arg1.fields["lifespan"];
39956
39956
  s.tmp_1 = r0;
39957
39957
  r0 = (s.tmp_1 > 500);
@@ -40035,7 +40035,7 @@ switch (step) {
40035
40035
  s.lambdaArgs = null;
40036
40036
  }
40037
40037
  r0 = s.arg0;
40038
- if (!checkSubtype(r0, particles_SprayFactory__C179549_VT)) failedCast(r0);
40038
+ if (!checkSubtype(r0, particles_SprayFactory__C179549_VT)) failedCast(r0, particles_SprayFactory__C179549_VT);
40039
40039
  s.tmp_0 = r0 = globals.screen___178134;
40040
40040
  r0 = (s.arg2 + 128);
40041
40041
  s.tmp_2 = r0;
@@ -40088,7 +40088,7 @@ switch (step) {
40088
40088
  s.lambdaArgs = null;
40089
40089
  }
40090
40090
  r0 = s.arg0;
40091
- if (!checkSubtype(r0, scene_Renderable__C178992_VT)) failedCast(r0);
40091
+ if (!checkSubtype(r0, scene_Renderable__C178992_VT)) failedCast(r0, scene_Renderable__C178992_VT);
40092
40092
  s.tmp_0 = if_handler_3_mk(s);
40093
40093
  s.tmp_0.arg0 = s.arg0;
40094
40094
  s.tmp_0.arg1 = globals.screen___178134;
@@ -40139,7 +40139,7 @@ switch (step) {
40139
40139
  s.lambdaArgs = null;
40140
40140
  }
40141
40141
  r0 = s.arg0;
40142
- if (!checkSubtype(r0, scene_Renderable__C178992_VT)) failedCast(r0);
40142
+ if (!checkSubtype(r0, scene_Renderable__C178992_VT)) failedCast(r0, scene_Renderable__C178992_VT);
40143
40143
  s.tmp_0 = if_shouldBeVisible_1_mk(s);
40144
40144
  s.tmp_0.arg0 = s.arg0;
40145
40145
  if (!s.tmp_0.arg0.vtable.iface) {
@@ -40191,7 +40191,7 @@ switch (step) {
40191
40191
  s.lambdaArgs = null;
40192
40192
  }
40193
40193
  r0 = s.arg0;
40194
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
40194
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
40195
40195
  s.tmp_0 = Sprite_drawSay__P178576_mk(s);
40196
40196
  s.tmp_0.arg0 = s.arg0;
40197
40197
  s.tmp_0.arg1 = s.arg1;
@@ -40262,7 +40262,7 @@ switch (step) {
40262
40262
  s.tmp_0.arg0 = s.arg0;
40263
40263
  s.tmp_0.arg1 = s.l___191069;
40264
40264
  s.tmp_0.arg2 = s.t___191075;
40265
- if (!checkSubtype(s.tmp_0.arg0, Sprite__C178498_VT)) failedCast(s.tmp_0.arg0);
40265
+ if (!checkSubtype(s.tmp_0.arg0, Sprite__C178498_VT)) failedCast(s.tmp_0.arg0, Sprite__C178498_VT);
40266
40266
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawSprite;
40267
40267
  s.pc = 12; return s.tmp_0;
40268
40268
  case 12:
@@ -40327,7 +40327,7 @@ switch (step) {
40327
40327
  s.lambdaArgs = null;
40328
40328
  }
40329
40329
  r0 = s.arg0;
40330
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
40330
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
40331
40331
  r0 = s.arg0.fields["flags"];
40332
40332
  s.tmp_1 = r0;
40333
40333
  r0 = (s.tmp_1 & 64);
@@ -40704,7 +40704,7 @@ switch (step) {
40704
40704
  s.lambdaArgs = null;
40705
40705
  }
40706
40706
  r0 = s.arg0;
40707
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
40707
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
40708
40708
  r0 = s.arg0.fields["_rotatedBBox"];
40709
40709
  s.tmp_0 = r0;
40710
40710
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -40900,7 +40900,7 @@ switch (step) {
40900
40900
  s.lambdaArgs = null;
40901
40901
  }
40902
40902
  r0 = s.arg0;
40903
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
40903
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
40904
40904
  r0 = s.arg0.fields["sayRenderer"];
40905
40905
  s.tmp_0 = r0;
40906
40906
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -40925,7 +40925,7 @@ switch (step) {
40925
40925
  s.tmp_6.arg1 = globals.screen___178134;
40926
40926
  s.tmp_6.arg2 = s.arg1;
40927
40927
  s.tmp_6.arg3 = s.arg0;
40928
- if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C178451_VT)) failedCast(s.tmp_6.arg0);
40928
+ if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C178451_VT)) failedCast(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C178451_VT);
40929
40929
  s.tmp_6.fn = s.tmp_6.arg0.vtable.methods.draw;
40930
40930
  s.pc = 7; return s.tmp_6;
40931
40931
  case 7:
@@ -40935,7 +40935,7 @@ switch (step) {
40935
40935
  s.tmp_0 = sprites_BaseSpriteSayRenderer__C178451_v2_1_mk(s);
40936
40936
  r0 = s.arg0.fields["sayRenderer"];
40937
40937
  s.tmp_0.arg0 = r0;
40938
- if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C178451_VT)) failedCast(s.tmp_0.arg0);
40938
+ if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C178451_VT)) failedCast(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C178451_VT);
40939
40939
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.destroy;
40940
40940
  s.pc = 8; return s.tmp_0;
40941
40941
  case 8:
@@ -40951,7 +40951,7 @@ switch (step) {
40951
40951
  s.tmp_0.arg1 = globals.screen___178134;
40952
40952
  s.tmp_0.arg2 = s.arg1;
40953
40953
  s.tmp_0.arg3 = s.arg0;
40954
- if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C178451_VT)) failedCast(s.tmp_0.arg0);
40954
+ if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C178451_VT)) failedCast(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C178451_VT);
40955
40955
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.draw;
40956
40956
  s.pc = 9; return s.tmp_0;
40957
40957
  case 9:
@@ -41000,7 +41000,7 @@ switch (step) {
41000
41000
  s.lambdaArgs = null;
41001
41001
  }
41002
41002
  r0 = s.arg0;
41003
- if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C178451_VT)) failedCast(r0);
41003
+ if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C178451_VT)) failedCast(r0, sprites_BaseSpriteSayRenderer__C178451_VT);
41004
41004
  r0 = undefined;
41005
41005
  return leave(s, r0)
41006
41006
  default: oops()
@@ -41037,7 +41037,7 @@ switch (step) {
41037
41037
  s.lambdaArgs = null;
41038
41038
  }
41039
41039
  r0 = s.arg0;
41040
- if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C178451_VT)) failedCast(r0);
41040
+ if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C178451_VT)) failedCast(r0, sprites_BaseSpriteSayRenderer__C178451_VT);
41041
41041
  r0 = undefined;
41042
41042
  return leave(s, r0)
41043
41043
  default: oops()
@@ -41074,7 +41074,7 @@ switch (step) {
41074
41074
  s.lambdaArgs = null;
41075
41075
  }
41076
41076
  r0 = s.arg0;
41077
- if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0);
41077
+ if (!checkSubtype(r0, Sprite__C178498_VT)) failedCast(r0, Sprite__C178498_VT);
41078
41078
  r0 = s.arg0.fields["flags"];
41079
41079
  s.tmp_2 = r0;
41080
41080
  r0 = (s.tmp_2 & 128);
@@ -41117,7 +41117,7 @@ switch (step) {
41117
41117
  s.lambdaArgs = null;
41118
41118
  }
41119
41119
  r0 = s.arg0;
41120
- if (!checkSubtype(r0, scene_Camera__C178977_VT)) failedCast(r0);
41120
+ if (!checkSubtype(r0, scene_Camera__C178977_VT)) failedCast(r0, scene_Camera__C178977_VT);
41121
41121
  r0 = s.arg0.fields["_offsetY"];
41122
41122
  return leaveAccessor(s, r0)
41123
41123
  default: oops()
@@ -41152,7 +41152,7 @@ switch (step) {
41152
41152
  s.lambdaArgs = null;
41153
41153
  }
41154
41154
  r0 = s.arg0;
41155
- if (!checkSubtype(r0, scene_Camera__C178977_VT)) failedCast(r0);
41155
+ if (!checkSubtype(r0, scene_Camera__C178977_VT)) failedCast(r0, scene_Camera__C178977_VT);
41156
41156
  r0 = s.arg0.fields["_offsetX"];
41157
41157
  return leaveAccessor(s, r0)
41158
41158
  default: oops()