pxt-common-packages 12.3.9 → 12.3.29

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=1692238 new=95.54% cached=0.00% other=4.46%
1
+ // total=1701635 new=95.57% cached=0.00% other=4.43%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -1822,7 +1822,7 @@ switch (step) {
1822
1822
  s.lambdaArgs = null;
1823
1823
  }
1824
1824
  r0 = s.arg0;
1825
- if (!checkSubtype(r0, scene_Scene__C83421_VT)) failedCast(r0);
1825
+ if (!checkSubtype(r0, scene_Scene__C83421_VT)) failedCast(r0, scene_Scene__C83421_VT);
1826
1826
  r0 = s.arg0.fields["_data"];
1827
1827
  return leaveAccessor(s, r0)
1828
1828
  default: oops()
@@ -1861,7 +1861,7 @@ switch (step) {
1861
1861
  s.lambdaArgs = null;
1862
1862
  }
1863
1863
  r0 = s.arg0;
1864
- if (!checkSubtype(r0, control_EventContext__C82780_VT)) failedCast(r0);
1864
+ if (!checkSubtype(r0, control_EventContext__C82780_VT)) failedCast(r0, control_EventContext__C82780_VT);
1865
1865
  r0 = s.arg0.fields["frameCallbacks"];
1866
1866
  s.tmp_2 = r0;
1867
1867
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -1966,7 +1966,7 @@ switch (step) {
1966
1966
  s.lambdaArgs = null;
1967
1967
  }
1968
1968
  r0 = s.arg0;
1969
- if (!checkSubtype(r0, control_EventContext__C82780_VT)) failedCast(r0);
1969
+ if (!checkSubtype(r0, control_EventContext__C82780_VT)) failedCast(r0, control_EventContext__C82780_VT);
1970
1970
  r0 = s.arg0.fields["frameCallbacks"];
1971
1971
  s.tmp_2 = r0;
1972
1972
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -2141,7 +2141,7 @@ switch (step) {
2141
2141
  s.lambdaArgs = null;
2142
2142
  }
2143
2143
  r0 = s.arg0;
2144
- if (!checkSubtype(r0, control_EventContext__C82780_VT)) failedCast(r0);
2144
+ if (!checkSubtype(r0, control_EventContext__C82780_VT)) failedCast(r0, control_EventContext__C82780_VT);
2145
2145
  r0 = pxsim.control.millis();
2146
2146
  s.loopStart___85184 = (r0);
2147
2147
  s.tmp_0 = r0 = s.arg0;
@@ -2724,7 +2724,7 @@ switch (step) {
2724
2724
  s.lambdaArgs = null;
2725
2725
  }
2726
2726
  r0 = s.arg0;
2727
- if (!checkSubtype(r0, control_EventContext__C82780_VT)) failedCast(r0);
2727
+ if (!checkSubtype(r0, control_EventContext__C82780_VT)) failedCast(r0, control_EventContext__C82780_VT);
2728
2728
  s.h___85398 = (undefined);
2729
2729
  r0 = s.arg0.fields["handlers"];
2730
2730
  s.unnamed264___U1 = (r0);
@@ -2832,7 +2832,7 @@ switch (step) {
2832
2832
  s.lambdaArgs = null;
2833
2833
  }
2834
2834
  r0 = s.arg0;
2835
- if (!checkSubtype(r0, control_EventHandler__C82775_VT)) failedCast(r0);
2835
+ if (!checkSubtype(r0, control_EventHandler__C82775_VT)) failedCast(r0, control_EventHandler__C82775_VT);
2836
2836
  r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P85442);
2837
2837
  s.tmp_0 = r0;
2838
2838
  r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0);
@@ -2932,7 +2932,7 @@ switch (step) {
2932
2932
  s.lambdaArgs = null;
2933
2933
  }
2934
2934
  r0 = s.arg0;
2935
- if (!checkSubtype(r0, control_EventHandler__C82775_VT)) failedCast(r0);
2935
+ if (!checkSubtype(r0, control_EventHandler__C82775_VT)) failedCast(r0, control_EventHandler__C82775_VT);
2936
2936
  r0 = (s.arg0).fields["src"] = (s.arg1);
2937
2937
  r0 = (s.arg0).fields["value"] = (s.arg2);
2938
2938
  r0 = (s.arg0).fields["handler"] = (s.arg3);
@@ -3225,7 +3225,7 @@ switch (step) {
3225
3225
  s.lambdaArgs = null;
3226
3226
  }
3227
3227
  r0 = s.arg0;
3228
- if (!checkSubtype(r0, control_PollEvent__C82735_VT)) failedCast(r0);
3228
+ if (!checkSubtype(r0, control_PollEvent__C82735_VT)) failedCast(r0, control_PollEvent__C82735_VT);
3229
3229
  r0 = (s.arg0).fields["eid"] = (s.arg1);
3230
3230
  r0 = (s.arg0).fields["vid"] = (s.arg2);
3231
3231
  r0 = (s.arg0).fields["start"] = (s.arg3);
@@ -3272,7 +3272,7 @@ switch (step) {
3272
3272
  s.lambdaArgs = null;
3273
3273
  }
3274
3274
  r0 = s.arg0;
3275
- if (!checkSubtype(r0, Math_FastRandom__C84508_VT)) failedCast(r0);
3275
+ if (!checkSubtype(r0, Math_FastRandom__C84508_VT)) failedCast(r0, Math_FastRandom__C84508_VT);
3276
3276
  r0 = (s.arg1 === undefined);
3277
3277
  s.tmp_0 = r0;
3278
3278
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -4208,7 +4208,7 @@ switch (step) {
4208
4208
  s.lambdaArgs = null;
4209
4209
  }
4210
4210
  r0 = s.arg0;
4211
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C84528_VT)) failedCast(r0);
4211
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C84528_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C84528_VT);
4212
4212
  s.tmp_0 = r0 = s.arg0;
4213
4213
  s.tmp_2 = if_generator_1_mk(s);
4214
4214
  s.tmp_2.arg0 = s.arg0;
@@ -5037,7 +5037,7 @@ switch (step) {
5037
5037
  s.lambdaArgs = null;
5038
5038
  }
5039
5039
  r0 = s.arg0;
5040
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C84528_VT)) failedCast(r0);
5040
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C84528_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C84528_VT);
5041
5041
  r0 = s.arg0.fields["options"];
5042
5042
  s.tmp_2 = r0;
5043
5043
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -6234,7 +6234,7 @@ switch (step) {
6234
6234
  s.lambdaArgs = null;
6235
6235
  }
6236
6236
  r0 = s.arg0;
6237
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C84528_VT)) failedCast(r0);
6237
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C84528_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C84528_VT);
6238
6238
  r0 = pxsim.control.millis();
6239
6239
  s.tmp_0 = r0;
6240
6240
  r0 = (s.tmp_0 / 250);
@@ -6422,7 +6422,7 @@ switch (step) {
6422
6422
  s.lambdaArgs = null;
6423
6423
  }
6424
6424
  r0 = s.arg0;
6425
- if (!checkSubtype(r0, scene_Camera__C84138_VT)) failedCast(r0);
6425
+ if (!checkSubtype(r0, scene_Camera__C84138_VT)) failedCast(r0, scene_Camera__C84138_VT);
6426
6426
  s.tmp_0 = game_currentScene__P83429_mk(s);
6427
6427
  s.callLocIdx = 914; s.pc = 5; return s.tmp_0;
6428
6428
  case 5:
@@ -6517,7 +6517,7 @@ switch (step) {
6517
6517
  s.lambdaArgs = null;
6518
6518
  }
6519
6519
  r0 = s.arg0;
6520
- if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0);
6520
+ if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0, tiles_TileMap__C84091_VT);
6521
6521
  s.tmp_0 = Math_clamp__P82560_mk(s);
6522
6522
  s.tmp_0.arg0 = 0;
6523
6523
  s.tmp_1 = Math_max__P82563_mk(s);
@@ -6578,7 +6578,7 @@ switch (step) {
6578
6578
  s.lambdaArgs = null;
6579
6579
  }
6580
6580
  r0 = s.arg0;
6581
- if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0);
6581
+ if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0, tiles_TileMap__C84091_VT);
6582
6582
  r0 = s.arg0.fields["_map"];
6583
6583
  s.tmp_0 = r0;
6584
6584
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -6634,7 +6634,7 @@ switch (step) {
6634
6634
  s.lambdaArgs = null;
6635
6635
  }
6636
6636
  r0 = s.arg0;
6637
- if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0);
6637
+ if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0, tiles_TileMap__C84091_VT);
6638
6638
  r0 = s.arg0.fields["_scale"];
6639
6639
  return leaveAccessor(s, r0)
6640
6640
  default: oops()
@@ -6669,7 +6669,7 @@ switch (step) {
6669
6669
  s.lambdaArgs = null;
6670
6670
  }
6671
6671
  r0 = s.arg0;
6672
- if (!checkSubtype(r0, tiles_TileMapData__C84076_VT)) failedCast(r0);
6672
+ if (!checkSubtype(r0, tiles_TileMapData__C84076_VT)) failedCast(r0, tiles_TileMapData__C84076_VT);
6673
6673
  r0 = s.arg0.fields["_height"];
6674
6674
  return leaveAccessor(s, r0)
6675
6675
  default: oops()
@@ -6704,7 +6704,7 @@ switch (step) {
6704
6704
  s.lambdaArgs = null;
6705
6705
  }
6706
6706
  r0 = s.arg0;
6707
- if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0);
6707
+ if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0, tiles_TileMap__C84091_VT);
6708
6708
  r0 = s.arg0.fields["_map"];
6709
6709
  s.tmp_3 = r0;
6710
6710
  r0 = pxsim_numops_toBoolDecr(s.tmp_3);
@@ -6751,7 +6751,7 @@ switch (step) {
6751
6751
  s.lambdaArgs = null;
6752
6752
  }
6753
6753
  r0 = s.arg0;
6754
- if (!checkSubtype(r0, scene_Camera__C84138_VT)) failedCast(r0);
6754
+ if (!checkSubtype(r0, scene_Camera__C84138_VT)) failedCast(r0, scene_Camera__C84138_VT);
6755
6755
  r0 = s.arg0.fields["_offsetY"];
6756
6756
  return leaveAccessor(s, r0)
6757
6757
  default: oops()
@@ -6831,7 +6831,7 @@ switch (step) {
6831
6831
  s.lambdaArgs = null;
6832
6832
  }
6833
6833
  r0 = s.arg0;
6834
- if (!checkSubtype(r0, control_EventContext__C82780_VT)) failedCast(r0);
6834
+ if (!checkSubtype(r0, control_EventContext__C82780_VT)) failedCast(r0, control_EventContext__C82780_VT);
6835
6835
  r0 = s.arg0.fields["deltaTimeMillis"];
6836
6836
  s.tmp_0 = r0;
6837
6837
  r0 = (s.tmp_0 / 1000);
@@ -6870,7 +6870,7 @@ switch (step) {
6870
6870
  s.lambdaArgs = null;
6871
6871
  }
6872
6872
  r0 = s.arg0;
6873
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C84519_VT)) failedCast(r0);
6873
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C84519_VT)) failedCast(r0, scene_systemMenu_MenuOption__C84519_VT);
6874
6874
  s.tmp_0 = Sprite_top__P83706_mk(s);
6875
6875
  r0 = s.arg0.fields["card"];
6876
6876
  s.tmp_0.arg0 = r0;
@@ -6931,7 +6931,7 @@ switch (step) {
6931
6931
  s.lambdaArgs = null;
6932
6932
  }
6933
6933
  r0 = s.arg0;
6934
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
6934
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
6935
6935
  s.tmp_0 = Sprite_top__P83706_mk(s);
6936
6936
  s.tmp_0.arg0 = s.arg0;
6937
6937
  s.tmp_1 = r0 = s.arg1;
@@ -6987,7 +6987,7 @@ switch (step) {
6987
6987
  s.lambdaArgs = null;
6988
6988
  }
6989
6989
  r0 = s.arg0;
6990
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
6990
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
6991
6991
  r0 = s.arg0.fields["_height"];
6992
6992
  s.tmp_0 = r0;
6993
6993
  r0 = (s.tmp_0 / 256);
@@ -7057,7 +7057,7 @@ switch (step) {
7057
7057
  s.lambdaArgs = null;
7058
7058
  }
7059
7059
  r0 = s.arg0;
7060
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
7060
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
7061
7061
  r0 = s.arg0.fields["_y"];
7062
7062
  s.tmp_1 = r0;
7063
7063
  r0 = s.arg0.fields["_height"];
@@ -7180,7 +7180,7 @@ switch (step) {
7180
7180
  s.lambdaArgs = null;
7181
7181
  }
7182
7182
  r0 = s.arg0;
7183
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
7183
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
7184
7184
  s.tmp_0 = game_currentScene__P83429_mk(s);
7185
7185
  s.callLocIdx = 374; s.pc = 1; return s.tmp_0;
7186
7186
  case 1:
@@ -7199,7 +7199,7 @@ switch (step) {
7199
7199
  s.tmp_3 = r0;
7200
7200
  r0 = (s.tmp_1 - s.tmp_3);
7201
7201
  s.tmp_0.arg3 = r0;
7202
- if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C83805_VT)) failedCast(s.tmp_0.arg0);
7202
+ if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C83805_VT)) failedCast(s.tmp_0.arg0, PhysicsEngine__C83805_VT);
7203
7203
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.moveSprite;
7204
7204
  s.pc = 2; return s.tmp_0;
7205
7205
  case 2:
@@ -7280,7 +7280,7 @@ switch (step) {
7280
7280
  s.lambdaArgs = null;
7281
7281
  }
7282
7282
  r0 = s.arg0;
7283
- if (!checkSubtype(r0, PhysicsEngine__C83805_VT)) failedCast(r0);
7283
+ if (!checkSubtype(r0, PhysicsEngine__C83805_VT)) failedCast(r0, PhysicsEngine__C83805_VT);
7284
7284
  r0 = undefined;
7285
7285
  return leave(s, r0)
7286
7286
  default: oops()
@@ -7317,7 +7317,7 @@ switch (step) {
7317
7317
  s.lambdaArgs = null;
7318
7318
  }
7319
7319
  r0 = s.arg0;
7320
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
7320
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
7321
7321
  r0 = s.arg0.fields["_y"];
7322
7322
  s.tmp_0 = r0;
7323
7323
  r0 = (s.tmp_0 / 256);
@@ -7505,7 +7505,7 @@ switch (step) {
7505
7505
  s.lambdaArgs = null;
7506
7506
  }
7507
7507
  r0 = s.arg0;
7508
- if (!checkSubtype(r0, scene_Renderable__C84153_VT)) failedCast(r0);
7508
+ if (!checkSubtype(r0, scene_Renderable__C84153_VT)) failedCast(r0, scene_Renderable__C84153_VT);
7509
7509
  r0 = (s.arg0).fields["handler"] = (s.arg1);
7510
7510
  r0 = (s.arg0).fields["shouldBeVisible"] = (s.arg2);
7511
7511
  s.tmp_0 = sprites_BaseSprite_constructor__P83374_mk(s);
@@ -7552,7 +7552,7 @@ switch (step) {
7552
7552
  s.lambdaArgs = null;
7553
7553
  }
7554
7554
  r0 = s.arg0;
7555
- if (!checkSubtype(r0, sprites_BaseSprite__C83366_VT)) failedCast(r0);
7555
+ if (!checkSubtype(r0, sprites_BaseSprite__C83366_VT)) failedCast(r0, sprites_BaseSprite__C83366_VT);
7556
7556
  s.tmp_0 = sprites_BaseSprite_z__P83369_mk(s);
7557
7557
  s.tmp_0.arg0 = s.arg0;
7558
7558
  s.tmp_0.arg1 = s.arg1;
@@ -7606,7 +7606,7 @@ switch (step) {
7606
7606
  s.lambdaArgs = null;
7607
7607
  }
7608
7608
  r0 = s.arg0;
7609
- if (!checkSubtype(r0, scene_Scene__C83421_VT)) failedCast(r0);
7609
+ if (!checkSubtype(r0, scene_Scene__C83421_VT)) failedCast(r0, scene_Scene__C83421_VT);
7610
7610
  r0 = s.arg0.fields["allSprites"];
7611
7611
  s.tmp_0 = r0;
7612
7612
  r0 = pxsim_Array__push(s.tmp_0, s.arg1);
@@ -7668,7 +7668,7 @@ switch (step) {
7668
7668
  s.lambdaArgs = null;
7669
7669
  }
7670
7670
  r0 = s.arg0;
7671
- if (!checkSubtype(r0, sprites_BaseSprite__C83366_VT)) failedCast(r0);
7671
+ if (!checkSubtype(r0, sprites_BaseSprite__C83366_VT)) failedCast(r0, sprites_BaseSprite__C83366_VT);
7672
7672
  r0 = s.arg0.fields["_z"];
7673
7673
  s.tmp_1 = r0;
7674
7674
  r0 = (s.tmp_1 !== s.arg1);
@@ -7726,7 +7726,7 @@ switch (step) {
7726
7726
  s.lambdaArgs = null;
7727
7727
  }
7728
7728
  r0 = s.arg0;
7729
- if (!checkSubtype(r0, sprites_BaseSprite__C83366_VT)) failedCast(r0);
7729
+ if (!checkSubtype(r0, sprites_BaseSprite__C83366_VT)) failedCast(r0, sprites_BaseSprite__C83366_VT);
7730
7730
  r0 = s.arg0.fields["_z"];
7731
7731
  return leaveAccessor(s, r0)
7732
7732
  default: oops()
@@ -7835,7 +7835,7 @@ switch (step) {
7835
7835
  s.lambdaArgs = null;
7836
7836
  }
7837
7837
  r0 = s.arg0;
7838
- if (!checkSubtype(r0, scene_Scene__C83421_VT)) failedCast(r0);
7838
+ if (!checkSubtype(r0, scene_Scene__C83421_VT)) failedCast(r0, scene_Scene__C83421_VT);
7839
7839
  r0 = s.arg0.fields["allSprites"];
7840
7840
  s.tmp_0 = r0;
7841
7841
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -8030,7 +8030,7 @@ switch (step) {
8030
8030
  s.tmp_2 = r0;
8031
8031
  r0 = (s.tmp_2 / 1000);
8032
8032
  s.tmp_0.arg1 = r0;
8033
- if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C83805_VT)) failedCast(s.tmp_0.arg0);
8033
+ if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C83805_VT)) failedCast(s.tmp_0.arg0, PhysicsEngine__C83805_VT);
8034
8034
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.move;
8035
8035
  s.pc = 1; return s.tmp_0;
8036
8036
  case 1:
@@ -8241,7 +8241,7 @@ switch (step) {
8241
8241
  s.tmp_0 = PhysicsEngine__C83805_v3_1_mk(s);
8242
8242
  r0 = s.caps[0].fields["physicsEngine"];
8243
8243
  s.tmp_0.arg0 = r0;
8244
- if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C83805_VT)) failedCast(s.tmp_0.arg0);
8244
+ if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C83805_VT)) failedCast(s.tmp_0.arg0, PhysicsEngine__C83805_VT);
8245
8245
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.draw;
8246
8246
  s.pc = 11; return s.tmp_0;
8247
8247
  case 11:
@@ -8578,7 +8578,7 @@ switch (step) {
8578
8578
  s.lambdaArgs = null;
8579
8579
  }
8580
8580
  r0 = s.arg0;
8581
- if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0);
8581
+ if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0, controller_Controller__C83499_VT);
8582
8582
  r0 = s.arg0.fields["_connected"];
8583
8583
  s.tmp_1 = r0;
8584
8584
  r0 = (s.arg1 != s.tmp_1);
@@ -8644,7 +8644,7 @@ switch (step) {
8644
8644
  s.lambdaArgs = null;
8645
8645
  }
8646
8646
  r0 = s.arg0;
8647
- if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0);
8647
+ if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0, controller_Controller__C83499_VT);
8648
8648
  s.tmp_0 = r0 = s.arg0;
8649
8649
  r0 = pxsim.control.allocateNotifyEvent();
8650
8650
  s.tmp_1 = r0;
@@ -9417,7 +9417,7 @@ switch (step) {
9417
9417
  s.lambdaArgs = null;
9418
9418
  }
9419
9419
  r0 = s.arg0;
9420
- if (!checkSubtype(r0, PhysicsEngine__C83805_VT)) failedCast(r0);
9420
+ if (!checkSubtype(r0, PhysicsEngine__C83805_VT)) failedCast(r0, PhysicsEngine__C83805_VT);
9421
9421
  r0 = undefined;
9422
9422
  return leave(s, r0)
9423
9423
  default: oops()
@@ -9454,7 +9454,7 @@ switch (step) {
9454
9454
  s.lambdaArgs = null;
9455
9455
  }
9456
9456
  r0 = s.arg0;
9457
- if (!checkSubtype(r0, scene_Scene__C83421_VT)) failedCast(r0);
9457
+ if (!checkSubtype(r0, scene_Scene__C83421_VT)) failedCast(r0, scene_Scene__C83421_VT);
9458
9458
  r0 = s.arg0.fields["flags"];
9459
9459
  s.tmp_1 = r0;
9460
9460
  r0 = (s.tmp_1 & 4);
@@ -10082,7 +10082,7 @@ switch (step) {
10082
10082
  s.lambdaArgs = null;
10083
10083
  }
10084
10084
  r0 = s.arg0;
10085
- if (!checkSubtype(r0, scene_Background__C84038_VT)) failedCast(r0);
10085
+ if (!checkSubtype(r0, scene_Background__C84038_VT)) failedCast(r0, scene_Background__C84038_VT);
10086
10086
  r0 = s.arg0.fields["color"];
10087
10087
  s.tmp_0 = r0;
10088
10088
  r0 = pxsim_ImageMethods.fill(globals.screen___83295, s.tmp_0);
@@ -10231,7 +10231,7 @@ switch (step) {
10231
10231
  s.lambdaArgs = null;
10232
10232
  }
10233
10233
  r0 = s.arg0;
10234
- if (!checkSubtype(r0, scene_BackgroundLayer__C84045_VT)) failedCast(r0);
10234
+ if (!checkSubtype(r0, scene_BackgroundLayer__C84045_VT)) failedCast(r0, scene_BackgroundLayer__C84045_VT);
10235
10235
  r0 = pxsim_ImageMethods.width(globals.screen___83295);
10236
10236
  s.w___87557 = (r0);
10237
10237
  r0 = pxsim_ImageMethods.height(globals.screen___83295);
@@ -10476,7 +10476,7 @@ switch (step) {
10476
10476
  s.lambdaArgs = null;
10477
10477
  }
10478
10478
  r0 = s.arg0;
10479
- if (!checkSubtype(r0, scene_Camera__C84138_VT)) failedCast(r0);
10479
+ if (!checkSubtype(r0, scene_Camera__C84138_VT)) failedCast(r0, scene_Camera__C84138_VT);
10480
10480
  r0 = s.arg0.fields["sprite"];
10481
10481
  s.tmp_0 = r0;
10482
10482
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -10686,7 +10686,7 @@ switch (step) {
10686
10686
  s.lambdaArgs = null;
10687
10687
  }
10688
10688
  r0 = s.arg0;
10689
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
10689
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
10690
10690
  r0 = s.arg0.fields["_width"];
10691
10691
  s.tmp_0 = r0;
10692
10692
  r0 = (s.tmp_0 / 256);
@@ -10724,7 +10724,7 @@ switch (step) {
10724
10724
  s.lambdaArgs = null;
10725
10725
  }
10726
10726
  r0 = s.arg0;
10727
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
10727
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
10728
10728
  r0 = s.arg0.fields["_x"];
10729
10729
  s.tmp_0 = r0;
10730
10730
  r0 = (s.tmp_0 / 256);
@@ -10764,7 +10764,7 @@ switch (step) {
10764
10764
  s.lambdaArgs = null;
10765
10765
  }
10766
10766
  r0 = s.arg0;
10767
- if (!checkSubtype(r0, scene_Camera__C84138_VT)) failedCast(r0);
10767
+ if (!checkSubtype(r0, scene_Camera__C84138_VT)) failedCast(r0, scene_Camera__C84138_VT);
10768
10768
  s.tmp_0 = game_currentScene__P83429_mk(s);
10769
10769
  s.callLocIdx = 911; s.pc = 5; return s.tmp_0;
10770
10770
  case 5:
@@ -10859,7 +10859,7 @@ switch (step) {
10859
10859
  s.lambdaArgs = null;
10860
10860
  }
10861
10861
  r0 = s.arg0;
10862
- if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0);
10862
+ if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0, tiles_TileMap__C84091_VT);
10863
10863
  s.tmp_0 = Math_clamp__P82560_mk(s);
10864
10864
  s.tmp_0.arg0 = 0;
10865
10865
  s.tmp_1 = Math_max__P82563_mk(s);
@@ -10920,7 +10920,7 @@ switch (step) {
10920
10920
  s.lambdaArgs = null;
10921
10921
  }
10922
10922
  r0 = s.arg0;
10923
- if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0);
10923
+ if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0, tiles_TileMap__C84091_VT);
10924
10924
  r0 = s.arg0.fields["_map"];
10925
10925
  s.tmp_0 = r0;
10926
10926
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -10976,7 +10976,7 @@ switch (step) {
10976
10976
  s.lambdaArgs = null;
10977
10977
  }
10978
10978
  r0 = s.arg0;
10979
- if (!checkSubtype(r0, tiles_TileMapData__C84076_VT)) failedCast(r0);
10979
+ if (!checkSubtype(r0, tiles_TileMapData__C84076_VT)) failedCast(r0, tiles_TileMapData__C84076_VT);
10980
10980
  r0 = s.arg0.fields["_width"];
10981
10981
  return leaveAccessor(s, r0)
10982
10982
  default: oops()
@@ -11011,7 +11011,7 @@ switch (step) {
11011
11011
  s.lambdaArgs = null;
11012
11012
  }
11013
11013
  r0 = s.arg0;
11014
- if (!checkSubtype(r0, scene_Camera__C84138_VT)) failedCast(r0);
11014
+ if (!checkSubtype(r0, scene_Camera__C84138_VT)) failedCast(r0, scene_Camera__C84138_VT);
11015
11015
  r0 = s.arg0.fields["_offsetX"];
11016
11016
  return leaveAccessor(s, r0)
11017
11017
  default: oops()
@@ -11046,7 +11046,7 @@ switch (step) {
11046
11046
  s.lambdaArgs = null;
11047
11047
  }
11048
11048
  r0 = s.arg0;
11049
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
11049
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
11050
11050
  r0 = s.arg0.fields["_x"];
11051
11051
  s.tmp_1 = r0;
11052
11052
  r0 = s.arg0.fields["_width"];
@@ -11097,7 +11097,7 @@ switch (step) {
11097
11097
  s.lambdaArgs = null;
11098
11098
  }
11099
11099
  r0 = s.arg0;
11100
- if (!checkSubtype(r0, PhysicsEngine__C83805_VT)) failedCast(r0);
11100
+ if (!checkSubtype(r0, PhysicsEngine__C83805_VT)) failedCast(r0, PhysicsEngine__C83805_VT);
11101
11101
  r0 = undefined;
11102
11102
  return leave(s, r0)
11103
11103
  default: oops()
@@ -11216,7 +11216,7 @@ switch (step) {
11216
11216
  s.lambdaArgs = null;
11217
11217
  }
11218
11218
  r0 = s.arg0;
11219
- if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0);
11219
+ if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0, controller_Controller__C83499_VT);
11220
11220
  s.tmp_3 = controller_Controller__controlledSprites__P83500_mk(s);
11221
11221
  s.tmp_3.arg0 = s.arg0;
11222
11222
  s.callLocIdx = 170; s.pc = 18; return s.tmp_3;
@@ -11310,7 +11310,7 @@ switch (step) {
11310
11310
  case 28:
11311
11311
  r0 = s.retval;
11312
11312
  s.tmp_1.arg0 = r0;
11313
- if (!checkSubtype(s.tmp_1.arg0, controller_Button__C83533_VT)) failedCast(s.tmp_1.arg0);
11313
+ if (!checkSubtype(s.tmp_1.arg0, controller_Button__C83533_VT)) failedCast(s.tmp_1.arg0, controller_Button__C83533_VT);
11314
11314
  s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed;
11315
11315
  s.pc = 27; return s.tmp_1;
11316
11316
  case 27:
@@ -11332,7 +11332,7 @@ switch (step) {
11332
11332
  case 30:
11333
11333
  r0 = s.retval;
11334
11334
  s.tmp_5.arg0 = r0;
11335
- if (!checkSubtype(s.tmp_5.arg0, controller_Button__C83533_VT)) failedCast(s.tmp_5.arg0);
11335
+ if (!checkSubtype(s.tmp_5.arg0, controller_Button__C83533_VT)) failedCast(s.tmp_5.arg0, controller_Button__C83533_VT);
11336
11336
  s.tmp_5.fn = s.tmp_5.arg0.vtable.methods.isPressed;
11337
11337
  s.pc = 29; return s.tmp_5;
11338
11338
  case 29:
@@ -11358,7 +11358,7 @@ switch (step) {
11358
11358
  case 32:
11359
11359
  r0 = s.retval;
11360
11360
  s.tmp_1.arg0 = r0;
11361
- if (!checkSubtype(s.tmp_1.arg0, controller_Button__C83533_VT)) failedCast(s.tmp_1.arg0);
11361
+ if (!checkSubtype(s.tmp_1.arg0, controller_Button__C83533_VT)) failedCast(s.tmp_1.arg0, controller_Button__C83533_VT);
11362
11362
  s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed;
11363
11363
  s.pc = 31; return s.tmp_1;
11364
11364
  case 31:
@@ -11380,7 +11380,7 @@ switch (step) {
11380
11380
  case 34:
11381
11381
  r0 = s.retval;
11382
11382
  s.tmp_5.arg0 = r0;
11383
- if (!checkSubtype(s.tmp_5.arg0, controller_Button__C83533_VT)) failedCast(s.tmp_5.arg0);
11383
+ if (!checkSubtype(s.tmp_5.arg0, controller_Button__C83533_VT)) failedCast(s.tmp_5.arg0, controller_Button__C83533_VT);
11384
11384
  s.tmp_5.fn = s.tmp_5.arg0.vtable.methods.isPressed;
11385
11385
  s.pc = 33; return s.tmp_5;
11386
11386
  case 33:
@@ -11767,7 +11767,7 @@ switch (step) {
11767
11767
  s.lambdaArgs = null;
11768
11768
  }
11769
11769
  r0 = s.arg0;
11770
- if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0);
11770
+ if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0, controller_Controller__C83499_VT);
11771
11771
  s.tmp_1 = game_currentScene__P83429_mk(s);
11772
11772
  s.callLocIdx = 164; s.pc = 1; return s.tmp_1;
11773
11773
  case 1:
@@ -11848,7 +11848,7 @@ switch (step) {
11848
11848
  s.lambdaArgs = null;
11849
11849
  }
11850
11850
  r0 = s.arg0;
11851
- if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0);
11851
+ if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0, controller_Button__C83533_VT);
11852
11852
  r0 = s.arg0.fields["_pressed"];
11853
11853
  return leave(s, r0)
11854
11854
  default: oops()
@@ -11882,7 +11882,7 @@ switch (step) {
11882
11882
  s.lambdaArgs = null;
11883
11883
  }
11884
11884
  r0 = s.arg0;
11885
- if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0);
11885
+ if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0, controller_Controller__C83499_VT);
11886
11886
  r0 = s.arg0.fields["buttons"];
11887
11887
  s.tmp_0 = r0;
11888
11888
  r0 = (2 - 1);
@@ -11924,7 +11924,7 @@ switch (step) {
11924
11924
  s.lambdaArgs = null;
11925
11925
  }
11926
11926
  r0 = s.arg0;
11927
- if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0);
11927
+ if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0, controller_Controller__C83499_VT);
11928
11928
  r0 = s.arg0.fields["buttons"];
11929
11929
  s.tmp_0 = r0;
11930
11930
  r0 = (s.arg1 - 1);
@@ -11965,7 +11965,7 @@ switch (step) {
11965
11965
  s.lambdaArgs = null;
11966
11966
  }
11967
11967
  r0 = s.arg0;
11968
- if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0);
11968
+ if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0, controller_Controller__C83499_VT);
11969
11969
  r0 = s.arg0.fields["buttons"];
11970
11970
  s.tmp_0 = r0;
11971
11971
  r0 = (4 - 1);
@@ -12006,7 +12006,7 @@ switch (step) {
12006
12006
  s.lambdaArgs = null;
12007
12007
  }
12008
12008
  r0 = s.arg0;
12009
- if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0);
12009
+ if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0, controller_Controller__C83499_VT);
12010
12010
  r0 = s.arg0.fields["buttons"];
12011
12011
  s.tmp_0 = r0;
12012
12012
  r0 = (1 - 1);
@@ -12047,7 +12047,7 @@ switch (step) {
12047
12047
  s.lambdaArgs = null;
12048
12048
  }
12049
12049
  r0 = s.arg0;
12050
- if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0);
12050
+ if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0, controller_Controller__C83499_VT);
12051
12051
  r0 = s.arg0.fields["buttons"];
12052
12052
  s.tmp_0 = r0;
12053
12053
  r0 = (3 - 1);
@@ -12088,7 +12088,7 @@ switch (step) {
12088
12088
  s.lambdaArgs = null;
12089
12089
  }
12090
12090
  r0 = s.arg0;
12091
- if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0);
12091
+ if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0, controller_Button__C83533_VT);
12092
12092
  r0 = pxsim.control.deviceDalVersion();
12093
12093
  s.tmp_1 = r0;
12094
12094
  r0 = (s.tmp_1 == "sim");
@@ -12097,7 +12097,7 @@ switch (step) {
12097
12097
  if (!r0) { step = 3; continue; }
12098
12098
  s.tmp_3 = controller_Button__C83533_v0_1_mk(s);
12099
12099
  s.tmp_3.arg0 = s.arg0;
12100
- if (!checkSubtype(s.tmp_3.arg0, controller_Button__C83533_VT)) failedCast(s.tmp_3.arg0);
12100
+ if (!checkSubtype(s.tmp_3.arg0, controller_Button__C83533_VT)) failedCast(s.tmp_3.arg0, controller_Button__C83533_VT);
12101
12101
  s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isPressed;
12102
12102
  s.pc = 6; return s.tmp_3;
12103
12103
  case 6:
@@ -12161,7 +12161,7 @@ switch (step) {
12161
12161
  s.lambdaArgs = null;
12162
12162
  }
12163
12163
  r0 = s.arg0;
12164
- if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0);
12164
+ if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0, controller_Controller__C83499_VT);
12165
12165
  s.tmp_1 = game_currentScene__P83429_mk(s);
12166
12166
  s.callLocIdx = 163; s.pc = 1; return s.tmp_1;
12167
12167
  case 1:
@@ -12379,7 +12379,7 @@ switch (step) {
12379
12379
  s.lambdaArgs = null;
12380
12380
  }
12381
12381
  r0 = s.arg0;
12382
- if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0);
12382
+ if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0, controller_Controller__C83499_VT);
12383
12383
  r0 = pxsim_pxtrt.mklocRef();
12384
12384
  s.tmp_0 = r0;
12385
12385
  r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1);
@@ -12482,7 +12482,7 @@ switch (step) {
12482
12482
  s.lambdaArgs = null;
12483
12483
  }
12484
12484
  r0 = s.arg0;
12485
- if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0);
12485
+ if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0, controller_Button__C83533_VT);
12486
12486
  r0 = s.arg0.fields["_pressed"];
12487
12487
  s.tmp_2 = r0;
12488
12488
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -12605,7 +12605,7 @@ switch (step) {
12605
12605
  s.lambdaArgs = null;
12606
12606
  }
12607
12607
  r0 = s.arg0;
12608
- if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0);
12608
+ if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0, controller_Button__C83533_VT);
12609
12609
  r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___83557);
12610
12610
  if (!r0) { step = 1; continue; }
12611
12611
  r0 = s.arg0.fields["id"];
@@ -12751,7 +12751,7 @@ switch (step) {
12751
12751
  s.lambdaArgs = null;
12752
12752
  }
12753
12753
  r0 = s.arg0;
12754
- if (!checkSubtype(r0, control_EventContext__C82780_VT)) failedCast(r0);
12754
+ if (!checkSubtype(r0, control_EventContext__C82780_VT)) failedCast(r0, control_EventContext__C82780_VT);
12755
12755
  s.tmp_0 = r0 = s.arg0;
12756
12756
  r0 = pxsim_Array__mk();
12757
12757
  s.tmp_1 = r0;
@@ -12809,7 +12809,7 @@ switch (step) {
12809
12809
  s.lambdaArgs = null;
12810
12810
  }
12811
12811
  r0 = s.arg0;
12812
- if (!checkSubtype(r0, control_EventContext__C82780_VT)) failedCast(r0);
12812
+ if (!checkSubtype(r0, control_EventContext__C82780_VT)) failedCast(r0, control_EventContext__C82780_VT);
12813
12813
  s.h___88278 = (undefined);
12814
12814
  r0 = s.arg0.fields["handlers"];
12815
12815
  s.unnamed262___U1 = (r0);
@@ -12877,7 +12877,7 @@ switch (step) {
12877
12877
  s.lambdaArgs = null;
12878
12878
  }
12879
12879
  r0 = s.arg0;
12880
- if (!checkSubtype(r0, control_EventHandler__C82775_VT)) failedCast(r0);
12880
+ if (!checkSubtype(r0, control_EventHandler__C82775_VT)) failedCast(r0, control_EventHandler__C82775_VT);
12881
12881
  r0 = s.arg0.fields["src"];
12882
12882
  s.tmp_0 = r0;
12883
12883
  r0 = s.arg0.fields["value"];
@@ -12950,7 +12950,7 @@ switch (step) {
12950
12950
  s.lambdaArgs = null;
12951
12951
  }
12952
12952
  r0 = s.arg0;
12953
- if (!checkSubtype(r0, scene_Scene__C83421_VT)) failedCast(r0);
12953
+ if (!checkSubtype(r0, scene_Scene__C83421_VT)) failedCast(r0, scene_Scene__C83421_VT);
12954
12954
  r0 = (s.arg0).fields["previousScene"] = (s.arg2);
12955
12955
  r0 = (s.arg0).fields["eventContext"] = (s.arg1);
12956
12956
  r0 = (s.arg0).fields["flags"] = (0);
@@ -13070,7 +13070,7 @@ switch (step) {
13070
13070
  s.lambdaArgs = null;
13071
13071
  }
13072
13072
  r0 = s.arg0;
13073
- if (!checkSubtype(r0, scene_Background__C84038_VT)) failedCast(r0);
13073
+ if (!checkSubtype(r0, scene_Background__C84038_VT)) failedCast(r0, scene_Background__C84038_VT);
13074
13074
  r0 = (s.arg0).fields["color"] = (0);
13075
13075
  r0 = (s.arg0).fields["camera"] = (s.arg1);
13076
13076
  s.tmp_0 = r0 = s.arg0;
@@ -13113,7 +13113,7 @@ switch (step) {
13113
13113
  s.lambdaArgs = null;
13114
13114
  }
13115
13115
  r0 = s.arg0;
13116
- if (!checkSubtype(r0, scene_Camera__C84138_VT)) failedCast(r0);
13116
+ if (!checkSubtype(r0, scene_Camera__C84138_VT)) failedCast(r0, scene_Camera__C84138_VT);
13117
13117
  r0 = (s.arg0).fields["_offsetX"] = (0);
13118
13118
  r0 = (s.arg0).fields["_offsetY"] = (0);
13119
13119
  r0 = (s.arg0).fields["drawOffsetX"] = (0);
@@ -13154,7 +13154,7 @@ switch (step) {
13154
13154
  s.lambdaArgs = null;
13155
13155
  }
13156
13156
  r0 = s.arg0;
13157
- if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0);
13157
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0, ArcadePhysicsEngine__C83856_VT);
13158
13158
  r0 = undefined;
13159
13159
  s.tmp_0 = r0 = s.arg0;
13160
13160
  r0 = pxsim_Array__mk();
@@ -13225,7 +13225,7 @@ switch (step) {
13225
13225
  s.lambdaArgs = null;
13226
13226
  }
13227
13227
  r0 = s.arg0;
13228
- if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0);
13228
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0, ArcadePhysicsEngine__C83856_VT);
13229
13229
  s.tmp_0 = r0 = s.arg0;
13230
13230
  r0 = (s.arg1 * 256);
13231
13231
  s.tmp_2 = r0;
@@ -13269,7 +13269,7 @@ switch (step) {
13269
13269
  s.lambdaArgs = null;
13270
13270
  }
13271
13271
  r0 = s.arg0;
13272
- if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0);
13272
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0, ArcadePhysicsEngine__C83856_VT);
13273
13273
  r0 = s.arg0.fields["minSingleStep"];
13274
13274
  s.tmp_0 = r0;
13275
13275
  r0 = (s.tmp_0 + 128);
@@ -13346,7 +13346,7 @@ switch (step) {
13346
13346
  s.lambdaArgs = null;
13347
13347
  }
13348
13348
  r0 = s.arg0;
13349
- if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0);
13349
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0, ArcadePhysicsEngine__C83856_VT);
13350
13350
  s.tmp_0 = r0 = s.arg0;
13351
13351
  r0 = (s.arg1 * 256);
13352
13352
  s.tmp_2 = r0;
@@ -13390,7 +13390,7 @@ switch (step) {
13390
13390
  s.lambdaArgs = null;
13391
13391
  }
13392
13392
  r0 = s.arg0;
13393
- if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0);
13393
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0, ArcadePhysicsEngine__C83856_VT);
13394
13394
  r0 = s.arg0.fields["maxSingleStep"];
13395
13395
  s.tmp_0 = r0;
13396
13396
  r0 = (s.tmp_0 + 128);
@@ -13432,7 +13432,7 @@ switch (step) {
13432
13432
  s.lambdaArgs = null;
13433
13433
  }
13434
13434
  r0 = s.arg0;
13435
- if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0);
13435
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0, ArcadePhysicsEngine__C83856_VT);
13436
13436
  s.tmp_0 = r0 = s.arg0;
13437
13437
  r0 = (s.arg1 * 256);
13438
13438
  s.tmp_2 = r0;
@@ -13514,7 +13514,7 @@ switch (step) {
13514
13514
  s.lambdaArgs = null;
13515
13515
  }
13516
13516
  r0 = s.arg0;
13517
- if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0);
13517
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0, ArcadePhysicsEngine__C83856_VT);
13518
13518
  r0 = s.arg0.fields["maxVelocity"];
13519
13519
  s.tmp_0 = r0;
13520
13520
  r0 = (s.tmp_0 + 128);
@@ -13555,7 +13555,7 @@ switch (step) {
13555
13555
  s.lambdaArgs = null;
13556
13556
  }
13557
13557
  r0 = s.arg0;
13558
- if (!checkSubtype(r0, sprites_SpriteMap__C83752_VT)) failedCast(r0);
13558
+ if (!checkSubtype(r0, sprites_SpriteMap__C83752_VT)) failedCast(r0, sprites_SpriteMap__C83752_VT);
13559
13559
  s.tmp_0 = r0 = s.arg0;
13560
13560
  r0 = pxsim_Array__mk();
13561
13561
  s.tmp_1 = r0;
@@ -13595,7 +13595,7 @@ switch (step) {
13595
13595
  s.lambdaArgs = null;
13596
13596
  }
13597
13597
  r0 = s.arg0;
13598
- if (!checkSubtype(r0, PhysicsEngine__C83805_VT)) failedCast(r0);
13598
+ if (!checkSubtype(r0, PhysicsEngine__C83805_VT)) failedCast(r0, PhysicsEngine__C83805_VT);
13599
13599
  r0 = undefined;
13600
13600
  return leave(s, r0)
13601
13601
  default: oops()
@@ -13674,7 +13674,7 @@ switch (step) {
13674
13674
  s.lambdaArgs = null;
13675
13675
  }
13676
13676
  r0 = s.arg0;
13677
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C84528_VT)) failedCast(r0);
13677
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C84528_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C84528_VT);
13678
13678
  r0 = s.arg0.fields["options"];
13679
13679
  s.tmp_2 = r0;
13680
13680
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -13718,7 +13718,7 @@ switch (step) {
13718
13718
  if (!r0) { step = 7; continue; }
13719
13719
  s.tmp_4 = controller_Button__C83533_v0_1_mk(s);
13720
13720
  s.tmp_4.arg0 = globals.A___83392;
13721
- if (!checkSubtype(s.tmp_4.arg0, controller_Button__C83533_VT)) failedCast(s.tmp_4.arg0);
13721
+ if (!checkSubtype(s.tmp_4.arg0, controller_Button__C83533_VT)) failedCast(s.tmp_4.arg0, controller_Button__C83533_VT);
13722
13722
  s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.isPressed;
13723
13723
  s.pc = 11; return s.tmp_4;
13724
13724
  case 11:
@@ -13796,7 +13796,7 @@ switch (step) {
13796
13796
  s.lambdaArgs = null;
13797
13797
  }
13798
13798
  r0 = s.arg0;
13799
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C84528_VT)) failedCast(r0);
13799
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C84528_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C84528_VT);
13800
13800
  r0 = s.arg0.fields["selection"];
13801
13801
  s.tmp_0 = r0;
13802
13802
  s.tmp_2 = if_cardsPerRow_1_mk(s);
@@ -14296,7 +14296,7 @@ switch (step) {
14296
14296
  s.lambdaArgs = null;
14297
14297
  }
14298
14298
  r0 = s.arg0;
14299
- if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0);
14299
+ if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0, particles_ParticleSource__C84646_VT);
14300
14300
  case 1:
14301
14301
  r0 = s.arg0.fields["head"];
14302
14302
  s.tmp_0 = r0;
@@ -14569,7 +14569,7 @@ switch (step) {
14569
14569
  s.lambdaArgs = null;
14570
14570
  }
14571
14571
  r0 = s.arg0;
14572
- if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0);
14572
+ if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0, particles_ParticleSource__C84646_VT);
14573
14573
  s.tmp_1 = r0 = s.arg1;
14574
14574
  s.tmp_3 = particles_ParticleSource_enabled__P84654_mk(s);
14575
14575
  s.tmp_3.arg0 = s.arg0;
@@ -14639,7 +14639,7 @@ switch (step) {
14639
14639
  s.lambdaArgs = null;
14640
14640
  }
14641
14641
  r0 = s.arg0;
14642
- if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0);
14642
+ if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0, particles_ParticleSource__C84646_VT);
14643
14643
  r0 = s.arg0.fields["pFlags"];
14644
14644
  s.tmp_4 = r0;
14645
14645
  r0 = (s.tmp_4 & 1);
@@ -14806,7 +14806,7 @@ switch (step) {
14806
14806
  s.lambdaArgs = null;
14807
14807
  }
14808
14808
  r0 = s.arg0;
14809
- if (!checkSubtype(r0, control_EventContext__C82780_VT)) failedCast(r0);
14809
+ if (!checkSubtype(r0, control_EventContext__C82780_VT)) failedCast(r0, control_EventContext__C82780_VT);
14810
14810
  s.h___88795 = (undefined);
14811
14811
  r0 = s.arg0.fields["handlers"];
14812
14812
  s.unnamed260___U1 = (r0);
@@ -14873,7 +14873,7 @@ switch (step) {
14873
14873
  s.lambdaArgs = null;
14874
14874
  }
14875
14875
  r0 = s.arg0;
14876
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C84528_VT)) failedCast(r0);
14876
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C84528_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C84528_VT);
14877
14877
  r0 = s.arg0.fields["options"];
14878
14878
  s.tmp_0 = r0;
14879
14879
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -14961,7 +14961,7 @@ switch (step) {
14961
14961
  s.lambdaArgs = null;
14962
14962
  }
14963
14963
  r0 = s.arg0;
14964
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C84519_VT)) failedCast(r0);
14964
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C84519_VT)) failedCast(r0, scene_systemMenu_MenuOption__C84519_VT);
14965
14965
  r0 = s.arg0.fields["card"];
14966
14966
  s.tmp_0 = r0;
14967
14967
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -15023,7 +15023,7 @@ switch (step) {
15023
15023
  s.lambdaArgs = null;
15024
15024
  }
15025
15025
  r0 = s.arg0;
15026
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
15026
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
15027
15027
  r0 = s.arg0.fields["flags"];
15028
15028
  s.tmp_1 = r0;
15029
15029
  r0 = (s.tmp_1 & 2);
@@ -15099,7 +15099,7 @@ switch (step) {
15099
15099
  s.lambdaArgs = null;
15100
15100
  }
15101
15101
  r0 = s.arg0;
15102
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
15102
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
15103
15103
  s.tmp_0 = r0 = s.arg0;
15104
15104
  r0 = s.tmp_0.fields["flags"];
15105
15105
  s.tmp_2 = r0;
@@ -15150,7 +15150,7 @@ switch (step) {
15150
15150
  r0 = s.scene___88857.fields["physicsEngine"];
15151
15151
  s.tmp_0.arg0 = r0;
15152
15152
  s.tmp_0.arg1 = s.arg0;
15153
- if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C83805_VT)) failedCast(s.tmp_0.arg0);
15153
+ if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C83805_VT)) failedCast(s.tmp_0.arg0, PhysicsEngine__C83805_VT);
15154
15154
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.removeSprite;
15155
15155
  s.pc = 9; return s.tmp_0;
15156
15156
  case 9:
@@ -15321,7 +15321,7 @@ switch (step) {
15321
15321
  s.lambdaArgs = null;
15322
15322
  }
15323
15323
  r0 = s.arg0;
15324
- if (!checkSubtype(r0, PhysicsEngine__C83805_VT)) failedCast(r0);
15324
+ if (!checkSubtype(r0, PhysicsEngine__C83805_VT)) failedCast(r0, PhysicsEngine__C83805_VT);
15325
15325
  r0 = undefined;
15326
15326
  return leave(s, r0)
15327
15327
  default: oops()
@@ -15358,7 +15358,7 @@ switch (step) {
15358
15358
  s.lambdaArgs = null;
15359
15359
  }
15360
15360
  r0 = s.arg0;
15361
- if (!checkSubtype(r0, sprites_SpriteSet__C83769_VT)) failedCast(r0);
15361
+ if (!checkSubtype(r0, sprites_SpriteSet__C83769_VT)) failedCast(r0, sprites_SpriteSet__C83769_VT);
15362
15362
  r0 = s.arg0.fields["_sprites"];
15363
15363
  s.tmp_0 = r0;
15364
15364
  r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined);
@@ -15417,7 +15417,7 @@ switch (step) {
15417
15417
  s.lambdaArgs = null;
15418
15418
  }
15419
15419
  r0 = s.arg0;
15420
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
15420
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
15421
15421
  r0 = s.arg0.fields["_kind"];
15422
15422
  return leave(s, r0)
15423
15423
  default: oops()
@@ -15454,7 +15454,7 @@ switch (step) {
15454
15454
  s.lambdaArgs = null;
15455
15455
  }
15456
15456
  r0 = s.arg0;
15457
- if (!checkSubtype(r0, effects_ParticleEffect__C84773_VT)) failedCast(r0);
15457
+ if (!checkSubtype(r0, effects_ParticleEffect__C84773_VT)) failedCast(r0, effects_ParticleEffect__C84773_VT);
15458
15458
  s.tmp_0 = Sprite_setFlag__P83721_mk(s);
15459
15459
  s.tmp_0.arg0 = s.arg1;
15460
15460
  s.tmp_0.arg1 = 7168;
@@ -15828,7 +15828,7 @@ switch (step) {
15828
15828
  s.lambdaArgs = null;
15829
15829
  }
15830
15830
  r0 = s.arg0;
15831
- if (!checkSubtype(r0, Math_FastRandom__C84508_VT)) failedCast(r0);
15831
+ if (!checkSubtype(r0, Math_FastRandom__C84508_VT)) failedCast(r0, Math_FastRandom__C84508_VT);
15832
15832
  r0 = (s.arg2 > s.arg1);
15833
15833
  s.tmp_0 = r0;
15834
15834
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -15891,7 +15891,7 @@ switch (step) {
15891
15891
  s.lambdaArgs = null;
15892
15892
  }
15893
15893
  r0 = s.arg0;
15894
- if (!checkSubtype(r0, Math_FastRandom__C84508_VT)) failedCast(r0);
15894
+ if (!checkSubtype(r0, Math_FastRandom__C84508_VT)) failedCast(r0, Math_FastRandom__C84508_VT);
15895
15895
  s.tmp_0 = r0 = s.arg0;
15896
15896
  r0 = s.arg0.fields["lfsr"];
15897
15897
  s.tmp_3 = r0;
@@ -15951,7 +15951,7 @@ switch (step) {
15951
15951
  s.lambdaArgs = null;
15952
15952
  }
15953
15953
  r0 = s.arg0;
15954
- if (!checkSubtype(r0, effects_ImageEffect__C84826_VT)) failedCast(r0);
15954
+ if (!checkSubtype(r0, effects_ImageEffect__C84826_VT)) failedCast(r0, effects_ImageEffect__C84826_VT);
15955
15955
  r0 = (s.arg0).fields["effect"] = (s.arg2);
15956
15956
  r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C84508_VT);
15957
15957
  s.tmp_0 = r0;
@@ -16003,7 +16003,7 @@ switch (step) {
16003
16003
  s.lambdaArgs = null;
16004
16004
  }
16005
16005
  r0 = s.arg0;
16006
- if (!checkSubtype(r0, effects_ImageEffect__C84826_VT)) failedCast(r0);
16006
+ if (!checkSubtype(r0, effects_ImageEffect__C84826_VT)) failedCast(r0, effects_ImageEffect__C84826_VT);
16007
16007
  r0 = pxsim_numops_toBoolDecr(s.arg1);
16008
16008
  s.tmp_1 = r0;
16009
16009
  r0 = pxsim_Boolean__bang(s.tmp_1);
@@ -16085,7 +16085,7 @@ switch (step) {
16085
16085
  s.lambdaArgs = null;
16086
16086
  }
16087
16087
  r0 = s.arg0;
16088
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
16088
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
16089
16089
  r0 = pxsim_numops_toBoolDecr(s.arg1);
16090
16090
  s.tmp_1 = r0;
16091
16091
  r0 = pxsim_Boolean__bang(s.tmp_1);
@@ -16109,7 +16109,7 @@ switch (step) {
16109
16109
  r0 = (s.arg0).fields["_image"] = (s.arg1);
16110
16110
  s.tmp_0 = Sprite__C83659_v5_1_mk(s);
16111
16111
  s.tmp_0.arg0 = s.arg0;
16112
- if (!checkSubtype(s.tmp_0.arg0, Sprite__C83659_VT)) failedCast(s.tmp_0.arg0);
16112
+ if (!checkSubtype(s.tmp_0.arg0, Sprite__C83659_VT)) failedCast(s.tmp_0.arg0, Sprite__C83659_VT);
16113
16113
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.recalcSize;
16114
16114
  s.pc = 6; return s.tmp_0;
16115
16115
  case 6:
@@ -16153,7 +16153,7 @@ switch (step) {
16153
16153
  s.lambdaArgs = null;
16154
16154
  }
16155
16155
  r0 = s.arg0;
16156
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
16156
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
16157
16157
  r0 = s.arg0.fields["_rotatedBBox"];
16158
16158
  s.tmp_0 = r0;
16159
16159
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -16295,11 +16295,11 @@ switch (step) {
16295
16295
  s.lambdaArgs = null;
16296
16296
  }
16297
16297
  r0 = s.arg0;
16298
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
16298
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
16299
16299
  r0 = (s.arg0).fields["_hitbox"] = (null);
16300
16300
  s.tmp_0 = Sprite__C83659_v4_1_mk(s);
16301
16301
  s.tmp_0.arg0 = s.arg0;
16302
- if (!checkSubtype(s.tmp_0.arg0, Sprite__C83659_VT)) failedCast(s.tmp_0.arg0);
16302
+ if (!checkSubtype(s.tmp_0.arg0, Sprite__C83659_VT)) failedCast(s.tmp_0.arg0, Sprite__C83659_VT);
16303
16303
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.setHitbox;
16304
16304
  s.pc = 1; return s.tmp_0;
16305
16305
  case 1:
@@ -16338,7 +16338,7 @@ switch (step) {
16338
16338
  s.lambdaArgs = null;
16339
16339
  }
16340
16340
  r0 = s.arg0;
16341
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
16341
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
16342
16342
  r0 = s.arg0.fields["_hitbox"];
16343
16343
  s.tmp_0 = r0;
16344
16344
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -16823,7 +16823,7 @@ switch (step) {
16823
16823
  s.lambdaArgs = null;
16824
16824
  }
16825
16825
  r0 = s.arg0;
16826
- if (!checkSubtype(r0, game_Hitbox__C83571_VT)) failedCast(r0);
16826
+ if (!checkSubtype(r0, game_Hitbox__C83571_VT)) failedCast(r0, game_Hitbox__C83571_VT);
16827
16827
  s.tmp_0 = r0 = s.arg0;
16828
16828
  s.tmp_2 = Sprite_calcDimensionalHash__P83692_mk(s);
16829
16829
  s.tmp_2.arg0 = s.arg1;
@@ -16878,7 +16878,7 @@ switch (step) {
16878
16878
  s.lambdaArgs = null;
16879
16879
  }
16880
16880
  r0 = s.arg0;
16881
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
16881
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
16882
16882
  r0 = s.arg0.fields["_image"];
16883
16883
  s.tmp_3 = r0;
16884
16884
  r0 = pxsim_ImageMethods.revision(s.tmp_3);
@@ -16950,7 +16950,7 @@ switch (step) {
16950
16950
  s.lambdaArgs = null;
16951
16951
  }
16952
16952
  r0 = s.arg0;
16953
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
16953
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
16954
16954
  r0 = s.arg0.fields["_rotatedBBox"];
16955
16955
  s.tmp_0 = r0;
16956
16956
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -17001,7 +17001,7 @@ switch (step) {
17001
17001
  s.lambdaArgs = null;
17002
17002
  }
17003
17003
  r0 = s.arg0;
17004
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C83628_VT)) failedCast(r0);
17004
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C83628_VT)) failedCast(r0, sprites_RotatedBoundingBox__C83628_VT);
17005
17005
  r0 = s.arg0.fields["_rotation"];
17006
17006
  return leaveAccessor(s, r0)
17007
17007
  default: oops()
@@ -17075,7 +17075,7 @@ switch (step) {
17075
17075
  s.lambdaArgs = null;
17076
17076
  }
17077
17077
  r0 = s.arg0;
17078
- if (!checkSubtype(r0, game_Hitbox__C83571_VT)) failedCast(r0);
17078
+ if (!checkSubtype(r0, game_Hitbox__C83571_VT)) failedCast(r0, game_Hitbox__C83571_VT);
17079
17079
  r0 = s.arg0.fields["hash"];
17080
17080
  s.tmp_0 = r0;
17081
17081
  s.tmp_2 = Sprite_calcDimensionalHash__P83692_mk(s);
@@ -17132,7 +17132,7 @@ switch (step) {
17132
17132
  s.lambdaArgs = null;
17133
17133
  }
17134
17134
  r0 = s.arg0;
17135
- if (!checkSubtype(r0, game_Hitbox__C83571_VT)) failedCast(r0);
17135
+ if (!checkSubtype(r0, game_Hitbox__C83571_VT)) failedCast(r0, game_Hitbox__C83571_VT);
17136
17136
  s.tmp_1 = game_Hitbox_isValid__P83576_mk(s);
17137
17137
  s.tmp_1.arg0 = s.arg0;
17138
17138
  s.callLocIdx = 233; s.pc = 8; return s.tmp_1;
@@ -17324,7 +17324,7 @@ switch (step) {
17324
17324
  s.lambdaArgs = null;
17325
17325
  }
17326
17326
  r0 = s.arg0;
17327
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C83628_VT)) failedCast(r0);
17327
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C83628_VT)) failedCast(r0, sprites_RotatedBoundingBox__C83628_VT);
17328
17328
  r0 = s.arg0.fields["_height"];
17329
17329
  return leaveAccessor(s, r0)
17330
17330
  default: oops()
@@ -17359,7 +17359,7 @@ switch (step) {
17359
17359
  s.lambdaArgs = null;
17360
17360
  }
17361
17361
  r0 = s.arg0;
17362
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C83628_VT)) failedCast(r0);
17362
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C83628_VT)) failedCast(r0, sprites_RotatedBoundingBox__C83628_VT);
17363
17363
  r0 = s.arg0.fields["_width"];
17364
17364
  return leaveAccessor(s, r0)
17365
17365
  default: oops()
@@ -17394,7 +17394,7 @@ switch (step) {
17394
17394
  s.lambdaArgs = null;
17395
17395
  }
17396
17396
  r0 = s.arg0;
17397
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
17397
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
17398
17398
  r0 = s.arg0.fields["_sy"];
17399
17399
  s.tmp_0 = r0;
17400
17400
  r0 = (s.tmp_0 / 256);
@@ -17432,7 +17432,7 @@ switch (step) {
17432
17432
  s.lambdaArgs = null;
17433
17433
  }
17434
17434
  r0 = s.arg0;
17435
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
17435
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
17436
17436
  r0 = s.arg0.fields["_sx"];
17437
17437
  s.tmp_0 = r0;
17438
17438
  r0 = (s.tmp_0 / 256);
@@ -17472,7 +17472,7 @@ switch (step) {
17472
17472
  s.lambdaArgs = null;
17473
17473
  }
17474
17474
  r0 = s.arg0;
17475
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C83628_VT)) failedCast(r0);
17475
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C83628_VT)) failedCast(r0, sprites_RotatedBoundingBox__C83628_VT);
17476
17476
  r0 = (s.arg1 / 2);
17477
17477
  s.arg1 = (r0);
17478
17478
  r0 = (s.arg2 / 2);
@@ -17539,7 +17539,7 @@ switch (step) {
17539
17539
  s.lambdaArgs = null;
17540
17540
  }
17541
17541
  r0 = s.arg0;
17542
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C83628_VT)) failedCast(r0);
17542
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C83628_VT)) failedCast(r0, sprites_RotatedBoundingBox__C83628_VT);
17543
17543
  r0 = (s.arg0).fields["_rotation"] = (s.arg1);
17544
17544
  r0 = s.arg0.fields["points"];
17545
17545
  s.tmp_0 = r0;
@@ -17704,7 +17704,7 @@ switch (step) {
17704
17704
  s.lambdaArgs = null;
17705
17705
  }
17706
17706
  r0 = s.arg0;
17707
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C83628_VT)) failedCast(r0);
17707
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C83628_VT)) failedCast(r0, sprites_RotatedBoundingBox__C83628_VT);
17708
17708
  r0 = s.arg0.fields["points"];
17709
17709
  s.tmp_0 = r0;
17710
17710
  r0 = pxsim_Array__getAt(s.tmp_0, 0);
@@ -17823,7 +17823,7 @@ switch (step) {
17823
17823
  s.lambdaArgs = null;
17824
17824
  }
17825
17825
  r0 = s.arg0;
17826
- if (!checkSubtype(r0, effects_ImageEffect__C84826_VT)) failedCast(r0);
17826
+ if (!checkSubtype(r0, effects_ImageEffect__C84826_VT)) failedCast(r0, effects_ImageEffect__C84826_VT);
17827
17827
  s.tmp_0 = if_effect_3_mk(s);
17828
17828
  s.tmp_0.arg0 = s.arg0;
17829
17829
  s.tmp_0.arg1 = s.arg1;
@@ -17875,7 +17875,7 @@ switch (step) {
17875
17875
  s.lambdaArgs = null;
17876
17876
  }
17877
17877
  r0 = s.arg0;
17878
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
17878
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
17879
17879
  r0 = s.arg0.fields["_image"];
17880
17880
  return leaveAccessor(s, r0)
17881
17881
  default: oops()
@@ -17915,7 +17915,7 @@ switch (step) {
17915
17915
  s.lambdaArgs = null;
17916
17916
  }
17917
17917
  r0 = s.arg0;
17918
- if (!checkSubtype(r0, effects_ParticleEffect__C84773_VT)) failedCast(r0);
17918
+ if (!checkSubtype(r0, effects_ParticleEffect__C84773_VT)) failedCast(r0, effects_ParticleEffect__C84773_VT);
17919
17919
  r0 = s.arg0.fields["sourceFactory"];
17920
17920
  s.tmp_2 = r0;
17921
17921
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -18026,7 +18026,7 @@ switch (step) {
18026
18026
  s.lambdaArgs = null;
18027
18027
  }
18028
18028
  r0 = s.arg0;
18029
- if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0);
18029
+ if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0, particles_ParticleSource__C84646_VT);
18030
18030
  r0 = pxsim_numops_toBoolDecr(s.arg1);
18031
18031
  if (!r0) { step = 1; continue; }
18032
18032
  s.tmp_0 = r0 = s.arg0;
@@ -18089,7 +18089,7 @@ switch (step) {
18089
18089
  s.lambdaArgs = null;
18090
18090
  }
18091
18091
  r0 = s.arg0;
18092
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
18092
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
18093
18093
  r0 = pxsim_numops_toBoolDecr(s.arg2);
18094
18094
  if (!r0) { step = 1; continue; }
18095
18095
  s.tmp_0 = r0 = s.arg0;
@@ -18152,7 +18152,7 @@ switch (step) {
18152
18152
  s.lambdaArgs = null;
18153
18153
  }
18154
18154
  r0 = s.arg0;
18155
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C84519_VT)) failedCast(r0);
18155
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C84519_VT)) failedCast(r0, scene_systemMenu_MenuOption__C84519_VT);
18156
18156
  r0 = s.arg0.fields["state"];
18157
18157
  s.tmp_1 = r0;
18158
18158
  r0 = (s.tmp_1 === s.arg1);
@@ -18205,7 +18205,7 @@ switch (step) {
18205
18205
  s.lambdaArgs = null;
18206
18206
  }
18207
18207
  r0 = s.arg0;
18208
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C84519_VT)) failedCast(r0);
18208
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C84519_VT)) failedCast(r0, scene_systemMenu_MenuOption__C84519_VT);
18209
18209
  r0 = s.arg0.fields["theme"];
18210
18210
  s.tmp_2 = r0;
18211
18211
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -18360,7 +18360,7 @@ switch (step) {
18360
18360
  s.lambdaArgs = null;
18361
18361
  }
18362
18362
  r0 = s.arg0;
18363
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
18363
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
18364
18364
  s.tmp_0 = Sprite_left__P83702_mk(s);
18365
18365
  s.tmp_0.arg0 = s.arg0;
18366
18366
  s.tmp_1 = r0 = s.arg1;
@@ -18418,7 +18418,7 @@ switch (step) {
18418
18418
  s.lambdaArgs = null;
18419
18419
  }
18420
18420
  r0 = s.arg0;
18421
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
18421
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
18422
18422
  s.tmp_0 = game_currentScene__P83429_mk(s);
18423
18423
  s.callLocIdx = 366; s.pc = 1; return s.tmp_0;
18424
18424
  case 1:
@@ -18437,7 +18437,7 @@ switch (step) {
18437
18437
  r0 = (s.tmp_1 - s.tmp_3);
18438
18438
  s.tmp_0.arg2 = r0;
18439
18439
  s.tmp_0.arg3 = 0;
18440
- if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C83805_VT)) failedCast(s.tmp_0.arg0);
18440
+ if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C83805_VT)) failedCast(s.tmp_0.arg0, PhysicsEngine__C83805_VT);
18441
18441
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.moveSprite;
18442
18442
  s.pc = 2; return s.tmp_0;
18443
18443
  case 2:
@@ -18516,7 +18516,7 @@ switch (step) {
18516
18516
  s.lambdaArgs = null;
18517
18517
  }
18518
18518
  r0 = s.arg0;
18519
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C84519_VT)) failedCast(r0);
18519
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C84519_VT)) failedCast(r0, scene_systemMenu_MenuOption__C84519_VT);
18520
18520
  r0 = (s.arg0).fields["top"] = (s.arg2);
18521
18521
  s.tmp_0 = Sprite_left__P83702_mk(s);
18522
18522
  r0 = s.arg0.fields["card"];
@@ -18596,7 +18596,7 @@ switch (step) {
18596
18596
  s.lambdaArgs = null;
18597
18597
  }
18598
18598
  r0 = s.arg0;
18599
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C84519_VT)) failedCast(r0);
18599
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C84519_VT)) failedCast(r0, scene_systemMenu_MenuOption__C84519_VT);
18600
18600
  r0 = (s.arg0).fields["theme"] = (s.arg1);
18601
18601
  s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P84526_mk(s);
18602
18602
  s.tmp_0.arg0 = s.arg0;
@@ -18638,7 +18638,7 @@ switch (step) {
18638
18638
  s.lambdaArgs = null;
18639
18639
  }
18640
18640
  r0 = s.arg0;
18641
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C84519_VT)) failedCast(r0);
18641
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C84519_VT)) failedCast(r0, scene_systemMenu_MenuOption__C84519_VT);
18642
18642
  r0 = s.arg0.fields["theme"];
18643
18643
  s.tmp_0 = r0;
18644
18644
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -18775,7 +18775,7 @@ switch (step) {
18775
18775
  r0 = s.scene___90007.fields["physicsEngine"];
18776
18776
  s.tmp_0.arg0 = r0;
18777
18777
  s.tmp_0.arg1 = s.sprite___90010;
18778
- if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C83805_VT)) failedCast(s.tmp_0.arg0);
18778
+ if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C83805_VT)) failedCast(s.tmp_0.arg0, PhysicsEngine__C83805_VT);
18779
18779
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.addSprite;
18780
18780
  s.pc = 4; return s.tmp_0;
18781
18781
  case 4:
@@ -18922,7 +18922,7 @@ switch (step) {
18922
18922
  s.lambdaArgs = null;
18923
18923
  }
18924
18924
  r0 = s.arg0;
18925
- if (!checkSubtype(r0, PhysicsEngine__C83805_VT)) failedCast(r0);
18925
+ if (!checkSubtype(r0, PhysicsEngine__C83805_VT)) failedCast(r0, PhysicsEngine__C83805_VT);
18926
18926
  r0 = undefined;
18927
18927
  return leave(s, r0)
18928
18928
  default: oops()
@@ -18960,7 +18960,7 @@ switch (step) {
18960
18960
  s.lambdaArgs = null;
18961
18961
  }
18962
18962
  r0 = s.arg0;
18963
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
18963
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
18964
18964
  r0 = (s.arg1 == undefined);
18965
18965
  s.tmp_0 = r0;
18966
18966
  r0 = pxsim_numops_toBool(s.tmp_0);
@@ -19114,7 +19114,7 @@ switch (step) {
19114
19114
  s.lambdaArgs = null;
19115
19115
  }
19116
19116
  r0 = s.arg0;
19117
- if (!checkSubtype(r0, sprites_SpriteSet__C83769_VT)) failedCast(r0);
19117
+ if (!checkSubtype(r0, sprites_SpriteSet__C83769_VT)) failedCast(r0, sprites_SpriteSet__C83769_VT);
19118
19118
  r0 = pxsim_numops_toBoolDecr(s.arg1);
19119
19119
  s.tmp_1 = r0;
19120
19120
  r0 = pxsim_Boolean__bang(s.tmp_1);
@@ -19182,7 +19182,7 @@ switch (step) {
19182
19182
  s.lambdaArgs = null;
19183
19183
  }
19184
19184
  r0 = s.arg0;
19185
- if (!checkSubtype(r0, sprites_SpriteSet__C83769_VT)) failedCast(r0);
19185
+ if (!checkSubtype(r0, sprites_SpriteSet__C83769_VT)) failedCast(r0, sprites_SpriteSet__C83769_VT);
19186
19186
  r0 = s.arg0.fields["_sprites"];
19187
19187
  s.tmp_1 = r0;
19188
19188
  r0 = pxsim_Array_.indexOf(s.tmp_1, s.arg1, undefined);
@@ -19223,7 +19223,7 @@ switch (step) {
19223
19223
  s.lambdaArgs = null;
19224
19224
  }
19225
19225
  r0 = s.arg0;
19226
- if (!checkSubtype(r0, sprites_SpriteSet__C83769_VT)) failedCast(r0);
19226
+ if (!checkSubtype(r0, sprites_SpriteSet__C83769_VT)) failedCast(r0, sprites_SpriteSet__C83769_VT);
19227
19227
  s.tmp_0 = r0 = s.arg0;
19228
19228
  r0 = pxsim_Array__mk();
19229
19229
  s.tmp_1 = r0;
@@ -19264,7 +19264,7 @@ switch (step) {
19264
19264
  s.lambdaArgs = null;
19265
19265
  }
19266
19266
  r0 = s.arg0;
19267
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
19267
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
19268
19268
  s.tmp_0 = sprites_BaseSprite_constructor__P83374_mk(s);
19269
19269
  s.tmp_0.arg0 = s.arg0;
19270
19270
  s.tmp_0.arg1 = 0;
@@ -19408,7 +19408,7 @@ switch (step) {
19408
19408
  s.lambdaArgs = null;
19409
19409
  }
19410
19410
  r0 = s.arg0;
19411
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
19411
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
19412
19412
  s.tmp_0 = r0 = s.arg0;
19413
19413
  s.tmp_3 = Math_max__P82563_mk(s);
19414
19414
  s.tmp_3.arg0 = 0;
@@ -19461,7 +19461,7 @@ switch (step) {
19461
19461
  s.lambdaArgs = null;
19462
19462
  }
19463
19463
  r0 = s.arg0;
19464
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
19464
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
19465
19465
  r0 = s.arg0.fields["_fy"];
19466
19466
  s.tmp_0 = r0;
19467
19467
  r0 = (s.tmp_0 / 256);
@@ -19500,7 +19500,7 @@ switch (step) {
19500
19500
  s.lambdaArgs = null;
19501
19501
  }
19502
19502
  r0 = s.arg0;
19503
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
19503
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
19504
19504
  s.tmp_0 = r0 = s.arg0;
19505
19505
  s.tmp_3 = Math_max__P82563_mk(s);
19506
19506
  s.tmp_3.arg0 = 0;
@@ -19553,7 +19553,7 @@ switch (step) {
19553
19553
  s.lambdaArgs = null;
19554
19554
  }
19555
19555
  r0 = s.arg0;
19556
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
19556
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
19557
19557
  r0 = s.arg0.fields["_fx"];
19558
19558
  s.tmp_0 = r0;
19559
19559
  r0 = (s.tmp_0 / 256);
@@ -19592,7 +19592,7 @@ switch (step) {
19592
19592
  s.lambdaArgs = null;
19593
19593
  }
19594
19594
  r0 = s.arg0;
19595
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
19595
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
19596
19596
  s.tmp_0 = r0 = s.arg0;
19597
19597
  r0 = (s.arg1 * 256);
19598
19598
  s.tmp_2 = r0;
@@ -19636,7 +19636,7 @@ switch (step) {
19636
19636
  s.lambdaArgs = null;
19637
19637
  }
19638
19638
  r0 = s.arg0;
19639
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
19639
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
19640
19640
  r0 = s.arg0.fields["_ay"];
19641
19641
  s.tmp_0 = r0;
19642
19642
  r0 = (s.tmp_0 / 256);
@@ -19675,7 +19675,7 @@ switch (step) {
19675
19675
  s.lambdaArgs = null;
19676
19676
  }
19677
19677
  r0 = s.arg0;
19678
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
19678
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
19679
19679
  s.tmp_0 = r0 = s.arg0;
19680
19680
  r0 = (s.arg1 * 256);
19681
19681
  s.tmp_2 = r0;
@@ -19719,7 +19719,7 @@ switch (step) {
19719
19719
  s.lambdaArgs = null;
19720
19720
  }
19721
19721
  r0 = s.arg0;
19722
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
19722
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
19723
19723
  r0 = s.arg0.fields["_ax"];
19724
19724
  s.tmp_0 = r0;
19725
19725
  r0 = (s.tmp_0 / 256);
@@ -19758,7 +19758,7 @@ switch (step) {
19758
19758
  s.lambdaArgs = null;
19759
19759
  }
19760
19760
  r0 = s.arg0;
19761
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
19761
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
19762
19762
  s.tmp_0 = r0 = s.arg0;
19763
19763
  r0 = (s.arg1 * 256);
19764
19764
  s.tmp_2 = r0;
@@ -19802,7 +19802,7 @@ switch (step) {
19802
19802
  s.lambdaArgs = null;
19803
19803
  }
19804
19804
  r0 = s.arg0;
19805
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
19805
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
19806
19806
  r0 = s.arg0.fields["_vy"];
19807
19807
  s.tmp_0 = r0;
19808
19808
  r0 = (s.tmp_0 / 256);
@@ -19841,7 +19841,7 @@ switch (step) {
19841
19841
  s.lambdaArgs = null;
19842
19842
  }
19843
19843
  r0 = s.arg0;
19844
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
19844
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
19845
19845
  s.tmp_0 = r0 = s.arg0;
19846
19846
  r0 = (s.arg1 * 256);
19847
19847
  s.tmp_2 = r0;
@@ -19885,7 +19885,7 @@ switch (step) {
19885
19885
  s.lambdaArgs = null;
19886
19886
  }
19887
19887
  r0 = s.arg0;
19888
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
19888
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
19889
19889
  r0 = s.arg0.fields["_vx"];
19890
19890
  s.tmp_0 = r0;
19891
19891
  r0 = (s.tmp_0 / 256);
@@ -22866,7 +22866,7 @@ switch (step) {
22866
22866
  s.lambdaArgs = null;
22867
22867
  }
22868
22868
  r0 = s.arg0;
22869
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C84519_VT)) failedCast(r0);
22869
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C84519_VT)) failedCast(r0, scene_systemMenu_MenuOption__C84519_VT);
22870
22870
  r0 = (s.arg0).fields["iconImage"] = (s.arg1);
22871
22871
  r0 = (s.arg0).fields["getText"] = (s.arg2);
22872
22872
  r0 = (s.arg0).fields["action"] = (s.arg3);
@@ -22908,7 +22908,7 @@ switch (step) {
22908
22908
  s.lambdaArgs = null;
22909
22909
  }
22910
22910
  r0 = s.arg0;
22911
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C84528_VT)) failedCast(r0);
22911
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C84528_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C84528_VT);
22912
22912
  r0 = (s.arg0).fields["generator"] = (s.arg1);
22913
22913
  s.tmp_0 = r0 = s.arg2;
22914
22914
  r0 = pxsim_numops_toBool(s.tmp_0);
@@ -23576,7 +23576,7 @@ switch (step) {
23576
23576
  s.lambdaArgs = null;
23577
23577
  }
23578
23578
  r0 = s.arg0;
23579
- if (!checkSubtype(r0, music_PlayableState__C83183_VT)) failedCast(r0);
23579
+ if (!checkSubtype(r0, music_PlayableState__C83183_VT)) failedCast(r0, music_PlayableState__C83183_VT);
23580
23580
  s.tmp_0 = r0 = s.arg0;
23581
23581
  r0 = pxsim_Array__mk();
23582
23582
  s.tmp_1 = r0;
@@ -23838,7 +23838,7 @@ switch (step) {
23838
23838
  s.lambdaArgs = null;
23839
23839
  }
23840
23840
  r0 = s.arg0;
23841
- if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0);
23841
+ if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0, particles_ParticleSource__C84646_VT);
23842
23842
  r0 = (s.arg0).fields["head"] = (undefined);
23843
23843
  r0 = undefined;
23844
23844
  return leave(s, r0)
@@ -23876,7 +23876,7 @@ switch (step) {
23876
23876
  s.lambdaArgs = null;
23877
23877
  }
23878
23878
  r0 = s.arg0;
23879
- if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0);
23879
+ if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0, controller_Button__C83533_VT);
23880
23880
  s.tmp_0 = controller_Button_getOrCreateHandlerForEvent__P83548_mk(s);
23881
23881
  s.tmp_0.arg0 = s.arg0;
23882
23882
  s.tmp_0.arg1 = s.arg1;
@@ -23928,7 +23928,7 @@ switch (step) {
23928
23928
  s.lambdaArgs = null;
23929
23929
  }
23930
23930
  r0 = s.arg0;
23931
- if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0);
23931
+ if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0, controller_Button__C83533_VT);
23932
23932
  s.tmp_3 = controller_Button_handlerState__P83534_mk(s);
23933
23933
  s.tmp_3.arg0 = s.arg0;
23934
23934
  s.callLocIdx = 216; s.pc = 10; return s.tmp_3;
@@ -24116,7 +24116,7 @@ switch (step) {
24116
24116
  s.lambdaArgs = null;
24117
24117
  }
24118
24118
  r0 = s.arg0;
24119
- if (!checkSubtype(r0, controller_ButtonHandler__C83564_VT)) failedCast(r0);
24119
+ if (!checkSubtype(r0, controller_ButtonHandler__C83564_VT)) failedCast(r0, controller_ButtonHandler__C83564_VT);
24120
24120
  r0 = (s.arg0).fields["event"] = (s.arg1);
24121
24121
  r0 = (s.arg0).fields["callback"] = (s.arg2);
24122
24122
  r0 = undefined;
@@ -24160,7 +24160,7 @@ switch (step) {
24160
24160
  s.lambdaArgs = null;
24161
24161
  }
24162
24162
  r0 = s.arg0;
24163
- if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0);
24163
+ if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0, controller_Button__C83533_VT);
24164
24164
  s.tmp_0 = controller_Button_handlerState__P83534_mk(s);
24165
24165
  s.tmp_0.arg0 = s.arg0;
24166
24166
  s.callLocIdx = 212; s.pc = 14; return s.tmp_0;
@@ -24302,7 +24302,7 @@ switch (step) {
24302
24302
  s.lambdaArgs = null;
24303
24303
  }
24304
24304
  r0 = s.arg0;
24305
- if (!checkSubtype(r0, controller_ButtonEventHandlerState__C83566_VT)) failedCast(r0);
24305
+ if (!checkSubtype(r0, controller_ButtonEventHandlerState__C83566_VT)) failedCast(r0, controller_ButtonEventHandlerState__C83566_VT);
24306
24306
  r0 = (s.arg0).fields["id"] = (s.arg1);
24307
24307
  r0 = undefined;
24308
24308
  return leave(s, r0)
@@ -24341,7 +24341,7 @@ switch (step) {
24341
24341
  s.lambdaArgs = null;
24342
24342
  }
24343
24343
  r0 = s.arg0;
24344
- if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0);
24344
+ if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0, controller_Button__C83533_VT);
24345
24345
  s.state___91305 = (undefined);
24346
24346
  s.tmp_0 = game_currentScene__P83429_mk(s);
24347
24347
  s.callLocIdx = 202; s.pc = 6; return s.tmp_0;
@@ -24750,7 +24750,7 @@ switch (step) {
24750
24750
  s.lambdaArgs = null;
24751
24751
  }
24752
24752
  r0 = s.arg0;
24753
- if (!checkSubtype(r0, game_GameOverConfig__C84312_VT)) failedCast(r0);
24753
+ if (!checkSubtype(r0, game_GameOverConfig__C84312_VT)) failedCast(r0, game_GameOverConfig__C84312_VT);
24754
24754
  s.tmp_0 = game_GameOverConfig_init__P84313_mk(s);
24755
24755
  s.tmp_0.arg0 = s.arg0;
24756
24756
  s.callLocIdx = 972; s.pc = 1; return s.tmp_0;
@@ -24790,7 +24790,7 @@ switch (step) {
24790
24790
  s.lambdaArgs = null;
24791
24791
  }
24792
24792
  r0 = s.arg0;
24793
- if (!checkSubtype(r0, game_GameOverConfig__C84312_VT)) failedCast(r0);
24793
+ if (!checkSubtype(r0, game_GameOverConfig__C84312_VT)) failedCast(r0, game_GameOverConfig__C84312_VT);
24794
24794
  r0 = (s.arg0).fields["scoringType"] = (0);
24795
24795
  r0 = (s.arg0).fields["winEffect"] = (globals.confetti___84797);
24796
24796
  r0 = (s.arg0).fields["loseEffect"] = (globals.melt___84834);
@@ -24856,7 +24856,7 @@ switch (step) {
24856
24856
  s.lambdaArgs = null;
24857
24857
  }
24858
24858
  r0 = s.arg0;
24859
- if (!checkSubtype(r0, music_Melody__C82941_VT)) failedCast(r0);
24859
+ if (!checkSubtype(r0, music_Melody__C82941_VT)) failedCast(r0, music_Melody__C82941_VT);
24860
24860
  r0 = (s.arg0).fields["_text"] = (s.arg1);
24861
24861
  r0 = undefined;
24862
24862
  return leave(s, r0)
@@ -24935,7 +24935,7 @@ switch (step) {
24935
24935
  s.lambdaArgs = null;
24936
24936
  }
24937
24937
  r0 = s.arg0;
24938
- if (!checkSubtype(r0, music_MelodyPlayable__C83190_VT)) failedCast(r0);
24938
+ if (!checkSubtype(r0, music_MelodyPlayable__C83190_VT)) failedCast(r0, music_MelodyPlayable__C83190_VT);
24939
24939
  r0 = (s.arg0).fields["melody"] = (s.arg1);
24940
24940
  r0 = undefined;
24941
24941
  r0 = undefined;
@@ -24972,7 +24972,7 @@ switch (step) {
24972
24972
  s.lambdaArgs = null;
24973
24973
  }
24974
24974
  r0 = s.arg0;
24975
- if (!checkSubtype(r0, music_Playable__C83016_VT)) failedCast(r0);
24975
+ if (!checkSubtype(r0, music_Playable__C83016_VT)) failedCast(r0, music_Playable__C83016_VT);
24976
24976
  r0 = undefined;
24977
24977
  return leave(s, r0)
24978
24978
  default: oops()
@@ -25211,7 +25211,7 @@ switch (step) {
25211
25211
  s.lambdaArgs = null;
25212
25212
  }
25213
25213
  r0 = s.arg0;
25214
- if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0);
25214
+ if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0, particles_ParticleSource__C84646_VT);
25215
25215
  s.tmp_0 = sprites_BaseSprite_constructor__P83374_mk(s);
25216
25216
  s.tmp_0.arg0 = s.arg0;
25217
25217
  s.tmp_0.arg1 = 0;
@@ -25342,7 +25342,7 @@ switch (step) {
25342
25342
  s.lambdaArgs = null;
25343
25343
  }
25344
25344
  r0 = s.arg0;
25345
- if (!checkSubtype(r0, particles_SprayFactory__C84710_VT)) failedCast(r0);
25345
+ if (!checkSubtype(r0, particles_SprayFactory__C84710_VT)) failedCast(r0, particles_SprayFactory__C84710_VT);
25346
25346
  r0 = undefined;
25347
25347
  s.tmp_0 = particles_initTrig__P84698_mk(s);
25348
25348
  s.callLocIdx = 1249; s.pc = 1; return s.tmp_0;
@@ -25400,7 +25400,7 @@ switch (step) {
25400
25400
  s.lambdaArgs = null;
25401
25401
  }
25402
25402
  r0 = s.arg0;
25403
- if (!checkSubtype(r0, particles_SprayFactory__C84710_VT)) failedCast(r0);
25403
+ if (!checkSubtype(r0, particles_SprayFactory__C84710_VT)) failedCast(r0, particles_SprayFactory__C84710_VT);
25404
25404
  s.tmp_0 = r0 = s.arg0;
25405
25405
  s.tmp_4 = particles_toRadians__P84705_mk(s);
25406
25406
  s.tmp_5 = r0 = s.arg1;
@@ -25712,7 +25712,7 @@ switch (step) {
25712
25712
  s.lambdaArgs = null;
25713
25713
  }
25714
25714
  r0 = s.arg0;
25715
- if (!checkSubtype(r0, particles_ParticleFactory__C84706_VT)) failedCast(r0);
25715
+ if (!checkSubtype(r0, particles_ParticleFactory__C84706_VT)) failedCast(r0, particles_ParticleFactory__C84706_VT);
25716
25716
  r0 = undefined;
25717
25717
  return leave(s, r0)
25718
25718
  default: oops()
@@ -25747,7 +25747,7 @@ switch (step) {
25747
25747
  s.lambdaArgs = null;
25748
25748
  }
25749
25749
  r0 = s.arg0;
25750
- if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0);
25750
+ if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0, particles_ParticleSource__C84646_VT);
25751
25751
  r0 = pxsim_numops_toBoolDecr(s.arg1);
25752
25752
  if (!r0) { step = 1; continue; }
25753
25753
  r0 = (s.arg0).fields["_factory"] = (s.arg1);
@@ -25788,7 +25788,7 @@ switch (step) {
25788
25788
  s.lambdaArgs = null;
25789
25789
  }
25790
25790
  r0 = s.arg0;
25791
- if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0);
25791
+ if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0, particles_ParticleSource__C84646_VT);
25792
25792
  r0 = (s.arg0).fields["anchor"] = (s.arg1);
25793
25793
  r0 = undefined;
25794
25794
  return leave(s, r0)
@@ -25826,7 +25826,7 @@ switch (step) {
25826
25826
  s.lambdaArgs = null;
25827
25827
  }
25828
25828
  r0 = s.arg0;
25829
- if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0);
25829
+ if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0, particles_ParticleSource__C84646_VT);
25830
25830
  s.tmp_0 = r0 = s.arg0;
25831
25831
  r0 = (s.arg1 * 256);
25832
25832
  s.tmp_2 = r0;
@@ -25878,7 +25878,7 @@ switch (step) {
25878
25878
  s.lambdaArgs = null;
25879
25879
  }
25880
25880
  r0 = s.arg0;
25881
- if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0);
25881
+ if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0, particles_ParticleSource__C84646_VT);
25882
25882
  s.tmp_0 = r0 = s.arg0;
25883
25883
  r0 = (1000 / s.arg1);
25884
25884
  s.tmp_2 = r0;
@@ -25923,7 +25923,7 @@ switch (step) {
25923
25923
  s.lambdaArgs = null;
25924
25924
  }
25925
25925
  r0 = s.arg0;
25926
- if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0);
25926
+ if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0, particles_ParticleSource__C84646_VT);
25927
25927
  s.tmp_0 = particles_ParticleSource_enabled__P84655_mk(s);
25928
25928
  s.tmp_0.arg0 = s.arg0;
25929
25929
  s.tmp_0.arg1 = false;
@@ -26428,7 +26428,7 @@ switch (step) {
26428
26428
  s.lambdaArgs = null;
26429
26429
  }
26430
26430
  r0 = s.arg0;
26431
- if (!checkSubtype(r0, scene_Scene__C83421_VT)) failedCast(r0);
26431
+ if (!checkSubtype(r0, scene_Scene__C83421_VT)) failedCast(r0, scene_Scene__C83421_VT);
26432
26432
  r0 = s.arg0.fields["_millis"];
26433
26433
  return leave(s, r0)
26434
26434
  default: oops()
@@ -26550,7 +26550,7 @@ switch (step) {
26550
26550
  s.lambdaArgs = null;
26551
26551
  }
26552
26552
  r0 = s.arg0;
26553
- if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0);
26553
+ if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0, particles_ParticleSource__C84646_VT);
26554
26554
  s.tmp_0 = r0 = s.arg0;
26555
26555
  r0 = s.tmp_0.fields["timer"];
26556
26556
  s.tmp_2 = r0;
@@ -26672,7 +26672,7 @@ switch (step) {
26672
26672
  s.tmp_0.arg0 = r0;
26673
26673
  r0 = s.arg0.fields["anchor"];
26674
26674
  s.tmp_0.arg1 = r0;
26675
- if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C84706_VT)) failedCast(s.tmp_0.arg0);
26675
+ if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C84706_VT)) failedCast(s.tmp_0.arg0, particles_ParticleFactory__C84706_VT);
26676
26676
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.createParticle;
26677
26677
  s.pc = 32; return s.tmp_0;
26678
26678
  case 32:
@@ -26737,7 +26737,7 @@ switch (step) {
26737
26737
  s.tmp_0.arg0 = s.arg0;
26738
26738
  s.tmp_0.arg1 = s.current___91960;
26739
26739
  s.tmp_0.arg2 = s.fixedDt___91968;
26740
- if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C84646_VT)) failedCast(s.tmp_0.arg0);
26740
+ if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C84646_VT)) failedCast(s.tmp_0.arg0, particles_ParticleSource__C84646_VT);
26741
26741
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.updateParticle;
26742
26742
  s.pc = 33; return s.tmp_0;
26743
26743
  case 33:
@@ -26817,7 +26817,7 @@ switch (step) {
26817
26817
  s.lambdaArgs = null;
26818
26818
  }
26819
26819
  r0 = s.arg0;
26820
- if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0);
26820
+ if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0, particles_ParticleSource__C84646_VT);
26821
26821
  r0 = (s.arg2 >> 10);
26822
26822
  s.arg2 = (r0);
26823
26823
  s.tmp_0 = r0 = s.arg1;
@@ -26945,7 +26945,7 @@ switch (step) {
26945
26945
  s.lambdaArgs = null;
26946
26946
  }
26947
26947
  r0 = s.arg0;
26948
- if (!checkSubtype(r0, particles_ParticleFactory__C84706_VT)) failedCast(r0);
26948
+ if (!checkSubtype(r0, particles_ParticleFactory__C84706_VT)) failedCast(r0, particles_ParticleFactory__C84706_VT);
26949
26949
  r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C84644_VT);
26950
26950
  s.p___92055 = (r0);
26951
26951
  s.tmp_0 = r0 = s.p___92055;
@@ -27087,7 +27087,7 @@ switch (step) {
27087
27087
  s.lambdaArgs = null;
27088
27088
  }
27089
27089
  r0 = s.arg0;
27090
- if (!checkSubtype(r0, particles_SprayFactory__C84710_VT)) failedCast(r0);
27090
+ if (!checkSubtype(r0, particles_SprayFactory__C84710_VT)) failedCast(r0, particles_SprayFactory__C84710_VT);
27091
27091
  s.tmp_0 = r0 = s.arg0;
27092
27092
  r0 = (s.arg1 * 256);
27093
27093
  s.tmp_2 = r0;
@@ -27135,7 +27135,7 @@ switch (step) {
27135
27135
  s.lambdaArgs = null;
27136
27136
  }
27137
27137
  r0 = s.arg0;
27138
- if (!checkSubtype(r0, particles_ConfettiFactory__C84733_VT)) failedCast(r0);
27138
+ if (!checkSubtype(r0, particles_ConfettiFactory__C84733_VT)) failedCast(r0, particles_ConfettiFactory__C84733_VT);
27139
27139
  r0 = pxsim_Array__mk();
27140
27140
  s.tmp_0 = r0;
27141
27141
  r0 = pxsim_Array__push(s.tmp_0, undefined);
@@ -27217,7 +27217,7 @@ switch (step) {
27217
27217
  s.lambdaArgs = null;
27218
27218
  }
27219
27219
  r0 = s.arg0;
27220
- if (!checkSubtype(r0, particles_ShapeFactory__C84727_VT)) failedCast(r0);
27220
+ if (!checkSubtype(r0, particles_ShapeFactory__C84727_VT)) failedCast(r0, particles_ShapeFactory__C84727_VT);
27221
27221
  r0 = pxsim_numops_toBoolDecr(s.arg1);
27222
27222
  if (!r0) { step = 1; continue; }
27223
27223
  r0 = s.arg0.fields["sources"];
@@ -27263,7 +27263,7 @@ switch (step) {
27263
27263
  s.lambdaArgs = null;
27264
27264
  }
27265
27265
  r0 = s.arg0;
27266
- if (!checkSubtype(r0, particles_ShapeFactory__C84727_VT)) failedCast(r0);
27266
+ if (!checkSubtype(r0, particles_ShapeFactory__C84727_VT)) failedCast(r0, particles_ShapeFactory__C84727_VT);
27267
27267
  s.tmp_0 = particles_AreaFactory_constructor__P84721_mk(s);
27268
27268
  s.tmp_0.arg0 = s.arg0;
27269
27269
  s.tmp_0.arg1 = s.arg1;
@@ -27342,7 +27342,7 @@ switch (step) {
27342
27342
  s.lambdaArgs = null;
27343
27343
  }
27344
27344
  r0 = s.arg0;
27345
- if (!checkSubtype(r0, particles_AreaFactory__C84717_VT)) failedCast(r0);
27345
+ if (!checkSubtype(r0, particles_AreaFactory__C84717_VT)) failedCast(r0, particles_AreaFactory__C84717_VT);
27346
27346
  s.tmp_0 = particles_SprayFactory_constructor__P84716_mk(s);
27347
27347
  s.tmp_0.arg0 = s.arg0;
27348
27348
  s.tmp_0.arg1 = 40;
@@ -27425,7 +27425,7 @@ switch (step) {
27425
27425
  s.lambdaArgs = null;
27426
27426
  }
27427
27427
  r0 = s.arg0;
27428
- if (!checkSubtype(r0, effects_ScreenEffect__C84783_VT)) failedCast(r0);
27428
+ if (!checkSubtype(r0, effects_ScreenEffect__C84783_VT)) failedCast(r0, effects_ScreenEffect__C84783_VT);
27429
27429
  s.tmp_0 = effects_ParticleEffect_constructor__P84776_mk(s);
27430
27430
  s.tmp_0.arg0 = s.arg0;
27431
27431
  s.tmp_0.arg1 = s.arg1;
@@ -27476,7 +27476,7 @@ switch (step) {
27476
27476
  s.lambdaArgs = null;
27477
27477
  }
27478
27478
  r0 = s.arg0;
27479
- if (!checkSubtype(r0, effects_ParticleEffect__C84773_VT)) failedCast(r0);
27479
+ if (!checkSubtype(r0, effects_ParticleEffect__C84773_VT)) failedCast(r0, effects_ParticleEffect__C84773_VT);
27480
27480
  r0 = (s.arg0).fields["sourceFactory"] = (s.arg3);
27481
27481
  r0 = (s.arg0).fields["defaultRate"] = (s.arg1);
27482
27482
  r0 = (s.arg0).fields["defaultLifespan"] = (s.arg2);
@@ -27591,7 +27591,7 @@ switch (step) {
27591
27591
  s.lambdaArgs = null;
27592
27592
  }
27593
27593
  r0 = s.arg0;
27594
- if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0);
27594
+ if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0, controller_Button__C83533_VT);
27595
27595
  r0 = (s.arg0).fields["id"] = (s.arg1);
27596
27596
  r0 = (s.arg0).fields["_pressed"] = (false);
27597
27597
  r0 = (s.arg0).fields["repeatDelay"] = (undefined);
@@ -27763,7 +27763,7 @@ switch (step) {
27763
27763
  s.lambdaArgs = null;
27764
27764
  }
27765
27765
  r0 = s.arg0;
27766
- if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0);
27766
+ if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0, controller_Button__C83533_VT);
27767
27767
  r0 = s.arg0.fields["_pressed"];
27768
27768
  s.tmp_1 = r0;
27769
27769
  r0 = (s.tmp_1 != s.arg1);
@@ -27846,7 +27846,7 @@ switch (step) {
27846
27846
  s.lambdaArgs = null;
27847
27847
  }
27848
27848
  r0 = s.arg0;
27849
- if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0);
27849
+ if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0, controller_Button__C83533_VT);
27850
27850
  r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___83557);
27851
27851
  if (!r0) { step = 1; continue; }
27852
27852
  r0 = s.arg0.fields["id"];
@@ -27892,7 +27892,7 @@ switch (step) {
27892
27892
  s.lambdaArgs = null;
27893
27893
  }
27894
27894
  r0 = s.arg0;
27895
- if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0);
27895
+ if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0, controller_Button__C83533_VT);
27896
27896
  r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___83557);
27897
27897
  if (!r0) { step = 1; continue; }
27898
27898
  r0 = s.arg0.fields["id"];
@@ -27991,7 +27991,7 @@ switch (step) {
27991
27991
  s.lambdaArgs = null;
27992
27992
  }
27993
27993
  r0 = s.arg0;
27994
- if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0);
27994
+ if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0, controller_Controller__C83499_VT);
27995
27995
  r0 = s.arg0.fields["_id"];
27996
27996
  return leaveAccessor(s, r0)
27997
27997
  default: oops()
@@ -28026,7 +28026,7 @@ switch (step) {
28026
28026
  s.lambdaArgs = null;
28027
28027
  }
28028
28028
  r0 = s.arg0;
28029
- if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0);
28029
+ if (!checkSubtype(r0, controller_Controller__C83499_VT)) failedCast(r0, controller_Controller__C83499_VT);
28030
28030
  r0 = s.arg0.fields["_connected"];
28031
28031
  return leaveAccessor(s, r0)
28032
28032
  default: oops()
@@ -28539,7 +28539,7 @@ switch (step) {
28539
28539
  s.lambdaArgs = null;
28540
28540
  }
28541
28541
  r0 = s.arg0;
28542
- if (!checkSubtype(r0, particles_ShapeFactory__C84727_VT)) failedCast(r0);
28542
+ if (!checkSubtype(r0, particles_ShapeFactory__C84727_VT)) failedCast(r0, particles_ShapeFactory__C84727_VT);
28543
28543
  s.tmp_0 = particles_AreaFactory_createParticle__P84719_mk(s);
28544
28544
  s.tmp_0.arg0 = s.arg0;
28545
28545
  s.tmp_0.arg1 = s.arg1;
@@ -28598,7 +28598,7 @@ switch (step) {
28598
28598
  s.lambdaArgs = null;
28599
28599
  }
28600
28600
  r0 = s.arg0;
28601
- if (!checkSubtype(r0, particles_AreaFactory__C84717_VT)) failedCast(r0);
28601
+ if (!checkSubtype(r0, particles_AreaFactory__C84717_VT)) failedCast(r0, particles_AreaFactory__C84717_VT);
28602
28602
  s.tmp_0 = particles_SprayFactory_createParticle__P84712_mk(s);
28603
28603
  s.tmp_0.arg0 = s.arg0;
28604
28604
  s.tmp_0.arg1 = s.arg1;
@@ -28785,7 +28785,7 @@ switch (step) {
28785
28785
  s.lambdaArgs = null;
28786
28786
  }
28787
28787
  r0 = s.arg0;
28788
- if (!checkSubtype(r0, particles_SprayFactory__C84710_VT)) failedCast(r0);
28788
+ if (!checkSubtype(r0, particles_SprayFactory__C84710_VT)) failedCast(r0, particles_SprayFactory__C84710_VT);
28789
28789
  s.tmp_0 = particles_ParticleFactory_createParticle__P84707_mk(s);
28790
28790
  s.tmp_0.arg0 = s.arg0;
28791
28791
  s.tmp_0.arg1 = s.arg1;
@@ -28869,7 +28869,7 @@ switch (step) {
28869
28869
  s.lambdaArgs = null;
28870
28870
  }
28871
28871
  r0 = s.arg0;
28872
- if (!checkSubtype(r0, music_Melody__C82941_VT)) failedCast(r0);
28872
+ if (!checkSubtype(r0, music_Melody__C82941_VT)) failedCast(r0, music_Melody__C82941_VT);
28873
28873
  r0 = s.arg0.fields["_text"];
28874
28874
  return leave(s, r0)
28875
28875
  default: oops()
@@ -28906,7 +28906,7 @@ switch (step) {
28906
28906
  s.lambdaArgs = null;
28907
28907
  }
28908
28908
  r0 = s.arg0;
28909
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C83628_VT)) failedCast(r0);
28909
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C83628_VT)) failedCast(r0, sprites_RotatedBoundingBox__C83628_VT);
28910
28910
  r0 = (s.arg0).fields["anchor"] = (s.arg1);
28911
28911
  s.tmp_0 = r0 = s.arg0;
28912
28912
  r0 = pxsim_Array__mk();
@@ -28958,7 +28958,7 @@ switch (step) {
28958
28958
  s.lambdaArgs = null;
28959
28959
  }
28960
28960
  r0 = s.arg0;
28961
- if (!checkSubtype(r0, sprites_SpriteSet__C83769_VT)) failedCast(r0);
28961
+ if (!checkSubtype(r0, sprites_SpriteSet__C83769_VT)) failedCast(r0, sprites_SpriteSet__C83769_VT);
28962
28962
  r0 = pxsim_String_.mkEmpty();
28963
28963
  s.tmp_1 = r0;
28964
28964
  r0 = s.arg0.fields["_sprites"];
@@ -29014,7 +29014,7 @@ switch (step) {
29014
29014
  s.lambdaArgs = null;
29015
29015
  }
29016
29016
  r0 = s.arg0;
29017
- if (!checkSubtype(r0, sprites_SpriteSet__C83769_VT)) failedCast(r0);
29017
+ if (!checkSubtype(r0, sprites_SpriteSet__C83769_VT)) failedCast(r0, sprites_SpriteSet__C83769_VT);
29018
29018
  r0 = s.arg0.fields["_sprites"];
29019
29019
  s.tmp_0 = r0;
29020
29020
  r0 = pxsim_Array__length(s.tmp_0);
@@ -29056,7 +29056,7 @@ switch (step) {
29056
29056
  s.lambdaArgs = null;
29057
29057
  }
29058
29058
  r0 = s.arg0;
29059
- if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0);
29059
+ if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0, particles_ParticleSource__C84646_VT);
29060
29060
  r0 = s.arg0.fields["head"];
29061
29061
  s.current___92558 = (r0);
29062
29062
  r0 = s.arg0.fields["pFlags"];
@@ -29163,7 +29163,7 @@ switch (step) {
29163
29163
  s.lambdaArgs = null;
29164
29164
  }
29165
29165
  r0 = s.arg0;
29166
- if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0);
29166
+ if (!checkSubtype(r0, particles_ParticleSource__C84646_VT)) failedCast(r0, particles_ParticleSource__C84646_VT);
29167
29167
  s.tmp_0 = particles_ParticleFactory__C84706_v1_4_mk(s);
29168
29168
  r0 = s.arg0.fields["_factory"];
29169
29169
  s.tmp_0.arg0 = r0;
@@ -29176,7 +29176,7 @@ switch (step) {
29176
29176
  s.tmp_2 = r0;
29177
29177
  r0 = (s.tmp_2 - s.arg3);
29178
29178
  s.tmp_0.arg3 = r0;
29179
- if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C84706_VT)) failedCast(s.tmp_0.arg0);
29179
+ if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C84706_VT)) failedCast(s.tmp_0.arg0, particles_ParticleFactory__C84706_VT);
29180
29180
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawParticle;
29181
29181
  s.pc = 1; return s.tmp_0;
29182
29182
  case 1:
@@ -29223,7 +29223,7 @@ switch (step) {
29223
29223
  s.lambdaArgs = null;
29224
29224
  }
29225
29225
  r0 = s.arg0;
29226
- if (!checkSubtype(r0, particles_ParticleFactory__C84706_VT)) failedCast(r0);
29226
+ if (!checkSubtype(r0, particles_ParticleFactory__C84706_VT)) failedCast(r0, particles_ParticleFactory__C84706_VT);
29227
29227
  s.tmp_0 = r0 = globals.screen___83295;
29228
29228
  r0 = (s.arg2 + 128);
29229
29229
  s.tmp_2 = r0;
@@ -29275,7 +29275,7 @@ switch (step) {
29275
29275
  s.lambdaArgs = null;
29276
29276
  }
29277
29277
  r0 = s.arg0;
29278
- if (!checkSubtype(r0, sprites_SpriteMap__C83752_VT)) failedCast(r0);
29278
+ if (!checkSubtype(r0, sprites_SpriteMap__C83752_VT)) failedCast(r0, sprites_SpriteMap__C83752_VT);
29279
29279
  r0 = pxsim_String_.mkEmpty();
29280
29280
  s.tmp_3 = r0;
29281
29281
  r0 = s.arg0.fields["buckets"];
@@ -29407,7 +29407,7 @@ switch (step) {
29407
29407
  s.lambdaArgs = null;
29408
29408
  }
29409
29409
  r0 = s.arg0;
29410
- if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0);
29410
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0, ArcadePhysicsEngine__C83856_VT);
29411
29411
  r0 = s.arg1.fields["_x"];
29412
29412
  s.tmp_0 = r0;
29413
29413
  r0 = (s.arg1).fields["_lastX"] = (s.tmp_0);
@@ -29625,7 +29625,7 @@ switch (step) {
29625
29625
  s.lambdaArgs = null;
29626
29626
  }
29627
29627
  r0 = s.arg0;
29628
- if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0);
29628
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0, ArcadePhysicsEngine__C83856_VT);
29629
29629
  r0 = s.arg1.fields["_image"];
29630
29630
  s.tmp_3 = r0;
29631
29631
  r0 = pxsim_ImageMethods.isStatic(s.tmp_3);
@@ -29638,7 +29638,7 @@ switch (step) {
29638
29638
  if (!r0) { step = 1; continue; }
29639
29639
  s.tmp_4 = Sprite__C83659_v4_1_mk(s);
29640
29640
  s.tmp_4.arg0 = s.arg1;
29641
- if (!checkSubtype(s.tmp_4.arg0, Sprite__C83659_VT)) failedCast(s.tmp_4.arg0);
29641
+ if (!checkSubtype(s.tmp_4.arg0, Sprite__C83659_VT)) failedCast(s.tmp_4.arg0, Sprite__C83659_VT);
29642
29642
  s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox;
29643
29643
  s.pc = 20; return s.tmp_4;
29644
29644
  case 20:
@@ -29924,7 +29924,7 @@ switch (step) {
29924
29924
  s.lambdaArgs = null;
29925
29925
  }
29926
29926
  r0 = s.arg0;
29927
- if (!checkSubtype(r0, game_Hitbox__C83571_VT)) failedCast(r0);
29927
+ if (!checkSubtype(r0, game_Hitbox__C83571_VT)) failedCast(r0, game_Hitbox__C83571_VT);
29928
29928
  r0 = s.arg0.fields["height"];
29929
29929
  s.tmp_1 = r0;
29930
29930
  s.tmp_3 = game_Hitbox_top__P83573_mk(s);
@@ -29973,7 +29973,7 @@ switch (step) {
29973
29973
  s.lambdaArgs = null;
29974
29974
  }
29975
29975
  r0 = s.arg0;
29976
- if (!checkSubtype(r0, game_Hitbox__C83571_VT)) failedCast(r0);
29976
+ if (!checkSubtype(r0, game_Hitbox__C83571_VT)) failedCast(r0, game_Hitbox__C83571_VT);
29977
29977
  r0 = s.arg0.fields["oy"];
29978
29978
  s.tmp_0 = r0;
29979
29979
  r0 = s.arg0.fields["parent"];
@@ -30015,7 +30015,7 @@ switch (step) {
30015
30015
  s.lambdaArgs = null;
30016
30016
  }
30017
30017
  r0 = s.arg0;
30018
- if (!checkSubtype(r0, game_Hitbox__C83571_VT)) failedCast(r0);
30018
+ if (!checkSubtype(r0, game_Hitbox__C83571_VT)) failedCast(r0, game_Hitbox__C83571_VT);
30019
30019
  r0 = s.arg0.fields["width"];
30020
30020
  s.tmp_1 = r0;
30021
30021
  s.tmp_3 = game_Hitbox_left__P83572_mk(s);
@@ -30064,7 +30064,7 @@ switch (step) {
30064
30064
  s.lambdaArgs = null;
30065
30065
  }
30066
30066
  r0 = s.arg0;
30067
- if (!checkSubtype(r0, game_Hitbox__C83571_VT)) failedCast(r0);
30067
+ if (!checkSubtype(r0, game_Hitbox__C83571_VT)) failedCast(r0, game_Hitbox__C83571_VT);
30068
30068
  r0 = s.arg0.fields["ox"];
30069
30069
  s.tmp_0 = r0;
30070
30070
  r0 = s.arg0.fields["parent"];
@@ -30106,7 +30106,7 @@ switch (step) {
30106
30106
  s.lambdaArgs = null;
30107
30107
  }
30108
30108
  r0 = s.arg0;
30109
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
30109
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
30110
30110
  r0 = s.arg0.fields["_image"];
30111
30111
  s.tmp_0 = r0;
30112
30112
  r0 = pxsim_ImageMethods.isStatic(s.tmp_0);
@@ -30151,7 +30151,7 @@ switch (step) {
30151
30151
  s.lambdaArgs = null;
30152
30152
  }
30153
30153
  r0 = s.arg0;
30154
- if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0);
30154
+ if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0, tiles_TileMap__C84091_VT);
30155
30155
  r0 = s.arg1.fields["_hitbox"];
30156
30156
  s.hbox___92923 = (r0);
30157
30157
  s.tmp_1 = game_Hitbox_left__P83572_mk(s);
@@ -30284,7 +30284,7 @@ switch (step) {
30284
30284
  s.lambdaArgs = null;
30285
30285
  }
30286
30286
  r0 = s.arg0;
30287
- if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0);
30287
+ if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0, tiles_TileMap__C84091_VT);
30288
30288
  r0 = s.arg0.fields["_map"];
30289
30289
  s.tmp_6 = r0;
30290
30290
  r0 = pxsim_numops_toBoolDecr(s.tmp_6);
@@ -30376,7 +30376,7 @@ switch (step) {
30376
30376
  s.lambdaArgs = null;
30377
30377
  }
30378
30378
  r0 = s.arg0;
30379
- if (!checkSubtype(r0, tiles_TileMapData__C84076_VT)) failedCast(r0);
30379
+ if (!checkSubtype(r0, tiles_TileMapData__C84076_VT)) failedCast(r0, tiles_TileMapData__C84076_VT);
30380
30380
  r0 = s.arg0.fields["layers"];
30381
30381
  s.tmp_1 = r0;
30382
30382
  r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.arg1, s.arg2);
@@ -30420,7 +30420,7 @@ switch (step) {
30420
30420
  s.lambdaArgs = null;
30421
30421
  }
30422
30422
  r0 = s.arg0;
30423
- if (!checkSubtype(r0, tiles_TileMapData__C84076_VT)) failedCast(r0);
30423
+ if (!checkSubtype(r0, tiles_TileMapData__C84076_VT)) failedCast(r0, tiles_TileMapData__C84076_VT);
30424
30424
  r0 = (s.arg1 < 0);
30425
30425
  s.tmp_0 = r0;
30426
30426
  r0 = pxsim_numops_toBool(s.tmp_0);
@@ -30532,7 +30532,7 @@ switch (step) {
30532
30532
  s.lambdaArgs = null;
30533
30533
  }
30534
30534
  r0 = s.arg0;
30535
- if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0);
30535
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0, ArcadePhysicsEngine__C83856_VT);
30536
30536
  r0 = s.arg1.fields["sprite"];
30537
30537
  s.s___93017 = (r0);
30538
30538
  r0 = s.s___93017.fields["flags"];
@@ -30576,7 +30576,7 @@ switch (step) {
30576
30576
  if (!r0) { step = 5; continue; }
30577
30577
  s.tmp_4 = Sprite__C83659_v4_1_mk(s);
30578
30578
  s.tmp_4.arg0 = s.s___93017;
30579
- if (!checkSubtype(s.tmp_4.arg0, Sprite__C83659_VT)) failedCast(s.tmp_4.arg0);
30579
+ if (!checkSubtype(s.tmp_4.arg0, Sprite__C83659_VT)) failedCast(s.tmp_4.arg0, Sprite__C83659_VT);
30580
30580
  s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox;
30581
30581
  s.pc = 98; return s.tmp_4;
30582
30582
  case 98:
@@ -31660,7 +31660,7 @@ switch (step) {
31660
31660
  s.lambdaArgs = null;
31661
31661
  }
31662
31662
  r0 = s.arg0;
31663
- if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0);
31663
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0, ArcadePhysicsEngine__C83856_VT);
31664
31664
  r0 = pxsim_Array__mk();
31665
31665
  s.alreadyHandled___93549 = (r0);
31666
31666
  s.tile___93552 = (undefined);
@@ -32019,7 +32019,7 @@ switch (step) {
32019
32019
  s.lambdaArgs = null;
32020
32020
  }
32021
32021
  r0 = s.arg0;
32022
- if (!checkSubtype(r0, tiles_Location__C84048_VT)) failedCast(r0);
32022
+ if (!checkSubtype(r0, tiles_Location__C84048_VT)) failedCast(r0, tiles_Location__C84048_VT);
32023
32023
  s.tmp_0 = tiles_TileMap_getTileIndex__P84104_mk(s);
32024
32024
  s.tmp_1 = tiles_Location_tileMap__P84049_mk(s);
32025
32025
  s.tmp_1.arg0 = s.arg0;
@@ -32069,7 +32069,7 @@ switch (step) {
32069
32069
  s.lambdaArgs = null;
32070
32070
  }
32071
32071
  r0 = s.arg0;
32072
- if (!checkSubtype(r0, tiles_Location__C84048_VT)) failedCast(r0);
32072
+ if (!checkSubtype(r0, tiles_Location__C84048_VT)) failedCast(r0, tiles_Location__C84048_VT);
32073
32073
  s.tmp_0 = game_currentScene__P83429_mk(s);
32074
32074
  s.callLocIdx = 829; s.pc = 1; return s.tmp_0;
32075
32075
  case 1:
@@ -32111,7 +32111,7 @@ switch (step) {
32111
32111
  s.lambdaArgs = null;
32112
32112
  }
32113
32113
  r0 = s.arg0;
32114
- if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0);
32114
+ if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0, tiles_TileMap__C84091_VT);
32115
32115
  s.tmp_0 = tiles_TileMapData_getTile__P84081_mk(s);
32116
32116
  r0 = s.arg0.fields["_map"];
32117
32117
  s.tmp_0.arg0 = r0;
@@ -32157,7 +32157,7 @@ switch (step) {
32157
32157
  s.lambdaArgs = null;
32158
32158
  }
32159
32159
  r0 = s.arg0;
32160
- if (!checkSubtype(r0, tiles_TileMapData__C84076_VT)) failedCast(r0);
32160
+ if (!checkSubtype(r0, tiles_TileMapData__C84076_VT)) failedCast(r0, tiles_TileMapData__C84076_VT);
32161
32161
  s.tmp_1 = tiles_TileMapData_isOutsideMap__P84087_mk(s);
32162
32162
  s.tmp_1.arg0 = s.arg0;
32163
32163
  s.tmp_1.arg1 = s.arg1;
@@ -32232,7 +32232,7 @@ switch (step) {
32232
32232
  s.lambdaArgs = null;
32233
32233
  }
32234
32234
  r0 = s.arg0;
32235
- if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0);
32235
+ if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0, tiles_TileMap__C84091_VT);
32236
32236
  s.tmp_0 = tiles_TileMapData_getTileImage__P84084_mk(s);
32237
32237
  r0 = s.arg0.fields["_map"];
32238
32238
  s.tmp_0.arg0 = r0;
@@ -32278,7 +32278,7 @@ switch (step) {
32278
32278
  s.lambdaArgs = null;
32279
32279
  }
32280
32280
  r0 = s.arg0;
32281
- if (!checkSubtype(r0, tiles_TileMapData__C84076_VT)) failedCast(r0);
32281
+ if (!checkSubtype(r0, tiles_TileMapData__C84076_VT)) failedCast(r0, tiles_TileMapData__C84076_VT);
32282
32282
  r0 = s.arg0.fields["_scale"];
32283
32283
  s.tmp_0 = r0;
32284
32284
  r0 = (1 << s.tmp_0);
@@ -32371,7 +32371,7 @@ switch (step) {
32371
32371
  s.lambdaArgs = null;
32372
32372
  }
32373
32373
  r0 = s.arg0;
32374
- if (!checkSubtype(r0, tiles_TileMapData__C84076_VT)) failedCast(r0);
32374
+ if (!checkSubtype(r0, tiles_TileMapData__C84076_VT)) failedCast(r0, tiles_TileMapData__C84076_VT);
32375
32375
  r0 = s.arg0.fields["_scale"];
32376
32376
  return leaveAccessor(s, r0)
32377
32377
  default: oops()
@@ -32406,7 +32406,7 @@ switch (step) {
32406
32406
  s.lambdaArgs = null;
32407
32407
  }
32408
32408
  r0 = s.arg0;
32409
- if (!checkSubtype(r0, tiles_Location__C84048_VT)) failedCast(r0);
32409
+ if (!checkSubtype(r0, tiles_Location__C84048_VT)) failedCast(r0, tiles_Location__C84048_VT);
32410
32410
  r0 = s.arg0.fields["_row"];
32411
32411
  return leaveAccessor(s, r0)
32412
32412
  default: oops()
@@ -32441,7 +32441,7 @@ switch (step) {
32441
32441
  s.lambdaArgs = null;
32442
32442
  }
32443
32443
  r0 = s.arg0;
32444
- if (!checkSubtype(r0, tiles_Location__C84048_VT)) failedCast(r0);
32444
+ if (!checkSubtype(r0, tiles_Location__C84048_VT)) failedCast(r0, tiles_Location__C84048_VT);
32445
32445
  r0 = s.arg0.fields["_col"];
32446
32446
  return leaveAccessor(s, r0)
32447
32447
  default: oops()
@@ -32478,7 +32478,7 @@ switch (step) {
32478
32478
  s.lambdaArgs = null;
32479
32479
  }
32480
32480
  r0 = s.arg0;
32481
- if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0);
32481
+ if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0, tiles_TileMap__C84091_VT);
32482
32482
  r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C84048_VT);
32483
32483
  s.tmp_0 = r0;
32484
32484
  s.tmp_1 = tiles_Location_constructor__P84065_mk(s);
@@ -32529,7 +32529,7 @@ switch (step) {
32529
32529
  s.lambdaArgs = null;
32530
32530
  }
32531
32531
  r0 = s.arg0;
32532
- if (!checkSubtype(r0, tiles_Location__C84048_VT)) failedCast(r0);
32532
+ if (!checkSubtype(r0, tiles_Location__C84048_VT)) failedCast(r0, tiles_Location__C84048_VT);
32533
32533
  r0 = (s.arg0).fields["_col"] = (s.arg1);
32534
32534
  r0 = (s.arg0).fields["_row"] = (s.arg2);
32535
32535
  r0 = undefined;
@@ -32626,7 +32626,7 @@ switch (step) {
32626
32626
  s.lambdaArgs = null;
32627
32627
  }
32628
32628
  r0 = s.arg0;
32629
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
32629
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
32630
32630
  r0 = s.arg0.fields["_obstacles"];
32631
32631
  s.tmp_0 = r0;
32632
32632
  r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.arg2);
@@ -33057,7 +33057,7 @@ switch (step) {
33057
33057
  s.lambdaArgs = null;
33058
33058
  }
33059
33059
  r0 = s.arg0;
33060
- if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0);
33060
+ if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0, tiles_TileMap__C84091_VT);
33061
33061
  s.tmp_1 = tiles_TileMapData_isOutsideMap__P84087_mk(s);
33062
33062
  r0 = s.arg0.fields["_map"];
33063
33063
  s.tmp_1.arg0 = r0;
@@ -33156,7 +33156,7 @@ switch (step) {
33156
33156
  s.lambdaArgs = null;
33157
33157
  }
33158
33158
  r0 = s.arg0;
33159
- if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0);
33159
+ if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0, tiles_TileMap__C84091_VT);
33160
33160
  r0 = s.arg0.fields["_layer"];
33161
33161
  return leaveAccessor(s, r0)
33162
33162
  default: oops()
@@ -33196,7 +33196,7 @@ switch (step) {
33196
33196
  s.lambdaArgs = null;
33197
33197
  }
33198
33198
  r0 = s.arg0;
33199
- if (!checkSubtype(r0, sprites_StaticObstacle__C83797_VT)) failedCast(r0);
33199
+ if (!checkSubtype(r0, sprites_StaticObstacle__C83797_VT)) failedCast(r0, sprites_StaticObstacle__C83797_VT);
33200
33200
  r0 = (s.arg0).fields["image"] = (s.arg1);
33201
33201
  r0 = (s.arg0).fields["layer"] = (s.arg4);
33202
33202
  r0 = (s.arg0).fields["top"] = (s.arg2);
@@ -33247,7 +33247,7 @@ switch (step) {
33247
33247
  s.lambdaArgs = null;
33248
33248
  }
33249
33249
  r0 = s.arg0;
33250
- if (!checkSubtype(r0, MovingSprite__C83854_VT)) failedCast(r0);
33250
+ if (!checkSubtype(r0, MovingSprite__C83854_VT)) failedCast(r0, MovingSprite__C83854_VT);
33251
33251
  r0 = (s.arg0).fields["sprite"] = (s.arg1);
33252
33252
  r0 = (s.arg0).fields["cachedVx"] = (s.arg2);
33253
33253
  r0 = (s.arg0).fields["cachedVy"] = (s.arg3);
@@ -33315,7 +33315,7 @@ switch (step) {
33315
33315
  s.lambdaArgs = null;
33316
33316
  }
33317
33317
  r0 = s.arg0;
33318
- if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0);
33318
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0, ArcadePhysicsEngine__C83856_VT);
33319
33319
  s.tmp_0 = Math_min__P82564_mk(s);
33320
33320
  s.tmp_0.arg0 = 100;
33321
33321
  r0 = (s.arg1 * 1000);
@@ -34022,7 +34022,7 @@ switch (step) {
34022
34022
  s.lambdaArgs = null;
34023
34023
  }
34024
34024
  r0 = s.arg0;
34025
- if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0);
34025
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0, ArcadePhysicsEngine__C83856_VT);
34026
34026
  r0 = pxsim_Array__length(s.arg2);
34027
34027
  s.tmp_2 = r0;
34028
34028
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -34474,7 +34474,7 @@ switch (step) {
34474
34474
  s.lambdaArgs = null;
34475
34475
  }
34476
34476
  r0 = s.arg0;
34477
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
34477
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
34478
34478
  r0 = (s.arg1 == s.arg0);
34479
34479
  s.tmp_0 = r0;
34480
34480
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -35270,7 +35270,7 @@ switch (step) {
35270
35270
  s.lambdaArgs = null;
35271
35271
  }
35272
35272
  r0 = s.arg0;
35273
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
35273
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
35274
35274
  r0 = s.arg0.fields["_sx"];
35275
35275
  s.tmp_1 = r0;
35276
35276
  r0 = (s.tmp_1 !== 256);
@@ -35391,7 +35391,7 @@ switch (step) {
35391
35391
  s.lambdaArgs = null;
35392
35392
  }
35393
35393
  r0 = s.arg0;
35394
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
35394
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
35395
35395
  s.tmp_1 = Sprite_top__P83705_mk(s);
35396
35396
  s.tmp_1.arg0 = s.arg0;
35397
35397
  s.callLocIdx = 377; s.pc = 1; return s.tmp_1;
@@ -35442,7 +35442,7 @@ switch (step) {
35442
35442
  s.lambdaArgs = null;
35443
35443
  }
35444
35444
  r0 = s.arg0;
35445
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
35445
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
35446
35446
  s.tmp_1 = Sprite_left__P83701_mk(s);
35447
35447
  s.tmp_1.arg0 = s.arg0;
35448
35448
  s.callLocIdx = 369; s.pc = 1; return s.tmp_1;
@@ -35497,7 +35497,7 @@ switch (step) {
35497
35497
  s.lambdaArgs = null;
35498
35498
  }
35499
35499
  r0 = s.arg0;
35500
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C83628_VT)) failedCast(r0);
35500
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C83628_VT)) failedCast(r0, sprites_RotatedBoundingBox__C83628_VT);
35501
35501
  r0 = pxsim_numops_toBoolDecr(globals.aabbPoints___83627);
35502
35502
  s.tmp_1 = r0;
35503
35503
  r0 = pxsim_Boolean__bang(s.tmp_1);
@@ -35984,7 +35984,7 @@ switch (step) {
35984
35984
  s.lambdaArgs = null;
35985
35985
  }
35986
35986
  r0 = s.arg0;
35987
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C83628_VT)) failedCast(r0);
35987
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C83628_VT)) failedCast(r0, sprites_RotatedBoundingBox__C83628_VT);
35988
35988
  s.tmp_0 = sprites_doRectanglesIntersect__P83647_mk(s);
35989
35989
  r0 = s.arg0.fields["points"];
35990
35990
  s.tmp_0.arg0 = r0;
@@ -36060,7 +36060,7 @@ switch (step) {
36060
36060
  s.lambdaArgs = null;
36061
36061
  }
36062
36062
  r0 = s.arg0;
36063
- if (!checkSubtype(r0, game_Hitbox__C83571_VT)) failedCast(r0);
36063
+ if (!checkSubtype(r0, game_Hitbox__C83571_VT)) failedCast(r0, game_Hitbox__C83571_VT);
36064
36064
  s.tmp_0 = game_Hitbox_updateIfInvalid__P83578_mk(s);
36065
36065
  s.tmp_0.arg0 = s.arg0;
36066
36066
  s.callLocIdx = 249; s.pc = 10; return s.tmp_0;
@@ -36214,7 +36214,7 @@ switch (step) {
36214
36214
  s.lambdaArgs = null;
36215
36215
  }
36216
36216
  r0 = s.arg0;
36217
- if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0);
36217
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0, ArcadePhysicsEngine__C83856_VT);
36218
36218
  r0 = s.arg1.fields["sprite"];
36219
36219
  s.s___94993 = (r0);
36220
36220
  r0 = s.s___94993.fields["_image"];
@@ -36229,7 +36229,7 @@ switch (step) {
36229
36229
  if (!r0) { step = 1; continue; }
36230
36230
  s.tmp_4 = Sprite__C83659_v4_1_mk(s);
36231
36231
  s.tmp_4.arg0 = s.s___94993;
36232
- if (!checkSubtype(s.tmp_4.arg0, Sprite__C83659_VT)) failedCast(s.tmp_4.arg0);
36232
+ if (!checkSubtype(s.tmp_4.arg0, Sprite__C83659_VT)) failedCast(s.tmp_4.arg0, Sprite__C83659_VT);
36233
36233
  s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox;
36234
36234
  s.pc = 21; return s.tmp_4;
36235
36235
  case 21:
@@ -36519,7 +36519,7 @@ switch (step) {
36519
36519
  s.lambdaArgs = null;
36520
36520
  }
36521
36521
  r0 = s.arg0;
36522
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
36522
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
36523
36523
  s.tmp_0 = Sprite_top__P83706_mk(s);
36524
36524
  s.tmp_0.arg0 = s.arg0;
36525
36525
  s.tmp_1 = r0 = s.arg1;
@@ -36573,7 +36573,7 @@ switch (step) {
36573
36573
  s.lambdaArgs = null;
36574
36574
  }
36575
36575
  r0 = s.arg0;
36576
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
36576
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
36577
36577
  s.tmp_0 = Sprite_left__P83702_mk(s);
36578
36578
  s.tmp_0.arg0 = s.arg0;
36579
36579
  s.tmp_1 = r0 = s.arg1;
@@ -36626,7 +36626,7 @@ switch (step) {
36626
36626
  s.lambdaArgs = null;
36627
36627
  }
36628
36628
  r0 = s.arg0;
36629
- if (!checkSubtype(r0, scene_Camera__C84138_VT)) failedCast(r0);
36629
+ if (!checkSubtype(r0, scene_Camera__C84138_VT)) failedCast(r0, scene_Camera__C84138_VT);
36630
36630
  r0 = s.arg0.fields["sprite"];
36631
36631
  s.tmp_2 = r0;
36632
36632
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -36723,7 +36723,7 @@ switch (step) {
36723
36723
  s.lambdaArgs = null;
36724
36724
  }
36725
36725
  r0 = s.arg0;
36726
- if (!checkSubtype(r0, sprites_SpriteMap__C83752_VT)) failedCast(r0);
36726
+ if (!checkSubtype(r0, sprites_SpriteMap__C83752_VT)) failedCast(r0, sprites_SpriteMap__C83752_VT);
36727
36727
  s.tmp_0 = Sprite_left__P83701_mk(s);
36728
36728
  s.tmp_0.arg0 = s.arg1;
36729
36729
  s.callLocIdx = 538; s.pc = 5; return s.tmp_0;
@@ -36887,7 +36887,7 @@ switch (step) {
36887
36887
  s.lambdaArgs = null;
36888
36888
  }
36889
36889
  r0 = s.arg0;
36890
- if (!checkSubtype(r0, sprites_SpriteMap__C83752_VT)) failedCast(r0);
36890
+ if (!checkSubtype(r0, sprites_SpriteMap__C83752_VT)) failedCast(r0, sprites_SpriteMap__C83752_VT);
36891
36891
  s.tmp_0 = sprites_SpriteMap_key__P83758_mk(s);
36892
36892
  s.tmp_0.arg0 = s.arg0;
36893
36893
  s.tmp_0.arg1 = s.arg1;
@@ -36974,7 +36974,7 @@ switch (step) {
36974
36974
  s.lambdaArgs = null;
36975
36975
  }
36976
36976
  r0 = s.arg0;
36977
- if (!checkSubtype(r0, sprites_SpriteMap__C83752_VT)) failedCast(r0);
36977
+ if (!checkSubtype(r0, sprites_SpriteMap__C83752_VT)) failedCast(r0, sprites_SpriteMap__C83752_VT);
36978
36978
  s.tmp_0 = Math_clamp__P82560_mk(s);
36979
36979
  s.tmp_0.arg0 = 0;
36980
36980
  r0 = s.arg0.fields["columnCount"];
@@ -37087,7 +37087,7 @@ switch (step) {
37087
37087
  s.lambdaArgs = null;
37088
37088
  }
37089
37089
  r0 = s.arg0;
37090
- if (!checkSubtype(r0, sprites_SpriteMap__C83752_VT)) failedCast(r0);
37090
+ if (!checkSubtype(r0, sprites_SpriteMap__C83752_VT)) failedCast(r0, sprites_SpriteMap__C83752_VT);
37091
37091
  s.maxWidth___95275 = (0);
37092
37092
  s.maxHeight___95276 = (0);
37093
37093
  s.sprite___95278 = (undefined);
@@ -37260,7 +37260,7 @@ switch (step) {
37260
37260
  s.lambdaArgs = null;
37261
37261
  }
37262
37262
  r0 = s.arg0;
37263
- if (!checkSubtype(r0, sprites_SpriteMap__C83752_VT)) failedCast(r0);
37263
+ if (!checkSubtype(r0, sprites_SpriteMap__C83752_VT)) failedCast(r0, sprites_SpriteMap__C83752_VT);
37264
37264
  s.tmp_0 = r0 = s.arg0;
37265
37265
  r0 = pxsim_Array__mk();
37266
37266
  s.tmp_1 = r0;
@@ -37304,7 +37304,7 @@ switch (step) {
37304
37304
  s.lambdaArgs = null;
37305
37305
  }
37306
37306
  r0 = s.arg0;
37307
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
37307
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
37308
37308
  s.tmp_0 = r0 = s.arg0;
37309
37309
  r0 = pxsim_Array__mk();
37310
37310
  s.tmp_1 = r0;
@@ -37357,7 +37357,7 @@ switch (step) {
37357
37357
  s.lambdaArgs = null;
37358
37358
  }
37359
37359
  r0 = s.arg0;
37360
- if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0);
37360
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0, ArcadePhysicsEngine__C83856_VT);
37361
37361
  s.tmp_0 = ArcadePhysicsEngine_constrain__P83877_mk(s);
37362
37362
  s.tmp_0.arg0 = s.arg0;
37363
37363
  r0 = s.arg1.fields["_vx"];
@@ -37751,7 +37751,7 @@ switch (step) {
37751
37751
  s.lambdaArgs = null;
37752
37752
  }
37753
37753
  r0 = s.arg0;
37754
- if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0);
37754
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0, ArcadePhysicsEngine__C83856_VT);
37755
37755
  s.tmp_0 = Fx_max__P82609_mk(s);
37756
37756
  s.tmp_1 = Fx_min__P82608_mk(s);
37757
37757
  r0 = s.arg0.fields["maxVelocity"];
@@ -37871,7 +37871,7 @@ switch (step) {
37871
37871
  s.lambdaArgs = null;
37872
37872
  }
37873
37873
  r0 = s.arg0;
37874
- if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0);
37874
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0, ArcadePhysicsEngine__C83856_VT);
37875
37875
  s.tmp_0 = sprites_SpriteMap_draw__P83755_mk(s);
37876
37876
  r0 = s.arg0.fields["map"];
37877
37877
  s.tmp_0.arg0 = r0;
@@ -37918,7 +37918,7 @@ switch (step) {
37918
37918
  s.lambdaArgs = null;
37919
37919
  }
37920
37920
  r0 = s.arg0;
37921
- if (!checkSubtype(r0, sprites_SpriteMap__C83752_VT)) failedCast(r0);
37921
+ if (!checkSubtype(r0, sprites_SpriteMap__C83752_VT)) failedCast(r0, sprites_SpriteMap__C83752_VT);
37922
37922
  s.x___95599 = (0);
37923
37923
  case 1:
37924
37924
  r0 = s.arg0.fields["columnCount"];
@@ -38032,7 +38032,7 @@ switch (step) {
38032
38032
  s.lambdaArgs = null;
38033
38033
  }
38034
38034
  r0 = s.arg0;
38035
- if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0);
38035
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0, ArcadePhysicsEngine__C83856_VT);
38036
38036
  r0 = s.arg0.fields["sprites"];
38037
38037
  s.tmp_0 = r0;
38038
38038
  r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg1);
@@ -38073,7 +38073,7 @@ switch (step) {
38073
38073
  s.lambdaArgs = null;
38074
38074
  }
38075
38075
  r0 = s.arg0;
38076
- if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0);
38076
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C83856_VT)) failedCast(r0, ArcadePhysicsEngine__C83856_VT);
38077
38077
  r0 = s.arg0.fields["sprites"];
38078
38078
  s.tmp_0 = r0;
38079
38079
  r0 = pxsim_Array__push(s.tmp_0, s.arg1);
@@ -38152,7 +38152,7 @@ switch (step) {
38152
38152
  s.lambdaArgs = null;
38153
38153
  }
38154
38154
  r0 = s.arg0;
38155
- if (!checkSubtype(r0, scene_BackgroundLayer__C84045_VT)) failedCast(r0);
38155
+ if (!checkSubtype(r0, scene_BackgroundLayer__C84045_VT)) failedCast(r0, scene_BackgroundLayer__C84045_VT);
38156
38156
  s.tmp_0 = r0 = s.arg0;
38157
38157
  s.tmp_2 = Math_max__P82563_mk(s);
38158
38158
  s.tmp_2.arg0 = 1;
@@ -38235,7 +38235,7 @@ switch (step) {
38235
38235
  s.lambdaArgs = null;
38236
38236
  }
38237
38237
  r0 = s.arg0;
38238
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
38238
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
38239
38239
  r0 = pxsim_String_.mkEmpty();
38240
38240
  s.tmp_9 = r0;
38241
38241
  r0 = s.arg0.fields["id"];
@@ -38386,7 +38386,7 @@ switch (step) {
38386
38386
  s.lambdaArgs = null;
38387
38387
  }
38388
38388
  r0 = s.arg0;
38389
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
38389
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
38390
38390
  r0 = s.arg0.fields["lifespan"];
38391
38391
  s.tmp_1 = r0;
38392
38392
  r0 = (s.tmp_1 !== undefined);
@@ -38456,7 +38456,7 @@ switch (step) {
38456
38456
  s.tmp_1.arg1 = s.arg2;
38457
38457
  s.tmp_1.arg2 = s.arg1;
38458
38458
  s.tmp_1.arg3 = s.arg0;
38459
- if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C83612_VT)) failedCast(s.tmp_1.arg0);
38459
+ if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C83612_VT)) failedCast(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C83612_VT);
38460
38460
  s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.update;
38461
38461
  s.pc = 14; return s.tmp_1;
38462
38462
  case 14:
@@ -38507,7 +38507,7 @@ switch (step) {
38507
38507
  s.lambdaArgs = null;
38508
38508
  }
38509
38509
  r0 = s.arg0;
38510
- if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C83612_VT)) failedCast(r0);
38510
+ if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C83612_VT)) failedCast(r0, sprites_BaseSpriteSayRenderer__C83612_VT);
38511
38511
  r0 = undefined;
38512
38512
  return leave(s, r0)
38513
38513
  default: oops()
@@ -38547,7 +38547,7 @@ switch (step) {
38547
38547
  s.lambdaArgs = null;
38548
38548
  }
38549
38549
  r0 = s.arg0;
38550
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
38550
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
38551
38551
  r0 = s.arg0.fields["flags"];
38552
38552
  s.tmp_1 = r0;
38553
38553
  r0 = (s.tmp_1 & 512);
@@ -38696,7 +38696,7 @@ switch (step) {
38696
38696
  s.lambdaArgs = null;
38697
38697
  }
38698
38698
  r0 = s.arg0;
38699
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
38699
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
38700
38700
  r0 = (s.arg0).fields["_data"] = (s.arg1);
38701
38701
  r0 = undefined;
38702
38702
  return leave(s, r0)
@@ -38732,7 +38732,7 @@ switch (step) {
38732
38732
  s.lambdaArgs = null;
38733
38733
  }
38734
38734
  r0 = s.arg0;
38735
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
38735
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
38736
38736
  r0 = s.arg0.fields["_data"];
38737
38737
  s.tmp_2 = r0;
38738
38738
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -38788,7 +38788,7 @@ switch (step) {
38788
38788
  s.lambdaArgs = null;
38789
38789
  }
38790
38790
  r0 = s.arg0;
38791
- if (!checkSubtype(r0, sprites_BaseSprite__C83366_VT)) failedCast(r0);
38791
+ if (!checkSubtype(r0, sprites_BaseSprite__C83366_VT)) failedCast(r0, sprites_BaseSprite__C83366_VT);
38792
38792
  r0 = undefined;
38793
38793
  return leave(s, r0)
38794
38794
  default: oops()
@@ -38825,10 +38825,10 @@ switch (step) {
38825
38825
  s.lambdaArgs = null;
38826
38826
  }
38827
38827
  r0 = s.arg0;
38828
- if (!checkSubtype(r0, sprites_BaseSprite__C83366_VT)) failedCast(r0);
38828
+ if (!checkSubtype(r0, sprites_BaseSprite__C83366_VT)) failedCast(r0, sprites_BaseSprite__C83366_VT);
38829
38829
  s.tmp_1 = sprites_BaseSprite__C83366_v0_1_mk(s);
38830
38830
  s.tmp_1.arg0 = s.arg0;
38831
- if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C83366_VT)) failedCast(s.tmp_1.arg0);
38831
+ if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C83366_VT)) failedCast(s.tmp_1.arg0, sprites_BaseSprite__C83366_VT);
38832
38832
  s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.__visible;
38833
38833
  s.pc = 3; return s.tmp_1;
38834
38834
  case 3:
@@ -38839,7 +38839,7 @@ switch (step) {
38839
38839
  s.tmp_2 = sprites_BaseSprite__C83366_v2_2_mk(s);
38840
38840
  s.tmp_2.arg0 = s.arg0;
38841
38841
  s.tmp_2.arg1 = s.arg1;
38842
- if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C83366_VT)) failedCast(s.tmp_2.arg0);
38842
+ if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C83366_VT)) failedCast(s.tmp_2.arg0, sprites_BaseSprite__C83366_VT);
38843
38843
  s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.__drawCore;
38844
38844
  s.pc = 4; return s.tmp_2;
38845
38845
  case 4:
@@ -38884,7 +38884,7 @@ switch (step) {
38884
38884
  s.lambdaArgs = null;
38885
38885
  }
38886
38886
  r0 = s.arg0;
38887
- if (!checkSubtype(r0, sprites_BaseSprite__C83366_VT)) failedCast(r0);
38887
+ if (!checkSubtype(r0, sprites_BaseSprite__C83366_VT)) failedCast(r0, sprites_BaseSprite__C83366_VT);
38888
38888
  r0 = undefined;
38889
38889
  return leave(s, r0)
38890
38890
  default: oops()
@@ -38919,7 +38919,7 @@ switch (step) {
38919
38919
  s.lambdaArgs = null;
38920
38920
  }
38921
38921
  r0 = s.arg0;
38922
- if (!checkSubtype(r0, sprites_BaseSprite__C83366_VT)) failedCast(r0);
38922
+ if (!checkSubtype(r0, sprites_BaseSprite__C83366_VT)) failedCast(r0, sprites_BaseSprite__C83366_VT);
38923
38923
  r0 = true;
38924
38924
  return leave(s, r0)
38925
38925
  default: oops()
@@ -38957,7 +38957,7 @@ switch (step) {
38957
38957
  s.lambdaArgs = null;
38958
38958
  }
38959
38959
  r0 = s.arg0;
38960
- if (!checkSubtype(r0, tiles_TileMapData__C84076_VT)) failedCast(r0);
38960
+ if (!checkSubtype(r0, tiles_TileMapData__C84076_VT)) failedCast(r0, tiles_TileMapData__C84076_VT);
38961
38961
  r0 = (s.arg0).fields["data"] = (s.arg1);
38962
38962
  r0 = (s.arg0).fields["layers"] = (s.arg2);
38963
38963
  r0 = (s.arg0).fields["tileset"] = (s.arg3);
@@ -39015,7 +39015,7 @@ switch (step) {
39015
39015
  s.lambdaArgs = null;
39016
39016
  }
39017
39017
  r0 = s.arg0;
39018
- if (!checkSubtype(r0, tiles_TileMapData__C84076_VT)) failedCast(r0);
39018
+ if (!checkSubtype(r0, tiles_TileMapData__C84076_VT)) failedCast(r0, tiles_TileMapData__C84076_VT);
39019
39019
  r0 = (s.arg0).fields["_scale"] = (s.arg1);
39020
39020
  s.tmp_0 = r0 = s.arg0;
39021
39021
  r0 = pxsim_Array__mk();
@@ -39058,7 +39058,7 @@ switch (step) {
39058
39058
  s.lambdaArgs = null;
39059
39059
  }
39060
39060
  r0 = s.arg0;
39061
- if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0);
39061
+ if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0, tiles_TileMap__C84091_VT);
39062
39062
  r0 = (s.arg0).fields["_layer"] = (1);
39063
39063
  s.tmp_0 = tiles_TileMap_scale__P84093_mk(s);
39064
39064
  s.tmp_0.arg0 = s.arg0;
@@ -39176,7 +39176,7 @@ switch (step) {
39176
39176
  s.lambdaArgs = null;
39177
39177
  }
39178
39178
  r0 = s.arg0;
39179
- if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0);
39179
+ if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0, tiles_TileMap__C84091_VT);
39180
39180
  r0 = s.arg0.fields["_map"];
39181
39181
  s.tmp_6 = r0;
39182
39182
  r0 = pxsim_numops_toBoolDecr(s.tmp_6);
@@ -39496,7 +39496,7 @@ switch (step) {
39496
39496
  s.lambdaArgs = null;
39497
39497
  }
39498
39498
  r0 = s.arg0;
39499
- if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0);
39499
+ if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0, tiles_TileMap__C84091_VT);
39500
39500
  r0 = (s.arg0).fields["_scale"] = (s.arg1);
39501
39501
  r0 = s.arg0.fields["_map"];
39502
39502
  s.tmp_0 = r0;
@@ -39547,7 +39547,7 @@ switch (step) {
39547
39547
  s.lambdaArgs = null;
39548
39548
  }
39549
39549
  r0 = s.arg0;
39550
- if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0);
39550
+ if (!checkSubtype(r0, tiles_TileMap__C84091_VT)) failedCast(r0, tiles_TileMap__C84091_VT);
39551
39551
  r0 = s.arg0.fields["_map"];
39552
39552
  return leaveAccessor(s, r0)
39553
39553
  default: oops()
@@ -39582,7 +39582,7 @@ switch (step) {
39582
39582
  s.lambdaArgs = null;
39583
39583
  }
39584
39584
  r0 = s.arg0;
39585
- if (!checkSubtype(r0, scene_Camera__C84138_VT)) failedCast(r0);
39585
+ if (!checkSubtype(r0, scene_Camera__C84138_VT)) failedCast(r0, scene_Camera__C84138_VT);
39586
39586
  r0 = s.arg0.fields["_offsetY"];
39587
39587
  s.tmp_0 = r0;
39588
39588
  r0 = pxsim_ImageMethods.height(globals.screen___83295);
@@ -39626,7 +39626,7 @@ switch (step) {
39626
39626
  s.lambdaArgs = null;
39627
39627
  }
39628
39628
  r0 = s.arg0;
39629
- if (!checkSubtype(r0, scene_Camera__C84138_VT)) failedCast(r0);
39629
+ if (!checkSubtype(r0, scene_Camera__C84138_VT)) failedCast(r0, scene_Camera__C84138_VT);
39630
39630
  r0 = s.arg0.fields["_offsetX"];
39631
39631
  s.tmp_0 = r0;
39632
39632
  r0 = pxsim_ImageMethods.width(globals.screen___83295);
@@ -39674,7 +39674,7 @@ switch (step) {
39674
39674
  s.lambdaArgs = null;
39675
39675
  }
39676
39676
  r0 = s.arg0;
39677
- if (!checkSubtype(r0, controller_AnyButton__C83531_VT)) failedCast(r0);
39677
+ if (!checkSubtype(r0, controller_AnyButton__C83531_VT)) failedCast(r0, controller_AnyButton__C83531_VT);
39678
39678
  s.tmp_0 = controller__player1__P83494_mk(s);
39679
39679
  s.callLocIdx = 200; s.pc = 6; return s.tmp_0;
39680
39680
  case 6:
@@ -39694,7 +39694,7 @@ switch (step) {
39694
39694
  s.b___96141 = (r0);
39695
39695
  s.tmp_3 = controller_Button__C83533_v0_1_mk(s);
39696
39696
  s.tmp_3.arg0 = s.b___96141;
39697
- if (!checkSubtype(s.tmp_3.arg0, controller_Button__C83533_VT)) failedCast(s.tmp_3.arg0);
39697
+ if (!checkSubtype(s.tmp_3.arg0, controller_Button__C83533_VT)) failedCast(s.tmp_3.arg0, controller_Button__C83533_VT);
39698
39698
  s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isPressed;
39699
39699
  s.pc = 7; return s.tmp_3;
39700
39700
  case 7:
@@ -39753,7 +39753,7 @@ switch (step) {
39753
39753
  s.lambdaArgs = null;
39754
39754
  }
39755
39755
  r0 = s.arg0;
39756
- if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0);
39756
+ if (!checkSubtype(r0, controller_Button__C83533_VT)) failedCast(r0, controller_Button__C83533_VT);
39757
39757
  r0 = s.arg0.fields["_pressed"];
39758
39758
  s.tmp_0 = r0;
39759
39759
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -39832,7 +39832,7 @@ switch (step) {
39832
39832
  s.lambdaArgs = null;
39833
39833
  }
39834
39834
  r0 = s.arg0;
39835
- if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C83612_VT)) failedCast(r0);
39835
+ if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C83612_VT)) failedCast(r0, sprites_BaseSpriteSayRenderer__C83612_VT);
39836
39836
  r0 = (s.arg0).fields["text"] = (s.arg1);
39837
39837
  r0 = (s.arg0).fields["fgColor"] = (s.arg2);
39838
39838
  r0 = (s.arg0).fields["bgColor"] = (s.arg3);
@@ -39872,7 +39872,7 @@ switch (step) {
39872
39872
  s.lambdaArgs = null;
39873
39873
  }
39874
39874
  r0 = s.arg0;
39875
- if (!checkSubtype(r0, sprites_StaticObstacle__C83797_VT)) failedCast(r0);
39875
+ if (!checkSubtype(r0, sprites_StaticObstacle__C83797_VT)) failedCast(r0, sprites_StaticObstacle__C83797_VT);
39876
39876
  r0 = s.arg0.fields["image"];
39877
39877
  s.tmp_0 = r0;
39878
39878
  r0 = pxsim_ImageMethods.width(s.tmp_0);
@@ -39910,7 +39910,7 @@ switch (step) {
39910
39910
  s.lambdaArgs = null;
39911
39911
  }
39912
39912
  r0 = s.arg0;
39913
- if (!checkSubtype(r0, sprites_StaticObstacle__C83797_VT)) failedCast(r0);
39913
+ if (!checkSubtype(r0, sprites_StaticObstacle__C83797_VT)) failedCast(r0, sprites_StaticObstacle__C83797_VT);
39914
39914
  r0 = s.arg0.fields["image"];
39915
39915
  s.tmp_0 = r0;
39916
39916
  r0 = pxsim_ImageMethods.height(s.tmp_0);
@@ -39948,7 +39948,7 @@ switch (step) {
39948
39948
  s.lambdaArgs = null;
39949
39949
  }
39950
39950
  r0 = s.arg0;
39951
- if (!checkSubtype(r0, sprites_StaticObstacle__C83797_VT)) failedCast(r0);
39951
+ if (!checkSubtype(r0, sprites_StaticObstacle__C83797_VT)) failedCast(r0, sprites_StaticObstacle__C83797_VT);
39952
39952
  r0 = s.arg0.fields["top"];
39953
39953
  s.tmp_0 = r0;
39954
39954
  r0 = s.arg0.fields["image"];
@@ -39995,7 +39995,7 @@ switch (step) {
39995
39995
  s.lambdaArgs = null;
39996
39996
  }
39997
39997
  r0 = s.arg0;
39998
- if (!checkSubtype(r0, sprites_StaticObstacle__C83797_VT)) failedCast(r0);
39998
+ if (!checkSubtype(r0, sprites_StaticObstacle__C83797_VT)) failedCast(r0, sprites_StaticObstacle__C83797_VT);
39999
39999
  r0 = s.arg0.fields["left"];
40000
40000
  s.tmp_0 = r0;
40001
40001
  r0 = s.arg0.fields["image"];
@@ -40042,7 +40042,7 @@ switch (step) {
40042
40042
  s.lambdaArgs = null;
40043
40043
  }
40044
40044
  r0 = s.arg0;
40045
- if (!checkSubtype(r0, tiles_Location__C84048_VT)) failedCast(r0);
40045
+ if (!checkSubtype(r0, tiles_Location__C84048_VT)) failedCast(r0, tiles_Location__C84048_VT);
40046
40046
  r0 = s.arg0.fields["_row"];
40047
40047
  s.tmp_0 = r0;
40048
40048
  s.tmp_3 = tiles_Location_tileMap__P84049_mk(s);
@@ -40091,7 +40091,7 @@ switch (step) {
40091
40091
  s.lambdaArgs = null;
40092
40092
  }
40093
40093
  r0 = s.arg0;
40094
- if (!checkSubtype(r0, tiles_Location__C84048_VT)) failedCast(r0);
40094
+ if (!checkSubtype(r0, tiles_Location__C84048_VT)) failedCast(r0, tiles_Location__C84048_VT);
40095
40095
  r0 = s.arg0.fields["_col"];
40096
40096
  s.tmp_0 = r0;
40097
40097
  s.tmp_3 = tiles_Location_tileMap__P84049_mk(s);
@@ -40141,7 +40141,7 @@ switch (step) {
40141
40141
  s.lambdaArgs = null;
40142
40142
  }
40143
40143
  r0 = s.arg0;
40144
- if (!checkSubtype(r0, tiles_Location__C84048_VT)) failedCast(r0);
40144
+ if (!checkSubtype(r0, tiles_Location__C84048_VT)) failedCast(r0, tiles_Location__C84048_VT);
40145
40145
  s.tmp_1 = tiles_Location_tileMap__P84049_mk(s);
40146
40146
  s.tmp_1.arg0 = s.arg0;
40147
40147
  s.callLocIdx = 832; s.pc = 1; return s.tmp_1;
@@ -40198,7 +40198,7 @@ switch (step) {
40198
40198
  s.lambdaArgs = null;
40199
40199
  }
40200
40200
  r0 = s.arg0;
40201
- if (!checkSubtype(r0, tiles_Location__C84048_VT)) failedCast(r0);
40201
+ if (!checkSubtype(r0, tiles_Location__C84048_VT)) failedCast(r0, tiles_Location__C84048_VT);
40202
40202
  s.tmp_1 = tiles_Location_tileMap__P84049_mk(s);
40203
40203
  s.tmp_1.arg0 = s.arg0;
40204
40204
  s.callLocIdx = 830; s.pc = 1; return s.tmp_1;
@@ -40258,7 +40258,7 @@ switch (step) {
40258
40258
  s.lambdaArgs = null;
40259
40259
  }
40260
40260
  r0 = s.arg0;
40261
- if (!checkSubtype(r0, particles_ShapeFactory__C84727_VT)) failedCast(r0);
40261
+ if (!checkSubtype(r0, particles_ShapeFactory__C84727_VT)) failedCast(r0, particles_ShapeFactory__C84727_VT);
40262
40262
  s.tmp_1 = Math_FastRandom_pickRandom__P84511_mk(s);
40263
40263
  r0 = s.arg0.fields["galois"];
40264
40264
  s.tmp_1.arg0 = r0;
@@ -40340,7 +40340,7 @@ switch (step) {
40340
40340
  s.lambdaArgs = null;
40341
40341
  }
40342
40342
  r0 = s.arg0;
40343
- if (!checkSubtype(r0, Math_FastRandom__C84508_VT)) failedCast(r0);
40343
+ if (!checkSubtype(r0, Math_FastRandom__C84508_VT)) failedCast(r0, Math_FastRandom__C84508_VT);
40344
40344
  r0 = pxsim_numops_toBoolDecr(s.arg1);
40345
40345
  s.tmp_1 = r0;
40346
40346
  r0 = pxsim_Boolean__bang(s.tmp_1);
@@ -40421,7 +40421,7 @@ switch (step) {
40421
40421
  s.lambdaArgs = null;
40422
40422
  }
40423
40423
  r0 = s.arg0;
40424
- if (!checkSubtype(r0, particles_AreaFactory__C84717_VT)) failedCast(r0);
40424
+ if (!checkSubtype(r0, particles_AreaFactory__C84717_VT)) failedCast(r0, particles_AreaFactory__C84717_VT);
40425
40425
  r0 = s.arg1.fields["lifespan"];
40426
40426
  s.tmp_1 = r0;
40427
40427
  r0 = (s.tmp_1 > 500);
@@ -40505,7 +40505,7 @@ switch (step) {
40505
40505
  s.lambdaArgs = null;
40506
40506
  }
40507
40507
  r0 = s.arg0;
40508
- if (!checkSubtype(r0, particles_SprayFactory__C84710_VT)) failedCast(r0);
40508
+ if (!checkSubtype(r0, particles_SprayFactory__C84710_VT)) failedCast(r0, particles_SprayFactory__C84710_VT);
40509
40509
  s.tmp_0 = r0 = globals.screen___83295;
40510
40510
  r0 = (s.arg2 + 128);
40511
40511
  s.tmp_2 = r0;
@@ -40558,7 +40558,7 @@ switch (step) {
40558
40558
  s.lambdaArgs = null;
40559
40559
  }
40560
40560
  r0 = s.arg0;
40561
- if (!checkSubtype(r0, scene_Renderable__C84153_VT)) failedCast(r0);
40561
+ if (!checkSubtype(r0, scene_Renderable__C84153_VT)) failedCast(r0, scene_Renderable__C84153_VT);
40562
40562
  s.tmp_0 = if_handler_3_mk(s);
40563
40563
  s.tmp_0.arg0 = s.arg0;
40564
40564
  s.tmp_0.arg1 = globals.screen___83295;
@@ -40609,7 +40609,7 @@ switch (step) {
40609
40609
  s.lambdaArgs = null;
40610
40610
  }
40611
40611
  r0 = s.arg0;
40612
- if (!checkSubtype(r0, scene_Renderable__C84153_VT)) failedCast(r0);
40612
+ if (!checkSubtype(r0, scene_Renderable__C84153_VT)) failedCast(r0, scene_Renderable__C84153_VT);
40613
40613
  s.tmp_0 = if_shouldBeVisible_1_mk(s);
40614
40614
  s.tmp_0.arg0 = s.arg0;
40615
40615
  if (!s.tmp_0.arg0.vtable.iface) {
@@ -40661,7 +40661,7 @@ switch (step) {
40661
40661
  s.lambdaArgs = null;
40662
40662
  }
40663
40663
  r0 = s.arg0;
40664
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
40664
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
40665
40665
  s.tmp_0 = Sprite_drawSay__P83737_mk(s);
40666
40666
  s.tmp_0.arg0 = s.arg0;
40667
40667
  s.tmp_0.arg1 = s.arg1;
@@ -40732,7 +40732,7 @@ switch (step) {
40732
40732
  s.tmp_0.arg0 = s.arg0;
40733
40733
  s.tmp_0.arg1 = s.l___96335;
40734
40734
  s.tmp_0.arg2 = s.t___96341;
40735
- if (!checkSubtype(s.tmp_0.arg0, Sprite__C83659_VT)) failedCast(s.tmp_0.arg0);
40735
+ if (!checkSubtype(s.tmp_0.arg0, Sprite__C83659_VT)) failedCast(s.tmp_0.arg0, Sprite__C83659_VT);
40736
40736
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawSprite;
40737
40737
  s.pc = 12; return s.tmp_0;
40738
40738
  case 12:
@@ -40797,7 +40797,7 @@ switch (step) {
40797
40797
  s.lambdaArgs = null;
40798
40798
  }
40799
40799
  r0 = s.arg0;
40800
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
40800
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
40801
40801
  r0 = s.arg0.fields["flags"];
40802
40802
  s.tmp_1 = r0;
40803
40803
  r0 = (s.tmp_1 & 64);
@@ -41174,7 +41174,7 @@ switch (step) {
41174
41174
  s.lambdaArgs = null;
41175
41175
  }
41176
41176
  r0 = s.arg0;
41177
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
41177
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
41178
41178
  r0 = s.arg0.fields["_rotatedBBox"];
41179
41179
  s.tmp_0 = r0;
41180
41180
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -41370,7 +41370,7 @@ switch (step) {
41370
41370
  s.lambdaArgs = null;
41371
41371
  }
41372
41372
  r0 = s.arg0;
41373
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
41373
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
41374
41374
  r0 = s.arg0.fields["sayRenderer"];
41375
41375
  s.tmp_0 = r0;
41376
41376
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -41395,7 +41395,7 @@ switch (step) {
41395
41395
  s.tmp_6.arg1 = globals.screen___83295;
41396
41396
  s.tmp_6.arg2 = s.arg1;
41397
41397
  s.tmp_6.arg3 = s.arg0;
41398
- if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C83612_VT)) failedCast(s.tmp_6.arg0);
41398
+ if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C83612_VT)) failedCast(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C83612_VT);
41399
41399
  s.tmp_6.fn = s.tmp_6.arg0.vtable.methods.draw;
41400
41400
  s.pc = 7; return s.tmp_6;
41401
41401
  case 7:
@@ -41405,7 +41405,7 @@ switch (step) {
41405
41405
  s.tmp_0 = sprites_BaseSpriteSayRenderer__C83612_v2_1_mk(s);
41406
41406
  r0 = s.arg0.fields["sayRenderer"];
41407
41407
  s.tmp_0.arg0 = r0;
41408
- if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C83612_VT)) failedCast(s.tmp_0.arg0);
41408
+ if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C83612_VT)) failedCast(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C83612_VT);
41409
41409
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.destroy;
41410
41410
  s.pc = 8; return s.tmp_0;
41411
41411
  case 8:
@@ -41421,7 +41421,7 @@ switch (step) {
41421
41421
  s.tmp_0.arg1 = globals.screen___83295;
41422
41422
  s.tmp_0.arg2 = s.arg1;
41423
41423
  s.tmp_0.arg3 = s.arg0;
41424
- if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C83612_VT)) failedCast(s.tmp_0.arg0);
41424
+ if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C83612_VT)) failedCast(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C83612_VT);
41425
41425
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.draw;
41426
41426
  s.pc = 9; return s.tmp_0;
41427
41427
  case 9:
@@ -41470,7 +41470,7 @@ switch (step) {
41470
41470
  s.lambdaArgs = null;
41471
41471
  }
41472
41472
  r0 = s.arg0;
41473
- if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C83612_VT)) failedCast(r0);
41473
+ if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C83612_VT)) failedCast(r0, sprites_BaseSpriteSayRenderer__C83612_VT);
41474
41474
  r0 = undefined;
41475
41475
  return leave(s, r0)
41476
41476
  default: oops()
@@ -41507,7 +41507,7 @@ switch (step) {
41507
41507
  s.lambdaArgs = null;
41508
41508
  }
41509
41509
  r0 = s.arg0;
41510
- if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C83612_VT)) failedCast(r0);
41510
+ if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C83612_VT)) failedCast(r0, sprites_BaseSpriteSayRenderer__C83612_VT);
41511
41511
  r0 = undefined;
41512
41512
  return leave(s, r0)
41513
41513
  default: oops()
@@ -41544,7 +41544,7 @@ switch (step) {
41544
41544
  s.lambdaArgs = null;
41545
41545
  }
41546
41546
  r0 = s.arg0;
41547
- if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0);
41547
+ if (!checkSubtype(r0, Sprite__C83659_VT)) failedCast(r0, Sprite__C83659_VT);
41548
41548
  r0 = s.arg0.fields["flags"];
41549
41549
  s.tmp_2 = r0;
41550
41550
  r0 = (s.tmp_2 & 128);
@@ -41587,7 +41587,7 @@ switch (step) {
41587
41587
  s.lambdaArgs = null;
41588
41588
  }
41589
41589
  r0 = s.arg0;
41590
- if (!checkSubtype(r0, scene_Camera__C84138_VT)) failedCast(r0);
41590
+ if (!checkSubtype(r0, scene_Camera__C84138_VT)) failedCast(r0, scene_Camera__C84138_VT);
41591
41591
  r0 = s.arg0.fields["_offsetY"];
41592
41592
  return leaveAccessor(s, r0)
41593
41593
  default: oops()
@@ -41622,7 +41622,7 @@ switch (step) {
41622
41622
  s.lambdaArgs = null;
41623
41623
  }
41624
41624
  r0 = s.arg0;
41625
- if (!checkSubtype(r0, scene_Camera__C84138_VT)) failedCast(r0);
41625
+ if (!checkSubtype(r0, scene_Camera__C84138_VT)) failedCast(r0, scene_Camera__C84138_VT);
41626
41626
  r0 = s.arg0.fields["_offsetX"];
41627
41627
  return leaveAccessor(s, r0)
41628
41628
  default: oops()