pxt-common-packages 12.3.25 → 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=1695620 new=95.55% cached=0.00% other=4.45%
1
+ // total=1705017 new=95.57% cached=0.00% other=4.43%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -1472,7 +1472,7 @@ switch (step) {
1472
1472
  s.lambdaArgs = null;
1473
1473
  }
1474
1474
  r0 = s.arg0;
1475
- if (!checkSubtype(r0, control_EventContext__C65873_VT)) failedCast(r0);
1475
+ if (!checkSubtype(r0, control_EventContext__C65873_VT)) failedCast(r0, control_EventContext__C65873_VT);
1476
1476
  r0 = s.arg0.fields["frameCallbacks"];
1477
1477
  s.tmp_2 = r0;
1478
1478
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -1577,7 +1577,7 @@ switch (step) {
1577
1577
  s.lambdaArgs = null;
1578
1578
  }
1579
1579
  r0 = s.arg0;
1580
- if (!checkSubtype(r0, control_EventContext__C65873_VT)) failedCast(r0);
1580
+ if (!checkSubtype(r0, control_EventContext__C65873_VT)) failedCast(r0, control_EventContext__C65873_VT);
1581
1581
  r0 = s.arg0.fields["frameCallbacks"];
1582
1582
  s.tmp_2 = r0;
1583
1583
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -1752,7 +1752,7 @@ switch (step) {
1752
1752
  s.lambdaArgs = null;
1753
1753
  }
1754
1754
  r0 = s.arg0;
1755
- if (!checkSubtype(r0, control_EventContext__C65873_VT)) failedCast(r0);
1755
+ if (!checkSubtype(r0, control_EventContext__C65873_VT)) failedCast(r0, control_EventContext__C65873_VT);
1756
1756
  r0 = pxsim.control.millis();
1757
1757
  s.loopStart___68423 = (r0);
1758
1758
  s.tmp_0 = r0 = s.arg0;
@@ -2335,7 +2335,7 @@ switch (step) {
2335
2335
  s.lambdaArgs = null;
2336
2336
  }
2337
2337
  r0 = s.arg0;
2338
- if (!checkSubtype(r0, control_EventContext__C65873_VT)) failedCast(r0);
2338
+ if (!checkSubtype(r0, control_EventContext__C65873_VT)) failedCast(r0, control_EventContext__C65873_VT);
2339
2339
  s.h___68637 = (undefined);
2340
2340
  r0 = s.arg0.fields["handlers"];
2341
2341
  s.unnamed164___U1 = (r0);
@@ -2443,7 +2443,7 @@ switch (step) {
2443
2443
  s.lambdaArgs = null;
2444
2444
  }
2445
2445
  r0 = s.arg0;
2446
- if (!checkSubtype(r0, control_EventHandler__C65868_VT)) failedCast(r0);
2446
+ if (!checkSubtype(r0, control_EventHandler__C65868_VT)) failedCast(r0, control_EventHandler__C65868_VT);
2447
2447
  r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P68681);
2448
2448
  s.tmp_0 = r0;
2449
2449
  r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0);
@@ -2543,7 +2543,7 @@ switch (step) {
2543
2543
  s.lambdaArgs = null;
2544
2544
  }
2545
2545
  r0 = s.arg0;
2546
- if (!checkSubtype(r0, control_EventHandler__C65868_VT)) failedCast(r0);
2546
+ if (!checkSubtype(r0, control_EventHandler__C65868_VT)) failedCast(r0, control_EventHandler__C65868_VT);
2547
2547
  r0 = (s.arg0).fields["src"] = (s.arg1);
2548
2548
  r0 = (s.arg0).fields["value"] = (s.arg2);
2549
2549
  r0 = (s.arg0).fields["handler"] = (s.arg3);
@@ -2836,7 +2836,7 @@ switch (step) {
2836
2836
  s.lambdaArgs = null;
2837
2837
  }
2838
2838
  r0 = s.arg0;
2839
- if (!checkSubtype(r0, control_PollEvent__C65828_VT)) failedCast(r0);
2839
+ if (!checkSubtype(r0, control_PollEvent__C65828_VT)) failedCast(r0, control_PollEvent__C65828_VT);
2840
2840
  r0 = (s.arg0).fields["eid"] = (s.arg1);
2841
2841
  r0 = (s.arg0).fields["vid"] = (s.arg2);
2842
2842
  r0 = (s.arg0).fields["start"] = (s.arg3);
@@ -3345,7 +3345,7 @@ switch (step) {
3345
3345
  s.lambdaArgs = null;
3346
3346
  }
3347
3347
  r0 = s.arg0;
3348
- if (!checkSubtype(r0, scene_Scene__C66519_VT)) failedCast(r0);
3348
+ if (!checkSubtype(r0, scene_Scene__C66519_VT)) failedCast(r0, scene_Scene__C66519_VT);
3349
3349
  r0 = s.arg0.fields["_data"];
3350
3350
  return leaveAccessor(s, r0)
3351
3351
  default: oops()
@@ -3381,7 +3381,7 @@ switch (step) {
3381
3381
  s.lambdaArgs = null;
3382
3382
  }
3383
3383
  r0 = s.arg0;
3384
- if (!checkSubtype(r0, Math_FastRandom__C67606_VT)) failedCast(r0);
3384
+ if (!checkSubtype(r0, Math_FastRandom__C67606_VT)) failedCast(r0, Math_FastRandom__C67606_VT);
3385
3385
  r0 = (s.arg1 === undefined);
3386
3386
  s.tmp_0 = r0;
3387
3387
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -4317,7 +4317,7 @@ switch (step) {
4317
4317
  s.lambdaArgs = null;
4318
4318
  }
4319
4319
  r0 = s.arg0;
4320
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C67626_VT)) failedCast(r0);
4320
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C67626_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C67626_VT);
4321
4321
  s.tmp_0 = r0 = s.arg0;
4322
4322
  s.tmp_2 = if_generator_1_mk(s);
4323
4323
  s.tmp_2.arg0 = s.arg0;
@@ -5146,7 +5146,7 @@ switch (step) {
5146
5146
  s.lambdaArgs = null;
5147
5147
  }
5148
5148
  r0 = s.arg0;
5149
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C67626_VT)) failedCast(r0);
5149
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C67626_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C67626_VT);
5150
5150
  r0 = s.arg0.fields["options"];
5151
5151
  s.tmp_2 = r0;
5152
5152
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -6343,7 +6343,7 @@ switch (step) {
6343
6343
  s.lambdaArgs = null;
6344
6344
  }
6345
6345
  r0 = s.arg0;
6346
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C67626_VT)) failedCast(r0);
6346
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C67626_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C67626_VT);
6347
6347
  r0 = pxsim.control.millis();
6348
6348
  s.tmp_0 = r0;
6349
6349
  r0 = (s.tmp_0 / 250);
@@ -6531,7 +6531,7 @@ switch (step) {
6531
6531
  s.lambdaArgs = null;
6532
6532
  }
6533
6533
  r0 = s.arg0;
6534
- if (!checkSubtype(r0, scene_Camera__C67236_VT)) failedCast(r0);
6534
+ if (!checkSubtype(r0, scene_Camera__C67236_VT)) failedCast(r0, scene_Camera__C67236_VT);
6535
6535
  s.tmp_0 = game_currentScene__P66527_mk(s);
6536
6536
  s.callLocIdx = 914; s.pc = 5; return s.tmp_0;
6537
6537
  case 5:
@@ -6626,7 +6626,7 @@ switch (step) {
6626
6626
  s.lambdaArgs = null;
6627
6627
  }
6628
6628
  r0 = s.arg0;
6629
- if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0);
6629
+ if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0, tiles_TileMap__C67189_VT);
6630
6630
  s.tmp_0 = Math_clamp__P65653_mk(s);
6631
6631
  s.tmp_0.arg0 = 0;
6632
6632
  s.tmp_1 = Math_max__P65656_mk(s);
@@ -6687,7 +6687,7 @@ switch (step) {
6687
6687
  s.lambdaArgs = null;
6688
6688
  }
6689
6689
  r0 = s.arg0;
6690
- if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0);
6690
+ if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0, tiles_TileMap__C67189_VT);
6691
6691
  r0 = s.arg0.fields["_map"];
6692
6692
  s.tmp_0 = r0;
6693
6693
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -6743,7 +6743,7 @@ switch (step) {
6743
6743
  s.lambdaArgs = null;
6744
6744
  }
6745
6745
  r0 = s.arg0;
6746
- if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0);
6746
+ if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0, tiles_TileMap__C67189_VT);
6747
6747
  r0 = s.arg0.fields["_scale"];
6748
6748
  return leaveAccessor(s, r0)
6749
6749
  default: oops()
@@ -6778,7 +6778,7 @@ switch (step) {
6778
6778
  s.lambdaArgs = null;
6779
6779
  }
6780
6780
  r0 = s.arg0;
6781
- if (!checkSubtype(r0, tiles_TileMapData__C67174_VT)) failedCast(r0);
6781
+ if (!checkSubtype(r0, tiles_TileMapData__C67174_VT)) failedCast(r0, tiles_TileMapData__C67174_VT);
6782
6782
  r0 = s.arg0.fields["_height"];
6783
6783
  return leaveAccessor(s, r0)
6784
6784
  default: oops()
@@ -6813,7 +6813,7 @@ switch (step) {
6813
6813
  s.lambdaArgs = null;
6814
6814
  }
6815
6815
  r0 = s.arg0;
6816
- if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0);
6816
+ if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0, tiles_TileMap__C67189_VT);
6817
6817
  r0 = s.arg0.fields["_map"];
6818
6818
  s.tmp_3 = r0;
6819
6819
  r0 = pxsim_numops_toBoolDecr(s.tmp_3);
@@ -6860,7 +6860,7 @@ switch (step) {
6860
6860
  s.lambdaArgs = null;
6861
6861
  }
6862
6862
  r0 = s.arg0;
6863
- if (!checkSubtype(r0, scene_Camera__C67236_VT)) failedCast(r0);
6863
+ if (!checkSubtype(r0, scene_Camera__C67236_VT)) failedCast(r0, scene_Camera__C67236_VT);
6864
6864
  r0 = s.arg0.fields["_offsetY"];
6865
6865
  return leaveAccessor(s, r0)
6866
6866
  default: oops()
@@ -6940,7 +6940,7 @@ switch (step) {
6940
6940
  s.lambdaArgs = null;
6941
6941
  }
6942
6942
  r0 = s.arg0;
6943
- if (!checkSubtype(r0, control_EventContext__C65873_VT)) failedCast(r0);
6943
+ if (!checkSubtype(r0, control_EventContext__C65873_VT)) failedCast(r0, control_EventContext__C65873_VT);
6944
6944
  r0 = s.arg0.fields["deltaTimeMillis"];
6945
6945
  s.tmp_0 = r0;
6946
6946
  r0 = (s.tmp_0 / 1000);
@@ -6979,7 +6979,7 @@ switch (step) {
6979
6979
  s.lambdaArgs = null;
6980
6980
  }
6981
6981
  r0 = s.arg0;
6982
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C67617_VT)) failedCast(r0);
6982
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C67617_VT)) failedCast(r0, scene_systemMenu_MenuOption__C67617_VT);
6983
6983
  s.tmp_0 = Sprite_top__P66804_mk(s);
6984
6984
  r0 = s.arg0.fields["card"];
6985
6985
  s.tmp_0.arg0 = r0;
@@ -7040,7 +7040,7 @@ switch (step) {
7040
7040
  s.lambdaArgs = null;
7041
7041
  }
7042
7042
  r0 = s.arg0;
7043
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
7043
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
7044
7044
  s.tmp_0 = Sprite_top__P66804_mk(s);
7045
7045
  s.tmp_0.arg0 = s.arg0;
7046
7046
  s.tmp_1 = r0 = s.arg1;
@@ -7096,7 +7096,7 @@ switch (step) {
7096
7096
  s.lambdaArgs = null;
7097
7097
  }
7098
7098
  r0 = s.arg0;
7099
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
7099
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
7100
7100
  r0 = s.arg0.fields["_height"];
7101
7101
  s.tmp_0 = r0;
7102
7102
  r0 = (s.tmp_0 / 256);
@@ -7166,7 +7166,7 @@ switch (step) {
7166
7166
  s.lambdaArgs = null;
7167
7167
  }
7168
7168
  r0 = s.arg0;
7169
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
7169
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
7170
7170
  r0 = s.arg0.fields["_y"];
7171
7171
  s.tmp_1 = r0;
7172
7172
  r0 = s.arg0.fields["_height"];
@@ -7289,7 +7289,7 @@ switch (step) {
7289
7289
  s.lambdaArgs = null;
7290
7290
  }
7291
7291
  r0 = s.arg0;
7292
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
7292
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
7293
7293
  s.tmp_0 = game_currentScene__P66527_mk(s);
7294
7294
  s.callLocIdx = 374; s.pc = 1; return s.tmp_0;
7295
7295
  case 1:
@@ -7308,7 +7308,7 @@ switch (step) {
7308
7308
  s.tmp_3 = r0;
7309
7309
  r0 = (s.tmp_1 - s.tmp_3);
7310
7310
  s.tmp_0.arg3 = r0;
7311
- if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C66903_VT)) failedCast(s.tmp_0.arg0);
7311
+ if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C66903_VT)) failedCast(s.tmp_0.arg0, PhysicsEngine__C66903_VT);
7312
7312
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.moveSprite;
7313
7313
  s.pc = 2; return s.tmp_0;
7314
7314
  case 2:
@@ -7389,7 +7389,7 @@ switch (step) {
7389
7389
  s.lambdaArgs = null;
7390
7390
  }
7391
7391
  r0 = s.arg0;
7392
- if (!checkSubtype(r0, PhysicsEngine__C66903_VT)) failedCast(r0);
7392
+ if (!checkSubtype(r0, PhysicsEngine__C66903_VT)) failedCast(r0, PhysicsEngine__C66903_VT);
7393
7393
  r0 = undefined;
7394
7394
  return leave(s, r0)
7395
7395
  default: oops()
@@ -7426,7 +7426,7 @@ switch (step) {
7426
7426
  s.lambdaArgs = null;
7427
7427
  }
7428
7428
  r0 = s.arg0;
7429
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
7429
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
7430
7430
  r0 = s.arg0.fields["_y"];
7431
7431
  s.tmp_0 = r0;
7432
7432
  r0 = (s.tmp_0 / 256);
@@ -7614,7 +7614,7 @@ switch (step) {
7614
7614
  s.lambdaArgs = null;
7615
7615
  }
7616
7616
  r0 = s.arg0;
7617
- if (!checkSubtype(r0, scene_Renderable__C67251_VT)) failedCast(r0);
7617
+ if (!checkSubtype(r0, scene_Renderable__C67251_VT)) failedCast(r0, scene_Renderable__C67251_VT);
7618
7618
  r0 = (s.arg0).fields["handler"] = (s.arg1);
7619
7619
  r0 = (s.arg0).fields["shouldBeVisible"] = (s.arg2);
7620
7620
  s.tmp_0 = sprites_BaseSprite_constructor__P66472_mk(s);
@@ -7661,7 +7661,7 @@ switch (step) {
7661
7661
  s.lambdaArgs = null;
7662
7662
  }
7663
7663
  r0 = s.arg0;
7664
- if (!checkSubtype(r0, sprites_BaseSprite__C66464_VT)) failedCast(r0);
7664
+ if (!checkSubtype(r0, sprites_BaseSprite__C66464_VT)) failedCast(r0, sprites_BaseSprite__C66464_VT);
7665
7665
  s.tmp_0 = sprites_BaseSprite_z__P66467_mk(s);
7666
7666
  s.tmp_0.arg0 = s.arg0;
7667
7667
  s.tmp_0.arg1 = s.arg1;
@@ -7715,7 +7715,7 @@ switch (step) {
7715
7715
  s.lambdaArgs = null;
7716
7716
  }
7717
7717
  r0 = s.arg0;
7718
- if (!checkSubtype(r0, scene_Scene__C66519_VT)) failedCast(r0);
7718
+ if (!checkSubtype(r0, scene_Scene__C66519_VT)) failedCast(r0, scene_Scene__C66519_VT);
7719
7719
  r0 = s.arg0.fields["allSprites"];
7720
7720
  s.tmp_0 = r0;
7721
7721
  r0 = pxsim_Array__push(s.tmp_0, s.arg1);
@@ -7777,7 +7777,7 @@ switch (step) {
7777
7777
  s.lambdaArgs = null;
7778
7778
  }
7779
7779
  r0 = s.arg0;
7780
- if (!checkSubtype(r0, sprites_BaseSprite__C66464_VT)) failedCast(r0);
7780
+ if (!checkSubtype(r0, sprites_BaseSprite__C66464_VT)) failedCast(r0, sprites_BaseSprite__C66464_VT);
7781
7781
  r0 = s.arg0.fields["_z"];
7782
7782
  s.tmp_1 = r0;
7783
7783
  r0 = (s.tmp_1 !== s.arg1);
@@ -7835,7 +7835,7 @@ switch (step) {
7835
7835
  s.lambdaArgs = null;
7836
7836
  }
7837
7837
  r0 = s.arg0;
7838
- if (!checkSubtype(r0, sprites_BaseSprite__C66464_VT)) failedCast(r0);
7838
+ if (!checkSubtype(r0, sprites_BaseSprite__C66464_VT)) failedCast(r0, sprites_BaseSprite__C66464_VT);
7839
7839
  r0 = s.arg0.fields["_z"];
7840
7840
  return leaveAccessor(s, r0)
7841
7841
  default: oops()
@@ -7944,7 +7944,7 @@ switch (step) {
7944
7944
  s.lambdaArgs = null;
7945
7945
  }
7946
7946
  r0 = s.arg0;
7947
- if (!checkSubtype(r0, scene_Scene__C66519_VT)) failedCast(r0);
7947
+ if (!checkSubtype(r0, scene_Scene__C66519_VT)) failedCast(r0, scene_Scene__C66519_VT);
7948
7948
  r0 = s.arg0.fields["allSprites"];
7949
7949
  s.tmp_0 = r0;
7950
7950
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -8139,7 +8139,7 @@ switch (step) {
8139
8139
  s.tmp_2 = r0;
8140
8140
  r0 = (s.tmp_2 / 1000);
8141
8141
  s.tmp_0.arg1 = r0;
8142
- if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C66903_VT)) failedCast(s.tmp_0.arg0);
8142
+ if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C66903_VT)) failedCast(s.tmp_0.arg0, PhysicsEngine__C66903_VT);
8143
8143
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.move;
8144
8144
  s.pc = 1; return s.tmp_0;
8145
8145
  case 1:
@@ -8350,7 +8350,7 @@ switch (step) {
8350
8350
  s.tmp_0 = PhysicsEngine__C66903_v3_1_mk(s);
8351
8351
  r0 = s.caps[0].fields["physicsEngine"];
8352
8352
  s.tmp_0.arg0 = r0;
8353
- if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C66903_VT)) failedCast(s.tmp_0.arg0);
8353
+ if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C66903_VT)) failedCast(s.tmp_0.arg0, PhysicsEngine__C66903_VT);
8354
8354
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.draw;
8355
8355
  s.pc = 11; return s.tmp_0;
8356
8356
  case 11:
@@ -8687,7 +8687,7 @@ switch (step) {
8687
8687
  s.lambdaArgs = null;
8688
8688
  }
8689
8689
  r0 = s.arg0;
8690
- if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0);
8690
+ if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0, controller_Controller__C66597_VT);
8691
8691
  r0 = s.arg0.fields["_connected"];
8692
8692
  s.tmp_1 = r0;
8693
8693
  r0 = (s.arg1 != s.tmp_1);
@@ -8753,7 +8753,7 @@ switch (step) {
8753
8753
  s.lambdaArgs = null;
8754
8754
  }
8755
8755
  r0 = s.arg0;
8756
- if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0);
8756
+ if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0, controller_Controller__C66597_VT);
8757
8757
  s.tmp_0 = r0 = s.arg0;
8758
8758
  r0 = pxsim.control.allocateNotifyEvent();
8759
8759
  s.tmp_1 = r0;
@@ -9526,7 +9526,7 @@ switch (step) {
9526
9526
  s.lambdaArgs = null;
9527
9527
  }
9528
9528
  r0 = s.arg0;
9529
- if (!checkSubtype(r0, PhysicsEngine__C66903_VT)) failedCast(r0);
9529
+ if (!checkSubtype(r0, PhysicsEngine__C66903_VT)) failedCast(r0, PhysicsEngine__C66903_VT);
9530
9530
  r0 = undefined;
9531
9531
  return leave(s, r0)
9532
9532
  default: oops()
@@ -9563,7 +9563,7 @@ switch (step) {
9563
9563
  s.lambdaArgs = null;
9564
9564
  }
9565
9565
  r0 = s.arg0;
9566
- if (!checkSubtype(r0, scene_Scene__C66519_VT)) failedCast(r0);
9566
+ if (!checkSubtype(r0, scene_Scene__C66519_VT)) failedCast(r0, scene_Scene__C66519_VT);
9567
9567
  r0 = s.arg0.fields["flags"];
9568
9568
  s.tmp_1 = r0;
9569
9569
  r0 = (s.tmp_1 & 4);
@@ -10191,7 +10191,7 @@ switch (step) {
10191
10191
  s.lambdaArgs = null;
10192
10192
  }
10193
10193
  r0 = s.arg0;
10194
- if (!checkSubtype(r0, scene_Background__C67136_VT)) failedCast(r0);
10194
+ if (!checkSubtype(r0, scene_Background__C67136_VT)) failedCast(r0, scene_Background__C67136_VT);
10195
10195
  r0 = s.arg0.fields["color"];
10196
10196
  s.tmp_0 = r0;
10197
10197
  r0 = pxsim_ImageMethods.fill(globals.screen___66393, s.tmp_0);
@@ -10340,7 +10340,7 @@ switch (step) {
10340
10340
  s.lambdaArgs = null;
10341
10341
  }
10342
10342
  r0 = s.arg0;
10343
- if (!checkSubtype(r0, scene_BackgroundLayer__C67143_VT)) failedCast(r0);
10343
+ if (!checkSubtype(r0, scene_BackgroundLayer__C67143_VT)) failedCast(r0, scene_BackgroundLayer__C67143_VT);
10344
10344
  r0 = pxsim_ImageMethods.width(globals.screen___66393);
10345
10345
  s.w___70886 = (r0);
10346
10346
  r0 = pxsim_ImageMethods.height(globals.screen___66393);
@@ -10585,7 +10585,7 @@ switch (step) {
10585
10585
  s.lambdaArgs = null;
10586
10586
  }
10587
10587
  r0 = s.arg0;
10588
- if (!checkSubtype(r0, scene_Camera__C67236_VT)) failedCast(r0);
10588
+ if (!checkSubtype(r0, scene_Camera__C67236_VT)) failedCast(r0, scene_Camera__C67236_VT);
10589
10589
  r0 = s.arg0.fields["sprite"];
10590
10590
  s.tmp_0 = r0;
10591
10591
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -10795,7 +10795,7 @@ switch (step) {
10795
10795
  s.lambdaArgs = null;
10796
10796
  }
10797
10797
  r0 = s.arg0;
10798
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
10798
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
10799
10799
  r0 = s.arg0.fields["_width"];
10800
10800
  s.tmp_0 = r0;
10801
10801
  r0 = (s.tmp_0 / 256);
@@ -10833,7 +10833,7 @@ switch (step) {
10833
10833
  s.lambdaArgs = null;
10834
10834
  }
10835
10835
  r0 = s.arg0;
10836
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
10836
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
10837
10837
  r0 = s.arg0.fields["_x"];
10838
10838
  s.tmp_0 = r0;
10839
10839
  r0 = (s.tmp_0 / 256);
@@ -10873,7 +10873,7 @@ switch (step) {
10873
10873
  s.lambdaArgs = null;
10874
10874
  }
10875
10875
  r0 = s.arg0;
10876
- if (!checkSubtype(r0, scene_Camera__C67236_VT)) failedCast(r0);
10876
+ if (!checkSubtype(r0, scene_Camera__C67236_VT)) failedCast(r0, scene_Camera__C67236_VT);
10877
10877
  s.tmp_0 = game_currentScene__P66527_mk(s);
10878
10878
  s.callLocIdx = 911; s.pc = 5; return s.tmp_0;
10879
10879
  case 5:
@@ -10968,7 +10968,7 @@ switch (step) {
10968
10968
  s.lambdaArgs = null;
10969
10969
  }
10970
10970
  r0 = s.arg0;
10971
- if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0);
10971
+ if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0, tiles_TileMap__C67189_VT);
10972
10972
  s.tmp_0 = Math_clamp__P65653_mk(s);
10973
10973
  s.tmp_0.arg0 = 0;
10974
10974
  s.tmp_1 = Math_max__P65656_mk(s);
@@ -11029,7 +11029,7 @@ switch (step) {
11029
11029
  s.lambdaArgs = null;
11030
11030
  }
11031
11031
  r0 = s.arg0;
11032
- if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0);
11032
+ if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0, tiles_TileMap__C67189_VT);
11033
11033
  r0 = s.arg0.fields["_map"];
11034
11034
  s.tmp_0 = r0;
11035
11035
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -11085,7 +11085,7 @@ switch (step) {
11085
11085
  s.lambdaArgs = null;
11086
11086
  }
11087
11087
  r0 = s.arg0;
11088
- if (!checkSubtype(r0, tiles_TileMapData__C67174_VT)) failedCast(r0);
11088
+ if (!checkSubtype(r0, tiles_TileMapData__C67174_VT)) failedCast(r0, tiles_TileMapData__C67174_VT);
11089
11089
  r0 = s.arg0.fields["_width"];
11090
11090
  return leaveAccessor(s, r0)
11091
11091
  default: oops()
@@ -11120,7 +11120,7 @@ switch (step) {
11120
11120
  s.lambdaArgs = null;
11121
11121
  }
11122
11122
  r0 = s.arg0;
11123
- if (!checkSubtype(r0, scene_Camera__C67236_VT)) failedCast(r0);
11123
+ if (!checkSubtype(r0, scene_Camera__C67236_VT)) failedCast(r0, scene_Camera__C67236_VT);
11124
11124
  r0 = s.arg0.fields["_offsetX"];
11125
11125
  return leaveAccessor(s, r0)
11126
11126
  default: oops()
@@ -11155,7 +11155,7 @@ switch (step) {
11155
11155
  s.lambdaArgs = null;
11156
11156
  }
11157
11157
  r0 = s.arg0;
11158
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
11158
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
11159
11159
  r0 = s.arg0.fields["_x"];
11160
11160
  s.tmp_1 = r0;
11161
11161
  r0 = s.arg0.fields["_width"];
@@ -11206,7 +11206,7 @@ switch (step) {
11206
11206
  s.lambdaArgs = null;
11207
11207
  }
11208
11208
  r0 = s.arg0;
11209
- if (!checkSubtype(r0, PhysicsEngine__C66903_VT)) failedCast(r0);
11209
+ if (!checkSubtype(r0, PhysicsEngine__C66903_VT)) failedCast(r0, PhysicsEngine__C66903_VT);
11210
11210
  r0 = undefined;
11211
11211
  return leave(s, r0)
11212
11212
  default: oops()
@@ -11325,7 +11325,7 @@ switch (step) {
11325
11325
  s.lambdaArgs = null;
11326
11326
  }
11327
11327
  r0 = s.arg0;
11328
- if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0);
11328
+ if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0, controller_Controller__C66597_VT);
11329
11329
  s.tmp_3 = controller_Controller__controlledSprites__P66598_mk(s);
11330
11330
  s.tmp_3.arg0 = s.arg0;
11331
11331
  s.callLocIdx = 170; s.pc = 18; return s.tmp_3;
@@ -11419,7 +11419,7 @@ switch (step) {
11419
11419
  case 28:
11420
11420
  r0 = s.retval;
11421
11421
  s.tmp_1.arg0 = r0;
11422
- if (!checkSubtype(s.tmp_1.arg0, controller_Button__C66631_VT)) failedCast(s.tmp_1.arg0);
11422
+ if (!checkSubtype(s.tmp_1.arg0, controller_Button__C66631_VT)) failedCast(s.tmp_1.arg0, controller_Button__C66631_VT);
11423
11423
  s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed;
11424
11424
  s.pc = 27; return s.tmp_1;
11425
11425
  case 27:
@@ -11441,7 +11441,7 @@ switch (step) {
11441
11441
  case 30:
11442
11442
  r0 = s.retval;
11443
11443
  s.tmp_5.arg0 = r0;
11444
- if (!checkSubtype(s.tmp_5.arg0, controller_Button__C66631_VT)) failedCast(s.tmp_5.arg0);
11444
+ if (!checkSubtype(s.tmp_5.arg0, controller_Button__C66631_VT)) failedCast(s.tmp_5.arg0, controller_Button__C66631_VT);
11445
11445
  s.tmp_5.fn = s.tmp_5.arg0.vtable.methods.isPressed;
11446
11446
  s.pc = 29; return s.tmp_5;
11447
11447
  case 29:
@@ -11467,7 +11467,7 @@ switch (step) {
11467
11467
  case 32:
11468
11468
  r0 = s.retval;
11469
11469
  s.tmp_1.arg0 = r0;
11470
- if (!checkSubtype(s.tmp_1.arg0, controller_Button__C66631_VT)) failedCast(s.tmp_1.arg0);
11470
+ if (!checkSubtype(s.tmp_1.arg0, controller_Button__C66631_VT)) failedCast(s.tmp_1.arg0, controller_Button__C66631_VT);
11471
11471
  s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed;
11472
11472
  s.pc = 31; return s.tmp_1;
11473
11473
  case 31:
@@ -11489,7 +11489,7 @@ switch (step) {
11489
11489
  case 34:
11490
11490
  r0 = s.retval;
11491
11491
  s.tmp_5.arg0 = r0;
11492
- if (!checkSubtype(s.tmp_5.arg0, controller_Button__C66631_VT)) failedCast(s.tmp_5.arg0);
11492
+ if (!checkSubtype(s.tmp_5.arg0, controller_Button__C66631_VT)) failedCast(s.tmp_5.arg0, controller_Button__C66631_VT);
11493
11493
  s.tmp_5.fn = s.tmp_5.arg0.vtable.methods.isPressed;
11494
11494
  s.pc = 33; return s.tmp_5;
11495
11495
  case 33:
@@ -11876,7 +11876,7 @@ switch (step) {
11876
11876
  s.lambdaArgs = null;
11877
11877
  }
11878
11878
  r0 = s.arg0;
11879
- if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0);
11879
+ if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0, controller_Controller__C66597_VT);
11880
11880
  s.tmp_1 = game_currentScene__P66527_mk(s);
11881
11881
  s.callLocIdx = 164; s.pc = 1; return s.tmp_1;
11882
11882
  case 1:
@@ -11957,7 +11957,7 @@ switch (step) {
11957
11957
  s.lambdaArgs = null;
11958
11958
  }
11959
11959
  r0 = s.arg0;
11960
- if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0);
11960
+ if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0, controller_Button__C66631_VT);
11961
11961
  r0 = s.arg0.fields["_pressed"];
11962
11962
  return leave(s, r0)
11963
11963
  default: oops()
@@ -11991,7 +11991,7 @@ switch (step) {
11991
11991
  s.lambdaArgs = null;
11992
11992
  }
11993
11993
  r0 = s.arg0;
11994
- if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0);
11994
+ if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0, controller_Controller__C66597_VT);
11995
11995
  r0 = s.arg0.fields["buttons"];
11996
11996
  s.tmp_0 = r0;
11997
11997
  r0 = (2 - 1);
@@ -12033,7 +12033,7 @@ switch (step) {
12033
12033
  s.lambdaArgs = null;
12034
12034
  }
12035
12035
  r0 = s.arg0;
12036
- if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0);
12036
+ if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0, controller_Controller__C66597_VT);
12037
12037
  r0 = s.arg0.fields["buttons"];
12038
12038
  s.tmp_0 = r0;
12039
12039
  r0 = (s.arg1 - 1);
@@ -12074,7 +12074,7 @@ switch (step) {
12074
12074
  s.lambdaArgs = null;
12075
12075
  }
12076
12076
  r0 = s.arg0;
12077
- if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0);
12077
+ if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0, controller_Controller__C66597_VT);
12078
12078
  r0 = s.arg0.fields["buttons"];
12079
12079
  s.tmp_0 = r0;
12080
12080
  r0 = (4 - 1);
@@ -12115,7 +12115,7 @@ switch (step) {
12115
12115
  s.lambdaArgs = null;
12116
12116
  }
12117
12117
  r0 = s.arg0;
12118
- if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0);
12118
+ if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0, controller_Controller__C66597_VT);
12119
12119
  r0 = s.arg0.fields["buttons"];
12120
12120
  s.tmp_0 = r0;
12121
12121
  r0 = (1 - 1);
@@ -12156,7 +12156,7 @@ switch (step) {
12156
12156
  s.lambdaArgs = null;
12157
12157
  }
12158
12158
  r0 = s.arg0;
12159
- if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0);
12159
+ if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0, controller_Controller__C66597_VT);
12160
12160
  r0 = s.arg0.fields["buttons"];
12161
12161
  s.tmp_0 = r0;
12162
12162
  r0 = (3 - 1);
@@ -12197,7 +12197,7 @@ switch (step) {
12197
12197
  s.lambdaArgs = null;
12198
12198
  }
12199
12199
  r0 = s.arg0;
12200
- if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0);
12200
+ if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0, controller_Button__C66631_VT);
12201
12201
  r0 = pxsim.control.deviceDalVersion();
12202
12202
  s.tmp_1 = r0;
12203
12203
  r0 = (s.tmp_1 == "sim");
@@ -12206,7 +12206,7 @@ switch (step) {
12206
12206
  if (!r0) { step = 3; continue; }
12207
12207
  s.tmp_3 = controller_Button__C66631_v0_1_mk(s);
12208
12208
  s.tmp_3.arg0 = s.arg0;
12209
- if (!checkSubtype(s.tmp_3.arg0, controller_Button__C66631_VT)) failedCast(s.tmp_3.arg0);
12209
+ if (!checkSubtype(s.tmp_3.arg0, controller_Button__C66631_VT)) failedCast(s.tmp_3.arg0, controller_Button__C66631_VT);
12210
12210
  s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isPressed;
12211
12211
  s.pc = 6; return s.tmp_3;
12212
12212
  case 6:
@@ -12270,7 +12270,7 @@ switch (step) {
12270
12270
  s.lambdaArgs = null;
12271
12271
  }
12272
12272
  r0 = s.arg0;
12273
- if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0);
12273
+ if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0, controller_Controller__C66597_VT);
12274
12274
  s.tmp_1 = game_currentScene__P66527_mk(s);
12275
12275
  s.callLocIdx = 163; s.pc = 1; return s.tmp_1;
12276
12276
  case 1:
@@ -12488,7 +12488,7 @@ switch (step) {
12488
12488
  s.lambdaArgs = null;
12489
12489
  }
12490
12490
  r0 = s.arg0;
12491
- if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0);
12491
+ if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0, controller_Controller__C66597_VT);
12492
12492
  r0 = pxsim_pxtrt.mklocRef();
12493
12493
  s.tmp_0 = r0;
12494
12494
  r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1);
@@ -12591,7 +12591,7 @@ switch (step) {
12591
12591
  s.lambdaArgs = null;
12592
12592
  }
12593
12593
  r0 = s.arg0;
12594
- if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0);
12594
+ if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0, controller_Button__C66631_VT);
12595
12595
  r0 = s.arg0.fields["_pressed"];
12596
12596
  s.tmp_2 = r0;
12597
12597
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -12714,7 +12714,7 @@ switch (step) {
12714
12714
  s.lambdaArgs = null;
12715
12715
  }
12716
12716
  r0 = s.arg0;
12717
- if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0);
12717
+ if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0, controller_Button__C66631_VT);
12718
12718
  r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___66655);
12719
12719
  if (!r0) { step = 1; continue; }
12720
12720
  r0 = s.arg0.fields["id"];
@@ -12860,7 +12860,7 @@ switch (step) {
12860
12860
  s.lambdaArgs = null;
12861
12861
  }
12862
12862
  r0 = s.arg0;
12863
- if (!checkSubtype(r0, control_EventContext__C65873_VT)) failedCast(r0);
12863
+ if (!checkSubtype(r0, control_EventContext__C65873_VT)) failedCast(r0, control_EventContext__C65873_VT);
12864
12864
  s.tmp_0 = r0 = s.arg0;
12865
12865
  r0 = pxsim_Array__mk();
12866
12866
  s.tmp_1 = r0;
@@ -12918,7 +12918,7 @@ switch (step) {
12918
12918
  s.lambdaArgs = null;
12919
12919
  }
12920
12920
  r0 = s.arg0;
12921
- if (!checkSubtype(r0, control_EventContext__C65873_VT)) failedCast(r0);
12921
+ if (!checkSubtype(r0, control_EventContext__C65873_VT)) failedCast(r0, control_EventContext__C65873_VT);
12922
12922
  s.h___71607 = (undefined);
12923
12923
  r0 = s.arg0.fields["handlers"];
12924
12924
  s.unnamed162___U1 = (r0);
@@ -12986,7 +12986,7 @@ switch (step) {
12986
12986
  s.lambdaArgs = null;
12987
12987
  }
12988
12988
  r0 = s.arg0;
12989
- if (!checkSubtype(r0, control_EventHandler__C65868_VT)) failedCast(r0);
12989
+ if (!checkSubtype(r0, control_EventHandler__C65868_VT)) failedCast(r0, control_EventHandler__C65868_VT);
12990
12990
  r0 = s.arg0.fields["src"];
12991
12991
  s.tmp_0 = r0;
12992
12992
  r0 = s.arg0.fields["value"];
@@ -13059,7 +13059,7 @@ switch (step) {
13059
13059
  s.lambdaArgs = null;
13060
13060
  }
13061
13061
  r0 = s.arg0;
13062
- if (!checkSubtype(r0, scene_Scene__C66519_VT)) failedCast(r0);
13062
+ if (!checkSubtype(r0, scene_Scene__C66519_VT)) failedCast(r0, scene_Scene__C66519_VT);
13063
13063
  r0 = (s.arg0).fields["previousScene"] = (s.arg2);
13064
13064
  r0 = (s.arg0).fields["eventContext"] = (s.arg1);
13065
13065
  r0 = (s.arg0).fields["flags"] = (0);
@@ -13179,7 +13179,7 @@ switch (step) {
13179
13179
  s.lambdaArgs = null;
13180
13180
  }
13181
13181
  r0 = s.arg0;
13182
- if (!checkSubtype(r0, scene_Background__C67136_VT)) failedCast(r0);
13182
+ if (!checkSubtype(r0, scene_Background__C67136_VT)) failedCast(r0, scene_Background__C67136_VT);
13183
13183
  r0 = (s.arg0).fields["color"] = (0);
13184
13184
  r0 = (s.arg0).fields["camera"] = (s.arg1);
13185
13185
  s.tmp_0 = r0 = s.arg0;
@@ -13222,7 +13222,7 @@ switch (step) {
13222
13222
  s.lambdaArgs = null;
13223
13223
  }
13224
13224
  r0 = s.arg0;
13225
- if (!checkSubtype(r0, scene_Camera__C67236_VT)) failedCast(r0);
13225
+ if (!checkSubtype(r0, scene_Camera__C67236_VT)) failedCast(r0, scene_Camera__C67236_VT);
13226
13226
  r0 = (s.arg0).fields["_offsetX"] = (0);
13227
13227
  r0 = (s.arg0).fields["_offsetY"] = (0);
13228
13228
  r0 = (s.arg0).fields["drawOffsetX"] = (0);
@@ -13263,7 +13263,7 @@ switch (step) {
13263
13263
  s.lambdaArgs = null;
13264
13264
  }
13265
13265
  r0 = s.arg0;
13266
- if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0);
13266
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0, ArcadePhysicsEngine__C66954_VT);
13267
13267
  r0 = undefined;
13268
13268
  s.tmp_0 = r0 = s.arg0;
13269
13269
  r0 = pxsim_Array__mk();
@@ -13334,7 +13334,7 @@ switch (step) {
13334
13334
  s.lambdaArgs = null;
13335
13335
  }
13336
13336
  r0 = s.arg0;
13337
- if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0);
13337
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0, ArcadePhysicsEngine__C66954_VT);
13338
13338
  s.tmp_0 = r0 = s.arg0;
13339
13339
  r0 = (s.arg1 * 256);
13340
13340
  s.tmp_2 = r0;
@@ -13378,7 +13378,7 @@ switch (step) {
13378
13378
  s.lambdaArgs = null;
13379
13379
  }
13380
13380
  r0 = s.arg0;
13381
- if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0);
13381
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0, ArcadePhysicsEngine__C66954_VT);
13382
13382
  r0 = s.arg0.fields["minSingleStep"];
13383
13383
  s.tmp_0 = r0;
13384
13384
  r0 = (s.tmp_0 + 128);
@@ -13455,7 +13455,7 @@ switch (step) {
13455
13455
  s.lambdaArgs = null;
13456
13456
  }
13457
13457
  r0 = s.arg0;
13458
- if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0);
13458
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0, ArcadePhysicsEngine__C66954_VT);
13459
13459
  s.tmp_0 = r0 = s.arg0;
13460
13460
  r0 = (s.arg1 * 256);
13461
13461
  s.tmp_2 = r0;
@@ -13499,7 +13499,7 @@ switch (step) {
13499
13499
  s.lambdaArgs = null;
13500
13500
  }
13501
13501
  r0 = s.arg0;
13502
- if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0);
13502
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0, ArcadePhysicsEngine__C66954_VT);
13503
13503
  r0 = s.arg0.fields["maxSingleStep"];
13504
13504
  s.tmp_0 = r0;
13505
13505
  r0 = (s.tmp_0 + 128);
@@ -13541,7 +13541,7 @@ switch (step) {
13541
13541
  s.lambdaArgs = null;
13542
13542
  }
13543
13543
  r0 = s.arg0;
13544
- if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0);
13544
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0, ArcadePhysicsEngine__C66954_VT);
13545
13545
  s.tmp_0 = r0 = s.arg0;
13546
13546
  r0 = (s.arg1 * 256);
13547
13547
  s.tmp_2 = r0;
@@ -13623,7 +13623,7 @@ switch (step) {
13623
13623
  s.lambdaArgs = null;
13624
13624
  }
13625
13625
  r0 = s.arg0;
13626
- if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0);
13626
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0, ArcadePhysicsEngine__C66954_VT);
13627
13627
  r0 = s.arg0.fields["maxVelocity"];
13628
13628
  s.tmp_0 = r0;
13629
13629
  r0 = (s.tmp_0 + 128);
@@ -13664,7 +13664,7 @@ switch (step) {
13664
13664
  s.lambdaArgs = null;
13665
13665
  }
13666
13666
  r0 = s.arg0;
13667
- if (!checkSubtype(r0, sprites_SpriteMap__C66850_VT)) failedCast(r0);
13667
+ if (!checkSubtype(r0, sprites_SpriteMap__C66850_VT)) failedCast(r0, sprites_SpriteMap__C66850_VT);
13668
13668
  s.tmp_0 = r0 = s.arg0;
13669
13669
  r0 = pxsim_Array__mk();
13670
13670
  s.tmp_1 = r0;
@@ -13704,7 +13704,7 @@ switch (step) {
13704
13704
  s.lambdaArgs = null;
13705
13705
  }
13706
13706
  r0 = s.arg0;
13707
- if (!checkSubtype(r0, PhysicsEngine__C66903_VT)) failedCast(r0);
13707
+ if (!checkSubtype(r0, PhysicsEngine__C66903_VT)) failedCast(r0, PhysicsEngine__C66903_VT);
13708
13708
  r0 = undefined;
13709
13709
  return leave(s, r0)
13710
13710
  default: oops()
@@ -13783,7 +13783,7 @@ switch (step) {
13783
13783
  s.lambdaArgs = null;
13784
13784
  }
13785
13785
  r0 = s.arg0;
13786
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C67626_VT)) failedCast(r0);
13786
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C67626_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C67626_VT);
13787
13787
  r0 = s.arg0.fields["options"];
13788
13788
  s.tmp_2 = r0;
13789
13789
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -13827,7 +13827,7 @@ switch (step) {
13827
13827
  if (!r0) { step = 7; continue; }
13828
13828
  s.tmp_4 = controller_Button__C66631_v0_1_mk(s);
13829
13829
  s.tmp_4.arg0 = globals.A___66490;
13830
- if (!checkSubtype(s.tmp_4.arg0, controller_Button__C66631_VT)) failedCast(s.tmp_4.arg0);
13830
+ if (!checkSubtype(s.tmp_4.arg0, controller_Button__C66631_VT)) failedCast(s.tmp_4.arg0, controller_Button__C66631_VT);
13831
13831
  s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.isPressed;
13832
13832
  s.pc = 11; return s.tmp_4;
13833
13833
  case 11:
@@ -13905,7 +13905,7 @@ switch (step) {
13905
13905
  s.lambdaArgs = null;
13906
13906
  }
13907
13907
  r0 = s.arg0;
13908
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C67626_VT)) failedCast(r0);
13908
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C67626_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C67626_VT);
13909
13909
  r0 = s.arg0.fields["selection"];
13910
13910
  s.tmp_0 = r0;
13911
13911
  s.tmp_2 = if_cardsPerRow_1_mk(s);
@@ -14405,7 +14405,7 @@ switch (step) {
14405
14405
  s.lambdaArgs = null;
14406
14406
  }
14407
14407
  r0 = s.arg0;
14408
- if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0);
14408
+ if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0, particles_ParticleSource__C67744_VT);
14409
14409
  case 1:
14410
14410
  r0 = s.arg0.fields["head"];
14411
14411
  s.tmp_0 = r0;
@@ -14678,7 +14678,7 @@ switch (step) {
14678
14678
  s.lambdaArgs = null;
14679
14679
  }
14680
14680
  r0 = s.arg0;
14681
- if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0);
14681
+ if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0, particles_ParticleSource__C67744_VT);
14682
14682
  s.tmp_1 = r0 = s.arg1;
14683
14683
  s.tmp_3 = particles_ParticleSource_enabled__P67752_mk(s);
14684
14684
  s.tmp_3.arg0 = s.arg0;
@@ -14748,7 +14748,7 @@ switch (step) {
14748
14748
  s.lambdaArgs = null;
14749
14749
  }
14750
14750
  r0 = s.arg0;
14751
- if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0);
14751
+ if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0, particles_ParticleSource__C67744_VT);
14752
14752
  r0 = s.arg0.fields["pFlags"];
14753
14753
  s.tmp_4 = r0;
14754
14754
  r0 = (s.tmp_4 & 1);
@@ -14915,7 +14915,7 @@ switch (step) {
14915
14915
  s.lambdaArgs = null;
14916
14916
  }
14917
14917
  r0 = s.arg0;
14918
- if (!checkSubtype(r0, control_EventContext__C65873_VT)) failedCast(r0);
14918
+ if (!checkSubtype(r0, control_EventContext__C65873_VT)) failedCast(r0, control_EventContext__C65873_VT);
14919
14919
  s.h___72124 = (undefined);
14920
14920
  r0 = s.arg0.fields["handlers"];
14921
14921
  s.unnamed160___U1 = (r0);
@@ -14982,7 +14982,7 @@ switch (step) {
14982
14982
  s.lambdaArgs = null;
14983
14983
  }
14984
14984
  r0 = s.arg0;
14985
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C67626_VT)) failedCast(r0);
14985
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C67626_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C67626_VT);
14986
14986
  r0 = s.arg0.fields["options"];
14987
14987
  s.tmp_0 = r0;
14988
14988
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -15070,7 +15070,7 @@ switch (step) {
15070
15070
  s.lambdaArgs = null;
15071
15071
  }
15072
15072
  r0 = s.arg0;
15073
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C67617_VT)) failedCast(r0);
15073
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C67617_VT)) failedCast(r0, scene_systemMenu_MenuOption__C67617_VT);
15074
15074
  r0 = s.arg0.fields["card"];
15075
15075
  s.tmp_0 = r0;
15076
15076
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -15132,7 +15132,7 @@ switch (step) {
15132
15132
  s.lambdaArgs = null;
15133
15133
  }
15134
15134
  r0 = s.arg0;
15135
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
15135
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
15136
15136
  r0 = s.arg0.fields["flags"];
15137
15137
  s.tmp_1 = r0;
15138
15138
  r0 = (s.tmp_1 & 2);
@@ -15208,7 +15208,7 @@ switch (step) {
15208
15208
  s.lambdaArgs = null;
15209
15209
  }
15210
15210
  r0 = s.arg0;
15211
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
15211
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
15212
15212
  s.tmp_0 = r0 = s.arg0;
15213
15213
  r0 = s.tmp_0.fields["flags"];
15214
15214
  s.tmp_2 = r0;
@@ -15259,7 +15259,7 @@ switch (step) {
15259
15259
  r0 = s.scene___72186.fields["physicsEngine"];
15260
15260
  s.tmp_0.arg0 = r0;
15261
15261
  s.tmp_0.arg1 = s.arg0;
15262
- if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C66903_VT)) failedCast(s.tmp_0.arg0);
15262
+ if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C66903_VT)) failedCast(s.tmp_0.arg0, PhysicsEngine__C66903_VT);
15263
15263
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.removeSprite;
15264
15264
  s.pc = 9; return s.tmp_0;
15265
15265
  case 9:
@@ -15430,7 +15430,7 @@ switch (step) {
15430
15430
  s.lambdaArgs = null;
15431
15431
  }
15432
15432
  r0 = s.arg0;
15433
- if (!checkSubtype(r0, PhysicsEngine__C66903_VT)) failedCast(r0);
15433
+ if (!checkSubtype(r0, PhysicsEngine__C66903_VT)) failedCast(r0, PhysicsEngine__C66903_VT);
15434
15434
  r0 = undefined;
15435
15435
  return leave(s, r0)
15436
15436
  default: oops()
@@ -15467,7 +15467,7 @@ switch (step) {
15467
15467
  s.lambdaArgs = null;
15468
15468
  }
15469
15469
  r0 = s.arg0;
15470
- if (!checkSubtype(r0, sprites_SpriteSet__C66867_VT)) failedCast(r0);
15470
+ if (!checkSubtype(r0, sprites_SpriteSet__C66867_VT)) failedCast(r0, sprites_SpriteSet__C66867_VT);
15471
15471
  r0 = s.arg0.fields["_sprites"];
15472
15472
  s.tmp_0 = r0;
15473
15473
  r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined);
@@ -15526,7 +15526,7 @@ switch (step) {
15526
15526
  s.lambdaArgs = null;
15527
15527
  }
15528
15528
  r0 = s.arg0;
15529
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
15529
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
15530
15530
  r0 = s.arg0.fields["_kind"];
15531
15531
  return leave(s, r0)
15532
15532
  default: oops()
@@ -15563,7 +15563,7 @@ switch (step) {
15563
15563
  s.lambdaArgs = null;
15564
15564
  }
15565
15565
  r0 = s.arg0;
15566
- if (!checkSubtype(r0, effects_ParticleEffect__C67871_VT)) failedCast(r0);
15566
+ if (!checkSubtype(r0, effects_ParticleEffect__C67871_VT)) failedCast(r0, effects_ParticleEffect__C67871_VT);
15567
15567
  s.tmp_0 = Sprite_setFlag__P66819_mk(s);
15568
15568
  s.tmp_0.arg0 = s.arg1;
15569
15569
  s.tmp_0.arg1 = 7168;
@@ -15937,7 +15937,7 @@ switch (step) {
15937
15937
  s.lambdaArgs = null;
15938
15938
  }
15939
15939
  r0 = s.arg0;
15940
- if (!checkSubtype(r0, Math_FastRandom__C67606_VT)) failedCast(r0);
15940
+ if (!checkSubtype(r0, Math_FastRandom__C67606_VT)) failedCast(r0, Math_FastRandom__C67606_VT);
15941
15941
  r0 = (s.arg2 > s.arg1);
15942
15942
  s.tmp_0 = r0;
15943
15943
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -16000,7 +16000,7 @@ switch (step) {
16000
16000
  s.lambdaArgs = null;
16001
16001
  }
16002
16002
  r0 = s.arg0;
16003
- if (!checkSubtype(r0, Math_FastRandom__C67606_VT)) failedCast(r0);
16003
+ if (!checkSubtype(r0, Math_FastRandom__C67606_VT)) failedCast(r0, Math_FastRandom__C67606_VT);
16004
16004
  s.tmp_0 = r0 = s.arg0;
16005
16005
  r0 = s.arg0.fields["lfsr"];
16006
16006
  s.tmp_3 = r0;
@@ -16060,7 +16060,7 @@ switch (step) {
16060
16060
  s.lambdaArgs = null;
16061
16061
  }
16062
16062
  r0 = s.arg0;
16063
- if (!checkSubtype(r0, effects_ImageEffect__C67924_VT)) failedCast(r0);
16063
+ if (!checkSubtype(r0, effects_ImageEffect__C67924_VT)) failedCast(r0, effects_ImageEffect__C67924_VT);
16064
16064
  r0 = (s.arg0).fields["effect"] = (s.arg2);
16065
16065
  r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C67606_VT);
16066
16066
  s.tmp_0 = r0;
@@ -16112,7 +16112,7 @@ switch (step) {
16112
16112
  s.lambdaArgs = null;
16113
16113
  }
16114
16114
  r0 = s.arg0;
16115
- if (!checkSubtype(r0, effects_ImageEffect__C67924_VT)) failedCast(r0);
16115
+ if (!checkSubtype(r0, effects_ImageEffect__C67924_VT)) failedCast(r0, effects_ImageEffect__C67924_VT);
16116
16116
  r0 = pxsim_numops_toBoolDecr(s.arg1);
16117
16117
  s.tmp_1 = r0;
16118
16118
  r0 = pxsim_Boolean__bang(s.tmp_1);
@@ -16194,7 +16194,7 @@ switch (step) {
16194
16194
  s.lambdaArgs = null;
16195
16195
  }
16196
16196
  r0 = s.arg0;
16197
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
16197
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
16198
16198
  r0 = pxsim_numops_toBoolDecr(s.arg1);
16199
16199
  s.tmp_1 = r0;
16200
16200
  r0 = pxsim_Boolean__bang(s.tmp_1);
@@ -16218,7 +16218,7 @@ switch (step) {
16218
16218
  r0 = (s.arg0).fields["_image"] = (s.arg1);
16219
16219
  s.tmp_0 = Sprite__C66757_v5_1_mk(s);
16220
16220
  s.tmp_0.arg0 = s.arg0;
16221
- if (!checkSubtype(s.tmp_0.arg0, Sprite__C66757_VT)) failedCast(s.tmp_0.arg0);
16221
+ if (!checkSubtype(s.tmp_0.arg0, Sprite__C66757_VT)) failedCast(s.tmp_0.arg0, Sprite__C66757_VT);
16222
16222
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.recalcSize;
16223
16223
  s.pc = 6; return s.tmp_0;
16224
16224
  case 6:
@@ -16262,7 +16262,7 @@ switch (step) {
16262
16262
  s.lambdaArgs = null;
16263
16263
  }
16264
16264
  r0 = s.arg0;
16265
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
16265
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
16266
16266
  r0 = s.arg0.fields["_rotatedBBox"];
16267
16267
  s.tmp_0 = r0;
16268
16268
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -16404,11 +16404,11 @@ switch (step) {
16404
16404
  s.lambdaArgs = null;
16405
16405
  }
16406
16406
  r0 = s.arg0;
16407
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
16407
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
16408
16408
  r0 = (s.arg0).fields["_hitbox"] = (null);
16409
16409
  s.tmp_0 = Sprite__C66757_v4_1_mk(s);
16410
16410
  s.tmp_0.arg0 = s.arg0;
16411
- if (!checkSubtype(s.tmp_0.arg0, Sprite__C66757_VT)) failedCast(s.tmp_0.arg0);
16411
+ if (!checkSubtype(s.tmp_0.arg0, Sprite__C66757_VT)) failedCast(s.tmp_0.arg0, Sprite__C66757_VT);
16412
16412
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.setHitbox;
16413
16413
  s.pc = 1; return s.tmp_0;
16414
16414
  case 1:
@@ -16447,7 +16447,7 @@ switch (step) {
16447
16447
  s.lambdaArgs = null;
16448
16448
  }
16449
16449
  r0 = s.arg0;
16450
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
16450
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
16451
16451
  r0 = s.arg0.fields["_hitbox"];
16452
16452
  s.tmp_0 = r0;
16453
16453
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -16932,7 +16932,7 @@ switch (step) {
16932
16932
  s.lambdaArgs = null;
16933
16933
  }
16934
16934
  r0 = s.arg0;
16935
- if (!checkSubtype(r0, game_Hitbox__C66669_VT)) failedCast(r0);
16935
+ if (!checkSubtype(r0, game_Hitbox__C66669_VT)) failedCast(r0, game_Hitbox__C66669_VT);
16936
16936
  s.tmp_0 = r0 = s.arg0;
16937
16937
  s.tmp_2 = Sprite_calcDimensionalHash__P66790_mk(s);
16938
16938
  s.tmp_2.arg0 = s.arg1;
@@ -16987,7 +16987,7 @@ switch (step) {
16987
16987
  s.lambdaArgs = null;
16988
16988
  }
16989
16989
  r0 = s.arg0;
16990
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
16990
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
16991
16991
  r0 = s.arg0.fields["_image"];
16992
16992
  s.tmp_3 = r0;
16993
16993
  r0 = pxsim_ImageMethods.revision(s.tmp_3);
@@ -17059,7 +17059,7 @@ switch (step) {
17059
17059
  s.lambdaArgs = null;
17060
17060
  }
17061
17061
  r0 = s.arg0;
17062
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
17062
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
17063
17063
  r0 = s.arg0.fields["_rotatedBBox"];
17064
17064
  s.tmp_0 = r0;
17065
17065
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -17110,7 +17110,7 @@ switch (step) {
17110
17110
  s.lambdaArgs = null;
17111
17111
  }
17112
17112
  r0 = s.arg0;
17113
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C66726_VT)) failedCast(r0);
17113
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C66726_VT)) failedCast(r0, sprites_RotatedBoundingBox__C66726_VT);
17114
17114
  r0 = s.arg0.fields["_rotation"];
17115
17115
  return leaveAccessor(s, r0)
17116
17116
  default: oops()
@@ -17184,7 +17184,7 @@ switch (step) {
17184
17184
  s.lambdaArgs = null;
17185
17185
  }
17186
17186
  r0 = s.arg0;
17187
- if (!checkSubtype(r0, game_Hitbox__C66669_VT)) failedCast(r0);
17187
+ if (!checkSubtype(r0, game_Hitbox__C66669_VT)) failedCast(r0, game_Hitbox__C66669_VT);
17188
17188
  r0 = s.arg0.fields["hash"];
17189
17189
  s.tmp_0 = r0;
17190
17190
  s.tmp_2 = Sprite_calcDimensionalHash__P66790_mk(s);
@@ -17241,7 +17241,7 @@ switch (step) {
17241
17241
  s.lambdaArgs = null;
17242
17242
  }
17243
17243
  r0 = s.arg0;
17244
- if (!checkSubtype(r0, game_Hitbox__C66669_VT)) failedCast(r0);
17244
+ if (!checkSubtype(r0, game_Hitbox__C66669_VT)) failedCast(r0, game_Hitbox__C66669_VT);
17245
17245
  s.tmp_1 = game_Hitbox_isValid__P66674_mk(s);
17246
17246
  s.tmp_1.arg0 = s.arg0;
17247
17247
  s.callLocIdx = 233; s.pc = 8; return s.tmp_1;
@@ -17433,7 +17433,7 @@ switch (step) {
17433
17433
  s.lambdaArgs = null;
17434
17434
  }
17435
17435
  r0 = s.arg0;
17436
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C66726_VT)) failedCast(r0);
17436
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C66726_VT)) failedCast(r0, sprites_RotatedBoundingBox__C66726_VT);
17437
17437
  r0 = s.arg0.fields["_height"];
17438
17438
  return leaveAccessor(s, r0)
17439
17439
  default: oops()
@@ -17468,7 +17468,7 @@ switch (step) {
17468
17468
  s.lambdaArgs = null;
17469
17469
  }
17470
17470
  r0 = s.arg0;
17471
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C66726_VT)) failedCast(r0);
17471
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C66726_VT)) failedCast(r0, sprites_RotatedBoundingBox__C66726_VT);
17472
17472
  r0 = s.arg0.fields["_width"];
17473
17473
  return leaveAccessor(s, r0)
17474
17474
  default: oops()
@@ -17503,7 +17503,7 @@ switch (step) {
17503
17503
  s.lambdaArgs = null;
17504
17504
  }
17505
17505
  r0 = s.arg0;
17506
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
17506
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
17507
17507
  r0 = s.arg0.fields["_sy"];
17508
17508
  s.tmp_0 = r0;
17509
17509
  r0 = (s.tmp_0 / 256);
@@ -17541,7 +17541,7 @@ switch (step) {
17541
17541
  s.lambdaArgs = null;
17542
17542
  }
17543
17543
  r0 = s.arg0;
17544
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
17544
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
17545
17545
  r0 = s.arg0.fields["_sx"];
17546
17546
  s.tmp_0 = r0;
17547
17547
  r0 = (s.tmp_0 / 256);
@@ -17581,7 +17581,7 @@ switch (step) {
17581
17581
  s.lambdaArgs = null;
17582
17582
  }
17583
17583
  r0 = s.arg0;
17584
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C66726_VT)) failedCast(r0);
17584
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C66726_VT)) failedCast(r0, sprites_RotatedBoundingBox__C66726_VT);
17585
17585
  r0 = (s.arg1 / 2);
17586
17586
  s.arg1 = (r0);
17587
17587
  r0 = (s.arg2 / 2);
@@ -17648,7 +17648,7 @@ switch (step) {
17648
17648
  s.lambdaArgs = null;
17649
17649
  }
17650
17650
  r0 = s.arg0;
17651
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C66726_VT)) failedCast(r0);
17651
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C66726_VT)) failedCast(r0, sprites_RotatedBoundingBox__C66726_VT);
17652
17652
  r0 = (s.arg0).fields["_rotation"] = (s.arg1);
17653
17653
  r0 = s.arg0.fields["points"];
17654
17654
  s.tmp_0 = r0;
@@ -17813,7 +17813,7 @@ switch (step) {
17813
17813
  s.lambdaArgs = null;
17814
17814
  }
17815
17815
  r0 = s.arg0;
17816
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C66726_VT)) failedCast(r0);
17816
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C66726_VT)) failedCast(r0, sprites_RotatedBoundingBox__C66726_VT);
17817
17817
  r0 = s.arg0.fields["points"];
17818
17818
  s.tmp_0 = r0;
17819
17819
  r0 = pxsim_Array__getAt(s.tmp_0, 0);
@@ -17932,7 +17932,7 @@ switch (step) {
17932
17932
  s.lambdaArgs = null;
17933
17933
  }
17934
17934
  r0 = s.arg0;
17935
- if (!checkSubtype(r0, effects_ImageEffect__C67924_VT)) failedCast(r0);
17935
+ if (!checkSubtype(r0, effects_ImageEffect__C67924_VT)) failedCast(r0, effects_ImageEffect__C67924_VT);
17936
17936
  s.tmp_0 = if_effect_3_mk(s);
17937
17937
  s.tmp_0.arg0 = s.arg0;
17938
17938
  s.tmp_0.arg1 = s.arg1;
@@ -17984,7 +17984,7 @@ switch (step) {
17984
17984
  s.lambdaArgs = null;
17985
17985
  }
17986
17986
  r0 = s.arg0;
17987
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
17987
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
17988
17988
  r0 = s.arg0.fields["_image"];
17989
17989
  return leaveAccessor(s, r0)
17990
17990
  default: oops()
@@ -18024,7 +18024,7 @@ switch (step) {
18024
18024
  s.lambdaArgs = null;
18025
18025
  }
18026
18026
  r0 = s.arg0;
18027
- if (!checkSubtype(r0, effects_ParticleEffect__C67871_VT)) failedCast(r0);
18027
+ if (!checkSubtype(r0, effects_ParticleEffect__C67871_VT)) failedCast(r0, effects_ParticleEffect__C67871_VT);
18028
18028
  r0 = s.arg0.fields["sourceFactory"];
18029
18029
  s.tmp_2 = r0;
18030
18030
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -18135,7 +18135,7 @@ switch (step) {
18135
18135
  s.lambdaArgs = null;
18136
18136
  }
18137
18137
  r0 = s.arg0;
18138
- if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0);
18138
+ if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0, particles_ParticleSource__C67744_VT);
18139
18139
  r0 = pxsim_numops_toBoolDecr(s.arg1);
18140
18140
  if (!r0) { step = 1; continue; }
18141
18141
  s.tmp_0 = r0 = s.arg0;
@@ -18198,7 +18198,7 @@ switch (step) {
18198
18198
  s.lambdaArgs = null;
18199
18199
  }
18200
18200
  r0 = s.arg0;
18201
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
18201
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
18202
18202
  r0 = pxsim_numops_toBoolDecr(s.arg2);
18203
18203
  if (!r0) { step = 1; continue; }
18204
18204
  s.tmp_0 = r0 = s.arg0;
@@ -18261,7 +18261,7 @@ switch (step) {
18261
18261
  s.lambdaArgs = null;
18262
18262
  }
18263
18263
  r0 = s.arg0;
18264
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C67617_VT)) failedCast(r0);
18264
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C67617_VT)) failedCast(r0, scene_systemMenu_MenuOption__C67617_VT);
18265
18265
  r0 = s.arg0.fields["state"];
18266
18266
  s.tmp_1 = r0;
18267
18267
  r0 = (s.tmp_1 === s.arg1);
@@ -18314,7 +18314,7 @@ switch (step) {
18314
18314
  s.lambdaArgs = null;
18315
18315
  }
18316
18316
  r0 = s.arg0;
18317
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C67617_VT)) failedCast(r0);
18317
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C67617_VT)) failedCast(r0, scene_systemMenu_MenuOption__C67617_VT);
18318
18318
  r0 = s.arg0.fields["theme"];
18319
18319
  s.tmp_2 = r0;
18320
18320
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -18469,7 +18469,7 @@ switch (step) {
18469
18469
  s.lambdaArgs = null;
18470
18470
  }
18471
18471
  r0 = s.arg0;
18472
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
18472
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
18473
18473
  s.tmp_0 = Sprite_left__P66800_mk(s);
18474
18474
  s.tmp_0.arg0 = s.arg0;
18475
18475
  s.tmp_1 = r0 = s.arg1;
@@ -18527,7 +18527,7 @@ switch (step) {
18527
18527
  s.lambdaArgs = null;
18528
18528
  }
18529
18529
  r0 = s.arg0;
18530
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
18530
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
18531
18531
  s.tmp_0 = game_currentScene__P66527_mk(s);
18532
18532
  s.callLocIdx = 366; s.pc = 1; return s.tmp_0;
18533
18533
  case 1:
@@ -18546,7 +18546,7 @@ switch (step) {
18546
18546
  r0 = (s.tmp_1 - s.tmp_3);
18547
18547
  s.tmp_0.arg2 = r0;
18548
18548
  s.tmp_0.arg3 = 0;
18549
- if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C66903_VT)) failedCast(s.tmp_0.arg0);
18549
+ if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C66903_VT)) failedCast(s.tmp_0.arg0, PhysicsEngine__C66903_VT);
18550
18550
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.moveSprite;
18551
18551
  s.pc = 2; return s.tmp_0;
18552
18552
  case 2:
@@ -18625,7 +18625,7 @@ switch (step) {
18625
18625
  s.lambdaArgs = null;
18626
18626
  }
18627
18627
  r0 = s.arg0;
18628
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C67617_VT)) failedCast(r0);
18628
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C67617_VT)) failedCast(r0, scene_systemMenu_MenuOption__C67617_VT);
18629
18629
  r0 = (s.arg0).fields["top"] = (s.arg2);
18630
18630
  s.tmp_0 = Sprite_left__P66800_mk(s);
18631
18631
  r0 = s.arg0.fields["card"];
@@ -18705,7 +18705,7 @@ switch (step) {
18705
18705
  s.lambdaArgs = null;
18706
18706
  }
18707
18707
  r0 = s.arg0;
18708
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C67617_VT)) failedCast(r0);
18708
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C67617_VT)) failedCast(r0, scene_systemMenu_MenuOption__C67617_VT);
18709
18709
  r0 = (s.arg0).fields["theme"] = (s.arg1);
18710
18710
  s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P67624_mk(s);
18711
18711
  s.tmp_0.arg0 = s.arg0;
@@ -18747,7 +18747,7 @@ switch (step) {
18747
18747
  s.lambdaArgs = null;
18748
18748
  }
18749
18749
  r0 = s.arg0;
18750
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C67617_VT)) failedCast(r0);
18750
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C67617_VT)) failedCast(r0, scene_systemMenu_MenuOption__C67617_VT);
18751
18751
  r0 = s.arg0.fields["theme"];
18752
18752
  s.tmp_0 = r0;
18753
18753
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -18884,7 +18884,7 @@ switch (step) {
18884
18884
  r0 = s.scene___73336.fields["physicsEngine"];
18885
18885
  s.tmp_0.arg0 = r0;
18886
18886
  s.tmp_0.arg1 = s.sprite___73339;
18887
- if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C66903_VT)) failedCast(s.tmp_0.arg0);
18887
+ if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C66903_VT)) failedCast(s.tmp_0.arg0, PhysicsEngine__C66903_VT);
18888
18888
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.addSprite;
18889
18889
  s.pc = 4; return s.tmp_0;
18890
18890
  case 4:
@@ -19031,7 +19031,7 @@ switch (step) {
19031
19031
  s.lambdaArgs = null;
19032
19032
  }
19033
19033
  r0 = s.arg0;
19034
- if (!checkSubtype(r0, PhysicsEngine__C66903_VT)) failedCast(r0);
19034
+ if (!checkSubtype(r0, PhysicsEngine__C66903_VT)) failedCast(r0, PhysicsEngine__C66903_VT);
19035
19035
  r0 = undefined;
19036
19036
  return leave(s, r0)
19037
19037
  default: oops()
@@ -19069,7 +19069,7 @@ switch (step) {
19069
19069
  s.lambdaArgs = null;
19070
19070
  }
19071
19071
  r0 = s.arg0;
19072
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
19072
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
19073
19073
  r0 = (s.arg1 == undefined);
19074
19074
  s.tmp_0 = r0;
19075
19075
  r0 = pxsim_numops_toBool(s.tmp_0);
@@ -19223,7 +19223,7 @@ switch (step) {
19223
19223
  s.lambdaArgs = null;
19224
19224
  }
19225
19225
  r0 = s.arg0;
19226
- if (!checkSubtype(r0, sprites_SpriteSet__C66867_VT)) failedCast(r0);
19226
+ if (!checkSubtype(r0, sprites_SpriteSet__C66867_VT)) failedCast(r0, sprites_SpriteSet__C66867_VT);
19227
19227
  r0 = pxsim_numops_toBoolDecr(s.arg1);
19228
19228
  s.tmp_1 = r0;
19229
19229
  r0 = pxsim_Boolean__bang(s.tmp_1);
@@ -19291,7 +19291,7 @@ switch (step) {
19291
19291
  s.lambdaArgs = null;
19292
19292
  }
19293
19293
  r0 = s.arg0;
19294
- if (!checkSubtype(r0, sprites_SpriteSet__C66867_VT)) failedCast(r0);
19294
+ if (!checkSubtype(r0, sprites_SpriteSet__C66867_VT)) failedCast(r0, sprites_SpriteSet__C66867_VT);
19295
19295
  r0 = s.arg0.fields["_sprites"];
19296
19296
  s.tmp_1 = r0;
19297
19297
  r0 = pxsim_Array_.indexOf(s.tmp_1, s.arg1, undefined);
@@ -19332,7 +19332,7 @@ switch (step) {
19332
19332
  s.lambdaArgs = null;
19333
19333
  }
19334
19334
  r0 = s.arg0;
19335
- if (!checkSubtype(r0, sprites_SpriteSet__C66867_VT)) failedCast(r0);
19335
+ if (!checkSubtype(r0, sprites_SpriteSet__C66867_VT)) failedCast(r0, sprites_SpriteSet__C66867_VT);
19336
19336
  s.tmp_0 = r0 = s.arg0;
19337
19337
  r0 = pxsim_Array__mk();
19338
19338
  s.tmp_1 = r0;
@@ -19373,7 +19373,7 @@ switch (step) {
19373
19373
  s.lambdaArgs = null;
19374
19374
  }
19375
19375
  r0 = s.arg0;
19376
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
19376
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
19377
19377
  s.tmp_0 = sprites_BaseSprite_constructor__P66472_mk(s);
19378
19378
  s.tmp_0.arg0 = s.arg0;
19379
19379
  s.tmp_0.arg1 = 0;
@@ -19517,7 +19517,7 @@ switch (step) {
19517
19517
  s.lambdaArgs = null;
19518
19518
  }
19519
19519
  r0 = s.arg0;
19520
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
19520
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
19521
19521
  s.tmp_0 = r0 = s.arg0;
19522
19522
  s.tmp_3 = Math_max__P65656_mk(s);
19523
19523
  s.tmp_3.arg0 = 0;
@@ -19570,7 +19570,7 @@ switch (step) {
19570
19570
  s.lambdaArgs = null;
19571
19571
  }
19572
19572
  r0 = s.arg0;
19573
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
19573
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
19574
19574
  r0 = s.arg0.fields["_fy"];
19575
19575
  s.tmp_0 = r0;
19576
19576
  r0 = (s.tmp_0 / 256);
@@ -19609,7 +19609,7 @@ switch (step) {
19609
19609
  s.lambdaArgs = null;
19610
19610
  }
19611
19611
  r0 = s.arg0;
19612
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
19612
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
19613
19613
  s.tmp_0 = r0 = s.arg0;
19614
19614
  s.tmp_3 = Math_max__P65656_mk(s);
19615
19615
  s.tmp_3.arg0 = 0;
@@ -19662,7 +19662,7 @@ switch (step) {
19662
19662
  s.lambdaArgs = null;
19663
19663
  }
19664
19664
  r0 = s.arg0;
19665
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
19665
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
19666
19666
  r0 = s.arg0.fields["_fx"];
19667
19667
  s.tmp_0 = r0;
19668
19668
  r0 = (s.tmp_0 / 256);
@@ -19701,7 +19701,7 @@ switch (step) {
19701
19701
  s.lambdaArgs = null;
19702
19702
  }
19703
19703
  r0 = s.arg0;
19704
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
19704
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
19705
19705
  s.tmp_0 = r0 = s.arg0;
19706
19706
  r0 = (s.arg1 * 256);
19707
19707
  s.tmp_2 = r0;
@@ -19745,7 +19745,7 @@ switch (step) {
19745
19745
  s.lambdaArgs = null;
19746
19746
  }
19747
19747
  r0 = s.arg0;
19748
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
19748
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
19749
19749
  r0 = s.arg0.fields["_ay"];
19750
19750
  s.tmp_0 = r0;
19751
19751
  r0 = (s.tmp_0 / 256);
@@ -19784,7 +19784,7 @@ switch (step) {
19784
19784
  s.lambdaArgs = null;
19785
19785
  }
19786
19786
  r0 = s.arg0;
19787
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
19787
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
19788
19788
  s.tmp_0 = r0 = s.arg0;
19789
19789
  r0 = (s.arg1 * 256);
19790
19790
  s.tmp_2 = r0;
@@ -19828,7 +19828,7 @@ switch (step) {
19828
19828
  s.lambdaArgs = null;
19829
19829
  }
19830
19830
  r0 = s.arg0;
19831
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
19831
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
19832
19832
  r0 = s.arg0.fields["_ax"];
19833
19833
  s.tmp_0 = r0;
19834
19834
  r0 = (s.tmp_0 / 256);
@@ -19867,7 +19867,7 @@ switch (step) {
19867
19867
  s.lambdaArgs = null;
19868
19868
  }
19869
19869
  r0 = s.arg0;
19870
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
19870
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
19871
19871
  s.tmp_0 = r0 = s.arg0;
19872
19872
  r0 = (s.arg1 * 256);
19873
19873
  s.tmp_2 = r0;
@@ -19911,7 +19911,7 @@ switch (step) {
19911
19911
  s.lambdaArgs = null;
19912
19912
  }
19913
19913
  r0 = s.arg0;
19914
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
19914
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
19915
19915
  r0 = s.arg0.fields["_vy"];
19916
19916
  s.tmp_0 = r0;
19917
19917
  r0 = (s.tmp_0 / 256);
@@ -19950,7 +19950,7 @@ switch (step) {
19950
19950
  s.lambdaArgs = null;
19951
19951
  }
19952
19952
  r0 = s.arg0;
19953
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
19953
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
19954
19954
  s.tmp_0 = r0 = s.arg0;
19955
19955
  r0 = (s.arg1 * 256);
19956
19956
  s.tmp_2 = r0;
@@ -19994,7 +19994,7 @@ switch (step) {
19994
19994
  s.lambdaArgs = null;
19995
19995
  }
19996
19996
  r0 = s.arg0;
19997
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
19997
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
19998
19998
  r0 = s.arg0.fields["_vx"];
19999
19999
  s.tmp_0 = r0;
20000
20000
  r0 = (s.tmp_0 / 256);
@@ -22975,7 +22975,7 @@ switch (step) {
22975
22975
  s.lambdaArgs = null;
22976
22976
  }
22977
22977
  r0 = s.arg0;
22978
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C67617_VT)) failedCast(r0);
22978
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C67617_VT)) failedCast(r0, scene_systemMenu_MenuOption__C67617_VT);
22979
22979
  r0 = (s.arg0).fields["iconImage"] = (s.arg1);
22980
22980
  r0 = (s.arg0).fields["getText"] = (s.arg2);
22981
22981
  r0 = (s.arg0).fields["action"] = (s.arg3);
@@ -23017,7 +23017,7 @@ switch (step) {
23017
23017
  s.lambdaArgs = null;
23018
23018
  }
23019
23019
  r0 = s.arg0;
23020
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C67626_VT)) failedCast(r0);
23020
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C67626_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C67626_VT);
23021
23021
  r0 = (s.arg0).fields["generator"] = (s.arg1);
23022
23022
  s.tmp_0 = r0 = s.arg2;
23023
23023
  r0 = pxsim_numops_toBool(s.tmp_0);
@@ -23685,7 +23685,7 @@ switch (step) {
23685
23685
  s.lambdaArgs = null;
23686
23686
  }
23687
23687
  r0 = s.arg0;
23688
- if (!checkSubtype(r0, music_PlayableState__C66281_VT)) failedCast(r0);
23688
+ if (!checkSubtype(r0, music_PlayableState__C66281_VT)) failedCast(r0, music_PlayableState__C66281_VT);
23689
23689
  s.tmp_0 = r0 = s.arg0;
23690
23690
  r0 = pxsim_Array__mk();
23691
23691
  s.tmp_1 = r0;
@@ -23947,7 +23947,7 @@ switch (step) {
23947
23947
  s.lambdaArgs = null;
23948
23948
  }
23949
23949
  r0 = s.arg0;
23950
- if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0);
23950
+ if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0, particles_ParticleSource__C67744_VT);
23951
23951
  r0 = (s.arg0).fields["head"] = (undefined);
23952
23952
  r0 = undefined;
23953
23953
  return leave(s, r0)
@@ -23985,7 +23985,7 @@ switch (step) {
23985
23985
  s.lambdaArgs = null;
23986
23986
  }
23987
23987
  r0 = s.arg0;
23988
- if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0);
23988
+ if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0, controller_Button__C66631_VT);
23989
23989
  s.tmp_0 = controller_Button_getOrCreateHandlerForEvent__P66646_mk(s);
23990
23990
  s.tmp_0.arg0 = s.arg0;
23991
23991
  s.tmp_0.arg1 = s.arg1;
@@ -24037,7 +24037,7 @@ switch (step) {
24037
24037
  s.lambdaArgs = null;
24038
24038
  }
24039
24039
  r0 = s.arg0;
24040
- if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0);
24040
+ if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0, controller_Button__C66631_VT);
24041
24041
  s.tmp_3 = controller_Button_handlerState__P66632_mk(s);
24042
24042
  s.tmp_3.arg0 = s.arg0;
24043
24043
  s.callLocIdx = 216; s.pc = 10; return s.tmp_3;
@@ -24225,7 +24225,7 @@ switch (step) {
24225
24225
  s.lambdaArgs = null;
24226
24226
  }
24227
24227
  r0 = s.arg0;
24228
- if (!checkSubtype(r0, controller_ButtonHandler__C66662_VT)) failedCast(r0);
24228
+ if (!checkSubtype(r0, controller_ButtonHandler__C66662_VT)) failedCast(r0, controller_ButtonHandler__C66662_VT);
24229
24229
  r0 = (s.arg0).fields["event"] = (s.arg1);
24230
24230
  r0 = (s.arg0).fields["callback"] = (s.arg2);
24231
24231
  r0 = undefined;
@@ -24269,7 +24269,7 @@ switch (step) {
24269
24269
  s.lambdaArgs = null;
24270
24270
  }
24271
24271
  r0 = s.arg0;
24272
- if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0);
24272
+ if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0, controller_Button__C66631_VT);
24273
24273
  s.tmp_0 = controller_Button_handlerState__P66632_mk(s);
24274
24274
  s.tmp_0.arg0 = s.arg0;
24275
24275
  s.callLocIdx = 212; s.pc = 14; return s.tmp_0;
@@ -24411,7 +24411,7 @@ switch (step) {
24411
24411
  s.lambdaArgs = null;
24412
24412
  }
24413
24413
  r0 = s.arg0;
24414
- if (!checkSubtype(r0, controller_ButtonEventHandlerState__C66664_VT)) failedCast(r0);
24414
+ if (!checkSubtype(r0, controller_ButtonEventHandlerState__C66664_VT)) failedCast(r0, controller_ButtonEventHandlerState__C66664_VT);
24415
24415
  r0 = (s.arg0).fields["id"] = (s.arg1);
24416
24416
  r0 = undefined;
24417
24417
  return leave(s, r0)
@@ -24450,7 +24450,7 @@ switch (step) {
24450
24450
  s.lambdaArgs = null;
24451
24451
  }
24452
24452
  r0 = s.arg0;
24453
- if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0);
24453
+ if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0, controller_Button__C66631_VT);
24454
24454
  s.state___74634 = (undefined);
24455
24455
  s.tmp_0 = game_currentScene__P66527_mk(s);
24456
24456
  s.callLocIdx = 202; s.pc = 6; return s.tmp_0;
@@ -24859,7 +24859,7 @@ switch (step) {
24859
24859
  s.lambdaArgs = null;
24860
24860
  }
24861
24861
  r0 = s.arg0;
24862
- if (!checkSubtype(r0, game_GameOverConfig__C67410_VT)) failedCast(r0);
24862
+ if (!checkSubtype(r0, game_GameOverConfig__C67410_VT)) failedCast(r0, game_GameOverConfig__C67410_VT);
24863
24863
  s.tmp_0 = game_GameOverConfig_init__P67411_mk(s);
24864
24864
  s.tmp_0.arg0 = s.arg0;
24865
24865
  s.callLocIdx = 972; s.pc = 1; return s.tmp_0;
@@ -24899,7 +24899,7 @@ switch (step) {
24899
24899
  s.lambdaArgs = null;
24900
24900
  }
24901
24901
  r0 = s.arg0;
24902
- if (!checkSubtype(r0, game_GameOverConfig__C67410_VT)) failedCast(r0);
24902
+ if (!checkSubtype(r0, game_GameOverConfig__C67410_VT)) failedCast(r0, game_GameOverConfig__C67410_VT);
24903
24903
  r0 = (s.arg0).fields["scoringType"] = (0);
24904
24904
  r0 = (s.arg0).fields["winEffect"] = (globals.confetti___67895);
24905
24905
  r0 = (s.arg0).fields["loseEffect"] = (globals.melt___67932);
@@ -24965,7 +24965,7 @@ switch (step) {
24965
24965
  s.lambdaArgs = null;
24966
24966
  }
24967
24967
  r0 = s.arg0;
24968
- if (!checkSubtype(r0, music_Melody__C66039_VT)) failedCast(r0);
24968
+ if (!checkSubtype(r0, music_Melody__C66039_VT)) failedCast(r0, music_Melody__C66039_VT);
24969
24969
  r0 = (s.arg0).fields["_text"] = (s.arg1);
24970
24970
  r0 = undefined;
24971
24971
  return leave(s, r0)
@@ -25044,7 +25044,7 @@ switch (step) {
25044
25044
  s.lambdaArgs = null;
25045
25045
  }
25046
25046
  r0 = s.arg0;
25047
- if (!checkSubtype(r0, music_MelodyPlayable__C66288_VT)) failedCast(r0);
25047
+ if (!checkSubtype(r0, music_MelodyPlayable__C66288_VT)) failedCast(r0, music_MelodyPlayable__C66288_VT);
25048
25048
  r0 = (s.arg0).fields["melody"] = (s.arg1);
25049
25049
  r0 = undefined;
25050
25050
  r0 = undefined;
@@ -25081,7 +25081,7 @@ switch (step) {
25081
25081
  s.lambdaArgs = null;
25082
25082
  }
25083
25083
  r0 = s.arg0;
25084
- if (!checkSubtype(r0, music_Playable__C66114_VT)) failedCast(r0);
25084
+ if (!checkSubtype(r0, music_Playable__C66114_VT)) failedCast(r0, music_Playable__C66114_VT);
25085
25085
  r0 = undefined;
25086
25086
  return leave(s, r0)
25087
25087
  default: oops()
@@ -25320,7 +25320,7 @@ switch (step) {
25320
25320
  s.lambdaArgs = null;
25321
25321
  }
25322
25322
  r0 = s.arg0;
25323
- if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0);
25323
+ if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0, particles_ParticleSource__C67744_VT);
25324
25324
  s.tmp_0 = sprites_BaseSprite_constructor__P66472_mk(s);
25325
25325
  s.tmp_0.arg0 = s.arg0;
25326
25326
  s.tmp_0.arg1 = 0;
@@ -25451,7 +25451,7 @@ switch (step) {
25451
25451
  s.lambdaArgs = null;
25452
25452
  }
25453
25453
  r0 = s.arg0;
25454
- if (!checkSubtype(r0, particles_SprayFactory__C67808_VT)) failedCast(r0);
25454
+ if (!checkSubtype(r0, particles_SprayFactory__C67808_VT)) failedCast(r0, particles_SprayFactory__C67808_VT);
25455
25455
  r0 = undefined;
25456
25456
  s.tmp_0 = particles_initTrig__P67796_mk(s);
25457
25457
  s.callLocIdx = 1249; s.pc = 1; return s.tmp_0;
@@ -25509,7 +25509,7 @@ switch (step) {
25509
25509
  s.lambdaArgs = null;
25510
25510
  }
25511
25511
  r0 = s.arg0;
25512
- if (!checkSubtype(r0, particles_SprayFactory__C67808_VT)) failedCast(r0);
25512
+ if (!checkSubtype(r0, particles_SprayFactory__C67808_VT)) failedCast(r0, particles_SprayFactory__C67808_VT);
25513
25513
  s.tmp_0 = r0 = s.arg0;
25514
25514
  s.tmp_4 = particles_toRadians__P67803_mk(s);
25515
25515
  s.tmp_5 = r0 = s.arg1;
@@ -25821,7 +25821,7 @@ switch (step) {
25821
25821
  s.lambdaArgs = null;
25822
25822
  }
25823
25823
  r0 = s.arg0;
25824
- if (!checkSubtype(r0, particles_ParticleFactory__C67804_VT)) failedCast(r0);
25824
+ if (!checkSubtype(r0, particles_ParticleFactory__C67804_VT)) failedCast(r0, particles_ParticleFactory__C67804_VT);
25825
25825
  r0 = undefined;
25826
25826
  return leave(s, r0)
25827
25827
  default: oops()
@@ -25856,7 +25856,7 @@ switch (step) {
25856
25856
  s.lambdaArgs = null;
25857
25857
  }
25858
25858
  r0 = s.arg0;
25859
- if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0);
25859
+ if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0, particles_ParticleSource__C67744_VT);
25860
25860
  r0 = pxsim_numops_toBoolDecr(s.arg1);
25861
25861
  if (!r0) { step = 1; continue; }
25862
25862
  r0 = (s.arg0).fields["_factory"] = (s.arg1);
@@ -25897,7 +25897,7 @@ switch (step) {
25897
25897
  s.lambdaArgs = null;
25898
25898
  }
25899
25899
  r0 = s.arg0;
25900
- if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0);
25900
+ if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0, particles_ParticleSource__C67744_VT);
25901
25901
  r0 = (s.arg0).fields["anchor"] = (s.arg1);
25902
25902
  r0 = undefined;
25903
25903
  return leave(s, r0)
@@ -25935,7 +25935,7 @@ switch (step) {
25935
25935
  s.lambdaArgs = null;
25936
25936
  }
25937
25937
  r0 = s.arg0;
25938
- if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0);
25938
+ if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0, particles_ParticleSource__C67744_VT);
25939
25939
  s.tmp_0 = r0 = s.arg0;
25940
25940
  r0 = (s.arg1 * 256);
25941
25941
  s.tmp_2 = r0;
@@ -25987,7 +25987,7 @@ switch (step) {
25987
25987
  s.lambdaArgs = null;
25988
25988
  }
25989
25989
  r0 = s.arg0;
25990
- if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0);
25990
+ if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0, particles_ParticleSource__C67744_VT);
25991
25991
  s.tmp_0 = r0 = s.arg0;
25992
25992
  r0 = (1000 / s.arg1);
25993
25993
  s.tmp_2 = r0;
@@ -26032,7 +26032,7 @@ switch (step) {
26032
26032
  s.lambdaArgs = null;
26033
26033
  }
26034
26034
  r0 = s.arg0;
26035
- if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0);
26035
+ if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0, particles_ParticleSource__C67744_VT);
26036
26036
  s.tmp_0 = particles_ParticleSource_enabled__P67753_mk(s);
26037
26037
  s.tmp_0.arg0 = s.arg0;
26038
26038
  s.tmp_0.arg1 = false;
@@ -26537,7 +26537,7 @@ switch (step) {
26537
26537
  s.lambdaArgs = null;
26538
26538
  }
26539
26539
  r0 = s.arg0;
26540
- if (!checkSubtype(r0, scene_Scene__C66519_VT)) failedCast(r0);
26540
+ if (!checkSubtype(r0, scene_Scene__C66519_VT)) failedCast(r0, scene_Scene__C66519_VT);
26541
26541
  r0 = s.arg0.fields["_millis"];
26542
26542
  return leave(s, r0)
26543
26543
  default: oops()
@@ -26659,7 +26659,7 @@ switch (step) {
26659
26659
  s.lambdaArgs = null;
26660
26660
  }
26661
26661
  r0 = s.arg0;
26662
- if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0);
26662
+ if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0, particles_ParticleSource__C67744_VT);
26663
26663
  s.tmp_0 = r0 = s.arg0;
26664
26664
  r0 = s.tmp_0.fields["timer"];
26665
26665
  s.tmp_2 = r0;
@@ -26781,7 +26781,7 @@ switch (step) {
26781
26781
  s.tmp_0.arg0 = r0;
26782
26782
  r0 = s.arg0.fields["anchor"];
26783
26783
  s.tmp_0.arg1 = r0;
26784
- if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C67804_VT)) failedCast(s.tmp_0.arg0);
26784
+ if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C67804_VT)) failedCast(s.tmp_0.arg0, particles_ParticleFactory__C67804_VT);
26785
26785
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.createParticle;
26786
26786
  s.pc = 32; return s.tmp_0;
26787
26787
  case 32:
@@ -26846,7 +26846,7 @@ switch (step) {
26846
26846
  s.tmp_0.arg0 = s.arg0;
26847
26847
  s.tmp_0.arg1 = s.current___75289;
26848
26848
  s.tmp_0.arg2 = s.fixedDt___75297;
26849
- if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C67744_VT)) failedCast(s.tmp_0.arg0);
26849
+ if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C67744_VT)) failedCast(s.tmp_0.arg0, particles_ParticleSource__C67744_VT);
26850
26850
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.updateParticle;
26851
26851
  s.pc = 33; return s.tmp_0;
26852
26852
  case 33:
@@ -26926,7 +26926,7 @@ switch (step) {
26926
26926
  s.lambdaArgs = null;
26927
26927
  }
26928
26928
  r0 = s.arg0;
26929
- if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0);
26929
+ if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0, particles_ParticleSource__C67744_VT);
26930
26930
  r0 = (s.arg2 >> 10);
26931
26931
  s.arg2 = (r0);
26932
26932
  s.tmp_0 = r0 = s.arg1;
@@ -27054,7 +27054,7 @@ switch (step) {
27054
27054
  s.lambdaArgs = null;
27055
27055
  }
27056
27056
  r0 = s.arg0;
27057
- if (!checkSubtype(r0, particles_ParticleFactory__C67804_VT)) failedCast(r0);
27057
+ if (!checkSubtype(r0, particles_ParticleFactory__C67804_VT)) failedCast(r0, particles_ParticleFactory__C67804_VT);
27058
27058
  r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C67742_VT);
27059
27059
  s.p___75384 = (r0);
27060
27060
  s.tmp_0 = r0 = s.p___75384;
@@ -27196,7 +27196,7 @@ switch (step) {
27196
27196
  s.lambdaArgs = null;
27197
27197
  }
27198
27198
  r0 = s.arg0;
27199
- if (!checkSubtype(r0, particles_SprayFactory__C67808_VT)) failedCast(r0);
27199
+ if (!checkSubtype(r0, particles_SprayFactory__C67808_VT)) failedCast(r0, particles_SprayFactory__C67808_VT);
27200
27200
  s.tmp_0 = r0 = s.arg0;
27201
27201
  r0 = (s.arg1 * 256);
27202
27202
  s.tmp_2 = r0;
@@ -27244,7 +27244,7 @@ switch (step) {
27244
27244
  s.lambdaArgs = null;
27245
27245
  }
27246
27246
  r0 = s.arg0;
27247
- if (!checkSubtype(r0, particles_ConfettiFactory__C67831_VT)) failedCast(r0);
27247
+ if (!checkSubtype(r0, particles_ConfettiFactory__C67831_VT)) failedCast(r0, particles_ConfettiFactory__C67831_VT);
27248
27248
  r0 = pxsim_Array__mk();
27249
27249
  s.tmp_0 = r0;
27250
27250
  r0 = pxsim_Array__push(s.tmp_0, undefined);
@@ -27326,7 +27326,7 @@ switch (step) {
27326
27326
  s.lambdaArgs = null;
27327
27327
  }
27328
27328
  r0 = s.arg0;
27329
- if (!checkSubtype(r0, particles_ShapeFactory__C67825_VT)) failedCast(r0);
27329
+ if (!checkSubtype(r0, particles_ShapeFactory__C67825_VT)) failedCast(r0, particles_ShapeFactory__C67825_VT);
27330
27330
  r0 = pxsim_numops_toBoolDecr(s.arg1);
27331
27331
  if (!r0) { step = 1; continue; }
27332
27332
  r0 = s.arg0.fields["sources"];
@@ -27372,7 +27372,7 @@ switch (step) {
27372
27372
  s.lambdaArgs = null;
27373
27373
  }
27374
27374
  r0 = s.arg0;
27375
- if (!checkSubtype(r0, particles_ShapeFactory__C67825_VT)) failedCast(r0);
27375
+ if (!checkSubtype(r0, particles_ShapeFactory__C67825_VT)) failedCast(r0, particles_ShapeFactory__C67825_VT);
27376
27376
  s.tmp_0 = particles_AreaFactory_constructor__P67819_mk(s);
27377
27377
  s.tmp_0.arg0 = s.arg0;
27378
27378
  s.tmp_0.arg1 = s.arg1;
@@ -27451,7 +27451,7 @@ switch (step) {
27451
27451
  s.lambdaArgs = null;
27452
27452
  }
27453
27453
  r0 = s.arg0;
27454
- if (!checkSubtype(r0, particles_AreaFactory__C67815_VT)) failedCast(r0);
27454
+ if (!checkSubtype(r0, particles_AreaFactory__C67815_VT)) failedCast(r0, particles_AreaFactory__C67815_VT);
27455
27455
  s.tmp_0 = particles_SprayFactory_constructor__P67814_mk(s);
27456
27456
  s.tmp_0.arg0 = s.arg0;
27457
27457
  s.tmp_0.arg1 = 40;
@@ -27534,7 +27534,7 @@ switch (step) {
27534
27534
  s.lambdaArgs = null;
27535
27535
  }
27536
27536
  r0 = s.arg0;
27537
- if (!checkSubtype(r0, effects_ScreenEffect__C67881_VT)) failedCast(r0);
27537
+ if (!checkSubtype(r0, effects_ScreenEffect__C67881_VT)) failedCast(r0, effects_ScreenEffect__C67881_VT);
27538
27538
  s.tmp_0 = effects_ParticleEffect_constructor__P67874_mk(s);
27539
27539
  s.tmp_0.arg0 = s.arg0;
27540
27540
  s.tmp_0.arg1 = s.arg1;
@@ -27585,7 +27585,7 @@ switch (step) {
27585
27585
  s.lambdaArgs = null;
27586
27586
  }
27587
27587
  r0 = s.arg0;
27588
- if (!checkSubtype(r0, effects_ParticleEffect__C67871_VT)) failedCast(r0);
27588
+ if (!checkSubtype(r0, effects_ParticleEffect__C67871_VT)) failedCast(r0, effects_ParticleEffect__C67871_VT);
27589
27589
  r0 = (s.arg0).fields["sourceFactory"] = (s.arg3);
27590
27590
  r0 = (s.arg0).fields["defaultRate"] = (s.arg1);
27591
27591
  r0 = (s.arg0).fields["defaultLifespan"] = (s.arg2);
@@ -27700,7 +27700,7 @@ switch (step) {
27700
27700
  s.lambdaArgs = null;
27701
27701
  }
27702
27702
  r0 = s.arg0;
27703
- if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0);
27703
+ if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0, controller_Button__C66631_VT);
27704
27704
  r0 = (s.arg0).fields["id"] = (s.arg1);
27705
27705
  r0 = (s.arg0).fields["_pressed"] = (false);
27706
27706
  r0 = (s.arg0).fields["repeatDelay"] = (undefined);
@@ -27872,7 +27872,7 @@ switch (step) {
27872
27872
  s.lambdaArgs = null;
27873
27873
  }
27874
27874
  r0 = s.arg0;
27875
- if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0);
27875
+ if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0, controller_Button__C66631_VT);
27876
27876
  r0 = s.arg0.fields["_pressed"];
27877
27877
  s.tmp_1 = r0;
27878
27878
  r0 = (s.tmp_1 != s.arg1);
@@ -27955,7 +27955,7 @@ switch (step) {
27955
27955
  s.lambdaArgs = null;
27956
27956
  }
27957
27957
  r0 = s.arg0;
27958
- if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0);
27958
+ if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0, controller_Button__C66631_VT);
27959
27959
  r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___66655);
27960
27960
  if (!r0) { step = 1; continue; }
27961
27961
  r0 = s.arg0.fields["id"];
@@ -28001,7 +28001,7 @@ switch (step) {
28001
28001
  s.lambdaArgs = null;
28002
28002
  }
28003
28003
  r0 = s.arg0;
28004
- if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0);
28004
+ if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0, controller_Button__C66631_VT);
28005
28005
  r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___66655);
28006
28006
  if (!r0) { step = 1; continue; }
28007
28007
  r0 = s.arg0.fields["id"];
@@ -28100,7 +28100,7 @@ switch (step) {
28100
28100
  s.lambdaArgs = null;
28101
28101
  }
28102
28102
  r0 = s.arg0;
28103
- if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0);
28103
+ if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0, controller_Controller__C66597_VT);
28104
28104
  r0 = s.arg0.fields["_id"];
28105
28105
  return leaveAccessor(s, r0)
28106
28106
  default: oops()
@@ -28135,7 +28135,7 @@ switch (step) {
28135
28135
  s.lambdaArgs = null;
28136
28136
  }
28137
28137
  r0 = s.arg0;
28138
- if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0);
28138
+ if (!checkSubtype(r0, controller_Controller__C66597_VT)) failedCast(r0, controller_Controller__C66597_VT);
28139
28139
  r0 = s.arg0.fields["_connected"];
28140
28140
  return leaveAccessor(s, r0)
28141
28141
  default: oops()
@@ -28648,7 +28648,7 @@ switch (step) {
28648
28648
  s.lambdaArgs = null;
28649
28649
  }
28650
28650
  r0 = s.arg0;
28651
- if (!checkSubtype(r0, particles_ShapeFactory__C67825_VT)) failedCast(r0);
28651
+ if (!checkSubtype(r0, particles_ShapeFactory__C67825_VT)) failedCast(r0, particles_ShapeFactory__C67825_VT);
28652
28652
  s.tmp_0 = particles_AreaFactory_createParticle__P67817_mk(s);
28653
28653
  s.tmp_0.arg0 = s.arg0;
28654
28654
  s.tmp_0.arg1 = s.arg1;
@@ -28707,7 +28707,7 @@ switch (step) {
28707
28707
  s.lambdaArgs = null;
28708
28708
  }
28709
28709
  r0 = s.arg0;
28710
- if (!checkSubtype(r0, particles_AreaFactory__C67815_VT)) failedCast(r0);
28710
+ if (!checkSubtype(r0, particles_AreaFactory__C67815_VT)) failedCast(r0, particles_AreaFactory__C67815_VT);
28711
28711
  s.tmp_0 = particles_SprayFactory_createParticle__P67810_mk(s);
28712
28712
  s.tmp_0.arg0 = s.arg0;
28713
28713
  s.tmp_0.arg1 = s.arg1;
@@ -28894,7 +28894,7 @@ switch (step) {
28894
28894
  s.lambdaArgs = null;
28895
28895
  }
28896
28896
  r0 = s.arg0;
28897
- if (!checkSubtype(r0, particles_SprayFactory__C67808_VT)) failedCast(r0);
28897
+ if (!checkSubtype(r0, particles_SprayFactory__C67808_VT)) failedCast(r0, particles_SprayFactory__C67808_VT);
28898
28898
  s.tmp_0 = particles_ParticleFactory_createParticle__P67805_mk(s);
28899
28899
  s.tmp_0.arg0 = s.arg0;
28900
28900
  s.tmp_0.arg1 = s.arg1;
@@ -28978,7 +28978,7 @@ switch (step) {
28978
28978
  s.lambdaArgs = null;
28979
28979
  }
28980
28980
  r0 = s.arg0;
28981
- if (!checkSubtype(r0, music_Melody__C66039_VT)) failedCast(r0);
28981
+ if (!checkSubtype(r0, music_Melody__C66039_VT)) failedCast(r0, music_Melody__C66039_VT);
28982
28982
  r0 = s.arg0.fields["_text"];
28983
28983
  return leave(s, r0)
28984
28984
  default: oops()
@@ -29015,7 +29015,7 @@ switch (step) {
29015
29015
  s.lambdaArgs = null;
29016
29016
  }
29017
29017
  r0 = s.arg0;
29018
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C66726_VT)) failedCast(r0);
29018
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C66726_VT)) failedCast(r0, sprites_RotatedBoundingBox__C66726_VT);
29019
29019
  r0 = (s.arg0).fields["anchor"] = (s.arg1);
29020
29020
  s.tmp_0 = r0 = s.arg0;
29021
29021
  r0 = pxsim_Array__mk();
@@ -29067,7 +29067,7 @@ switch (step) {
29067
29067
  s.lambdaArgs = null;
29068
29068
  }
29069
29069
  r0 = s.arg0;
29070
- if (!checkSubtype(r0, sprites_SpriteSet__C66867_VT)) failedCast(r0);
29070
+ if (!checkSubtype(r0, sprites_SpriteSet__C66867_VT)) failedCast(r0, sprites_SpriteSet__C66867_VT);
29071
29071
  r0 = pxsim_String_.mkEmpty();
29072
29072
  s.tmp_1 = r0;
29073
29073
  r0 = s.arg0.fields["_sprites"];
@@ -29123,7 +29123,7 @@ switch (step) {
29123
29123
  s.lambdaArgs = null;
29124
29124
  }
29125
29125
  r0 = s.arg0;
29126
- if (!checkSubtype(r0, sprites_SpriteSet__C66867_VT)) failedCast(r0);
29126
+ if (!checkSubtype(r0, sprites_SpriteSet__C66867_VT)) failedCast(r0, sprites_SpriteSet__C66867_VT);
29127
29127
  r0 = s.arg0.fields["_sprites"];
29128
29128
  s.tmp_0 = r0;
29129
29129
  r0 = pxsim_Array__length(s.tmp_0);
@@ -29165,7 +29165,7 @@ switch (step) {
29165
29165
  s.lambdaArgs = null;
29166
29166
  }
29167
29167
  r0 = s.arg0;
29168
- if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0);
29168
+ if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0, particles_ParticleSource__C67744_VT);
29169
29169
  r0 = s.arg0.fields["head"];
29170
29170
  s.current___75887 = (r0);
29171
29171
  r0 = s.arg0.fields["pFlags"];
@@ -29272,7 +29272,7 @@ switch (step) {
29272
29272
  s.lambdaArgs = null;
29273
29273
  }
29274
29274
  r0 = s.arg0;
29275
- if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0);
29275
+ if (!checkSubtype(r0, particles_ParticleSource__C67744_VT)) failedCast(r0, particles_ParticleSource__C67744_VT);
29276
29276
  s.tmp_0 = particles_ParticleFactory__C67804_v1_4_mk(s);
29277
29277
  r0 = s.arg0.fields["_factory"];
29278
29278
  s.tmp_0.arg0 = r0;
@@ -29285,7 +29285,7 @@ switch (step) {
29285
29285
  s.tmp_2 = r0;
29286
29286
  r0 = (s.tmp_2 - s.arg3);
29287
29287
  s.tmp_0.arg3 = r0;
29288
- if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C67804_VT)) failedCast(s.tmp_0.arg0);
29288
+ if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C67804_VT)) failedCast(s.tmp_0.arg0, particles_ParticleFactory__C67804_VT);
29289
29289
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawParticle;
29290
29290
  s.pc = 1; return s.tmp_0;
29291
29291
  case 1:
@@ -29332,7 +29332,7 @@ switch (step) {
29332
29332
  s.lambdaArgs = null;
29333
29333
  }
29334
29334
  r0 = s.arg0;
29335
- if (!checkSubtype(r0, particles_ParticleFactory__C67804_VT)) failedCast(r0);
29335
+ if (!checkSubtype(r0, particles_ParticleFactory__C67804_VT)) failedCast(r0, particles_ParticleFactory__C67804_VT);
29336
29336
  s.tmp_0 = r0 = globals.screen___66393;
29337
29337
  r0 = (s.arg2 + 128);
29338
29338
  s.tmp_2 = r0;
@@ -29384,7 +29384,7 @@ switch (step) {
29384
29384
  s.lambdaArgs = null;
29385
29385
  }
29386
29386
  r0 = s.arg0;
29387
- if (!checkSubtype(r0, sprites_SpriteMap__C66850_VT)) failedCast(r0);
29387
+ if (!checkSubtype(r0, sprites_SpriteMap__C66850_VT)) failedCast(r0, sprites_SpriteMap__C66850_VT);
29388
29388
  r0 = pxsim_String_.mkEmpty();
29389
29389
  s.tmp_3 = r0;
29390
29390
  r0 = s.arg0.fields["buckets"];
@@ -29516,7 +29516,7 @@ switch (step) {
29516
29516
  s.lambdaArgs = null;
29517
29517
  }
29518
29518
  r0 = s.arg0;
29519
- if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0);
29519
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0, ArcadePhysicsEngine__C66954_VT);
29520
29520
  r0 = s.arg1.fields["_x"];
29521
29521
  s.tmp_0 = r0;
29522
29522
  r0 = (s.arg1).fields["_lastX"] = (s.tmp_0);
@@ -29734,7 +29734,7 @@ switch (step) {
29734
29734
  s.lambdaArgs = null;
29735
29735
  }
29736
29736
  r0 = s.arg0;
29737
- if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0);
29737
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0, ArcadePhysicsEngine__C66954_VT);
29738
29738
  r0 = s.arg1.fields["_image"];
29739
29739
  s.tmp_3 = r0;
29740
29740
  r0 = pxsim_ImageMethods.isStatic(s.tmp_3);
@@ -29747,7 +29747,7 @@ switch (step) {
29747
29747
  if (!r0) { step = 1; continue; }
29748
29748
  s.tmp_4 = Sprite__C66757_v4_1_mk(s);
29749
29749
  s.tmp_4.arg0 = s.arg1;
29750
- if (!checkSubtype(s.tmp_4.arg0, Sprite__C66757_VT)) failedCast(s.tmp_4.arg0);
29750
+ if (!checkSubtype(s.tmp_4.arg0, Sprite__C66757_VT)) failedCast(s.tmp_4.arg0, Sprite__C66757_VT);
29751
29751
  s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox;
29752
29752
  s.pc = 20; return s.tmp_4;
29753
29753
  case 20:
@@ -30033,7 +30033,7 @@ switch (step) {
30033
30033
  s.lambdaArgs = null;
30034
30034
  }
30035
30035
  r0 = s.arg0;
30036
- if (!checkSubtype(r0, game_Hitbox__C66669_VT)) failedCast(r0);
30036
+ if (!checkSubtype(r0, game_Hitbox__C66669_VT)) failedCast(r0, game_Hitbox__C66669_VT);
30037
30037
  r0 = s.arg0.fields["height"];
30038
30038
  s.tmp_1 = r0;
30039
30039
  s.tmp_3 = game_Hitbox_top__P66671_mk(s);
@@ -30082,7 +30082,7 @@ switch (step) {
30082
30082
  s.lambdaArgs = null;
30083
30083
  }
30084
30084
  r0 = s.arg0;
30085
- if (!checkSubtype(r0, game_Hitbox__C66669_VT)) failedCast(r0);
30085
+ if (!checkSubtype(r0, game_Hitbox__C66669_VT)) failedCast(r0, game_Hitbox__C66669_VT);
30086
30086
  r0 = s.arg0.fields["oy"];
30087
30087
  s.tmp_0 = r0;
30088
30088
  r0 = s.arg0.fields["parent"];
@@ -30124,7 +30124,7 @@ switch (step) {
30124
30124
  s.lambdaArgs = null;
30125
30125
  }
30126
30126
  r0 = s.arg0;
30127
- if (!checkSubtype(r0, game_Hitbox__C66669_VT)) failedCast(r0);
30127
+ if (!checkSubtype(r0, game_Hitbox__C66669_VT)) failedCast(r0, game_Hitbox__C66669_VT);
30128
30128
  r0 = s.arg0.fields["width"];
30129
30129
  s.tmp_1 = r0;
30130
30130
  s.tmp_3 = game_Hitbox_left__P66670_mk(s);
@@ -30173,7 +30173,7 @@ switch (step) {
30173
30173
  s.lambdaArgs = null;
30174
30174
  }
30175
30175
  r0 = s.arg0;
30176
- if (!checkSubtype(r0, game_Hitbox__C66669_VT)) failedCast(r0);
30176
+ if (!checkSubtype(r0, game_Hitbox__C66669_VT)) failedCast(r0, game_Hitbox__C66669_VT);
30177
30177
  r0 = s.arg0.fields["ox"];
30178
30178
  s.tmp_0 = r0;
30179
30179
  r0 = s.arg0.fields["parent"];
@@ -30215,7 +30215,7 @@ switch (step) {
30215
30215
  s.lambdaArgs = null;
30216
30216
  }
30217
30217
  r0 = s.arg0;
30218
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
30218
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
30219
30219
  r0 = s.arg0.fields["_image"];
30220
30220
  s.tmp_0 = r0;
30221
30221
  r0 = pxsim_ImageMethods.isStatic(s.tmp_0);
@@ -30260,7 +30260,7 @@ switch (step) {
30260
30260
  s.lambdaArgs = null;
30261
30261
  }
30262
30262
  r0 = s.arg0;
30263
- if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0);
30263
+ if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0, tiles_TileMap__C67189_VT);
30264
30264
  r0 = s.arg1.fields["_hitbox"];
30265
30265
  s.hbox___76252 = (r0);
30266
30266
  s.tmp_1 = game_Hitbox_left__P66670_mk(s);
@@ -30393,7 +30393,7 @@ switch (step) {
30393
30393
  s.lambdaArgs = null;
30394
30394
  }
30395
30395
  r0 = s.arg0;
30396
- if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0);
30396
+ if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0, tiles_TileMap__C67189_VT);
30397
30397
  r0 = s.arg0.fields["_map"];
30398
30398
  s.tmp_6 = r0;
30399
30399
  r0 = pxsim_numops_toBoolDecr(s.tmp_6);
@@ -30485,7 +30485,7 @@ switch (step) {
30485
30485
  s.lambdaArgs = null;
30486
30486
  }
30487
30487
  r0 = s.arg0;
30488
- if (!checkSubtype(r0, tiles_TileMapData__C67174_VT)) failedCast(r0);
30488
+ if (!checkSubtype(r0, tiles_TileMapData__C67174_VT)) failedCast(r0, tiles_TileMapData__C67174_VT);
30489
30489
  r0 = s.arg0.fields["layers"];
30490
30490
  s.tmp_1 = r0;
30491
30491
  r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.arg1, s.arg2);
@@ -30529,7 +30529,7 @@ switch (step) {
30529
30529
  s.lambdaArgs = null;
30530
30530
  }
30531
30531
  r0 = s.arg0;
30532
- if (!checkSubtype(r0, tiles_TileMapData__C67174_VT)) failedCast(r0);
30532
+ if (!checkSubtype(r0, tiles_TileMapData__C67174_VT)) failedCast(r0, tiles_TileMapData__C67174_VT);
30533
30533
  r0 = (s.arg1 < 0);
30534
30534
  s.tmp_0 = r0;
30535
30535
  r0 = pxsim_numops_toBool(s.tmp_0);
@@ -30641,7 +30641,7 @@ switch (step) {
30641
30641
  s.lambdaArgs = null;
30642
30642
  }
30643
30643
  r0 = s.arg0;
30644
- if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0);
30644
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0, ArcadePhysicsEngine__C66954_VT);
30645
30645
  r0 = s.arg1.fields["sprite"];
30646
30646
  s.s___76346 = (r0);
30647
30647
  r0 = s.s___76346.fields["flags"];
@@ -30685,7 +30685,7 @@ switch (step) {
30685
30685
  if (!r0) { step = 5; continue; }
30686
30686
  s.tmp_4 = Sprite__C66757_v4_1_mk(s);
30687
30687
  s.tmp_4.arg0 = s.s___76346;
30688
- if (!checkSubtype(s.tmp_4.arg0, Sprite__C66757_VT)) failedCast(s.tmp_4.arg0);
30688
+ if (!checkSubtype(s.tmp_4.arg0, Sprite__C66757_VT)) failedCast(s.tmp_4.arg0, Sprite__C66757_VT);
30689
30689
  s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox;
30690
30690
  s.pc = 98; return s.tmp_4;
30691
30691
  case 98:
@@ -31769,7 +31769,7 @@ switch (step) {
31769
31769
  s.lambdaArgs = null;
31770
31770
  }
31771
31771
  r0 = s.arg0;
31772
- if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0);
31772
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0, ArcadePhysicsEngine__C66954_VT);
31773
31773
  r0 = pxsim_Array__mk();
31774
31774
  s.alreadyHandled___76878 = (r0);
31775
31775
  s.tile___76881 = (undefined);
@@ -32128,7 +32128,7 @@ switch (step) {
32128
32128
  s.lambdaArgs = null;
32129
32129
  }
32130
32130
  r0 = s.arg0;
32131
- if (!checkSubtype(r0, tiles_Location__C67146_VT)) failedCast(r0);
32131
+ if (!checkSubtype(r0, tiles_Location__C67146_VT)) failedCast(r0, tiles_Location__C67146_VT);
32132
32132
  s.tmp_0 = tiles_TileMap_getTileIndex__P67202_mk(s);
32133
32133
  s.tmp_1 = tiles_Location_tileMap__P67147_mk(s);
32134
32134
  s.tmp_1.arg0 = s.arg0;
@@ -32178,7 +32178,7 @@ switch (step) {
32178
32178
  s.lambdaArgs = null;
32179
32179
  }
32180
32180
  r0 = s.arg0;
32181
- if (!checkSubtype(r0, tiles_Location__C67146_VT)) failedCast(r0);
32181
+ if (!checkSubtype(r0, tiles_Location__C67146_VT)) failedCast(r0, tiles_Location__C67146_VT);
32182
32182
  s.tmp_0 = game_currentScene__P66527_mk(s);
32183
32183
  s.callLocIdx = 829; s.pc = 1; return s.tmp_0;
32184
32184
  case 1:
@@ -32220,7 +32220,7 @@ switch (step) {
32220
32220
  s.lambdaArgs = null;
32221
32221
  }
32222
32222
  r0 = s.arg0;
32223
- if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0);
32223
+ if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0, tiles_TileMap__C67189_VT);
32224
32224
  s.tmp_0 = tiles_TileMapData_getTile__P67179_mk(s);
32225
32225
  r0 = s.arg0.fields["_map"];
32226
32226
  s.tmp_0.arg0 = r0;
@@ -32266,7 +32266,7 @@ switch (step) {
32266
32266
  s.lambdaArgs = null;
32267
32267
  }
32268
32268
  r0 = s.arg0;
32269
- if (!checkSubtype(r0, tiles_TileMapData__C67174_VT)) failedCast(r0);
32269
+ if (!checkSubtype(r0, tiles_TileMapData__C67174_VT)) failedCast(r0, tiles_TileMapData__C67174_VT);
32270
32270
  s.tmp_1 = tiles_TileMapData_isOutsideMap__P67185_mk(s);
32271
32271
  s.tmp_1.arg0 = s.arg0;
32272
32272
  s.tmp_1.arg1 = s.arg1;
@@ -32341,7 +32341,7 @@ switch (step) {
32341
32341
  s.lambdaArgs = null;
32342
32342
  }
32343
32343
  r0 = s.arg0;
32344
- if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0);
32344
+ if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0, tiles_TileMap__C67189_VT);
32345
32345
  s.tmp_0 = tiles_TileMapData_getTileImage__P67182_mk(s);
32346
32346
  r0 = s.arg0.fields["_map"];
32347
32347
  s.tmp_0.arg0 = r0;
@@ -32387,7 +32387,7 @@ switch (step) {
32387
32387
  s.lambdaArgs = null;
32388
32388
  }
32389
32389
  r0 = s.arg0;
32390
- if (!checkSubtype(r0, tiles_TileMapData__C67174_VT)) failedCast(r0);
32390
+ if (!checkSubtype(r0, tiles_TileMapData__C67174_VT)) failedCast(r0, tiles_TileMapData__C67174_VT);
32391
32391
  r0 = s.arg0.fields["_scale"];
32392
32392
  s.tmp_0 = r0;
32393
32393
  r0 = (1 << s.tmp_0);
@@ -32480,7 +32480,7 @@ switch (step) {
32480
32480
  s.lambdaArgs = null;
32481
32481
  }
32482
32482
  r0 = s.arg0;
32483
- if (!checkSubtype(r0, tiles_TileMapData__C67174_VT)) failedCast(r0);
32483
+ if (!checkSubtype(r0, tiles_TileMapData__C67174_VT)) failedCast(r0, tiles_TileMapData__C67174_VT);
32484
32484
  r0 = s.arg0.fields["_scale"];
32485
32485
  return leaveAccessor(s, r0)
32486
32486
  default: oops()
@@ -32515,7 +32515,7 @@ switch (step) {
32515
32515
  s.lambdaArgs = null;
32516
32516
  }
32517
32517
  r0 = s.arg0;
32518
- if (!checkSubtype(r0, tiles_Location__C67146_VT)) failedCast(r0);
32518
+ if (!checkSubtype(r0, tiles_Location__C67146_VT)) failedCast(r0, tiles_Location__C67146_VT);
32519
32519
  r0 = s.arg0.fields["_row"];
32520
32520
  return leaveAccessor(s, r0)
32521
32521
  default: oops()
@@ -32550,7 +32550,7 @@ switch (step) {
32550
32550
  s.lambdaArgs = null;
32551
32551
  }
32552
32552
  r0 = s.arg0;
32553
- if (!checkSubtype(r0, tiles_Location__C67146_VT)) failedCast(r0);
32553
+ if (!checkSubtype(r0, tiles_Location__C67146_VT)) failedCast(r0, tiles_Location__C67146_VT);
32554
32554
  r0 = s.arg0.fields["_col"];
32555
32555
  return leaveAccessor(s, r0)
32556
32556
  default: oops()
@@ -32587,7 +32587,7 @@ switch (step) {
32587
32587
  s.lambdaArgs = null;
32588
32588
  }
32589
32589
  r0 = s.arg0;
32590
- if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0);
32590
+ if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0, tiles_TileMap__C67189_VT);
32591
32591
  r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C67146_VT);
32592
32592
  s.tmp_0 = r0;
32593
32593
  s.tmp_1 = tiles_Location_constructor__P67163_mk(s);
@@ -32638,7 +32638,7 @@ switch (step) {
32638
32638
  s.lambdaArgs = null;
32639
32639
  }
32640
32640
  r0 = s.arg0;
32641
- if (!checkSubtype(r0, tiles_Location__C67146_VT)) failedCast(r0);
32641
+ if (!checkSubtype(r0, tiles_Location__C67146_VT)) failedCast(r0, tiles_Location__C67146_VT);
32642
32642
  r0 = (s.arg0).fields["_col"] = (s.arg1);
32643
32643
  r0 = (s.arg0).fields["_row"] = (s.arg2);
32644
32644
  r0 = undefined;
@@ -32735,7 +32735,7 @@ switch (step) {
32735
32735
  s.lambdaArgs = null;
32736
32736
  }
32737
32737
  r0 = s.arg0;
32738
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
32738
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
32739
32739
  r0 = s.arg0.fields["_obstacles"];
32740
32740
  s.tmp_0 = r0;
32741
32741
  r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.arg2);
@@ -33166,7 +33166,7 @@ switch (step) {
33166
33166
  s.lambdaArgs = null;
33167
33167
  }
33168
33168
  r0 = s.arg0;
33169
- if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0);
33169
+ if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0, tiles_TileMap__C67189_VT);
33170
33170
  s.tmp_1 = tiles_TileMapData_isOutsideMap__P67185_mk(s);
33171
33171
  r0 = s.arg0.fields["_map"];
33172
33172
  s.tmp_1.arg0 = r0;
@@ -33265,7 +33265,7 @@ switch (step) {
33265
33265
  s.lambdaArgs = null;
33266
33266
  }
33267
33267
  r0 = s.arg0;
33268
- if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0);
33268
+ if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0, tiles_TileMap__C67189_VT);
33269
33269
  r0 = s.arg0.fields["_layer"];
33270
33270
  return leaveAccessor(s, r0)
33271
33271
  default: oops()
@@ -33305,7 +33305,7 @@ switch (step) {
33305
33305
  s.lambdaArgs = null;
33306
33306
  }
33307
33307
  r0 = s.arg0;
33308
- if (!checkSubtype(r0, sprites_StaticObstacle__C66895_VT)) failedCast(r0);
33308
+ if (!checkSubtype(r0, sprites_StaticObstacle__C66895_VT)) failedCast(r0, sprites_StaticObstacle__C66895_VT);
33309
33309
  r0 = (s.arg0).fields["image"] = (s.arg1);
33310
33310
  r0 = (s.arg0).fields["layer"] = (s.arg4);
33311
33311
  r0 = (s.arg0).fields["top"] = (s.arg2);
@@ -33356,7 +33356,7 @@ switch (step) {
33356
33356
  s.lambdaArgs = null;
33357
33357
  }
33358
33358
  r0 = s.arg0;
33359
- if (!checkSubtype(r0, MovingSprite__C66952_VT)) failedCast(r0);
33359
+ if (!checkSubtype(r0, MovingSprite__C66952_VT)) failedCast(r0, MovingSprite__C66952_VT);
33360
33360
  r0 = (s.arg0).fields["sprite"] = (s.arg1);
33361
33361
  r0 = (s.arg0).fields["cachedVx"] = (s.arg2);
33362
33362
  r0 = (s.arg0).fields["cachedVy"] = (s.arg3);
@@ -33424,7 +33424,7 @@ switch (step) {
33424
33424
  s.lambdaArgs = null;
33425
33425
  }
33426
33426
  r0 = s.arg0;
33427
- if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0);
33427
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0, ArcadePhysicsEngine__C66954_VT);
33428
33428
  s.tmp_0 = Math_min__P65657_mk(s);
33429
33429
  s.tmp_0.arg0 = 100;
33430
33430
  r0 = (s.arg1 * 1000);
@@ -34131,7 +34131,7 @@ switch (step) {
34131
34131
  s.lambdaArgs = null;
34132
34132
  }
34133
34133
  r0 = s.arg0;
34134
- if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0);
34134
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0, ArcadePhysicsEngine__C66954_VT);
34135
34135
  r0 = pxsim_Array__length(s.arg2);
34136
34136
  s.tmp_2 = r0;
34137
34137
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -34583,7 +34583,7 @@ switch (step) {
34583
34583
  s.lambdaArgs = null;
34584
34584
  }
34585
34585
  r0 = s.arg0;
34586
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
34586
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
34587
34587
  r0 = (s.arg1 == s.arg0);
34588
34588
  s.tmp_0 = r0;
34589
34589
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -35379,7 +35379,7 @@ switch (step) {
35379
35379
  s.lambdaArgs = null;
35380
35380
  }
35381
35381
  r0 = s.arg0;
35382
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
35382
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
35383
35383
  r0 = s.arg0.fields["_sx"];
35384
35384
  s.tmp_1 = r0;
35385
35385
  r0 = (s.tmp_1 !== 256);
@@ -35500,7 +35500,7 @@ switch (step) {
35500
35500
  s.lambdaArgs = null;
35501
35501
  }
35502
35502
  r0 = s.arg0;
35503
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
35503
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
35504
35504
  s.tmp_1 = Sprite_top__P66803_mk(s);
35505
35505
  s.tmp_1.arg0 = s.arg0;
35506
35506
  s.callLocIdx = 377; s.pc = 1; return s.tmp_1;
@@ -35551,7 +35551,7 @@ switch (step) {
35551
35551
  s.lambdaArgs = null;
35552
35552
  }
35553
35553
  r0 = s.arg0;
35554
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
35554
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
35555
35555
  s.tmp_1 = Sprite_left__P66799_mk(s);
35556
35556
  s.tmp_1.arg0 = s.arg0;
35557
35557
  s.callLocIdx = 369; s.pc = 1; return s.tmp_1;
@@ -35606,7 +35606,7 @@ switch (step) {
35606
35606
  s.lambdaArgs = null;
35607
35607
  }
35608
35608
  r0 = s.arg0;
35609
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C66726_VT)) failedCast(r0);
35609
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C66726_VT)) failedCast(r0, sprites_RotatedBoundingBox__C66726_VT);
35610
35610
  r0 = pxsim_numops_toBoolDecr(globals.aabbPoints___66725);
35611
35611
  s.tmp_1 = r0;
35612
35612
  r0 = pxsim_Boolean__bang(s.tmp_1);
@@ -36093,7 +36093,7 @@ switch (step) {
36093
36093
  s.lambdaArgs = null;
36094
36094
  }
36095
36095
  r0 = s.arg0;
36096
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C66726_VT)) failedCast(r0);
36096
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C66726_VT)) failedCast(r0, sprites_RotatedBoundingBox__C66726_VT);
36097
36097
  s.tmp_0 = sprites_doRectanglesIntersect__P66745_mk(s);
36098
36098
  r0 = s.arg0.fields["points"];
36099
36099
  s.tmp_0.arg0 = r0;
@@ -36169,7 +36169,7 @@ switch (step) {
36169
36169
  s.lambdaArgs = null;
36170
36170
  }
36171
36171
  r0 = s.arg0;
36172
- if (!checkSubtype(r0, game_Hitbox__C66669_VT)) failedCast(r0);
36172
+ if (!checkSubtype(r0, game_Hitbox__C66669_VT)) failedCast(r0, game_Hitbox__C66669_VT);
36173
36173
  s.tmp_0 = game_Hitbox_updateIfInvalid__P66676_mk(s);
36174
36174
  s.tmp_0.arg0 = s.arg0;
36175
36175
  s.callLocIdx = 249; s.pc = 10; return s.tmp_0;
@@ -36323,7 +36323,7 @@ switch (step) {
36323
36323
  s.lambdaArgs = null;
36324
36324
  }
36325
36325
  r0 = s.arg0;
36326
- if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0);
36326
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0, ArcadePhysicsEngine__C66954_VT);
36327
36327
  r0 = s.arg1.fields["sprite"];
36328
36328
  s.s___78322 = (r0);
36329
36329
  r0 = s.s___78322.fields["_image"];
@@ -36338,7 +36338,7 @@ switch (step) {
36338
36338
  if (!r0) { step = 1; continue; }
36339
36339
  s.tmp_4 = Sprite__C66757_v4_1_mk(s);
36340
36340
  s.tmp_4.arg0 = s.s___78322;
36341
- if (!checkSubtype(s.tmp_4.arg0, Sprite__C66757_VT)) failedCast(s.tmp_4.arg0);
36341
+ if (!checkSubtype(s.tmp_4.arg0, Sprite__C66757_VT)) failedCast(s.tmp_4.arg0, Sprite__C66757_VT);
36342
36342
  s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox;
36343
36343
  s.pc = 21; return s.tmp_4;
36344
36344
  case 21:
@@ -36628,7 +36628,7 @@ switch (step) {
36628
36628
  s.lambdaArgs = null;
36629
36629
  }
36630
36630
  r0 = s.arg0;
36631
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
36631
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
36632
36632
  s.tmp_0 = Sprite_top__P66804_mk(s);
36633
36633
  s.tmp_0.arg0 = s.arg0;
36634
36634
  s.tmp_1 = r0 = s.arg1;
@@ -36682,7 +36682,7 @@ switch (step) {
36682
36682
  s.lambdaArgs = null;
36683
36683
  }
36684
36684
  r0 = s.arg0;
36685
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
36685
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
36686
36686
  s.tmp_0 = Sprite_left__P66800_mk(s);
36687
36687
  s.tmp_0.arg0 = s.arg0;
36688
36688
  s.tmp_1 = r0 = s.arg1;
@@ -36735,7 +36735,7 @@ switch (step) {
36735
36735
  s.lambdaArgs = null;
36736
36736
  }
36737
36737
  r0 = s.arg0;
36738
- if (!checkSubtype(r0, scene_Camera__C67236_VT)) failedCast(r0);
36738
+ if (!checkSubtype(r0, scene_Camera__C67236_VT)) failedCast(r0, scene_Camera__C67236_VT);
36739
36739
  r0 = s.arg0.fields["sprite"];
36740
36740
  s.tmp_2 = r0;
36741
36741
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -36832,7 +36832,7 @@ switch (step) {
36832
36832
  s.lambdaArgs = null;
36833
36833
  }
36834
36834
  r0 = s.arg0;
36835
- if (!checkSubtype(r0, sprites_SpriteMap__C66850_VT)) failedCast(r0);
36835
+ if (!checkSubtype(r0, sprites_SpriteMap__C66850_VT)) failedCast(r0, sprites_SpriteMap__C66850_VT);
36836
36836
  s.tmp_0 = Sprite_left__P66799_mk(s);
36837
36837
  s.tmp_0.arg0 = s.arg1;
36838
36838
  s.callLocIdx = 538; s.pc = 5; return s.tmp_0;
@@ -36996,7 +36996,7 @@ switch (step) {
36996
36996
  s.lambdaArgs = null;
36997
36997
  }
36998
36998
  r0 = s.arg0;
36999
- if (!checkSubtype(r0, sprites_SpriteMap__C66850_VT)) failedCast(r0);
36999
+ if (!checkSubtype(r0, sprites_SpriteMap__C66850_VT)) failedCast(r0, sprites_SpriteMap__C66850_VT);
37000
37000
  s.tmp_0 = sprites_SpriteMap_key__P66856_mk(s);
37001
37001
  s.tmp_0.arg0 = s.arg0;
37002
37002
  s.tmp_0.arg1 = s.arg1;
@@ -37083,7 +37083,7 @@ switch (step) {
37083
37083
  s.lambdaArgs = null;
37084
37084
  }
37085
37085
  r0 = s.arg0;
37086
- if (!checkSubtype(r0, sprites_SpriteMap__C66850_VT)) failedCast(r0);
37086
+ if (!checkSubtype(r0, sprites_SpriteMap__C66850_VT)) failedCast(r0, sprites_SpriteMap__C66850_VT);
37087
37087
  s.tmp_0 = Math_clamp__P65653_mk(s);
37088
37088
  s.tmp_0.arg0 = 0;
37089
37089
  r0 = s.arg0.fields["columnCount"];
@@ -37196,7 +37196,7 @@ switch (step) {
37196
37196
  s.lambdaArgs = null;
37197
37197
  }
37198
37198
  r0 = s.arg0;
37199
- if (!checkSubtype(r0, sprites_SpriteMap__C66850_VT)) failedCast(r0);
37199
+ if (!checkSubtype(r0, sprites_SpriteMap__C66850_VT)) failedCast(r0, sprites_SpriteMap__C66850_VT);
37200
37200
  s.maxWidth___78604 = (0);
37201
37201
  s.maxHeight___78605 = (0);
37202
37202
  s.sprite___78607 = (undefined);
@@ -37369,7 +37369,7 @@ switch (step) {
37369
37369
  s.lambdaArgs = null;
37370
37370
  }
37371
37371
  r0 = s.arg0;
37372
- if (!checkSubtype(r0, sprites_SpriteMap__C66850_VT)) failedCast(r0);
37372
+ if (!checkSubtype(r0, sprites_SpriteMap__C66850_VT)) failedCast(r0, sprites_SpriteMap__C66850_VT);
37373
37373
  s.tmp_0 = r0 = s.arg0;
37374
37374
  r0 = pxsim_Array__mk();
37375
37375
  s.tmp_1 = r0;
@@ -37413,7 +37413,7 @@ switch (step) {
37413
37413
  s.lambdaArgs = null;
37414
37414
  }
37415
37415
  r0 = s.arg0;
37416
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
37416
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
37417
37417
  s.tmp_0 = r0 = s.arg0;
37418
37418
  r0 = pxsim_Array__mk();
37419
37419
  s.tmp_1 = r0;
@@ -37466,7 +37466,7 @@ switch (step) {
37466
37466
  s.lambdaArgs = null;
37467
37467
  }
37468
37468
  r0 = s.arg0;
37469
- if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0);
37469
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0, ArcadePhysicsEngine__C66954_VT);
37470
37470
  s.tmp_0 = ArcadePhysicsEngine_constrain__P66975_mk(s);
37471
37471
  s.tmp_0.arg0 = s.arg0;
37472
37472
  r0 = s.arg1.fields["_vx"];
@@ -37860,7 +37860,7 @@ switch (step) {
37860
37860
  s.lambdaArgs = null;
37861
37861
  }
37862
37862
  r0 = s.arg0;
37863
- if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0);
37863
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0, ArcadePhysicsEngine__C66954_VT);
37864
37864
  s.tmp_0 = Fx_max__P65702_mk(s);
37865
37865
  s.tmp_1 = Fx_min__P65701_mk(s);
37866
37866
  r0 = s.arg0.fields["maxVelocity"];
@@ -37980,7 +37980,7 @@ switch (step) {
37980
37980
  s.lambdaArgs = null;
37981
37981
  }
37982
37982
  r0 = s.arg0;
37983
- if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0);
37983
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0, ArcadePhysicsEngine__C66954_VT);
37984
37984
  s.tmp_0 = sprites_SpriteMap_draw__P66853_mk(s);
37985
37985
  r0 = s.arg0.fields["map"];
37986
37986
  s.tmp_0.arg0 = r0;
@@ -38027,7 +38027,7 @@ switch (step) {
38027
38027
  s.lambdaArgs = null;
38028
38028
  }
38029
38029
  r0 = s.arg0;
38030
- if (!checkSubtype(r0, sprites_SpriteMap__C66850_VT)) failedCast(r0);
38030
+ if (!checkSubtype(r0, sprites_SpriteMap__C66850_VT)) failedCast(r0, sprites_SpriteMap__C66850_VT);
38031
38031
  s.x___78928 = (0);
38032
38032
  case 1:
38033
38033
  r0 = s.arg0.fields["columnCount"];
@@ -38141,7 +38141,7 @@ switch (step) {
38141
38141
  s.lambdaArgs = null;
38142
38142
  }
38143
38143
  r0 = s.arg0;
38144
- if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0);
38144
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0, ArcadePhysicsEngine__C66954_VT);
38145
38145
  r0 = s.arg0.fields["sprites"];
38146
38146
  s.tmp_0 = r0;
38147
38147
  r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg1);
@@ -38182,7 +38182,7 @@ switch (step) {
38182
38182
  s.lambdaArgs = null;
38183
38183
  }
38184
38184
  r0 = s.arg0;
38185
- if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0);
38185
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C66954_VT)) failedCast(r0, ArcadePhysicsEngine__C66954_VT);
38186
38186
  r0 = s.arg0.fields["sprites"];
38187
38187
  s.tmp_0 = r0;
38188
38188
  r0 = pxsim_Array__push(s.tmp_0, s.arg1);
@@ -38261,7 +38261,7 @@ switch (step) {
38261
38261
  s.lambdaArgs = null;
38262
38262
  }
38263
38263
  r0 = s.arg0;
38264
- if (!checkSubtype(r0, scene_BackgroundLayer__C67143_VT)) failedCast(r0);
38264
+ if (!checkSubtype(r0, scene_BackgroundLayer__C67143_VT)) failedCast(r0, scene_BackgroundLayer__C67143_VT);
38265
38265
  s.tmp_0 = r0 = s.arg0;
38266
38266
  s.tmp_2 = Math_max__P65656_mk(s);
38267
38267
  s.tmp_2.arg0 = 1;
@@ -38344,7 +38344,7 @@ switch (step) {
38344
38344
  s.lambdaArgs = null;
38345
38345
  }
38346
38346
  r0 = s.arg0;
38347
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
38347
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
38348
38348
  r0 = pxsim_String_.mkEmpty();
38349
38349
  s.tmp_9 = r0;
38350
38350
  r0 = s.arg0.fields["id"];
@@ -38495,7 +38495,7 @@ switch (step) {
38495
38495
  s.lambdaArgs = null;
38496
38496
  }
38497
38497
  r0 = s.arg0;
38498
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
38498
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
38499
38499
  r0 = s.arg0.fields["lifespan"];
38500
38500
  s.tmp_1 = r0;
38501
38501
  r0 = (s.tmp_1 !== undefined);
@@ -38565,7 +38565,7 @@ switch (step) {
38565
38565
  s.tmp_1.arg1 = s.arg2;
38566
38566
  s.tmp_1.arg2 = s.arg1;
38567
38567
  s.tmp_1.arg3 = s.arg0;
38568
- if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C66710_VT)) failedCast(s.tmp_1.arg0);
38568
+ if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C66710_VT)) failedCast(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C66710_VT);
38569
38569
  s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.update;
38570
38570
  s.pc = 14; return s.tmp_1;
38571
38571
  case 14:
@@ -38616,7 +38616,7 @@ switch (step) {
38616
38616
  s.lambdaArgs = null;
38617
38617
  }
38618
38618
  r0 = s.arg0;
38619
- if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C66710_VT)) failedCast(r0);
38619
+ if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C66710_VT)) failedCast(r0, sprites_BaseSpriteSayRenderer__C66710_VT);
38620
38620
  r0 = undefined;
38621
38621
  return leave(s, r0)
38622
38622
  default: oops()
@@ -38656,7 +38656,7 @@ switch (step) {
38656
38656
  s.lambdaArgs = null;
38657
38657
  }
38658
38658
  r0 = s.arg0;
38659
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
38659
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
38660
38660
  r0 = s.arg0.fields["flags"];
38661
38661
  s.tmp_1 = r0;
38662
38662
  r0 = (s.tmp_1 & 512);
@@ -38805,7 +38805,7 @@ switch (step) {
38805
38805
  s.lambdaArgs = null;
38806
38806
  }
38807
38807
  r0 = s.arg0;
38808
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
38808
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
38809
38809
  r0 = (s.arg0).fields["_data"] = (s.arg1);
38810
38810
  r0 = undefined;
38811
38811
  return leave(s, r0)
@@ -38841,7 +38841,7 @@ switch (step) {
38841
38841
  s.lambdaArgs = null;
38842
38842
  }
38843
38843
  r0 = s.arg0;
38844
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
38844
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
38845
38845
  r0 = s.arg0.fields["_data"];
38846
38846
  s.tmp_2 = r0;
38847
38847
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -38897,7 +38897,7 @@ switch (step) {
38897
38897
  s.lambdaArgs = null;
38898
38898
  }
38899
38899
  r0 = s.arg0;
38900
- if (!checkSubtype(r0, sprites_BaseSprite__C66464_VT)) failedCast(r0);
38900
+ if (!checkSubtype(r0, sprites_BaseSprite__C66464_VT)) failedCast(r0, sprites_BaseSprite__C66464_VT);
38901
38901
  r0 = undefined;
38902
38902
  return leave(s, r0)
38903
38903
  default: oops()
@@ -38934,10 +38934,10 @@ switch (step) {
38934
38934
  s.lambdaArgs = null;
38935
38935
  }
38936
38936
  r0 = s.arg0;
38937
- if (!checkSubtype(r0, sprites_BaseSprite__C66464_VT)) failedCast(r0);
38937
+ if (!checkSubtype(r0, sprites_BaseSprite__C66464_VT)) failedCast(r0, sprites_BaseSprite__C66464_VT);
38938
38938
  s.tmp_1 = sprites_BaseSprite__C66464_v0_1_mk(s);
38939
38939
  s.tmp_1.arg0 = s.arg0;
38940
- if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C66464_VT)) failedCast(s.tmp_1.arg0);
38940
+ if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C66464_VT)) failedCast(s.tmp_1.arg0, sprites_BaseSprite__C66464_VT);
38941
38941
  s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.__visible;
38942
38942
  s.pc = 3; return s.tmp_1;
38943
38943
  case 3:
@@ -38948,7 +38948,7 @@ switch (step) {
38948
38948
  s.tmp_2 = sprites_BaseSprite__C66464_v2_2_mk(s);
38949
38949
  s.tmp_2.arg0 = s.arg0;
38950
38950
  s.tmp_2.arg1 = s.arg1;
38951
- if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C66464_VT)) failedCast(s.tmp_2.arg0);
38951
+ if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C66464_VT)) failedCast(s.tmp_2.arg0, sprites_BaseSprite__C66464_VT);
38952
38952
  s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.__drawCore;
38953
38953
  s.pc = 4; return s.tmp_2;
38954
38954
  case 4:
@@ -38993,7 +38993,7 @@ switch (step) {
38993
38993
  s.lambdaArgs = null;
38994
38994
  }
38995
38995
  r0 = s.arg0;
38996
- if (!checkSubtype(r0, sprites_BaseSprite__C66464_VT)) failedCast(r0);
38996
+ if (!checkSubtype(r0, sprites_BaseSprite__C66464_VT)) failedCast(r0, sprites_BaseSprite__C66464_VT);
38997
38997
  r0 = undefined;
38998
38998
  return leave(s, r0)
38999
38999
  default: oops()
@@ -39028,7 +39028,7 @@ switch (step) {
39028
39028
  s.lambdaArgs = null;
39029
39029
  }
39030
39030
  r0 = s.arg0;
39031
- if (!checkSubtype(r0, sprites_BaseSprite__C66464_VT)) failedCast(r0);
39031
+ if (!checkSubtype(r0, sprites_BaseSprite__C66464_VT)) failedCast(r0, sprites_BaseSprite__C66464_VT);
39032
39032
  r0 = true;
39033
39033
  return leave(s, r0)
39034
39034
  default: oops()
@@ -39066,7 +39066,7 @@ switch (step) {
39066
39066
  s.lambdaArgs = null;
39067
39067
  }
39068
39068
  r0 = s.arg0;
39069
- if (!checkSubtype(r0, tiles_TileMapData__C67174_VT)) failedCast(r0);
39069
+ if (!checkSubtype(r0, tiles_TileMapData__C67174_VT)) failedCast(r0, tiles_TileMapData__C67174_VT);
39070
39070
  r0 = (s.arg0).fields["data"] = (s.arg1);
39071
39071
  r0 = (s.arg0).fields["layers"] = (s.arg2);
39072
39072
  r0 = (s.arg0).fields["tileset"] = (s.arg3);
@@ -39124,7 +39124,7 @@ switch (step) {
39124
39124
  s.lambdaArgs = null;
39125
39125
  }
39126
39126
  r0 = s.arg0;
39127
- if (!checkSubtype(r0, tiles_TileMapData__C67174_VT)) failedCast(r0);
39127
+ if (!checkSubtype(r0, tiles_TileMapData__C67174_VT)) failedCast(r0, tiles_TileMapData__C67174_VT);
39128
39128
  r0 = (s.arg0).fields["_scale"] = (s.arg1);
39129
39129
  s.tmp_0 = r0 = s.arg0;
39130
39130
  r0 = pxsim_Array__mk();
@@ -39167,7 +39167,7 @@ switch (step) {
39167
39167
  s.lambdaArgs = null;
39168
39168
  }
39169
39169
  r0 = s.arg0;
39170
- if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0);
39170
+ if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0, tiles_TileMap__C67189_VT);
39171
39171
  r0 = (s.arg0).fields["_layer"] = (1);
39172
39172
  s.tmp_0 = tiles_TileMap_scale__P67191_mk(s);
39173
39173
  s.tmp_0.arg0 = s.arg0;
@@ -39285,7 +39285,7 @@ switch (step) {
39285
39285
  s.lambdaArgs = null;
39286
39286
  }
39287
39287
  r0 = s.arg0;
39288
- if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0);
39288
+ if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0, tiles_TileMap__C67189_VT);
39289
39289
  r0 = s.arg0.fields["_map"];
39290
39290
  s.tmp_6 = r0;
39291
39291
  r0 = pxsim_numops_toBoolDecr(s.tmp_6);
@@ -39605,7 +39605,7 @@ switch (step) {
39605
39605
  s.lambdaArgs = null;
39606
39606
  }
39607
39607
  r0 = s.arg0;
39608
- if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0);
39608
+ if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0, tiles_TileMap__C67189_VT);
39609
39609
  r0 = (s.arg0).fields["_scale"] = (s.arg1);
39610
39610
  r0 = s.arg0.fields["_map"];
39611
39611
  s.tmp_0 = r0;
@@ -39656,7 +39656,7 @@ switch (step) {
39656
39656
  s.lambdaArgs = null;
39657
39657
  }
39658
39658
  r0 = s.arg0;
39659
- if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0);
39659
+ if (!checkSubtype(r0, tiles_TileMap__C67189_VT)) failedCast(r0, tiles_TileMap__C67189_VT);
39660
39660
  r0 = s.arg0.fields["_map"];
39661
39661
  return leaveAccessor(s, r0)
39662
39662
  default: oops()
@@ -39691,7 +39691,7 @@ switch (step) {
39691
39691
  s.lambdaArgs = null;
39692
39692
  }
39693
39693
  r0 = s.arg0;
39694
- if (!checkSubtype(r0, scene_Camera__C67236_VT)) failedCast(r0);
39694
+ if (!checkSubtype(r0, scene_Camera__C67236_VT)) failedCast(r0, scene_Camera__C67236_VT);
39695
39695
  r0 = s.arg0.fields["_offsetY"];
39696
39696
  s.tmp_0 = r0;
39697
39697
  r0 = pxsim_ImageMethods.height(globals.screen___66393);
@@ -39735,7 +39735,7 @@ switch (step) {
39735
39735
  s.lambdaArgs = null;
39736
39736
  }
39737
39737
  r0 = s.arg0;
39738
- if (!checkSubtype(r0, scene_Camera__C67236_VT)) failedCast(r0);
39738
+ if (!checkSubtype(r0, scene_Camera__C67236_VT)) failedCast(r0, scene_Camera__C67236_VT);
39739
39739
  r0 = s.arg0.fields["_offsetX"];
39740
39740
  s.tmp_0 = r0;
39741
39741
  r0 = pxsim_ImageMethods.width(globals.screen___66393);
@@ -39783,7 +39783,7 @@ switch (step) {
39783
39783
  s.lambdaArgs = null;
39784
39784
  }
39785
39785
  r0 = s.arg0;
39786
- if (!checkSubtype(r0, controller_AnyButton__C66629_VT)) failedCast(r0);
39786
+ if (!checkSubtype(r0, controller_AnyButton__C66629_VT)) failedCast(r0, controller_AnyButton__C66629_VT);
39787
39787
  s.tmp_0 = controller__player1__P66592_mk(s);
39788
39788
  s.callLocIdx = 200; s.pc = 6; return s.tmp_0;
39789
39789
  case 6:
@@ -39803,7 +39803,7 @@ switch (step) {
39803
39803
  s.b___79470 = (r0);
39804
39804
  s.tmp_3 = controller_Button__C66631_v0_1_mk(s);
39805
39805
  s.tmp_3.arg0 = s.b___79470;
39806
- if (!checkSubtype(s.tmp_3.arg0, controller_Button__C66631_VT)) failedCast(s.tmp_3.arg0);
39806
+ if (!checkSubtype(s.tmp_3.arg0, controller_Button__C66631_VT)) failedCast(s.tmp_3.arg0, controller_Button__C66631_VT);
39807
39807
  s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isPressed;
39808
39808
  s.pc = 7; return s.tmp_3;
39809
39809
  case 7:
@@ -39862,7 +39862,7 @@ switch (step) {
39862
39862
  s.lambdaArgs = null;
39863
39863
  }
39864
39864
  r0 = s.arg0;
39865
- if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0);
39865
+ if (!checkSubtype(r0, controller_Button__C66631_VT)) failedCast(r0, controller_Button__C66631_VT);
39866
39866
  r0 = s.arg0.fields["_pressed"];
39867
39867
  s.tmp_0 = r0;
39868
39868
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -39941,7 +39941,7 @@ switch (step) {
39941
39941
  s.lambdaArgs = null;
39942
39942
  }
39943
39943
  r0 = s.arg0;
39944
- if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C66710_VT)) failedCast(r0);
39944
+ if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C66710_VT)) failedCast(r0, sprites_BaseSpriteSayRenderer__C66710_VT);
39945
39945
  r0 = (s.arg0).fields["text"] = (s.arg1);
39946
39946
  r0 = (s.arg0).fields["fgColor"] = (s.arg2);
39947
39947
  r0 = (s.arg0).fields["bgColor"] = (s.arg3);
@@ -39981,7 +39981,7 @@ switch (step) {
39981
39981
  s.lambdaArgs = null;
39982
39982
  }
39983
39983
  r0 = s.arg0;
39984
- if (!checkSubtype(r0, sprites_StaticObstacle__C66895_VT)) failedCast(r0);
39984
+ if (!checkSubtype(r0, sprites_StaticObstacle__C66895_VT)) failedCast(r0, sprites_StaticObstacle__C66895_VT);
39985
39985
  r0 = s.arg0.fields["image"];
39986
39986
  s.tmp_0 = r0;
39987
39987
  r0 = pxsim_ImageMethods.width(s.tmp_0);
@@ -40019,7 +40019,7 @@ switch (step) {
40019
40019
  s.lambdaArgs = null;
40020
40020
  }
40021
40021
  r0 = s.arg0;
40022
- if (!checkSubtype(r0, sprites_StaticObstacle__C66895_VT)) failedCast(r0);
40022
+ if (!checkSubtype(r0, sprites_StaticObstacle__C66895_VT)) failedCast(r0, sprites_StaticObstacle__C66895_VT);
40023
40023
  r0 = s.arg0.fields["image"];
40024
40024
  s.tmp_0 = r0;
40025
40025
  r0 = pxsim_ImageMethods.height(s.tmp_0);
@@ -40057,7 +40057,7 @@ switch (step) {
40057
40057
  s.lambdaArgs = null;
40058
40058
  }
40059
40059
  r0 = s.arg0;
40060
- if (!checkSubtype(r0, sprites_StaticObstacle__C66895_VT)) failedCast(r0);
40060
+ if (!checkSubtype(r0, sprites_StaticObstacle__C66895_VT)) failedCast(r0, sprites_StaticObstacle__C66895_VT);
40061
40061
  r0 = s.arg0.fields["top"];
40062
40062
  s.tmp_0 = r0;
40063
40063
  r0 = s.arg0.fields["image"];
@@ -40104,7 +40104,7 @@ switch (step) {
40104
40104
  s.lambdaArgs = null;
40105
40105
  }
40106
40106
  r0 = s.arg0;
40107
- if (!checkSubtype(r0, sprites_StaticObstacle__C66895_VT)) failedCast(r0);
40107
+ if (!checkSubtype(r0, sprites_StaticObstacle__C66895_VT)) failedCast(r0, sprites_StaticObstacle__C66895_VT);
40108
40108
  r0 = s.arg0.fields["left"];
40109
40109
  s.tmp_0 = r0;
40110
40110
  r0 = s.arg0.fields["image"];
@@ -40151,7 +40151,7 @@ switch (step) {
40151
40151
  s.lambdaArgs = null;
40152
40152
  }
40153
40153
  r0 = s.arg0;
40154
- if (!checkSubtype(r0, tiles_Location__C67146_VT)) failedCast(r0);
40154
+ if (!checkSubtype(r0, tiles_Location__C67146_VT)) failedCast(r0, tiles_Location__C67146_VT);
40155
40155
  r0 = s.arg0.fields["_row"];
40156
40156
  s.tmp_0 = r0;
40157
40157
  s.tmp_3 = tiles_Location_tileMap__P67147_mk(s);
@@ -40200,7 +40200,7 @@ switch (step) {
40200
40200
  s.lambdaArgs = null;
40201
40201
  }
40202
40202
  r0 = s.arg0;
40203
- if (!checkSubtype(r0, tiles_Location__C67146_VT)) failedCast(r0);
40203
+ if (!checkSubtype(r0, tiles_Location__C67146_VT)) failedCast(r0, tiles_Location__C67146_VT);
40204
40204
  r0 = s.arg0.fields["_col"];
40205
40205
  s.tmp_0 = r0;
40206
40206
  s.tmp_3 = tiles_Location_tileMap__P67147_mk(s);
@@ -40250,7 +40250,7 @@ switch (step) {
40250
40250
  s.lambdaArgs = null;
40251
40251
  }
40252
40252
  r0 = s.arg0;
40253
- if (!checkSubtype(r0, tiles_Location__C67146_VT)) failedCast(r0);
40253
+ if (!checkSubtype(r0, tiles_Location__C67146_VT)) failedCast(r0, tiles_Location__C67146_VT);
40254
40254
  s.tmp_1 = tiles_Location_tileMap__P67147_mk(s);
40255
40255
  s.tmp_1.arg0 = s.arg0;
40256
40256
  s.callLocIdx = 832; s.pc = 1; return s.tmp_1;
@@ -40307,7 +40307,7 @@ switch (step) {
40307
40307
  s.lambdaArgs = null;
40308
40308
  }
40309
40309
  r0 = s.arg0;
40310
- if (!checkSubtype(r0, tiles_Location__C67146_VT)) failedCast(r0);
40310
+ if (!checkSubtype(r0, tiles_Location__C67146_VT)) failedCast(r0, tiles_Location__C67146_VT);
40311
40311
  s.tmp_1 = tiles_Location_tileMap__P67147_mk(s);
40312
40312
  s.tmp_1.arg0 = s.arg0;
40313
40313
  s.callLocIdx = 830; s.pc = 1; return s.tmp_1;
@@ -40367,7 +40367,7 @@ switch (step) {
40367
40367
  s.lambdaArgs = null;
40368
40368
  }
40369
40369
  r0 = s.arg0;
40370
- if (!checkSubtype(r0, particles_ShapeFactory__C67825_VT)) failedCast(r0);
40370
+ if (!checkSubtype(r0, particles_ShapeFactory__C67825_VT)) failedCast(r0, particles_ShapeFactory__C67825_VT);
40371
40371
  s.tmp_1 = Math_FastRandom_pickRandom__P67609_mk(s);
40372
40372
  r0 = s.arg0.fields["galois"];
40373
40373
  s.tmp_1.arg0 = r0;
@@ -40449,7 +40449,7 @@ switch (step) {
40449
40449
  s.lambdaArgs = null;
40450
40450
  }
40451
40451
  r0 = s.arg0;
40452
- if (!checkSubtype(r0, Math_FastRandom__C67606_VT)) failedCast(r0);
40452
+ if (!checkSubtype(r0, Math_FastRandom__C67606_VT)) failedCast(r0, Math_FastRandom__C67606_VT);
40453
40453
  r0 = pxsim_numops_toBoolDecr(s.arg1);
40454
40454
  s.tmp_1 = r0;
40455
40455
  r0 = pxsim_Boolean__bang(s.tmp_1);
@@ -40530,7 +40530,7 @@ switch (step) {
40530
40530
  s.lambdaArgs = null;
40531
40531
  }
40532
40532
  r0 = s.arg0;
40533
- if (!checkSubtype(r0, particles_AreaFactory__C67815_VT)) failedCast(r0);
40533
+ if (!checkSubtype(r0, particles_AreaFactory__C67815_VT)) failedCast(r0, particles_AreaFactory__C67815_VT);
40534
40534
  r0 = s.arg1.fields["lifespan"];
40535
40535
  s.tmp_1 = r0;
40536
40536
  r0 = (s.tmp_1 > 500);
@@ -40614,7 +40614,7 @@ switch (step) {
40614
40614
  s.lambdaArgs = null;
40615
40615
  }
40616
40616
  r0 = s.arg0;
40617
- if (!checkSubtype(r0, particles_SprayFactory__C67808_VT)) failedCast(r0);
40617
+ if (!checkSubtype(r0, particles_SprayFactory__C67808_VT)) failedCast(r0, particles_SprayFactory__C67808_VT);
40618
40618
  s.tmp_0 = r0 = globals.screen___66393;
40619
40619
  r0 = (s.arg2 + 128);
40620
40620
  s.tmp_2 = r0;
@@ -40667,7 +40667,7 @@ switch (step) {
40667
40667
  s.lambdaArgs = null;
40668
40668
  }
40669
40669
  r0 = s.arg0;
40670
- if (!checkSubtype(r0, scene_Renderable__C67251_VT)) failedCast(r0);
40670
+ if (!checkSubtype(r0, scene_Renderable__C67251_VT)) failedCast(r0, scene_Renderable__C67251_VT);
40671
40671
  s.tmp_0 = if_handler_3_mk(s);
40672
40672
  s.tmp_0.arg0 = s.arg0;
40673
40673
  s.tmp_0.arg1 = globals.screen___66393;
@@ -40718,7 +40718,7 @@ switch (step) {
40718
40718
  s.lambdaArgs = null;
40719
40719
  }
40720
40720
  r0 = s.arg0;
40721
- if (!checkSubtype(r0, scene_Renderable__C67251_VT)) failedCast(r0);
40721
+ if (!checkSubtype(r0, scene_Renderable__C67251_VT)) failedCast(r0, scene_Renderable__C67251_VT);
40722
40722
  s.tmp_0 = if_shouldBeVisible_1_mk(s);
40723
40723
  s.tmp_0.arg0 = s.arg0;
40724
40724
  if (!s.tmp_0.arg0.vtable.iface) {
@@ -40770,7 +40770,7 @@ switch (step) {
40770
40770
  s.lambdaArgs = null;
40771
40771
  }
40772
40772
  r0 = s.arg0;
40773
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
40773
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
40774
40774
  s.tmp_0 = Sprite_drawSay__P66835_mk(s);
40775
40775
  s.tmp_0.arg0 = s.arg0;
40776
40776
  s.tmp_0.arg1 = s.arg1;
@@ -40841,7 +40841,7 @@ switch (step) {
40841
40841
  s.tmp_0.arg0 = s.arg0;
40842
40842
  s.tmp_0.arg1 = s.l___79664;
40843
40843
  s.tmp_0.arg2 = s.t___79670;
40844
- if (!checkSubtype(s.tmp_0.arg0, Sprite__C66757_VT)) failedCast(s.tmp_0.arg0);
40844
+ if (!checkSubtype(s.tmp_0.arg0, Sprite__C66757_VT)) failedCast(s.tmp_0.arg0, Sprite__C66757_VT);
40845
40845
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawSprite;
40846
40846
  s.pc = 12; return s.tmp_0;
40847
40847
  case 12:
@@ -40906,7 +40906,7 @@ switch (step) {
40906
40906
  s.lambdaArgs = null;
40907
40907
  }
40908
40908
  r0 = s.arg0;
40909
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
40909
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
40910
40910
  r0 = s.arg0.fields["flags"];
40911
40911
  s.tmp_1 = r0;
40912
40912
  r0 = (s.tmp_1 & 64);
@@ -41283,7 +41283,7 @@ switch (step) {
41283
41283
  s.lambdaArgs = null;
41284
41284
  }
41285
41285
  r0 = s.arg0;
41286
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
41286
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
41287
41287
  r0 = s.arg0.fields["_rotatedBBox"];
41288
41288
  s.tmp_0 = r0;
41289
41289
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -41479,7 +41479,7 @@ switch (step) {
41479
41479
  s.lambdaArgs = null;
41480
41480
  }
41481
41481
  r0 = s.arg0;
41482
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
41482
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
41483
41483
  r0 = s.arg0.fields["sayRenderer"];
41484
41484
  s.tmp_0 = r0;
41485
41485
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -41504,7 +41504,7 @@ switch (step) {
41504
41504
  s.tmp_6.arg1 = globals.screen___66393;
41505
41505
  s.tmp_6.arg2 = s.arg1;
41506
41506
  s.tmp_6.arg3 = s.arg0;
41507
- if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C66710_VT)) failedCast(s.tmp_6.arg0);
41507
+ if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C66710_VT)) failedCast(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C66710_VT);
41508
41508
  s.tmp_6.fn = s.tmp_6.arg0.vtable.methods.draw;
41509
41509
  s.pc = 7; return s.tmp_6;
41510
41510
  case 7:
@@ -41514,7 +41514,7 @@ switch (step) {
41514
41514
  s.tmp_0 = sprites_BaseSpriteSayRenderer__C66710_v2_1_mk(s);
41515
41515
  r0 = s.arg0.fields["sayRenderer"];
41516
41516
  s.tmp_0.arg0 = r0;
41517
- if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C66710_VT)) failedCast(s.tmp_0.arg0);
41517
+ if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C66710_VT)) failedCast(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C66710_VT);
41518
41518
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.destroy;
41519
41519
  s.pc = 8; return s.tmp_0;
41520
41520
  case 8:
@@ -41530,7 +41530,7 @@ switch (step) {
41530
41530
  s.tmp_0.arg1 = globals.screen___66393;
41531
41531
  s.tmp_0.arg2 = s.arg1;
41532
41532
  s.tmp_0.arg3 = s.arg0;
41533
- if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C66710_VT)) failedCast(s.tmp_0.arg0);
41533
+ if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C66710_VT)) failedCast(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C66710_VT);
41534
41534
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.draw;
41535
41535
  s.pc = 9; return s.tmp_0;
41536
41536
  case 9:
@@ -41579,7 +41579,7 @@ switch (step) {
41579
41579
  s.lambdaArgs = null;
41580
41580
  }
41581
41581
  r0 = s.arg0;
41582
- if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C66710_VT)) failedCast(r0);
41582
+ if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C66710_VT)) failedCast(r0, sprites_BaseSpriteSayRenderer__C66710_VT);
41583
41583
  r0 = undefined;
41584
41584
  return leave(s, r0)
41585
41585
  default: oops()
@@ -41616,7 +41616,7 @@ switch (step) {
41616
41616
  s.lambdaArgs = null;
41617
41617
  }
41618
41618
  r0 = s.arg0;
41619
- if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C66710_VT)) failedCast(r0);
41619
+ if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C66710_VT)) failedCast(r0, sprites_BaseSpriteSayRenderer__C66710_VT);
41620
41620
  r0 = undefined;
41621
41621
  return leave(s, r0)
41622
41622
  default: oops()
@@ -41653,7 +41653,7 @@ switch (step) {
41653
41653
  s.lambdaArgs = null;
41654
41654
  }
41655
41655
  r0 = s.arg0;
41656
- if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0);
41656
+ if (!checkSubtype(r0, Sprite__C66757_VT)) failedCast(r0, Sprite__C66757_VT);
41657
41657
  r0 = s.arg0.fields["flags"];
41658
41658
  s.tmp_2 = r0;
41659
41659
  r0 = (s.tmp_2 & 128);
@@ -41696,7 +41696,7 @@ switch (step) {
41696
41696
  s.lambdaArgs = null;
41697
41697
  }
41698
41698
  r0 = s.arg0;
41699
- if (!checkSubtype(r0, scene_Camera__C67236_VT)) failedCast(r0);
41699
+ if (!checkSubtype(r0, scene_Camera__C67236_VT)) failedCast(r0, scene_Camera__C67236_VT);
41700
41700
  r0 = s.arg0.fields["_offsetY"];
41701
41701
  return leaveAccessor(s, r0)
41702
41702
  default: oops()
@@ -41731,7 +41731,7 @@ switch (step) {
41731
41731
  s.lambdaArgs = null;
41732
41732
  }
41733
41733
  r0 = s.arg0;
41734
- if (!checkSubtype(r0, scene_Camera__C67236_VT)) failedCast(r0);
41734
+ if (!checkSubtype(r0, scene_Camera__C67236_VT)) failedCast(r0, scene_Camera__C67236_VT);
41735
41735
  r0 = s.arg0.fields["_offsetX"];
41736
41736
  return leaveAccessor(s, r0)
41737
41737
  default: oops()