pxt-common-packages 12.3.25 → 12.3.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- // total=1982115 new=95.67% cached=0.00% other=4.33%
1
+ // total=1993670 new=95.70% cached=0.00% other=4.30%
2
2
  (function (ectx) {
3
3
  'use strict';
4
4
  const runtime = ectx.runtime;
@@ -1758,7 +1758,7 @@ switch (step) {
1758
1758
  s.lambdaArgs = null;
1759
1759
  }
1760
1760
  r0 = s.arg0;
1761
- if (!checkSubtype(r0, net_Configurator__C117411_VT)) failedCast(r0);
1761
+ if (!checkSubtype(r0, net_Configurator__C117411_VT)) failedCast(r0, net_Configurator__C117411_VT);
1762
1762
  s.tmp_0 = r0 = s.arg0;
1763
1763
  s.tmp_2 = net_Net_controller__P117373_mk(s);
1764
1764
  r0 = globals.net_Net_instance___117378;
@@ -2688,7 +2688,7 @@ switch (step) {
2688
2688
  s.lambdaArgs = null;
2689
2689
  }
2690
2690
  r0 = s.arg0;
2691
- if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0);
2691
+ if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0, particles_ParticleSource__C116987_VT);
2692
2692
  case 1:
2693
2693
  r0 = s.arg0.fields["head"];
2694
2694
  s.tmp_0 = r0;
@@ -3005,7 +3005,7 @@ switch (step) {
3005
3005
  s.lambdaArgs = null;
3006
3006
  }
3007
3007
  r0 = s.arg0;
3008
- if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0);
3008
+ if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0, particles_ParticleSource__C116987_VT);
3009
3009
  s.tmp_1 = r0 = s.arg1;
3010
3010
  s.tmp_3 = particles_ParticleSource_enabled__P116995_mk(s);
3011
3011
  s.tmp_3.arg0 = s.arg0;
@@ -3075,7 +3075,7 @@ switch (step) {
3075
3075
  s.lambdaArgs = null;
3076
3076
  }
3077
3077
  r0 = s.arg0;
3078
- if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0);
3078
+ if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0, particles_ParticleSource__C116987_VT);
3079
3079
  r0 = s.arg0.fields["pFlags"];
3080
3080
  s.tmp_4 = r0;
3081
3081
  r0 = (s.tmp_4 & 1);
@@ -3242,7 +3242,7 @@ switch (step) {
3242
3242
  s.lambdaArgs = null;
3243
3243
  }
3244
3244
  r0 = s.arg0;
3245
- if (!checkSubtype(r0, control_EventContext__C115121_VT)) failedCast(r0);
3245
+ if (!checkSubtype(r0, control_EventContext__C115121_VT)) failedCast(r0, control_EventContext__C115121_VT);
3246
3246
  s.h___117826 = (undefined);
3247
3247
  r0 = s.arg0.fields["handlers"];
3248
3248
  s.unnamed378___U1 = (r0);
@@ -3310,7 +3310,7 @@ switch (step) {
3310
3310
  s.lambdaArgs = null;
3311
3311
  }
3312
3312
  r0 = s.arg0;
3313
- if (!checkSubtype(r0, control_EventContext__C115121_VT)) failedCast(r0);
3313
+ if (!checkSubtype(r0, control_EventContext__C115121_VT)) failedCast(r0, control_EventContext__C115121_VT);
3314
3314
  r0 = s.arg0.fields["frameCallbacks"];
3315
3315
  s.tmp_2 = r0;
3316
3316
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -3485,7 +3485,7 @@ switch (step) {
3485
3485
  s.lambdaArgs = null;
3486
3486
  }
3487
3487
  r0 = s.arg0;
3488
- if (!checkSubtype(r0, control_EventContext__C115121_VT)) failedCast(r0);
3488
+ if (!checkSubtype(r0, control_EventContext__C115121_VT)) failedCast(r0, control_EventContext__C115121_VT);
3489
3489
  r0 = pxsim.control.millis();
3490
3490
  s.loopStart___117884 = (r0);
3491
3491
  s.tmp_0 = r0 = s.arg0;
@@ -3770,7 +3770,7 @@ switch (step) {
3770
3770
  s.lambdaArgs = null;
3771
3771
  }
3772
3772
  r0 = s.arg0;
3773
- if (!checkSubtype(r0, control_EventHandler__C115116_VT)) failedCast(r0);
3773
+ if (!checkSubtype(r0, control_EventHandler__C115116_VT)) failedCast(r0, control_EventHandler__C115116_VT);
3774
3774
  r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P118018);
3775
3775
  s.tmp_0 = r0;
3776
3776
  r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0);
@@ -3869,7 +3869,7 @@ switch (step) {
3869
3869
  s.lambdaArgs = null;
3870
3870
  }
3871
3871
  r0 = s.arg0;
3872
- if (!checkSubtype(r0, control_EventContext__C115121_VT)) failedCast(r0);
3872
+ if (!checkSubtype(r0, control_EventContext__C115121_VT)) failedCast(r0, control_EventContext__C115121_VT);
3873
3873
  s.h___118028 = (undefined);
3874
3874
  r0 = s.arg0.fields["handlers"];
3875
3875
  s.unnamed380___U1 = (r0);
@@ -3937,7 +3937,7 @@ switch (step) {
3937
3937
  s.lambdaArgs = null;
3938
3938
  }
3939
3939
  r0 = s.arg0;
3940
- if (!checkSubtype(r0, control_EventHandler__C115116_VT)) failedCast(r0);
3940
+ if (!checkSubtype(r0, control_EventHandler__C115116_VT)) failedCast(r0, control_EventHandler__C115116_VT);
3941
3941
  r0 = s.arg0.fields["src"];
3942
3942
  s.tmp_0 = r0;
3943
3943
  r0 = s.arg0.fields["value"];
@@ -4010,7 +4010,7 @@ switch (step) {
4010
4010
  s.lambdaArgs = null;
4011
4011
  }
4012
4012
  r0 = s.arg0;
4013
- if (!checkSubtype(r0, net_Configurator__C117411_VT)) failedCast(r0);
4013
+ if (!checkSubtype(r0, net_Configurator__C117411_VT)) failedCast(r0, net_Configurator__C117411_VT);
4014
4014
  s.tmp_0 = console_log__P115092_mk(s);
4015
4015
  s.tmp_0.arg0 = "connecting...";
4016
4016
  s.callLocIdx = 1519; s.pc = 7; return s.tmp_0;
@@ -4134,7 +4134,7 @@ switch (step) {
4134
4134
  s.lambdaArgs = null;
4135
4135
  }
4136
4136
  r0 = s.arg0;
4137
- if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0);
4137
+ if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0, net_Controller__C117303_VT);
4138
4138
  r0 = -1;
4139
4139
  return leave(s, r0)
4140
4140
  default: oops()
@@ -4170,7 +4170,7 @@ switch (step) {
4170
4170
  s.lambdaArgs = null;
4171
4171
  }
4172
4172
  r0 = s.arg0;
4173
- if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0);
4173
+ if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0, net_Controller__C117303_VT);
4174
4174
  r0 = undefined;
4175
4175
  return leaveAccessor(s, r0)
4176
4176
  default: oops()
@@ -4205,7 +4205,7 @@ switch (step) {
4205
4205
  s.lambdaArgs = null;
4206
4206
  }
4207
4207
  r0 = s.arg0;
4208
- if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0);
4208
+ if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0, net_Controller__C117303_VT);
4209
4209
  r0 = s.arg0.fields["_isConnected"];
4210
4210
  return leaveAccessor(s, r0)
4211
4211
  default: oops()
@@ -4241,7 +4241,7 @@ switch (step) {
4241
4241
  s.lambdaArgs = null;
4242
4242
  }
4243
4243
  r0 = s.arg0;
4244
- if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0);
4244
+ if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0, net_Controller__C117303_VT);
4245
4245
  s.tmp_0 = net_Controller_autoconnect__P117322_mk(s);
4246
4246
  s.tmp_0.arg0 = s.arg0;
4247
4247
  s.callLocIdx = 1506; s.pc = 1; return s.tmp_0;
@@ -4320,7 +4320,7 @@ switch (step) {
4320
4320
  s.lambdaArgs = null;
4321
4321
  }
4322
4322
  r0 = s.arg0;
4323
- if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0);
4323
+ if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0, net_Controller__C117303_VT);
4324
4324
  r0 = s.arg0.fields["reconnectRunning"];
4325
4325
  s.tmp_0 = r0;
4326
4326
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -4448,7 +4448,7 @@ switch (step) {
4448
4448
  s.lambdaArgs = null;
4449
4449
  }
4450
4450
  r0 = s.arg0;
4451
- if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0);
4451
+ if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0, net_Controller__C117303_VT);
4452
4452
  r0 = pxsim.control.deviceDalVersion();
4453
4453
  s.tmp_1 = r0;
4454
4454
  r0 = (s.tmp_1 == "sim");
@@ -5413,7 +5413,7 @@ switch (step) {
5413
5413
  s.lambdaArgs = null;
5414
5414
  }
5415
5415
  r0 = s.arg0;
5416
- if (!checkSubtype(r0, JSON_Parser__C115098_VT)) failedCast(r0);
5416
+ if (!checkSubtype(r0, JSON_Parser__C115098_VT)) failedCast(r0, JSON_Parser__C115098_VT);
5417
5417
  r0 = s.arg0.fields["errorMsg"];
5418
5418
  s.tmp_2 = r0;
5419
5419
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -5510,7 +5510,7 @@ switch (step) {
5510
5510
  s.lambdaArgs = null;
5511
5511
  }
5512
5512
  r0 = s.arg0;
5513
- if (!checkSubtype(r0, JSON_Parser__C115098_VT)) failedCast(r0);
5513
+ if (!checkSubtype(r0, JSON_Parser__C115098_VT)) failedCast(r0, JSON_Parser__C115098_VT);
5514
5514
  case 1:
5515
5515
  s.tmp_0 = JSON_Parser_nextChar__P115101_mk(s);
5516
5516
  s.tmp_0.arg0 = s.arg0;
@@ -5603,7 +5603,7 @@ switch (step) {
5603
5603
  s.lambdaArgs = null;
5604
5604
  }
5605
5605
  r0 = s.arg0;
5606
- if (!checkSubtype(r0, JSON_Parser__C115098_VT)) failedCast(r0);
5606
+ if (!checkSubtype(r0, JSON_Parser__C115098_VT)) failedCast(r0, JSON_Parser__C115098_VT);
5607
5607
  r0 = s.arg0.fields["ptr"];
5608
5608
  s.tmp_1 = r0;
5609
5609
  r0 = s.arg0.fields["s"];
@@ -5669,7 +5669,7 @@ switch (step) {
5669
5669
  s.lambdaArgs = null;
5670
5670
  }
5671
5671
  r0 = s.arg0;
5672
- if (!checkSubtype(r0, JSON_Parser__C115098_VT)) failedCast(r0);
5672
+ if (!checkSubtype(r0, JSON_Parser__C115098_VT)) failedCast(r0, JSON_Parser__C115098_VT);
5673
5673
  r0 = s.arg0.fields["errorMsg"];
5674
5674
  s.tmp_0 = r0;
5675
5675
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -5884,7 +5884,7 @@ switch (step) {
5884
5884
  s.lambdaArgs = null;
5885
5885
  }
5886
5886
  r0 = s.arg0;
5887
- if (!checkSubtype(r0, JSON_Parser__C115098_VT)) failedCast(r0);
5887
+ if (!checkSubtype(r0, JSON_Parser__C115098_VT)) failedCast(r0, JSON_Parser__C115098_VT);
5888
5888
  s.tmp_2 = helpers_stringSlice__P114893_mk(s);
5889
5889
  r0 = s.arg0.fields["s"];
5890
5890
  s.tmp_2.arg0 = r0;
@@ -6047,7 +6047,7 @@ switch (step) {
6047
6047
  s.lambdaArgs = null;
6048
6048
  }
6049
6049
  r0 = s.arg0;
6050
- if (!checkSubtype(r0, JSON_Parser__C115098_VT)) failedCast(r0);
6050
+ if (!checkSubtype(r0, JSON_Parser__C115098_VT)) failedCast(r0, JSON_Parser__C115098_VT);
6051
6051
  r0 = pxsim_String_.mkEmpty();
6052
6052
  s.r___118578 = (r0);
6053
6053
  s.tmp_0 = r0 = s.arg0;
@@ -6467,7 +6467,7 @@ switch (step) {
6467
6467
  s.lambdaArgs = null;
6468
6468
  }
6469
6469
  r0 = s.arg0;
6470
- if (!checkSubtype(r0, JSON_Parser__C115098_VT)) failedCast(r0);
6470
+ if (!checkSubtype(r0, JSON_Parser__C115098_VT)) failedCast(r0, JSON_Parser__C115098_VT);
6471
6471
  r0 = s.arg0.fields["ptr"];
6472
6472
  s.beg___118745 = (r0);
6473
6473
  case 1:
@@ -6623,7 +6623,7 @@ switch (step) {
6623
6623
  s.lambdaArgs = null;
6624
6624
  }
6625
6625
  r0 = s.arg0;
6626
- if (!checkSubtype(r0, JSON_Parser__C115098_VT)) failedCast(r0);
6626
+ if (!checkSubtype(r0, JSON_Parser__C115098_VT)) failedCast(r0, JSON_Parser__C115098_VT);
6627
6627
  r0 = pxsim_Array__mk();
6628
6628
  s.r___118793 = (r0);
6629
6629
  s.tmp_0 = r0 = s.arg0;
@@ -6747,7 +6747,7 @@ switch (step) {
6747
6747
  s.lambdaArgs = null;
6748
6748
  }
6749
6749
  r0 = s.arg0;
6750
- if (!checkSubtype(r0, JSON_Parser__C115098_VT)) failedCast(r0);
6750
+ if (!checkSubtype(r0, JSON_Parser__C115098_VT)) failedCast(r0, JSON_Parser__C115098_VT);
6751
6751
  r0 = pxsim_pxtrt.mkMap();
6752
6752
  s.r___118828 = (r0);
6753
6753
  s.tmp_0 = r0 = s.arg0;
@@ -7132,7 +7132,7 @@ switch (step) {
7132
7132
  s.lambdaArgs = null;
7133
7133
  }
7134
7134
  r0 = s.arg0;
7135
- if (!checkSubtype(r0, settings_SecretStore__C115685_VT)) failedCast(r0);
7135
+ if (!checkSubtype(r0, settings_SecretStore__C115685_VT)) failedCast(r0, settings_SecretStore__C115685_VT);
7136
7136
  r0 = (s.arg0).fields["key"] = (s.arg1);
7137
7137
  r0 = undefined;
7138
7138
  return leave(s, r0)
@@ -7172,7 +7172,7 @@ switch (step) {
7172
7172
  s.lambdaArgs = null;
7173
7173
  }
7174
7174
  r0 = s.arg0;
7175
- if (!checkSubtype(r0, settings_SecretStore__C115685_VT)) failedCast(r0);
7175
+ if (!checkSubtype(r0, settings_SecretStore__C115685_VT)) failedCast(r0, settings_SecretStore__C115685_VT);
7176
7176
  s.tmp_0 = settings_SecretStore_readSecrets__P115690_mk(s);
7177
7177
  s.tmp_0.arg0 = s.arg0;
7178
7178
  s.callLocIdx = 185; s.pc = 5; return s.tmp_0;
@@ -7251,7 +7251,7 @@ switch (step) {
7251
7251
  s.lambdaArgs = null;
7252
7252
  }
7253
7253
  r0 = s.arg0;
7254
- if (!checkSubtype(r0, settings_SecretStore__C115685_VT)) failedCast(r0);
7254
+ if (!checkSubtype(r0, settings_SecretStore__C115685_VT)) failedCast(r0, settings_SecretStore__C115685_VT);
7255
7255
  r0 = pxsim_pxtcore.beginTry(3);
7256
7256
  s.tmp_1 = settings_readJSON__P115676_mk(s);
7257
7257
  r0 = s.arg0.fields["key"];
@@ -8040,7 +8040,7 @@ switch (step) {
8040
8040
  s.lambdaArgs = null;
8041
8041
  }
8042
8042
  r0 = s.arg0;
8043
- if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0);
8043
+ if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0, net_Controller__C117303_VT);
8044
8044
  s.tmp_0 = r0 = s.arg0;
8045
8045
  r0 = pxsim_Array__mk();
8046
8046
  s.tmp_1 = r0;
@@ -8086,7 +8086,7 @@ switch (step) {
8086
8086
  s.lambdaArgs = null;
8087
8087
  }
8088
8088
  r0 = s.arg0;
8089
- if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0);
8089
+ if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0, net_Controller__C117303_VT);
8090
8090
  r0 = pxsim_Array__mk();
8091
8091
  return leave(s, r0)
8092
8092
  default: oops()
@@ -8122,7 +8122,7 @@ switch (step) {
8122
8122
  s.lambdaArgs = null;
8123
8123
  }
8124
8124
  r0 = s.arg0;
8125
- if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0);
8125
+ if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0, net_Controller__C117303_VT);
8126
8126
  r0 = false;
8127
8127
  return leave(s, r0)
8128
8128
  default: oops()
@@ -8159,7 +8159,7 @@ switch (step) {
8159
8159
  s.lambdaArgs = null;
8160
8160
  }
8161
8161
  r0 = s.arg0;
8162
- if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0);
8162
+ if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0, net_Controller__C117303_VT);
8163
8163
  r0 = s.arg0.fields["eventID"];
8164
8164
  s.tmp_0 = r0;
8165
8165
  r0 = pxsim.control.raiseEvent(s.tmp_0, s.arg1);
@@ -8269,7 +8269,7 @@ switch (step) {
8269
8269
  s.lambdaArgs = null;
8270
8270
  }
8271
8271
  r0 = s.arg0;
8272
- if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0);
8272
+ if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0, game_Prompt__C116817_VT);
8273
8273
  r0 = (s.arg0).fields["message"] = (s.arg1);
8274
8274
  r0 = (s.arg0).fields["answerLength"] = (s.arg2);
8275
8275
  s.tmp_0 = controller__setUserEventsEnabled__P115911_mk(s);
@@ -8318,7 +8318,7 @@ switch (step) {
8318
8318
  s.tmp_0 = r0;
8319
8319
  s.tmp_2 = game_Prompt__C116817_v0_1_mk(s);
8320
8320
  s.tmp_2.arg0 = s.arg0;
8321
- if (!checkSubtype(s.tmp_2.arg0, game_Prompt__C116817_VT)) failedCast(s.tmp_2.arg0);
8321
+ if (!checkSubtype(s.tmp_2.arg0, game_Prompt__C116817_VT)) failedCast(s.tmp_2.arg0, game_Prompt__C116817_VT);
8322
8322
  s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.numbersOnly;
8323
8323
  s.pc = 12; return s.tmp_2;
8324
8324
  case 12:
@@ -8683,7 +8683,7 @@ switch (step) {
8683
8683
  s.lambdaArgs = null;
8684
8684
  }
8685
8685
  r0 = s.arg0;
8686
- if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0);
8686
+ if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0, game_Prompt__C116817_VT);
8687
8687
  r0 = pxsim_pxtcore_mkAction(1, game_Prompt_registerHandlers_inline__P119335);
8688
8688
  s.tmp_0 = r0;
8689
8689
  r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0);
@@ -8777,7 +8777,7 @@ switch (step) {
8777
8777
  s.tmp_0 = game_Prompt__C116817_v3_2_mk(s);
8778
8778
  s.tmp_0.arg0 = s.caps[0];
8779
8779
  s.tmp_0.arg1 = true;
8780
- if (!checkSubtype(s.tmp_0.arg0, game_Prompt__C116817_VT)) failedCast(s.tmp_0.arg0);
8780
+ if (!checkSubtype(s.tmp_0.arg0, game_Prompt__C116817_VT)) failedCast(s.tmp_0.arg0, game_Prompt__C116817_VT);
8781
8781
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.moveVertical;
8782
8782
  s.pc = 1; return s.tmp_0;
8783
8783
  case 1:
@@ -8813,7 +8813,7 @@ switch (step) {
8813
8813
  s.tmp_0 = game_Prompt__C116817_v3_2_mk(s);
8814
8814
  s.tmp_0.arg0 = s.caps[0];
8815
8815
  s.tmp_0.arg1 = false;
8816
- if (!checkSubtype(s.tmp_0.arg0, game_Prompt__C116817_VT)) failedCast(s.tmp_0.arg0);
8816
+ if (!checkSubtype(s.tmp_0.arg0, game_Prompt__C116817_VT)) failedCast(s.tmp_0.arg0, game_Prompt__C116817_VT);
8817
8817
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.moveVertical;
8818
8818
  s.pc = 1; return s.tmp_0;
8819
8819
  case 1:
@@ -8916,7 +8916,7 @@ switch (step) {
8916
8916
 
8917
8917
  s.tmp_0 = game_Prompt__C116817_v4_1_mk(s);
8918
8918
  s.tmp_0.arg0 = s.caps[0];
8919
- if (!checkSubtype(s.tmp_0.arg0, game_Prompt__C116817_VT)) failedCast(s.tmp_0.arg0);
8919
+ if (!checkSubtype(s.tmp_0.arg0, game_Prompt__C116817_VT)) failedCast(s.tmp_0.arg0, game_Prompt__C116817_VT);
8920
8920
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.confirm;
8921
8921
  s.pc = 1; return s.tmp_0;
8922
8922
  case 1:
@@ -8987,7 +8987,7 @@ switch (step) {
8987
8987
  s.lambdaArgs = null;
8988
8988
  }
8989
8989
  r0 = s.arg0;
8990
- if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0);
8990
+ if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0, game_Prompt__C116817_VT);
8991
8991
  r0 = s.arg0.fields["selectionStart"];
8992
8992
  s.tmp_1 = r0;
8993
8993
  r0 = (s.tmp_1 <= 0);
@@ -9061,7 +9061,7 @@ switch (step) {
9061
9061
  s.lambdaArgs = null;
9062
9062
  }
9063
9063
  r0 = s.arg0;
9064
- if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0);
9064
+ if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0, game_Prompt__C116817_VT);
9065
9065
  s.tmp_0 = r0 = s.arg0;
9066
9066
  r0 = s.tmp_0.fields["selectionStart"];
9067
9067
  s.tmp_2 = r0;
@@ -9110,7 +9110,7 @@ switch (step) {
9110
9110
  s.lambdaArgs = null;
9111
9111
  }
9112
9112
  r0 = s.arg0;
9113
- if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0);
9113
+ if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0, game_Prompt__C116817_VT);
9114
9114
  r0 = s.arg0.fields["cursorRow"];
9115
9115
  s.tmp_1 = r0;
9116
9116
  r0 = (s.tmp_1 === 3);
@@ -9348,7 +9348,7 @@ switch (step) {
9348
9348
  s.lambdaArgs = null;
9349
9349
  }
9350
9350
  r0 = s.arg0;
9351
- if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0);
9351
+ if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0, game_Prompt__C116817_VT);
9352
9352
  r0 = pxsim_numops_toBoolDecr(s.arg1);
9353
9353
  if (!r0) { step = 1; continue; }
9354
9354
  s.tmp_0 = r0 = s.arg0;
@@ -9420,7 +9420,7 @@ switch (step) {
9420
9420
  s.lambdaArgs = null;
9421
9421
  }
9422
9422
  r0 = s.arg0;
9423
- if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0);
9423
+ if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0, game_Prompt__C116817_VT);
9424
9424
  r0 = pxsim_numops_toBoolDecr(s.arg1);
9425
9425
  if (!r0) { step = 5; continue; }
9426
9426
  r0 = s.arg0.fields["cursorRow"];
@@ -9626,7 +9626,7 @@ switch (step) {
9626
9626
  s.lambdaArgs = null;
9627
9627
  }
9628
9628
  r0 = s.arg0;
9629
- if (!checkSubtype(r0, scene_Scene__C115762_VT)) failedCast(r0);
9629
+ if (!checkSubtype(r0, scene_Scene__C115762_VT)) failedCast(r0, scene_Scene__C115762_VT);
9630
9630
  r0 = s.arg0.fields["_millis"];
9631
9631
  return leave(s, r0)
9632
9632
  default: oops()
@@ -9796,7 +9796,7 @@ switch (step) {
9796
9796
  s.lambdaArgs = null;
9797
9797
  }
9798
9798
  r0 = s.arg0;
9799
- if (!checkSubtype(r0, control_EventContext__C115121_VT)) failedCast(r0);
9799
+ if (!checkSubtype(r0, control_EventContext__C115121_VT)) failedCast(r0, control_EventContext__C115121_VT);
9800
9800
  s.h___119597 = (undefined);
9801
9801
  r0 = s.arg0.fields["handlers"];
9802
9802
  s.unnamed382___U1 = (r0);
@@ -9908,7 +9908,7 @@ switch (step) {
9908
9908
  s.lambdaArgs = null;
9909
9909
  }
9910
9910
  r0 = s.arg0;
9911
- if (!checkSubtype(r0, control_EventHandler__C115116_VT)) failedCast(r0);
9911
+ if (!checkSubtype(r0, control_EventHandler__C115116_VT)) failedCast(r0, control_EventHandler__C115116_VT);
9912
9912
  r0 = (s.arg0).fields["src"] = (s.arg1);
9913
9913
  r0 = (s.arg0).fields["value"] = (s.arg2);
9914
9914
  r0 = (s.arg0).fields["handler"] = (s.arg3);
@@ -9995,7 +9995,7 @@ switch (step) {
9995
9995
  s.lambdaArgs = null;
9996
9996
  }
9997
9997
  r0 = s.arg0;
9998
- if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0);
9998
+ if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0, game_Prompt__C116817_VT);
9999
9999
  r0 = false;
10000
10000
  return leave(s, r0)
10001
10001
  default: oops()
@@ -10031,7 +10031,7 @@ switch (step) {
10031
10031
  s.lambdaArgs = null;
10032
10032
  }
10033
10033
  r0 = s.arg0;
10034
- if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0);
10034
+ if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0, game_Prompt__C116817_VT);
10035
10035
  r0 = s.arg0.fields["renderable"];
10036
10036
  s.tmp_0 = r0;
10037
10037
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -10159,7 +10159,7 @@ switch (step) {
10159
10159
  r0 = s.retval;
10160
10160
  s.tmp_0 = game_Prompt__C116817_v1_1_mk(s);
10161
10161
  s.tmp_0.arg0 = s.caps[1];
10162
- if (!checkSubtype(s.tmp_0.arg0, game_Prompt__C116817_VT)) failedCast(s.tmp_0.arg0);
10162
+ if (!checkSubtype(s.tmp_0.arg0, game_Prompt__C116817_VT)) failedCast(s.tmp_0.arg0, game_Prompt__C116817_VT);
10163
10163
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawBottomBar;
10164
10164
  s.pc = 10; return s.tmp_0;
10165
10165
  case 10:
@@ -10467,7 +10467,7 @@ switch (step) {
10467
10467
  s.lambdaArgs = null;
10468
10468
  }
10469
10469
  r0 = s.arg0;
10470
- if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0);
10470
+ if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0, game_Prompt__C116817_VT);
10471
10471
  s.tmp_0 = game_Prompt_drawBottomBarBackground__P116824_mk(s);
10472
10472
  s.tmp_0.arg0 = s.arg0;
10473
10473
  s.callLocIdx = 1133; s.pc = 5; return s.tmp_0;
@@ -10570,7 +10570,7 @@ switch (step) {
10570
10570
  s.lambdaArgs = null;
10571
10571
  }
10572
10572
  r0 = s.arg0;
10573
- if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0);
10573
+ if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0, game_Prompt__C116817_VT);
10574
10574
  r0 = pxsim_numops_toBoolDecr(s.arg1);
10575
10575
  if (!r0) { step = 1; continue; }
10576
10576
  s.tmp_0 = helpers_imageFillRect__P115576_mk(s);
@@ -11297,7 +11297,7 @@ switch (step) {
11297
11297
  s.lambdaArgs = null;
11298
11298
  }
11299
11299
  r0 = s.arg0;
11300
- if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0);
11300
+ if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0, game_Prompt__C116817_VT);
11301
11301
  r0 = pxsim_numops_toBoolDecr(s.arg1);
11302
11302
  if (!r0) { step = 1; continue; }
11303
11303
  s.tmp_0 = helpers_imageFillRect__P115576_mk(s);
@@ -11404,7 +11404,7 @@ switch (step) {
11404
11404
  s.lambdaArgs = null;
11405
11405
  }
11406
11406
  r0 = s.arg0;
11407
- if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0);
11407
+ if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0, game_Prompt__C116817_VT);
11408
11408
  s.tmp_0 = helpers_imageFillRect__P115576_mk(s);
11409
11409
  s.tmp_0.arg0 = globals.screen___115636;
11410
11410
  s.tmp_0.arg1 = 0;
@@ -11473,7 +11473,7 @@ switch (step) {
11473
11473
  s.lambdaArgs = null;
11474
11474
  }
11475
11475
  r0 = s.arg0;
11476
- if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0);
11476
+ if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0, game_Prompt__C116817_VT);
11477
11477
  r0 = pxsim_ImageMethods.height(globals.screen___115636);
11478
11478
  s.tmp_2 = r0;
11479
11479
  r0 = (s.tmp_2 - globals.BOTTOM_BAR_HEIGHT___116772);
@@ -11574,7 +11574,7 @@ switch (step) {
11574
11574
  s.tmp_1 = game_Prompt__C116817_v2_2_mk(s);
11575
11575
  s.tmp_1.arg0 = s.arg0;
11576
11576
  s.tmp_1.arg1 = s.j___120249;
11577
- if (!checkSubtype(s.tmp_1.arg0, game_Prompt__C116817_VT)) failedCast(s.tmp_1.arg0);
11577
+ if (!checkSubtype(s.tmp_1.arg0, game_Prompt__C116817_VT)) failedCast(s.tmp_1.arg0, game_Prompt__C116817_VT);
11578
11578
  s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.getSymbolForIndex;
11579
11579
  s.pc = 10; return s.tmp_1;
11580
11580
  case 10:
@@ -11666,7 +11666,7 @@ switch (step) {
11666
11666
  s.lambdaArgs = null;
11667
11667
  }
11668
11668
  r0 = s.arg0;
11669
- if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0);
11669
+ if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0, game_Prompt__C116817_VT);
11670
11670
  s.tmp_0 = game_getCharForIndex__P116836_mk(s);
11671
11671
  s.tmp_0.arg0 = s.arg1;
11672
11672
  r0 = s.arg0.fields["upper"];
@@ -11715,7 +11715,7 @@ switch (step) {
11715
11715
  s.lambdaArgs = null;
11716
11716
  }
11717
11717
  r0 = s.arg0;
11718
- if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0);
11718
+ if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0, game_Prompt__C116817_VT);
11719
11719
  s.tmp_0 = r0 = globals.ROW_LEFT___116764;
11720
11720
  r0 = (globals.CELL_WIDTH___116746 * 12);
11721
11721
  s.tmp_4 = r0;
@@ -12106,7 +12106,7 @@ switch (step) {
12106
12106
  s.lambdaArgs = null;
12107
12107
  }
12108
12108
  r0 = s.arg0;
12109
- if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0);
12109
+ if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0, game_Prompt__C116817_VT);
12110
12110
  s.tmp_3 = game_runtime__P116709_mk(s);
12111
12111
  s.callLocIdx = 1163; s.pc = 1; return s.tmp_3;
12112
12112
  case 1:
@@ -12163,7 +12163,7 @@ switch (step) {
12163
12163
  s.lambdaArgs = null;
12164
12164
  }
12165
12165
  r0 = s.arg0;
12166
- if (!checkSubtype(r0, sprites_RenderText__C115923_VT)) failedCast(r0);
12166
+ if (!checkSubtype(r0, sprites_RenderText__C115923_VT)) failedCast(r0, sprites_RenderText__C115923_VT);
12167
12167
  r0 = (s.arg5 === undefined);
12168
12168
  s.tmp_0 = r0;
12169
12169
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -12271,7 +12271,7 @@ switch (step) {
12271
12271
  s.lambdaArgs = null;
12272
12272
  }
12273
12273
  r0 = s.arg0;
12274
- if (!checkSubtype(r0, sprites_RenderText__C115923_VT)) failedCast(r0);
12274
+ if (!checkSubtype(r0, sprites_RenderText__C115923_VT)) failedCast(r0, sprites_RenderText__C115923_VT);
12275
12275
  s.tmp_0 = sprites_RenderText_lineStart__P115933_mk(s);
12276
12276
  s.tmp_0.arg0 = s.arg0;
12277
12277
  s.tmp_0.arg1 = s.arg4;
@@ -12376,7 +12376,7 @@ switch (step) {
12376
12376
  s.lambdaArgs = null;
12377
12377
  }
12378
12378
  r0 = s.arg0;
12379
- if (!checkSubtype(r0, sprites_RenderText__C115923_VT)) failedCast(r0);
12379
+ if (!checkSubtype(r0, sprites_RenderText__C115923_VT)) failedCast(r0, sprites_RenderText__C115923_VT);
12380
12380
  r0 = (s.arg1 > 0);
12381
12381
  s.tmp_0 = r0;
12382
12382
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -12534,7 +12534,7 @@ switch (step) {
12534
12534
  s.lambdaArgs = null;
12535
12535
  }
12536
12536
  r0 = s.arg0;
12537
- if (!checkSubtype(r0, sprites_RenderText__C115923_VT)) failedCast(r0);
12537
+ if (!checkSubtype(r0, sprites_RenderText__C115923_VT)) failedCast(r0, sprites_RenderText__C115923_VT);
12538
12538
  r0 = (s.arg1 > 0);
12539
12539
  s.tmp_0 = r0;
12540
12540
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -12759,7 +12759,7 @@ switch (step) {
12759
12759
  s.lambdaArgs = null;
12760
12760
  }
12761
12761
  r0 = s.arg0;
12762
- if (!checkSubtype(r0, scene_Renderable__C116494_VT)) failedCast(r0);
12762
+ if (!checkSubtype(r0, scene_Renderable__C116494_VT)) failedCast(r0, scene_Renderable__C116494_VT);
12763
12763
  r0 = (s.arg0).fields["handler"] = (s.arg1);
12764
12764
  r0 = (s.arg0).fields["shouldBeVisible"] = (s.arg2);
12765
12765
  s.tmp_0 = sprites_BaseSprite_constructor__P115715_mk(s);
@@ -12806,7 +12806,7 @@ switch (step) {
12806
12806
  s.lambdaArgs = null;
12807
12807
  }
12808
12808
  r0 = s.arg0;
12809
- if (!checkSubtype(r0, sprites_BaseSprite__C115707_VT)) failedCast(r0);
12809
+ if (!checkSubtype(r0, sprites_BaseSprite__C115707_VT)) failedCast(r0, sprites_BaseSprite__C115707_VT);
12810
12810
  s.tmp_0 = sprites_BaseSprite_z__P115710_mk(s);
12811
12811
  s.tmp_0.arg0 = s.arg0;
12812
12812
  s.tmp_0.arg1 = s.arg1;
@@ -12860,7 +12860,7 @@ switch (step) {
12860
12860
  s.lambdaArgs = null;
12861
12861
  }
12862
12862
  r0 = s.arg0;
12863
- if (!checkSubtype(r0, scene_Scene__C115762_VT)) failedCast(r0);
12863
+ if (!checkSubtype(r0, scene_Scene__C115762_VT)) failedCast(r0, scene_Scene__C115762_VT);
12864
12864
  r0 = s.arg0.fields["allSprites"];
12865
12865
  s.tmp_0 = r0;
12866
12866
  r0 = pxsim_Array__push(s.tmp_0, s.arg1);
@@ -12922,7 +12922,7 @@ switch (step) {
12922
12922
  s.lambdaArgs = null;
12923
12923
  }
12924
12924
  r0 = s.arg0;
12925
- if (!checkSubtype(r0, sprites_BaseSprite__C115707_VT)) failedCast(r0);
12925
+ if (!checkSubtype(r0, sprites_BaseSprite__C115707_VT)) failedCast(r0, sprites_BaseSprite__C115707_VT);
12926
12926
  r0 = s.arg0.fields["_z"];
12927
12927
  s.tmp_1 = r0;
12928
12928
  r0 = (s.tmp_1 !== s.arg1);
@@ -12980,7 +12980,7 @@ switch (step) {
12980
12980
  s.lambdaArgs = null;
12981
12981
  }
12982
12982
  r0 = s.arg0;
12983
- if (!checkSubtype(r0, sprites_BaseSprite__C115707_VT)) failedCast(r0);
12983
+ if (!checkSubtype(r0, sprites_BaseSprite__C115707_VT)) failedCast(r0, sprites_BaseSprite__C115707_VT);
12984
12984
  r0 = s.arg0.fields["_z"];
12985
12985
  return leaveAccessor(s, r0)
12986
12986
  default: oops()
@@ -13017,7 +13017,7 @@ switch (step) {
13017
13017
  s.lambdaArgs = null;
13018
13018
  }
13019
13019
  r0 = s.arg0;
13020
- if (!checkSubtype(r0, sprites_RenderText__C115923_VT)) failedCast(r0);
13020
+ if (!checkSubtype(r0, sprites_RenderText__C115923_VT)) failedCast(r0, sprites_RenderText__C115923_VT);
13021
13021
  r0 = (s.arg0).fields["text"] = (s.arg1);
13022
13022
  s.tmp_0 = r0 = s.arg0;
13023
13023
  s.tmp_2 = image_getFontForText__P115597_mk(s);
@@ -13073,7 +13073,7 @@ switch (step) {
13073
13073
  s.lambdaArgs = null;
13074
13074
  }
13075
13075
  r0 = s.arg0;
13076
- if (!checkSubtype(r0, sprites_RenderText__C115923_VT)) failedCast(r0);
13076
+ if (!checkSubtype(r0, sprites_RenderText__C115923_VT)) failedCast(r0, sprites_RenderText__C115923_VT);
13077
13077
  r0 = pxsim_Array__mk();
13078
13078
  s.tmp_0 = r0;
13079
13079
  s.tmp_2 = r0 = s.arg1;
@@ -13588,7 +13588,7 @@ switch (step) {
13588
13588
  s.lambdaArgs = null;
13589
13589
  }
13590
13590
  r0 = s.arg0;
13591
- if (!checkSubtype(r0, scene_Renderable__C116494_VT)) failedCast(r0);
13591
+ if (!checkSubtype(r0, scene_Renderable__C116494_VT)) failedCast(r0, scene_Renderable__C116494_VT);
13592
13592
  s.tmp_0 = game_currentScene__P115770_mk(s);
13593
13593
  s.callLocIdx = 1012; s.pc = 1; return s.tmp_0;
13594
13594
  case 1:
@@ -13666,7 +13666,7 @@ switch (step) {
13666
13666
  s.lambdaArgs = null;
13667
13667
  }
13668
13668
  r0 = s.arg0;
13669
- if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0);
13669
+ if (!checkSubtype(r0, game_Prompt__C116817_VT)) failedCast(r0, game_Prompt__C116817_VT);
13670
13670
  r0 = (s.arg0).fields["changeTime"] = (0);
13671
13671
  r0 = pxsim_numops_toBoolDecr(s.arg1);
13672
13672
  if (!r0) { step = 1; continue; }
@@ -13734,7 +13734,7 @@ switch (step) {
13734
13734
  s.lambdaArgs = null;
13735
13735
  }
13736
13736
  r0 = s.arg0;
13737
- if (!checkSubtype(r0, net_Configurator__C117411_VT)) failedCast(r0);
13737
+ if (!checkSubtype(r0, net_Configurator__C117411_VT)) failedCast(r0, net_Configurator__C117411_VT);
13738
13738
  r0 = s.arg0.fields["scanning"];
13739
13739
  s.tmp_0 = r0;
13740
13740
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -14033,7 +14033,7 @@ switch (step) {
14033
14033
  s.lambdaArgs = null;
14034
14034
  }
14035
14035
  r0 = s.arg0;
14036
- if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0);
14036
+ if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0, net_Controller__C117303_VT);
14037
14037
  r0 = undefined;
14038
14038
  return leaveAccessor(s, r0)
14039
14039
  default: oops()
@@ -14119,7 +14119,7 @@ switch (step) {
14119
14119
  s.lambdaArgs = null;
14120
14120
  }
14121
14121
  r0 = s.arg0;
14122
- if (!checkSubtype(r0, settings_SecretStore__C115685_VT)) failedCast(r0);
14122
+ if (!checkSubtype(r0, settings_SecretStore__C115685_VT)) failedCast(r0, settings_SecretStore__C115685_VT);
14123
14123
  s.tmp_0 = settings_SecretStore_readSecrets__P115690_mk(s);
14124
14124
  s.tmp_0.arg0 = s.arg0;
14125
14125
  s.callLocIdx = 182; s.pc = 3; return s.tmp_0;
@@ -14350,7 +14350,7 @@ switch (step) {
14350
14350
  s.lambdaArgs = null;
14351
14351
  }
14352
14352
  r0 = s.arg0;
14353
- if (!checkSubtype(r0, JSON_Stringifier__C115108_VT)) failedCast(r0);
14353
+ if (!checkSubtype(r0, JSON_Stringifier__C115108_VT)) failedCast(r0, JSON_Stringifier__C115108_VT);
14354
14354
  r0 = pxsim_pxtcore.typeOf(s.arg1);
14355
14355
  s.t___121213 = (r0);
14356
14356
  r0 = (s.t___121213 == "string");
@@ -14950,7 +14950,7 @@ switch (step) {
14950
14950
  s.lambdaArgs = null;
14951
14951
  }
14952
14952
  r0 = s.arg0;
14953
- if (!checkSubtype(r0, JSON_Stringifier__C115108_VT)) failedCast(r0);
14953
+ if (!checkSubtype(r0, JSON_Stringifier__C115108_VT)) failedCast(r0, JSON_Stringifier__C115108_VT);
14954
14954
  s.r___121440 = ("\"");
14955
14955
  s.i___121441 = (0);
14956
14956
  case 1:
@@ -15441,7 +15441,7 @@ switch (step) {
15441
15441
  s.lambdaArgs = null;
15442
15442
  }
15443
15443
  r0 = s.arg0;
15444
- if (!checkSubtype(r0, net_Configurator__C117411_VT)) failedCast(r0);
15444
+ if (!checkSubtype(r0, net_Configurator__C117411_VT)) failedCast(r0, net_Configurator__C117411_VT);
15445
15445
  r0 = s.arg0.fields["accessPoints"];
15446
15446
  s.tmp_0 = r0;
15447
15447
  r0 = pxsim_numops_toBool(s.tmp_0);
@@ -15561,7 +15561,7 @@ switch (step) {
15561
15561
  s.lambdaArgs = null;
15562
15562
  }
15563
15563
  r0 = s.arg0;
15564
- if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0);
15564
+ if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0, controller_Button__C115874_VT);
15565
15565
  s.tmp_0 = controller_Button_getOrCreateHandlerForEvent__P115889_mk(s);
15566
15566
  s.tmp_0.arg0 = s.arg0;
15567
15567
  s.tmp_0.arg1 = s.arg1;
@@ -15613,7 +15613,7 @@ switch (step) {
15613
15613
  s.lambdaArgs = null;
15614
15614
  }
15615
15615
  r0 = s.arg0;
15616
- if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0);
15616
+ if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0, controller_Button__C115874_VT);
15617
15617
  s.tmp_3 = controller_Button_handlerState__P115875_mk(s);
15618
15618
  s.tmp_3.arg0 = s.arg0;
15619
15619
  s.callLocIdx = 271; s.pc = 10; return s.tmp_3;
@@ -15801,7 +15801,7 @@ switch (step) {
15801
15801
  s.lambdaArgs = null;
15802
15802
  }
15803
15803
  r0 = s.arg0;
15804
- if (!checkSubtype(r0, controller_ButtonHandler__C115905_VT)) failedCast(r0);
15804
+ if (!checkSubtype(r0, controller_ButtonHandler__C115905_VT)) failedCast(r0, controller_ButtonHandler__C115905_VT);
15805
15805
  r0 = (s.arg0).fields["event"] = (s.arg1);
15806
15806
  r0 = (s.arg0).fields["callback"] = (s.arg2);
15807
15807
  r0 = undefined;
@@ -15845,7 +15845,7 @@ switch (step) {
15845
15845
  s.lambdaArgs = null;
15846
15846
  }
15847
15847
  r0 = s.arg0;
15848
- if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0);
15848
+ if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0, controller_Button__C115874_VT);
15849
15849
  s.tmp_0 = controller_Button_handlerState__P115875_mk(s);
15850
15850
  s.tmp_0.arg0 = s.arg0;
15851
15851
  s.callLocIdx = 267; s.pc = 14; return s.tmp_0;
@@ -15987,7 +15987,7 @@ switch (step) {
15987
15987
  s.lambdaArgs = null;
15988
15988
  }
15989
15989
  r0 = s.arg0;
15990
- if (!checkSubtype(r0, controller_ButtonEventHandlerState__C115907_VT)) failedCast(r0);
15990
+ if (!checkSubtype(r0, controller_ButtonEventHandlerState__C115907_VT)) failedCast(r0, controller_ButtonEventHandlerState__C115907_VT);
15991
15991
  r0 = (s.arg0).fields["id"] = (s.arg1);
15992
15992
  r0 = undefined;
15993
15993
  return leave(s, r0)
@@ -16026,7 +16026,7 @@ switch (step) {
16026
16026
  s.lambdaArgs = null;
16027
16027
  }
16028
16028
  r0 = s.arg0;
16029
- if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0);
16029
+ if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0, controller_Button__C115874_VT);
16030
16030
  s.state___121698 = (undefined);
16031
16031
  s.tmp_0 = game_currentScene__P115770_mk(s);
16032
16032
  s.callLocIdx = 257; s.pc = 6; return s.tmp_0;
@@ -16103,7 +16103,7 @@ switch (step) {
16103
16103
  s.lambdaArgs = null;
16104
16104
  }
16105
16105
  r0 = s.arg0;
16106
- if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0);
16106
+ if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0, net_Controller__C117303_VT);
16107
16107
  r0 = false;
16108
16108
  return leaveAccessor(s, r0)
16109
16109
  default: oops()
@@ -16524,7 +16524,7 @@ switch (step) {
16524
16524
  s.lambdaArgs = null;
16525
16525
  }
16526
16526
  r0 = s.arg0;
16527
- if (!checkSubtype(r0, control_PollEvent__C115076_VT)) failedCast(r0);
16527
+ if (!checkSubtype(r0, control_PollEvent__C115076_VT)) failedCast(r0, control_PollEvent__C115076_VT);
16528
16528
  r0 = (s.arg0).fields["eid"] = (s.arg1);
16529
16529
  r0 = (s.arg0).fields["vid"] = (s.arg2);
16530
16530
  r0 = (s.arg0).fields["start"] = (s.arg3);
@@ -16597,7 +16597,7 @@ switch (step) {
16597
16597
  s.lambdaArgs = null;
16598
16598
  }
16599
16599
  r0 = s.arg0;
16600
- if (!checkSubtype(r0, net_Net__C117372_VT)) failedCast(r0);
16600
+ if (!checkSubtype(r0, net_Net__C117372_VT)) failedCast(r0, net_Net__C117372_VT);
16601
16601
  r0 = s.arg0.fields["_controller"];
16602
16602
  s.tmp_1 = r0;
16603
16603
  r0 = (s.tmp_1 === undefined);
@@ -16681,7 +16681,7 @@ switch (step) {
16681
16681
  s.lambdaArgs = null;
16682
16682
  }
16683
16683
  r0 = s.arg0;
16684
- if (!checkSubtype(r0, net_Configurator__C117411_VT)) failedCast(r0);
16684
+ if (!checkSubtype(r0, net_Configurator__C117411_VT)) failedCast(r0, net_Configurator__C117411_VT);
16685
16685
  r0 = (s.arg0).fields["scanning"] = (false);
16686
16686
  r0 = (s.arg0).fields["apIndex"] = (0);
16687
16687
  r0 = undefined;
@@ -17022,7 +17022,7 @@ switch (step) {
17022
17022
  s.lambdaArgs = null;
17023
17023
  }
17024
17024
  r0 = s.arg0;
17025
- if (!checkSubtype(r0, scene_Scene__C115762_VT)) failedCast(r0);
17025
+ if (!checkSubtype(r0, scene_Scene__C115762_VT)) failedCast(r0, scene_Scene__C115762_VT);
17026
17026
  r0 = s.arg0.fields["allSprites"];
17027
17027
  s.tmp_0 = r0;
17028
17028
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -17217,7 +17217,7 @@ switch (step) {
17217
17217
  s.tmp_2 = r0;
17218
17218
  r0 = (s.tmp_2 / 1000);
17219
17219
  s.tmp_0.arg1 = r0;
17220
- if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C116146_VT)) failedCast(s.tmp_0.arg0);
17220
+ if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C116146_VT)) failedCast(s.tmp_0.arg0, PhysicsEngine__C116146_VT);
17221
17221
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.move;
17222
17222
  s.pc = 1; return s.tmp_0;
17223
17223
  case 1:
@@ -17428,7 +17428,7 @@ switch (step) {
17428
17428
  s.tmp_0 = PhysicsEngine__C116146_v3_1_mk(s);
17429
17429
  r0 = s.caps[0].fields["physicsEngine"];
17430
17430
  s.tmp_0.arg0 = r0;
17431
- if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C116146_VT)) failedCast(s.tmp_0.arg0);
17431
+ if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C116146_VT)) failedCast(s.tmp_0.arg0, PhysicsEngine__C116146_VT);
17432
17432
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.draw;
17433
17433
  s.pc = 11; return s.tmp_0;
17434
17434
  case 11:
@@ -17765,7 +17765,7 @@ switch (step) {
17765
17765
  s.lambdaArgs = null;
17766
17766
  }
17767
17767
  r0 = s.arg0;
17768
- if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0);
17768
+ if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0, controller_Controller__C115840_VT);
17769
17769
  r0 = s.arg0.fields["_connected"];
17770
17770
  s.tmp_1 = r0;
17771
17771
  r0 = (s.arg1 != s.tmp_1);
@@ -17831,7 +17831,7 @@ switch (step) {
17831
17831
  s.lambdaArgs = null;
17832
17832
  }
17833
17833
  r0 = s.arg0;
17834
- if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0);
17834
+ if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0, controller_Controller__C115840_VT);
17835
17835
  s.tmp_0 = r0 = s.arg0;
17836
17836
  r0 = pxsim.control.allocateNotifyEvent();
17837
17837
  s.tmp_1 = r0;
@@ -18881,7 +18881,7 @@ switch (step) {
18881
18881
  s.lambdaArgs = null;
18882
18882
  }
18883
18883
  r0 = s.arg0;
18884
- if (!checkSubtype(r0, PhysicsEngine__C116146_VT)) failedCast(r0);
18884
+ if (!checkSubtype(r0, PhysicsEngine__C116146_VT)) failedCast(r0, PhysicsEngine__C116146_VT);
18885
18885
  r0 = undefined;
18886
18886
  return leave(s, r0)
18887
18887
  default: oops()
@@ -18918,7 +18918,7 @@ switch (step) {
18918
18918
  s.lambdaArgs = null;
18919
18919
  }
18920
18920
  r0 = s.arg0;
18921
- if (!checkSubtype(r0, scene_Scene__C115762_VT)) failedCast(r0);
18921
+ if (!checkSubtype(r0, scene_Scene__C115762_VT)) failedCast(r0, scene_Scene__C115762_VT);
18922
18922
  r0 = s.arg0.fields["flags"];
18923
18923
  s.tmp_1 = r0;
18924
18924
  r0 = (s.tmp_1 & 4);
@@ -19172,7 +19172,7 @@ switch (step) {
19172
19172
  s.lambdaArgs = null;
19173
19173
  }
19174
19174
  r0 = s.arg0;
19175
- if (!checkSubtype(r0, scene_Background__C116379_VT)) failedCast(r0);
19175
+ if (!checkSubtype(r0, scene_Background__C116379_VT)) failedCast(r0, scene_Background__C116379_VT);
19176
19176
  r0 = s.arg0.fields["color"];
19177
19177
  s.tmp_0 = r0;
19178
19178
  r0 = pxsim_ImageMethods.fill(globals.screen___115636, s.tmp_0);
@@ -19321,7 +19321,7 @@ switch (step) {
19321
19321
  s.lambdaArgs = null;
19322
19322
  }
19323
19323
  r0 = s.arg0;
19324
- if (!checkSubtype(r0, scene_BackgroundLayer__C116386_VT)) failedCast(r0);
19324
+ if (!checkSubtype(r0, scene_BackgroundLayer__C116386_VT)) failedCast(r0, scene_BackgroundLayer__C116386_VT);
19325
19325
  r0 = pxsim_ImageMethods.width(globals.screen___115636);
19326
19326
  s.w___122654 = (r0);
19327
19327
  r0 = pxsim_ImageMethods.height(globals.screen___115636);
@@ -19566,7 +19566,7 @@ switch (step) {
19566
19566
  s.lambdaArgs = null;
19567
19567
  }
19568
19568
  r0 = s.arg0;
19569
- if (!checkSubtype(r0, scene_Camera__C116479_VT)) failedCast(r0);
19569
+ if (!checkSubtype(r0, scene_Camera__C116479_VT)) failedCast(r0, scene_Camera__C116479_VT);
19570
19570
  r0 = s.arg0.fields["sprite"];
19571
19571
  s.tmp_0 = r0;
19572
19572
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -19776,7 +19776,7 @@ switch (step) {
19776
19776
  s.lambdaArgs = null;
19777
19777
  }
19778
19778
  r0 = s.arg0;
19779
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
19779
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
19780
19780
  r0 = s.arg0.fields["_y"];
19781
19781
  s.tmp_0 = r0;
19782
19782
  r0 = (s.tmp_0 / 256);
@@ -19848,7 +19848,7 @@ switch (step) {
19848
19848
  s.lambdaArgs = null;
19849
19849
  }
19850
19850
  r0 = s.arg0;
19851
- if (!checkSubtype(r0, scene_Camera__C116479_VT)) failedCast(r0);
19851
+ if (!checkSubtype(r0, scene_Camera__C116479_VT)) failedCast(r0, scene_Camera__C116479_VT);
19852
19852
  s.tmp_0 = game_currentScene__P115770_mk(s);
19853
19853
  s.callLocIdx = 989; s.pc = 5; return s.tmp_0;
19854
19854
  case 5:
@@ -19943,7 +19943,7 @@ switch (step) {
19943
19943
  s.lambdaArgs = null;
19944
19944
  }
19945
19945
  r0 = s.arg0;
19946
- if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0);
19946
+ if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0, tiles_TileMap__C116432_VT);
19947
19947
  s.tmp_0 = Math_clamp__P114901_mk(s);
19948
19948
  s.tmp_0.arg0 = 0;
19949
19949
  s.tmp_1 = Math_max__P114904_mk(s);
@@ -20004,7 +20004,7 @@ switch (step) {
20004
20004
  s.lambdaArgs = null;
20005
20005
  }
20006
20006
  r0 = s.arg0;
20007
- if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0);
20007
+ if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0, tiles_TileMap__C116432_VT);
20008
20008
  r0 = s.arg0.fields["_map"];
20009
20009
  s.tmp_0 = r0;
20010
20010
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -20060,7 +20060,7 @@ switch (step) {
20060
20060
  s.lambdaArgs = null;
20061
20061
  }
20062
20062
  r0 = s.arg0;
20063
- if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0);
20063
+ if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0, tiles_TileMap__C116432_VT);
20064
20064
  r0 = s.arg0.fields["_scale"];
20065
20065
  return leaveAccessor(s, r0)
20066
20066
  default: oops()
@@ -20095,7 +20095,7 @@ switch (step) {
20095
20095
  s.lambdaArgs = null;
20096
20096
  }
20097
20097
  r0 = s.arg0;
20098
- if (!checkSubtype(r0, tiles_TileMapData__C116417_VT)) failedCast(r0);
20098
+ if (!checkSubtype(r0, tiles_TileMapData__C116417_VT)) failedCast(r0, tiles_TileMapData__C116417_VT);
20099
20099
  r0 = s.arg0.fields["_height"];
20100
20100
  return leaveAccessor(s, r0)
20101
20101
  default: oops()
@@ -20130,7 +20130,7 @@ switch (step) {
20130
20130
  s.lambdaArgs = null;
20131
20131
  }
20132
20132
  r0 = s.arg0;
20133
- if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0);
20133
+ if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0, tiles_TileMap__C116432_VT);
20134
20134
  r0 = s.arg0.fields["_map"];
20135
20135
  s.tmp_3 = r0;
20136
20136
  r0 = pxsim_numops_toBoolDecr(s.tmp_3);
@@ -20177,7 +20177,7 @@ switch (step) {
20177
20177
  s.lambdaArgs = null;
20178
20178
  }
20179
20179
  r0 = s.arg0;
20180
- if (!checkSubtype(r0, scene_Camera__C116479_VT)) failedCast(r0);
20180
+ if (!checkSubtype(r0, scene_Camera__C116479_VT)) failedCast(r0, scene_Camera__C116479_VT);
20181
20181
  r0 = s.arg0.fields["_offsetY"];
20182
20182
  return leaveAccessor(s, r0)
20183
20183
  default: oops()
@@ -20212,7 +20212,7 @@ switch (step) {
20212
20212
  s.lambdaArgs = null;
20213
20213
  }
20214
20214
  r0 = s.arg0;
20215
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
20215
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
20216
20216
  r0 = s.arg0.fields["_width"];
20217
20217
  s.tmp_0 = r0;
20218
20218
  r0 = (s.tmp_0 / 256);
@@ -20250,7 +20250,7 @@ switch (step) {
20250
20250
  s.lambdaArgs = null;
20251
20251
  }
20252
20252
  r0 = s.arg0;
20253
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
20253
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
20254
20254
  r0 = s.arg0.fields["_x"];
20255
20255
  s.tmp_0 = r0;
20256
20256
  r0 = (s.tmp_0 / 256);
@@ -20290,7 +20290,7 @@ switch (step) {
20290
20290
  s.lambdaArgs = null;
20291
20291
  }
20292
20292
  r0 = s.arg0;
20293
- if (!checkSubtype(r0, scene_Camera__C116479_VT)) failedCast(r0);
20293
+ if (!checkSubtype(r0, scene_Camera__C116479_VT)) failedCast(r0, scene_Camera__C116479_VT);
20294
20294
  s.tmp_0 = game_currentScene__P115770_mk(s);
20295
20295
  s.callLocIdx = 986; s.pc = 5; return s.tmp_0;
20296
20296
  case 5:
@@ -20385,7 +20385,7 @@ switch (step) {
20385
20385
  s.lambdaArgs = null;
20386
20386
  }
20387
20387
  r0 = s.arg0;
20388
- if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0);
20388
+ if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0, tiles_TileMap__C116432_VT);
20389
20389
  s.tmp_0 = Math_clamp__P114901_mk(s);
20390
20390
  s.tmp_0.arg0 = 0;
20391
20391
  s.tmp_1 = Math_max__P114904_mk(s);
@@ -20446,7 +20446,7 @@ switch (step) {
20446
20446
  s.lambdaArgs = null;
20447
20447
  }
20448
20448
  r0 = s.arg0;
20449
- if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0);
20449
+ if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0, tiles_TileMap__C116432_VT);
20450
20450
  r0 = s.arg0.fields["_map"];
20451
20451
  s.tmp_0 = r0;
20452
20452
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -20502,7 +20502,7 @@ switch (step) {
20502
20502
  s.lambdaArgs = null;
20503
20503
  }
20504
20504
  r0 = s.arg0;
20505
- if (!checkSubtype(r0, tiles_TileMapData__C116417_VT)) failedCast(r0);
20505
+ if (!checkSubtype(r0, tiles_TileMapData__C116417_VT)) failedCast(r0, tiles_TileMapData__C116417_VT);
20506
20506
  r0 = s.arg0.fields["_width"];
20507
20507
  return leaveAccessor(s, r0)
20508
20508
  default: oops()
@@ -20537,7 +20537,7 @@ switch (step) {
20537
20537
  s.lambdaArgs = null;
20538
20538
  }
20539
20539
  r0 = s.arg0;
20540
- if (!checkSubtype(r0, scene_Camera__C116479_VT)) failedCast(r0);
20540
+ if (!checkSubtype(r0, scene_Camera__C116479_VT)) failedCast(r0, scene_Camera__C116479_VT);
20541
20541
  r0 = s.arg0.fields["_offsetX"];
20542
20542
  return leaveAccessor(s, r0)
20543
20543
  default: oops()
@@ -20572,7 +20572,7 @@ switch (step) {
20572
20572
  s.lambdaArgs = null;
20573
20573
  }
20574
20574
  r0 = s.arg0;
20575
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
20575
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
20576
20576
  r0 = s.arg0.fields["_y"];
20577
20577
  s.tmp_1 = r0;
20578
20578
  r0 = s.arg0.fields["_height"];
@@ -20693,7 +20693,7 @@ switch (step) {
20693
20693
  s.lambdaArgs = null;
20694
20694
  }
20695
20695
  r0 = s.arg0;
20696
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
20696
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
20697
20697
  r0 = s.arg0.fields["_x"];
20698
20698
  s.tmp_1 = r0;
20699
20699
  r0 = s.arg0.fields["_width"];
@@ -20744,7 +20744,7 @@ switch (step) {
20744
20744
  s.lambdaArgs = null;
20745
20745
  }
20746
20746
  r0 = s.arg0;
20747
- if (!checkSubtype(r0, PhysicsEngine__C116146_VT)) failedCast(r0);
20747
+ if (!checkSubtype(r0, PhysicsEngine__C116146_VT)) failedCast(r0, PhysicsEngine__C116146_VT);
20748
20748
  r0 = undefined;
20749
20749
  return leave(s, r0)
20750
20750
  default: oops()
@@ -20863,7 +20863,7 @@ switch (step) {
20863
20863
  s.lambdaArgs = null;
20864
20864
  }
20865
20865
  r0 = s.arg0;
20866
- if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0);
20866
+ if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0, controller_Controller__C115840_VT);
20867
20867
  s.tmp_3 = controller_Controller__controlledSprites__P115841_mk(s);
20868
20868
  s.tmp_3.arg0 = s.arg0;
20869
20869
  s.callLocIdx = 225; s.pc = 18; return s.tmp_3;
@@ -20957,7 +20957,7 @@ switch (step) {
20957
20957
  case 28:
20958
20958
  r0 = s.retval;
20959
20959
  s.tmp_1.arg0 = r0;
20960
- if (!checkSubtype(s.tmp_1.arg0, controller_Button__C115874_VT)) failedCast(s.tmp_1.arg0);
20960
+ if (!checkSubtype(s.tmp_1.arg0, controller_Button__C115874_VT)) failedCast(s.tmp_1.arg0, controller_Button__C115874_VT);
20961
20961
  s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed;
20962
20962
  s.pc = 27; return s.tmp_1;
20963
20963
  case 27:
@@ -20979,7 +20979,7 @@ switch (step) {
20979
20979
  case 30:
20980
20980
  r0 = s.retval;
20981
20981
  s.tmp_5.arg0 = r0;
20982
- if (!checkSubtype(s.tmp_5.arg0, controller_Button__C115874_VT)) failedCast(s.tmp_5.arg0);
20982
+ if (!checkSubtype(s.tmp_5.arg0, controller_Button__C115874_VT)) failedCast(s.tmp_5.arg0, controller_Button__C115874_VT);
20983
20983
  s.tmp_5.fn = s.tmp_5.arg0.vtable.methods.isPressed;
20984
20984
  s.pc = 29; return s.tmp_5;
20985
20985
  case 29:
@@ -21005,7 +21005,7 @@ switch (step) {
21005
21005
  case 32:
21006
21006
  r0 = s.retval;
21007
21007
  s.tmp_1.arg0 = r0;
21008
- if (!checkSubtype(s.tmp_1.arg0, controller_Button__C115874_VT)) failedCast(s.tmp_1.arg0);
21008
+ if (!checkSubtype(s.tmp_1.arg0, controller_Button__C115874_VT)) failedCast(s.tmp_1.arg0, controller_Button__C115874_VT);
21009
21009
  s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed;
21010
21010
  s.pc = 31; return s.tmp_1;
21011
21011
  case 31:
@@ -21027,7 +21027,7 @@ switch (step) {
21027
21027
  case 34:
21028
21028
  r0 = s.retval;
21029
21029
  s.tmp_5.arg0 = r0;
21030
- if (!checkSubtype(s.tmp_5.arg0, controller_Button__C115874_VT)) failedCast(s.tmp_5.arg0);
21030
+ if (!checkSubtype(s.tmp_5.arg0, controller_Button__C115874_VT)) failedCast(s.tmp_5.arg0, controller_Button__C115874_VT);
21031
21031
  s.tmp_5.fn = s.tmp_5.arg0.vtable.methods.isPressed;
21032
21032
  s.pc = 33; return s.tmp_5;
21033
21033
  case 33:
@@ -21414,7 +21414,7 @@ switch (step) {
21414
21414
  s.lambdaArgs = null;
21415
21415
  }
21416
21416
  r0 = s.arg0;
21417
- if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0);
21417
+ if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0, controller_Controller__C115840_VT);
21418
21418
  s.tmp_1 = game_currentScene__P115770_mk(s);
21419
21419
  s.callLocIdx = 219; s.pc = 1; return s.tmp_1;
21420
21420
  case 1:
@@ -21495,7 +21495,7 @@ switch (step) {
21495
21495
  s.lambdaArgs = null;
21496
21496
  }
21497
21497
  r0 = s.arg0;
21498
- if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0);
21498
+ if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0, controller_Button__C115874_VT);
21499
21499
  r0 = s.arg0.fields["_pressed"];
21500
21500
  return leave(s, r0)
21501
21501
  default: oops()
@@ -21529,7 +21529,7 @@ switch (step) {
21529
21529
  s.lambdaArgs = null;
21530
21530
  }
21531
21531
  r0 = s.arg0;
21532
- if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0);
21532
+ if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0, controller_Controller__C115840_VT);
21533
21533
  r0 = s.arg0.fields["buttons"];
21534
21534
  s.tmp_0 = r0;
21535
21535
  r0 = (2 - 1);
@@ -21571,7 +21571,7 @@ switch (step) {
21571
21571
  s.lambdaArgs = null;
21572
21572
  }
21573
21573
  r0 = s.arg0;
21574
- if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0);
21574
+ if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0, controller_Controller__C115840_VT);
21575
21575
  r0 = s.arg0.fields["buttons"];
21576
21576
  s.tmp_0 = r0;
21577
21577
  r0 = (s.arg1 - 1);
@@ -21612,7 +21612,7 @@ switch (step) {
21612
21612
  s.lambdaArgs = null;
21613
21613
  }
21614
21614
  r0 = s.arg0;
21615
- if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0);
21615
+ if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0, controller_Controller__C115840_VT);
21616
21616
  r0 = s.arg0.fields["buttons"];
21617
21617
  s.tmp_0 = r0;
21618
21618
  r0 = (4 - 1);
@@ -21653,7 +21653,7 @@ switch (step) {
21653
21653
  s.lambdaArgs = null;
21654
21654
  }
21655
21655
  r0 = s.arg0;
21656
- if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0);
21656
+ if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0, controller_Controller__C115840_VT);
21657
21657
  r0 = s.arg0.fields["buttons"];
21658
21658
  s.tmp_0 = r0;
21659
21659
  r0 = (1 - 1);
@@ -21694,7 +21694,7 @@ switch (step) {
21694
21694
  s.lambdaArgs = null;
21695
21695
  }
21696
21696
  r0 = s.arg0;
21697
- if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0);
21697
+ if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0, controller_Controller__C115840_VT);
21698
21698
  r0 = s.arg0.fields["buttons"];
21699
21699
  s.tmp_0 = r0;
21700
21700
  r0 = (3 - 1);
@@ -21735,7 +21735,7 @@ switch (step) {
21735
21735
  s.lambdaArgs = null;
21736
21736
  }
21737
21737
  r0 = s.arg0;
21738
- if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0);
21738
+ if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0, controller_Button__C115874_VT);
21739
21739
  r0 = pxsim.control.deviceDalVersion();
21740
21740
  s.tmp_1 = r0;
21741
21741
  r0 = (s.tmp_1 == "sim");
@@ -21744,7 +21744,7 @@ switch (step) {
21744
21744
  if (!r0) { step = 3; continue; }
21745
21745
  s.tmp_3 = controller_Button__C115874_v0_1_mk(s);
21746
21746
  s.tmp_3.arg0 = s.arg0;
21747
- if (!checkSubtype(s.tmp_3.arg0, controller_Button__C115874_VT)) failedCast(s.tmp_3.arg0);
21747
+ if (!checkSubtype(s.tmp_3.arg0, controller_Button__C115874_VT)) failedCast(s.tmp_3.arg0, controller_Button__C115874_VT);
21748
21748
  s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isPressed;
21749
21749
  s.pc = 6; return s.tmp_3;
21750
21750
  case 6:
@@ -21808,7 +21808,7 @@ switch (step) {
21808
21808
  s.lambdaArgs = null;
21809
21809
  }
21810
21810
  r0 = s.arg0;
21811
- if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0);
21811
+ if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0, controller_Controller__C115840_VT);
21812
21812
  s.tmp_1 = game_currentScene__P115770_mk(s);
21813
21813
  s.callLocIdx = 218; s.pc = 1; return s.tmp_1;
21814
21814
  case 1:
@@ -21932,7 +21932,7 @@ switch (step) {
21932
21932
  s.lambdaArgs = null;
21933
21933
  }
21934
21934
  r0 = s.arg0;
21935
- if (!checkSubtype(r0, control_EventContext__C115121_VT)) failedCast(r0);
21935
+ if (!checkSubtype(r0, control_EventContext__C115121_VT)) failedCast(r0, control_EventContext__C115121_VT);
21936
21936
  r0 = s.arg0.fields["deltaTimeMillis"];
21937
21937
  s.tmp_0 = r0;
21938
21938
  r0 = (s.tmp_0 / 1000);
@@ -22064,7 +22064,7 @@ switch (step) {
22064
22064
  s.lambdaArgs = null;
22065
22065
  }
22066
22066
  r0 = s.arg0;
22067
- if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0);
22067
+ if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0, controller_Controller__C115840_VT);
22068
22068
  r0 = pxsim_pxtrt.mklocRef();
22069
22069
  s.tmp_0 = r0;
22070
22070
  r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1);
@@ -22167,7 +22167,7 @@ switch (step) {
22167
22167
  s.lambdaArgs = null;
22168
22168
  }
22169
22169
  r0 = s.arg0;
22170
- if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0);
22170
+ if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0, controller_Button__C115874_VT);
22171
22171
  r0 = s.arg0.fields["_pressed"];
22172
22172
  s.tmp_2 = r0;
22173
22173
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -22290,7 +22290,7 @@ switch (step) {
22290
22290
  s.lambdaArgs = null;
22291
22291
  }
22292
22292
  r0 = s.arg0;
22293
- if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0);
22293
+ if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0, controller_Button__C115874_VT);
22294
22294
  r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___115898);
22295
22295
  if (!r0) { step = 1; continue; }
22296
22296
  r0 = s.arg0.fields["id"];
@@ -22340,7 +22340,7 @@ switch (step) {
22340
22340
  s.lambdaArgs = null;
22341
22341
  }
22342
22342
  r0 = s.arg0;
22343
- if (!checkSubtype(r0, control_EventContext__C115121_VT)) failedCast(r0);
22343
+ if (!checkSubtype(r0, control_EventContext__C115121_VT)) failedCast(r0, control_EventContext__C115121_VT);
22344
22344
  r0 = s.arg0.fields["frameCallbacks"];
22345
22345
  s.tmp_2 = r0;
22346
22346
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -22544,7 +22544,7 @@ switch (step) {
22544
22544
  s.lambdaArgs = null;
22545
22545
  }
22546
22546
  r0 = s.arg0;
22547
- if (!checkSubtype(r0, control_EventContext__C115121_VT)) failedCast(r0);
22547
+ if (!checkSubtype(r0, control_EventContext__C115121_VT)) failedCast(r0, control_EventContext__C115121_VT);
22548
22548
  s.tmp_0 = r0 = s.arg0;
22549
22549
  r0 = pxsim_Array__mk();
22550
22550
  s.tmp_1 = r0;
@@ -22601,7 +22601,7 @@ switch (step) {
22601
22601
  s.lambdaArgs = null;
22602
22602
  }
22603
22603
  r0 = s.arg0;
22604
- if (!checkSubtype(r0, scene_Scene__C115762_VT)) failedCast(r0);
22604
+ if (!checkSubtype(r0, scene_Scene__C115762_VT)) failedCast(r0, scene_Scene__C115762_VT);
22605
22605
  r0 = (s.arg0).fields["previousScene"] = (s.arg2);
22606
22606
  r0 = (s.arg0).fields["eventContext"] = (s.arg1);
22607
22607
  r0 = (s.arg0).fields["flags"] = (0);
@@ -22721,7 +22721,7 @@ switch (step) {
22721
22721
  s.lambdaArgs = null;
22722
22722
  }
22723
22723
  r0 = s.arg0;
22724
- if (!checkSubtype(r0, scene_Background__C116379_VT)) failedCast(r0);
22724
+ if (!checkSubtype(r0, scene_Background__C116379_VT)) failedCast(r0, scene_Background__C116379_VT);
22725
22725
  r0 = (s.arg0).fields["color"] = (0);
22726
22726
  r0 = (s.arg0).fields["camera"] = (s.arg1);
22727
22727
  s.tmp_0 = r0 = s.arg0;
@@ -22764,7 +22764,7 @@ switch (step) {
22764
22764
  s.lambdaArgs = null;
22765
22765
  }
22766
22766
  r0 = s.arg0;
22767
- if (!checkSubtype(r0, scene_Camera__C116479_VT)) failedCast(r0);
22767
+ if (!checkSubtype(r0, scene_Camera__C116479_VT)) failedCast(r0, scene_Camera__C116479_VT);
22768
22768
  r0 = (s.arg0).fields["_offsetX"] = (0);
22769
22769
  r0 = (s.arg0).fields["_offsetY"] = (0);
22770
22770
  r0 = (s.arg0).fields["drawOffsetX"] = (0);
@@ -22805,7 +22805,7 @@ switch (step) {
22805
22805
  s.lambdaArgs = null;
22806
22806
  }
22807
22807
  r0 = s.arg0;
22808
- if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0);
22808
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0, ArcadePhysicsEngine__C116197_VT);
22809
22809
  r0 = undefined;
22810
22810
  s.tmp_0 = r0 = s.arg0;
22811
22811
  r0 = pxsim_Array__mk();
@@ -22876,7 +22876,7 @@ switch (step) {
22876
22876
  s.lambdaArgs = null;
22877
22877
  }
22878
22878
  r0 = s.arg0;
22879
- if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0);
22879
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0, ArcadePhysicsEngine__C116197_VT);
22880
22880
  s.tmp_0 = r0 = s.arg0;
22881
22881
  r0 = (s.arg1 * 256);
22882
22882
  s.tmp_2 = r0;
@@ -22920,7 +22920,7 @@ switch (step) {
22920
22920
  s.lambdaArgs = null;
22921
22921
  }
22922
22922
  r0 = s.arg0;
22923
- if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0);
22923
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0, ArcadePhysicsEngine__C116197_VT);
22924
22924
  r0 = s.arg0.fields["minSingleStep"];
22925
22925
  s.tmp_0 = r0;
22926
22926
  r0 = (s.tmp_0 + 128);
@@ -22997,7 +22997,7 @@ switch (step) {
22997
22997
  s.lambdaArgs = null;
22998
22998
  }
22999
22999
  r0 = s.arg0;
23000
- if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0);
23000
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0, ArcadePhysicsEngine__C116197_VT);
23001
23001
  s.tmp_0 = r0 = s.arg0;
23002
23002
  r0 = (s.arg1 * 256);
23003
23003
  s.tmp_2 = r0;
@@ -23041,7 +23041,7 @@ switch (step) {
23041
23041
  s.lambdaArgs = null;
23042
23042
  }
23043
23043
  r0 = s.arg0;
23044
- if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0);
23044
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0, ArcadePhysicsEngine__C116197_VT);
23045
23045
  r0 = s.arg0.fields["maxSingleStep"];
23046
23046
  s.tmp_0 = r0;
23047
23047
  r0 = (s.tmp_0 + 128);
@@ -23083,7 +23083,7 @@ switch (step) {
23083
23083
  s.lambdaArgs = null;
23084
23084
  }
23085
23085
  r0 = s.arg0;
23086
- if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0);
23086
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0, ArcadePhysicsEngine__C116197_VT);
23087
23087
  s.tmp_0 = r0 = s.arg0;
23088
23088
  r0 = (s.arg1 * 256);
23089
23089
  s.tmp_2 = r0;
@@ -23165,7 +23165,7 @@ switch (step) {
23165
23165
  s.lambdaArgs = null;
23166
23166
  }
23167
23167
  r0 = s.arg0;
23168
- if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0);
23168
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0, ArcadePhysicsEngine__C116197_VT);
23169
23169
  r0 = s.arg0.fields["maxVelocity"];
23170
23170
  s.tmp_0 = r0;
23171
23171
  r0 = (s.tmp_0 + 128);
@@ -23206,7 +23206,7 @@ switch (step) {
23206
23206
  s.lambdaArgs = null;
23207
23207
  }
23208
23208
  r0 = s.arg0;
23209
- if (!checkSubtype(r0, sprites_SpriteMap__C116093_VT)) failedCast(r0);
23209
+ if (!checkSubtype(r0, sprites_SpriteMap__C116093_VT)) failedCast(r0, sprites_SpriteMap__C116093_VT);
23210
23210
  s.tmp_0 = r0 = s.arg0;
23211
23211
  r0 = pxsim_Array__mk();
23212
23212
  s.tmp_1 = r0;
@@ -23246,7 +23246,7 @@ switch (step) {
23246
23246
  s.lambdaArgs = null;
23247
23247
  }
23248
23248
  r0 = s.arg0;
23249
- if (!checkSubtype(r0, PhysicsEngine__C116146_VT)) failedCast(r0);
23249
+ if (!checkSubtype(r0, PhysicsEngine__C116146_VT)) failedCast(r0, PhysicsEngine__C116146_VT);
23250
23250
  r0 = undefined;
23251
23251
  return leave(s, r0)
23252
23252
  default: oops()
@@ -23418,7 +23418,7 @@ switch (step) {
23418
23418
  s.lambdaArgs = null;
23419
23419
  }
23420
23420
  r0 = s.arg0;
23421
- if (!checkSubtype(r0, music_PlayableState__C115524_VT)) failedCast(r0);
23421
+ if (!checkSubtype(r0, music_PlayableState__C115524_VT)) failedCast(r0, music_PlayableState__C115524_VT);
23422
23422
  s.tmp_0 = r0 = s.arg0;
23423
23423
  r0 = pxsim_Array__mk();
23424
23424
  s.tmp_1 = r0;
@@ -23680,7 +23680,7 @@ switch (step) {
23680
23680
  s.lambdaArgs = null;
23681
23681
  }
23682
23682
  r0 = s.arg0;
23683
- if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0);
23683
+ if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0, particles_ParticleSource__C116987_VT);
23684
23684
  r0 = (s.arg0).fields["head"] = (undefined);
23685
23685
  r0 = undefined;
23686
23686
  return leave(s, r0)
@@ -23762,7 +23762,7 @@ switch (step) {
23762
23762
  s.lambdaArgs = null;
23763
23763
  }
23764
23764
  r0 = s.arg0;
23765
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C116869_VT)) failedCast(r0);
23765
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C116869_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C116869_VT);
23766
23766
  r0 = s.arg0.fields["options"];
23767
23767
  s.tmp_0 = r0;
23768
23768
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -23850,7 +23850,7 @@ switch (step) {
23850
23850
  s.lambdaArgs = null;
23851
23851
  }
23852
23852
  r0 = s.arg0;
23853
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C116860_VT)) failedCast(r0);
23853
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C116860_VT)) failedCast(r0, scene_systemMenu_MenuOption__C116860_VT);
23854
23854
  r0 = s.arg0.fields["card"];
23855
23855
  s.tmp_0 = r0;
23856
23856
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -23912,7 +23912,7 @@ switch (step) {
23912
23912
  s.lambdaArgs = null;
23913
23913
  }
23914
23914
  r0 = s.arg0;
23915
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
23915
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
23916
23916
  r0 = s.arg0.fields["flags"];
23917
23917
  s.tmp_1 = r0;
23918
23918
  r0 = (s.tmp_1 & 2);
@@ -23988,7 +23988,7 @@ switch (step) {
23988
23988
  s.lambdaArgs = null;
23989
23989
  }
23990
23990
  r0 = s.arg0;
23991
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
23991
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
23992
23992
  s.tmp_0 = r0 = s.arg0;
23993
23993
  r0 = s.tmp_0.fields["flags"];
23994
23994
  s.tmp_2 = r0;
@@ -24039,7 +24039,7 @@ switch (step) {
24039
24039
  r0 = s.scene___123804.fields["physicsEngine"];
24040
24040
  s.tmp_0.arg0 = r0;
24041
24041
  s.tmp_0.arg1 = s.arg0;
24042
- if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C116146_VT)) failedCast(s.tmp_0.arg0);
24042
+ if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C116146_VT)) failedCast(s.tmp_0.arg0, PhysicsEngine__C116146_VT);
24043
24043
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.removeSprite;
24044
24044
  s.pc = 9; return s.tmp_0;
24045
24045
  case 9:
@@ -24210,7 +24210,7 @@ switch (step) {
24210
24210
  s.lambdaArgs = null;
24211
24211
  }
24212
24212
  r0 = s.arg0;
24213
- if (!checkSubtype(r0, PhysicsEngine__C116146_VT)) failedCast(r0);
24213
+ if (!checkSubtype(r0, PhysicsEngine__C116146_VT)) failedCast(r0, PhysicsEngine__C116146_VT);
24214
24214
  r0 = undefined;
24215
24215
  return leave(s, r0)
24216
24216
  default: oops()
@@ -24247,7 +24247,7 @@ switch (step) {
24247
24247
  s.lambdaArgs = null;
24248
24248
  }
24249
24249
  r0 = s.arg0;
24250
- if (!checkSubtype(r0, sprites_SpriteSet__C116110_VT)) failedCast(r0);
24250
+ if (!checkSubtype(r0, sprites_SpriteSet__C116110_VT)) failedCast(r0, sprites_SpriteSet__C116110_VT);
24251
24251
  r0 = s.arg0.fields["_sprites"];
24252
24252
  s.tmp_0 = r0;
24253
24253
  r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined);
@@ -24306,7 +24306,7 @@ switch (step) {
24306
24306
  s.lambdaArgs = null;
24307
24307
  }
24308
24308
  r0 = s.arg0;
24309
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
24309
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
24310
24310
  r0 = s.arg0.fields["_kind"];
24311
24311
  return leave(s, r0)
24312
24312
  default: oops()
@@ -24343,7 +24343,7 @@ switch (step) {
24343
24343
  s.lambdaArgs = null;
24344
24344
  }
24345
24345
  r0 = s.arg0;
24346
- if (!checkSubtype(r0, effects_ParticleEffect__C117114_VT)) failedCast(r0);
24346
+ if (!checkSubtype(r0, effects_ParticleEffect__C117114_VT)) failedCast(r0, effects_ParticleEffect__C117114_VT);
24347
24347
  s.tmp_0 = Sprite_setFlag__P116062_mk(s);
24348
24348
  s.tmp_0.arg0 = s.arg1;
24349
24349
  s.tmp_0.arg1 = 7168;
@@ -24717,7 +24717,7 @@ switch (step) {
24717
24717
  s.lambdaArgs = null;
24718
24718
  }
24719
24719
  r0 = s.arg0;
24720
- if (!checkSubtype(r0, Math_FastRandom__C116849_VT)) failedCast(r0);
24720
+ if (!checkSubtype(r0, Math_FastRandom__C116849_VT)) failedCast(r0, Math_FastRandom__C116849_VT);
24721
24721
  r0 = (s.arg2 > s.arg1);
24722
24722
  s.tmp_0 = r0;
24723
24723
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -24780,7 +24780,7 @@ switch (step) {
24780
24780
  s.lambdaArgs = null;
24781
24781
  }
24782
24782
  r0 = s.arg0;
24783
- if (!checkSubtype(r0, Math_FastRandom__C116849_VT)) failedCast(r0);
24783
+ if (!checkSubtype(r0, Math_FastRandom__C116849_VT)) failedCast(r0, Math_FastRandom__C116849_VT);
24784
24784
  s.tmp_0 = r0 = s.arg0;
24785
24785
  r0 = s.arg0.fields["lfsr"];
24786
24786
  s.tmp_3 = r0;
@@ -24840,7 +24840,7 @@ switch (step) {
24840
24840
  s.lambdaArgs = null;
24841
24841
  }
24842
24842
  r0 = s.arg0;
24843
- if (!checkSubtype(r0, effects_ImageEffect__C117167_VT)) failedCast(r0);
24843
+ if (!checkSubtype(r0, effects_ImageEffect__C117167_VT)) failedCast(r0, effects_ImageEffect__C117167_VT);
24844
24844
  r0 = (s.arg0).fields["effect"] = (s.arg2);
24845
24845
  r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C116849_VT);
24846
24846
  s.tmp_0 = r0;
@@ -24892,7 +24892,7 @@ switch (step) {
24892
24892
  s.lambdaArgs = null;
24893
24893
  }
24894
24894
  r0 = s.arg0;
24895
- if (!checkSubtype(r0, effects_ImageEffect__C117167_VT)) failedCast(r0);
24895
+ if (!checkSubtype(r0, effects_ImageEffect__C117167_VT)) failedCast(r0, effects_ImageEffect__C117167_VT);
24896
24896
  r0 = pxsim_numops_toBoolDecr(s.arg1);
24897
24897
  s.tmp_1 = r0;
24898
24898
  r0 = pxsim_Boolean__bang(s.tmp_1);
@@ -24974,7 +24974,7 @@ switch (step) {
24974
24974
  s.lambdaArgs = null;
24975
24975
  }
24976
24976
  r0 = s.arg0;
24977
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
24977
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
24978
24978
  r0 = pxsim_numops_toBoolDecr(s.arg1);
24979
24979
  s.tmp_1 = r0;
24980
24980
  r0 = pxsim_Boolean__bang(s.tmp_1);
@@ -24998,7 +24998,7 @@ switch (step) {
24998
24998
  r0 = (s.arg0).fields["_image"] = (s.arg1);
24999
24999
  s.tmp_0 = Sprite__C116000_v5_1_mk(s);
25000
25000
  s.tmp_0.arg0 = s.arg0;
25001
- if (!checkSubtype(s.tmp_0.arg0, Sprite__C116000_VT)) failedCast(s.tmp_0.arg0);
25001
+ if (!checkSubtype(s.tmp_0.arg0, Sprite__C116000_VT)) failedCast(s.tmp_0.arg0, Sprite__C116000_VT);
25002
25002
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.recalcSize;
25003
25003
  s.pc = 6; return s.tmp_0;
25004
25004
  case 6:
@@ -25042,7 +25042,7 @@ switch (step) {
25042
25042
  s.lambdaArgs = null;
25043
25043
  }
25044
25044
  r0 = s.arg0;
25045
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
25045
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
25046
25046
  r0 = s.arg0.fields["_rotatedBBox"];
25047
25047
  s.tmp_0 = r0;
25048
25048
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -25184,11 +25184,11 @@ switch (step) {
25184
25184
  s.lambdaArgs = null;
25185
25185
  }
25186
25186
  r0 = s.arg0;
25187
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
25187
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
25188
25188
  r0 = (s.arg0).fields["_hitbox"] = (null);
25189
25189
  s.tmp_0 = Sprite__C116000_v4_1_mk(s);
25190
25190
  s.tmp_0.arg0 = s.arg0;
25191
- if (!checkSubtype(s.tmp_0.arg0, Sprite__C116000_VT)) failedCast(s.tmp_0.arg0);
25191
+ if (!checkSubtype(s.tmp_0.arg0, Sprite__C116000_VT)) failedCast(s.tmp_0.arg0, Sprite__C116000_VT);
25192
25192
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.setHitbox;
25193
25193
  s.pc = 1; return s.tmp_0;
25194
25194
  case 1:
@@ -25227,7 +25227,7 @@ switch (step) {
25227
25227
  s.lambdaArgs = null;
25228
25228
  }
25229
25229
  r0 = s.arg0;
25230
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
25230
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
25231
25231
  r0 = s.arg0.fields["_hitbox"];
25232
25232
  s.tmp_0 = r0;
25233
25233
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -25746,7 +25746,7 @@ switch (step) {
25746
25746
  s.lambdaArgs = null;
25747
25747
  }
25748
25748
  r0 = s.arg0;
25749
- if (!checkSubtype(r0, game_Hitbox__C115912_VT)) failedCast(r0);
25749
+ if (!checkSubtype(r0, game_Hitbox__C115912_VT)) failedCast(r0, game_Hitbox__C115912_VT);
25750
25750
  s.tmp_0 = r0 = s.arg0;
25751
25751
  s.tmp_2 = Sprite_calcDimensionalHash__P116033_mk(s);
25752
25752
  s.tmp_2.arg0 = s.arg1;
@@ -25801,7 +25801,7 @@ switch (step) {
25801
25801
  s.lambdaArgs = null;
25802
25802
  }
25803
25803
  r0 = s.arg0;
25804
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
25804
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
25805
25805
  r0 = s.arg0.fields["_image"];
25806
25806
  s.tmp_3 = r0;
25807
25807
  r0 = pxsim_ImageMethods.revision(s.tmp_3);
@@ -25873,7 +25873,7 @@ switch (step) {
25873
25873
  s.lambdaArgs = null;
25874
25874
  }
25875
25875
  r0 = s.arg0;
25876
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
25876
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
25877
25877
  r0 = s.arg0.fields["_rotatedBBox"];
25878
25878
  s.tmp_0 = r0;
25879
25879
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -25924,7 +25924,7 @@ switch (step) {
25924
25924
  s.lambdaArgs = null;
25925
25925
  }
25926
25926
  r0 = s.arg0;
25927
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C115969_VT)) failedCast(r0);
25927
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C115969_VT)) failedCast(r0, sprites_RotatedBoundingBox__C115969_VT);
25928
25928
  r0 = s.arg0.fields["_rotation"];
25929
25929
  return leaveAccessor(s, r0)
25930
25930
  default: oops()
@@ -25998,7 +25998,7 @@ switch (step) {
25998
25998
  s.lambdaArgs = null;
25999
25999
  }
26000
26000
  r0 = s.arg0;
26001
- if (!checkSubtype(r0, game_Hitbox__C115912_VT)) failedCast(r0);
26001
+ if (!checkSubtype(r0, game_Hitbox__C115912_VT)) failedCast(r0, game_Hitbox__C115912_VT);
26002
26002
  r0 = s.arg0.fields["hash"];
26003
26003
  s.tmp_0 = r0;
26004
26004
  s.tmp_2 = Sprite_calcDimensionalHash__P116033_mk(s);
@@ -26055,7 +26055,7 @@ switch (step) {
26055
26055
  s.lambdaArgs = null;
26056
26056
  }
26057
26057
  r0 = s.arg0;
26058
- if (!checkSubtype(r0, game_Hitbox__C115912_VT)) failedCast(r0);
26058
+ if (!checkSubtype(r0, game_Hitbox__C115912_VT)) failedCast(r0, game_Hitbox__C115912_VT);
26059
26059
  s.tmp_1 = game_Hitbox_isValid__P115917_mk(s);
26060
26060
  s.tmp_1.arg0 = s.arg0;
26061
26061
  s.callLocIdx = 288; s.pc = 8; return s.tmp_1;
@@ -26247,7 +26247,7 @@ switch (step) {
26247
26247
  s.lambdaArgs = null;
26248
26248
  }
26249
26249
  r0 = s.arg0;
26250
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C115969_VT)) failedCast(r0);
26250
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C115969_VT)) failedCast(r0, sprites_RotatedBoundingBox__C115969_VT);
26251
26251
  r0 = s.arg0.fields["_height"];
26252
26252
  return leaveAccessor(s, r0)
26253
26253
  default: oops()
@@ -26282,7 +26282,7 @@ switch (step) {
26282
26282
  s.lambdaArgs = null;
26283
26283
  }
26284
26284
  r0 = s.arg0;
26285
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C115969_VT)) failedCast(r0);
26285
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C115969_VT)) failedCast(r0, sprites_RotatedBoundingBox__C115969_VT);
26286
26286
  r0 = s.arg0.fields["_width"];
26287
26287
  return leaveAccessor(s, r0)
26288
26288
  default: oops()
@@ -26317,7 +26317,7 @@ switch (step) {
26317
26317
  s.lambdaArgs = null;
26318
26318
  }
26319
26319
  r0 = s.arg0;
26320
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
26320
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
26321
26321
  r0 = s.arg0.fields["_sy"];
26322
26322
  s.tmp_0 = r0;
26323
26323
  r0 = (s.tmp_0 / 256);
@@ -26355,7 +26355,7 @@ switch (step) {
26355
26355
  s.lambdaArgs = null;
26356
26356
  }
26357
26357
  r0 = s.arg0;
26358
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
26358
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
26359
26359
  r0 = s.arg0.fields["_sx"];
26360
26360
  s.tmp_0 = r0;
26361
26361
  r0 = (s.tmp_0 / 256);
@@ -26395,7 +26395,7 @@ switch (step) {
26395
26395
  s.lambdaArgs = null;
26396
26396
  }
26397
26397
  r0 = s.arg0;
26398
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C115969_VT)) failedCast(r0);
26398
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C115969_VT)) failedCast(r0, sprites_RotatedBoundingBox__C115969_VT);
26399
26399
  r0 = (s.arg1 / 2);
26400
26400
  s.arg1 = (r0);
26401
26401
  r0 = (s.arg2 / 2);
@@ -26462,7 +26462,7 @@ switch (step) {
26462
26462
  s.lambdaArgs = null;
26463
26463
  }
26464
26464
  r0 = s.arg0;
26465
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C115969_VT)) failedCast(r0);
26465
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C115969_VT)) failedCast(r0, sprites_RotatedBoundingBox__C115969_VT);
26466
26466
  r0 = (s.arg0).fields["_rotation"] = (s.arg1);
26467
26467
  r0 = s.arg0.fields["points"];
26468
26468
  s.tmp_0 = r0;
@@ -26627,7 +26627,7 @@ switch (step) {
26627
26627
  s.lambdaArgs = null;
26628
26628
  }
26629
26629
  r0 = s.arg0;
26630
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C115969_VT)) failedCast(r0);
26630
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C115969_VT)) failedCast(r0, sprites_RotatedBoundingBox__C115969_VT);
26631
26631
  r0 = s.arg0.fields["points"];
26632
26632
  s.tmp_0 = r0;
26633
26633
  r0 = pxsim_Array__getAt(s.tmp_0, 0);
@@ -26746,7 +26746,7 @@ switch (step) {
26746
26746
  s.lambdaArgs = null;
26747
26747
  }
26748
26748
  r0 = s.arg0;
26749
- if (!checkSubtype(r0, effects_ImageEffect__C117167_VT)) failedCast(r0);
26749
+ if (!checkSubtype(r0, effects_ImageEffect__C117167_VT)) failedCast(r0, effects_ImageEffect__C117167_VT);
26750
26750
  s.tmp_0 = if_effect_3_mk(s);
26751
26751
  s.tmp_0.arg0 = s.arg0;
26752
26752
  s.tmp_0.arg1 = s.arg1;
@@ -26798,7 +26798,7 @@ switch (step) {
26798
26798
  s.lambdaArgs = null;
26799
26799
  }
26800
26800
  r0 = s.arg0;
26801
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
26801
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
26802
26802
  r0 = s.arg0.fields["_image"];
26803
26803
  return leaveAccessor(s, r0)
26804
26804
  default: oops()
@@ -26838,7 +26838,7 @@ switch (step) {
26838
26838
  s.lambdaArgs = null;
26839
26839
  }
26840
26840
  r0 = s.arg0;
26841
- if (!checkSubtype(r0, effects_ParticleEffect__C117114_VT)) failedCast(r0);
26841
+ if (!checkSubtype(r0, effects_ParticleEffect__C117114_VT)) failedCast(r0, effects_ParticleEffect__C117114_VT);
26842
26842
  r0 = s.arg0.fields["sourceFactory"];
26843
26843
  s.tmp_2 = r0;
26844
26844
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -26949,7 +26949,7 @@ switch (step) {
26949
26949
  s.lambdaArgs = null;
26950
26950
  }
26951
26951
  r0 = s.arg0;
26952
- if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0);
26952
+ if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0, particles_ParticleSource__C116987_VT);
26953
26953
  r0 = pxsim_numops_toBoolDecr(s.arg1);
26954
26954
  if (!r0) { step = 1; continue; }
26955
26955
  s.tmp_0 = r0 = s.arg0;
@@ -27012,7 +27012,7 @@ switch (step) {
27012
27012
  s.lambdaArgs = null;
27013
27013
  }
27014
27014
  r0 = s.arg0;
27015
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
27015
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
27016
27016
  r0 = pxsim_numops_toBoolDecr(s.arg2);
27017
27017
  if (!r0) { step = 1; continue; }
27018
27018
  s.tmp_0 = r0 = s.arg0;
@@ -27136,7 +27136,7 @@ switch (step) {
27136
27136
  s.lambdaArgs = null;
27137
27137
  }
27138
27138
  r0 = s.arg0;
27139
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C116860_VT)) failedCast(r0);
27139
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C116860_VT)) failedCast(r0, scene_systemMenu_MenuOption__C116860_VT);
27140
27140
  r0 = (s.arg0).fields["iconImage"] = (s.arg1);
27141
27141
  r0 = (s.arg0).fields["getText"] = (s.arg2);
27142
27142
  r0 = (s.arg0).fields["action"] = (s.arg3);
@@ -27177,7 +27177,7 @@ switch (step) {
27177
27177
  s.lambdaArgs = null;
27178
27178
  }
27179
27179
  r0 = s.arg0;
27180
- if (!checkSubtype(r0, Math_FastRandom__C116849_VT)) failedCast(r0);
27180
+ if (!checkSubtype(r0, Math_FastRandom__C116849_VT)) failedCast(r0, Math_FastRandom__C116849_VT);
27181
27181
  r0 = (s.arg1 === undefined);
27182
27182
  s.tmp_0 = r0;
27183
27183
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -27582,7 +27582,7 @@ switch (step) {
27582
27582
  s.lambdaArgs = null;
27583
27583
  }
27584
27584
  r0 = s.arg0;
27585
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C116869_VT)) failedCast(r0);
27585
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C116869_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C116869_VT);
27586
27586
  s.tmp_0 = r0 = s.arg0;
27587
27587
  s.tmp_2 = if_generator_1_mk(s);
27588
27588
  s.tmp_2.arg0 = s.arg0;
@@ -28411,7 +28411,7 @@ switch (step) {
28411
28411
  s.lambdaArgs = null;
28412
28412
  }
28413
28413
  r0 = s.arg0;
28414
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C116869_VT)) failedCast(r0);
28414
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C116869_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C116869_VT);
28415
28415
  r0 = s.arg0.fields["options"];
28416
28416
  s.tmp_2 = r0;
28417
28417
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -28808,7 +28808,7 @@ switch (step) {
28808
28808
  s.lambdaArgs = null;
28809
28809
  }
28810
28810
  r0 = s.arg0;
28811
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C116869_VT)) failedCast(r0);
28811
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C116869_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C116869_VT);
28812
28812
  r0 = pxsim.control.millis();
28813
28813
  s.tmp_0 = r0;
28814
28814
  r0 = (s.tmp_0 / 250);
@@ -29040,7 +29040,7 @@ switch (step) {
29040
29040
  s.lambdaArgs = null;
29041
29041
  }
29042
29042
  r0 = s.arg0;
29043
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C116860_VT)) failedCast(r0);
29043
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C116860_VT)) failedCast(r0, scene_systemMenu_MenuOption__C116860_VT);
29044
29044
  s.tmp_0 = Sprite_top__P116047_mk(s);
29045
29045
  r0 = s.arg0.fields["card"];
29046
29046
  s.tmp_0.arg0 = r0;
@@ -29101,7 +29101,7 @@ switch (step) {
29101
29101
  s.lambdaArgs = null;
29102
29102
  }
29103
29103
  r0 = s.arg0;
29104
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
29104
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
29105
29105
  s.tmp_0 = Sprite_top__P116047_mk(s);
29106
29106
  s.tmp_0.arg0 = s.arg0;
29107
29107
  s.tmp_1 = r0 = s.arg1;
@@ -29157,7 +29157,7 @@ switch (step) {
29157
29157
  s.lambdaArgs = null;
29158
29158
  }
29159
29159
  r0 = s.arg0;
29160
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
29160
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
29161
29161
  r0 = s.arg0.fields["_height"];
29162
29162
  s.tmp_0 = r0;
29163
29163
  r0 = (s.tmp_0 / 256);
@@ -29197,7 +29197,7 @@ switch (step) {
29197
29197
  s.lambdaArgs = null;
29198
29198
  }
29199
29199
  r0 = s.arg0;
29200
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
29200
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
29201
29201
  s.tmp_0 = game_currentScene__P115770_mk(s);
29202
29202
  s.callLocIdx = 449; s.pc = 1; return s.tmp_0;
29203
29203
  case 1:
@@ -29216,7 +29216,7 @@ switch (step) {
29216
29216
  s.tmp_3 = r0;
29217
29217
  r0 = (s.tmp_1 - s.tmp_3);
29218
29218
  s.tmp_0.arg3 = r0;
29219
- if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C116146_VT)) failedCast(s.tmp_0.arg0);
29219
+ if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C116146_VT)) failedCast(s.tmp_0.arg0, PhysicsEngine__C116146_VT);
29220
29220
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.moveSprite;
29221
29221
  s.pc = 2; return s.tmp_0;
29222
29222
  case 2:
@@ -29263,7 +29263,7 @@ switch (step) {
29263
29263
  s.lambdaArgs = null;
29264
29264
  }
29265
29265
  r0 = s.arg0;
29266
- if (!checkSubtype(r0, PhysicsEngine__C116146_VT)) failedCast(r0);
29266
+ if (!checkSubtype(r0, PhysicsEngine__C116146_VT)) failedCast(r0, PhysicsEngine__C116146_VT);
29267
29267
  r0 = undefined;
29268
29268
  return leave(s, r0)
29269
29269
  default: oops()
@@ -29358,7 +29358,7 @@ switch (step) {
29358
29358
  s.lambdaArgs = null;
29359
29359
  }
29360
29360
  r0 = s.arg0;
29361
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C116869_VT)) failedCast(r0);
29361
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C116869_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C116869_VT);
29362
29362
  r0 = s.arg0.fields["options"];
29363
29363
  s.tmp_2 = r0;
29364
29364
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -29402,7 +29402,7 @@ switch (step) {
29402
29402
  if (!r0) { step = 7; continue; }
29403
29403
  s.tmp_4 = controller_Button__C115874_v0_1_mk(s);
29404
29404
  s.tmp_4.arg0 = globals.A___115733;
29405
- if (!checkSubtype(s.tmp_4.arg0, controller_Button__C115874_VT)) failedCast(s.tmp_4.arg0);
29405
+ if (!checkSubtype(s.tmp_4.arg0, controller_Button__C115874_VT)) failedCast(s.tmp_4.arg0, controller_Button__C115874_VT);
29406
29406
  s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.isPressed;
29407
29407
  s.pc = 11; return s.tmp_4;
29408
29408
  case 11:
@@ -29480,7 +29480,7 @@ switch (step) {
29480
29480
  s.lambdaArgs = null;
29481
29481
  }
29482
29482
  r0 = s.arg0;
29483
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C116869_VT)) failedCast(r0);
29483
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C116869_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C116869_VT);
29484
29484
  r0 = s.arg0.fields["selection"];
29485
29485
  s.tmp_0 = r0;
29486
29486
  s.tmp_2 = if_cardsPerRow_1_mk(s);
@@ -29624,7 +29624,7 @@ switch (step) {
29624
29624
  s.lambdaArgs = null;
29625
29625
  }
29626
29626
  r0 = s.arg0;
29627
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C116860_VT)) failedCast(r0);
29627
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C116860_VT)) failedCast(r0, scene_systemMenu_MenuOption__C116860_VT);
29628
29628
  r0 = s.arg0.fields["state"];
29629
29629
  s.tmp_1 = r0;
29630
29630
  r0 = (s.tmp_1 === s.arg1);
@@ -29677,7 +29677,7 @@ switch (step) {
29677
29677
  s.lambdaArgs = null;
29678
29678
  }
29679
29679
  r0 = s.arg0;
29680
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C116860_VT)) failedCast(r0);
29680
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C116860_VT)) failedCast(r0, scene_systemMenu_MenuOption__C116860_VT);
29681
29681
  r0 = s.arg0.fields["theme"];
29682
29682
  s.tmp_2 = r0;
29683
29683
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -29832,7 +29832,7 @@ switch (step) {
29832
29832
  s.lambdaArgs = null;
29833
29833
  }
29834
29834
  r0 = s.arg0;
29835
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
29835
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
29836
29836
  s.tmp_0 = Sprite_left__P116043_mk(s);
29837
29837
  s.tmp_0.arg0 = s.arg0;
29838
29838
  s.tmp_1 = r0 = s.arg1;
@@ -29890,7 +29890,7 @@ switch (step) {
29890
29890
  s.lambdaArgs = null;
29891
29891
  }
29892
29892
  r0 = s.arg0;
29893
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
29893
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
29894
29894
  s.tmp_0 = game_currentScene__P115770_mk(s);
29895
29895
  s.callLocIdx = 441; s.pc = 1; return s.tmp_0;
29896
29896
  case 1:
@@ -29909,7 +29909,7 @@ switch (step) {
29909
29909
  r0 = (s.tmp_1 - s.tmp_3);
29910
29910
  s.tmp_0.arg2 = r0;
29911
29911
  s.tmp_0.arg3 = 0;
29912
- if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C116146_VT)) failedCast(s.tmp_0.arg0);
29912
+ if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C116146_VT)) failedCast(s.tmp_0.arg0, PhysicsEngine__C116146_VT);
29913
29913
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.moveSprite;
29914
29914
  s.pc = 2; return s.tmp_0;
29915
29915
  case 2:
@@ -29955,7 +29955,7 @@ switch (step) {
29955
29955
  s.lambdaArgs = null;
29956
29956
  }
29957
29957
  r0 = s.arg0;
29958
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C116860_VT)) failedCast(r0);
29958
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C116860_VT)) failedCast(r0, scene_systemMenu_MenuOption__C116860_VT);
29959
29959
  r0 = (s.arg0).fields["top"] = (s.arg2);
29960
29960
  s.tmp_0 = Sprite_left__P116043_mk(s);
29961
29961
  r0 = s.arg0.fields["card"];
@@ -30035,7 +30035,7 @@ switch (step) {
30035
30035
  s.lambdaArgs = null;
30036
30036
  }
30037
30037
  r0 = s.arg0;
30038
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C116860_VT)) failedCast(r0);
30038
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C116860_VT)) failedCast(r0, scene_systemMenu_MenuOption__C116860_VT);
30039
30039
  r0 = (s.arg0).fields["theme"] = (s.arg1);
30040
30040
  s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P116867_mk(s);
30041
30041
  s.tmp_0.arg0 = s.arg0;
@@ -30077,7 +30077,7 @@ switch (step) {
30077
30077
  s.lambdaArgs = null;
30078
30078
  }
30079
30079
  r0 = s.arg0;
30080
- if (!checkSubtype(r0, scene_systemMenu_MenuOption__C116860_VT)) failedCast(r0);
30080
+ if (!checkSubtype(r0, scene_systemMenu_MenuOption__C116860_VT)) failedCast(r0, scene_systemMenu_MenuOption__C116860_VT);
30081
30081
  r0 = s.arg0.fields["theme"];
30082
30082
  s.tmp_0 = r0;
30083
30083
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -30214,7 +30214,7 @@ switch (step) {
30214
30214
  r0 = s.scene___125575.fields["physicsEngine"];
30215
30215
  s.tmp_0.arg0 = r0;
30216
30216
  s.tmp_0.arg1 = s.sprite___125578;
30217
- if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C116146_VT)) failedCast(s.tmp_0.arg0);
30217
+ if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C116146_VT)) failedCast(s.tmp_0.arg0, PhysicsEngine__C116146_VT);
30218
30218
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.addSprite;
30219
30219
  s.pc = 4; return s.tmp_0;
30220
30220
  case 4:
@@ -30361,7 +30361,7 @@ switch (step) {
30361
30361
  s.lambdaArgs = null;
30362
30362
  }
30363
30363
  r0 = s.arg0;
30364
- if (!checkSubtype(r0, PhysicsEngine__C116146_VT)) failedCast(r0);
30364
+ if (!checkSubtype(r0, PhysicsEngine__C116146_VT)) failedCast(r0, PhysicsEngine__C116146_VT);
30365
30365
  r0 = undefined;
30366
30366
  return leave(s, r0)
30367
30367
  default: oops()
@@ -30399,7 +30399,7 @@ switch (step) {
30399
30399
  s.lambdaArgs = null;
30400
30400
  }
30401
30401
  r0 = s.arg0;
30402
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
30402
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
30403
30403
  r0 = (s.arg1 == undefined);
30404
30404
  s.tmp_0 = r0;
30405
30405
  r0 = pxsim_numops_toBool(s.tmp_0);
@@ -30553,7 +30553,7 @@ switch (step) {
30553
30553
  s.lambdaArgs = null;
30554
30554
  }
30555
30555
  r0 = s.arg0;
30556
- if (!checkSubtype(r0, sprites_SpriteSet__C116110_VT)) failedCast(r0);
30556
+ if (!checkSubtype(r0, sprites_SpriteSet__C116110_VT)) failedCast(r0, sprites_SpriteSet__C116110_VT);
30557
30557
  r0 = pxsim_numops_toBoolDecr(s.arg1);
30558
30558
  s.tmp_1 = r0;
30559
30559
  r0 = pxsim_Boolean__bang(s.tmp_1);
@@ -30621,7 +30621,7 @@ switch (step) {
30621
30621
  s.lambdaArgs = null;
30622
30622
  }
30623
30623
  r0 = s.arg0;
30624
- if (!checkSubtype(r0, sprites_SpriteSet__C116110_VT)) failedCast(r0);
30624
+ if (!checkSubtype(r0, sprites_SpriteSet__C116110_VT)) failedCast(r0, sprites_SpriteSet__C116110_VT);
30625
30625
  r0 = s.arg0.fields["_sprites"];
30626
30626
  s.tmp_1 = r0;
30627
30627
  r0 = pxsim_Array_.indexOf(s.tmp_1, s.arg1, undefined);
@@ -30662,7 +30662,7 @@ switch (step) {
30662
30662
  s.lambdaArgs = null;
30663
30663
  }
30664
30664
  r0 = s.arg0;
30665
- if (!checkSubtype(r0, sprites_SpriteSet__C116110_VT)) failedCast(r0);
30665
+ if (!checkSubtype(r0, sprites_SpriteSet__C116110_VT)) failedCast(r0, sprites_SpriteSet__C116110_VT);
30666
30666
  s.tmp_0 = r0 = s.arg0;
30667
30667
  r0 = pxsim_Array__mk();
30668
30668
  s.tmp_1 = r0;
@@ -30703,7 +30703,7 @@ switch (step) {
30703
30703
  s.lambdaArgs = null;
30704
30704
  }
30705
30705
  r0 = s.arg0;
30706
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
30706
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
30707
30707
  s.tmp_0 = sprites_BaseSprite_constructor__P115715_mk(s);
30708
30708
  s.tmp_0.arg0 = s.arg0;
30709
30709
  s.tmp_0.arg1 = 0;
@@ -30847,7 +30847,7 @@ switch (step) {
30847
30847
  s.lambdaArgs = null;
30848
30848
  }
30849
30849
  r0 = s.arg0;
30850
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
30850
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
30851
30851
  s.tmp_0 = r0 = s.arg0;
30852
30852
  s.tmp_3 = Math_max__P114904_mk(s);
30853
30853
  s.tmp_3.arg0 = 0;
@@ -30900,7 +30900,7 @@ switch (step) {
30900
30900
  s.lambdaArgs = null;
30901
30901
  }
30902
30902
  r0 = s.arg0;
30903
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
30903
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
30904
30904
  r0 = s.arg0.fields["_fy"];
30905
30905
  s.tmp_0 = r0;
30906
30906
  r0 = (s.tmp_0 / 256);
@@ -30939,7 +30939,7 @@ switch (step) {
30939
30939
  s.lambdaArgs = null;
30940
30940
  }
30941
30941
  r0 = s.arg0;
30942
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
30942
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
30943
30943
  s.tmp_0 = r0 = s.arg0;
30944
30944
  s.tmp_3 = Math_max__P114904_mk(s);
30945
30945
  s.tmp_3.arg0 = 0;
@@ -30992,7 +30992,7 @@ switch (step) {
30992
30992
  s.lambdaArgs = null;
30993
30993
  }
30994
30994
  r0 = s.arg0;
30995
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
30995
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
30996
30996
  r0 = s.arg0.fields["_fx"];
30997
30997
  s.tmp_0 = r0;
30998
30998
  r0 = (s.tmp_0 / 256);
@@ -31031,7 +31031,7 @@ switch (step) {
31031
31031
  s.lambdaArgs = null;
31032
31032
  }
31033
31033
  r0 = s.arg0;
31034
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
31034
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
31035
31035
  s.tmp_0 = r0 = s.arg0;
31036
31036
  r0 = (s.arg1 * 256);
31037
31037
  s.tmp_2 = r0;
@@ -31075,7 +31075,7 @@ switch (step) {
31075
31075
  s.lambdaArgs = null;
31076
31076
  }
31077
31077
  r0 = s.arg0;
31078
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
31078
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
31079
31079
  r0 = s.arg0.fields["_ay"];
31080
31080
  s.tmp_0 = r0;
31081
31081
  r0 = (s.tmp_0 / 256);
@@ -31114,7 +31114,7 @@ switch (step) {
31114
31114
  s.lambdaArgs = null;
31115
31115
  }
31116
31116
  r0 = s.arg0;
31117
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
31117
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
31118
31118
  s.tmp_0 = r0 = s.arg0;
31119
31119
  r0 = (s.arg1 * 256);
31120
31120
  s.tmp_2 = r0;
@@ -31158,7 +31158,7 @@ switch (step) {
31158
31158
  s.lambdaArgs = null;
31159
31159
  }
31160
31160
  r0 = s.arg0;
31161
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
31161
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
31162
31162
  r0 = s.arg0.fields["_ax"];
31163
31163
  s.tmp_0 = r0;
31164
31164
  r0 = (s.tmp_0 / 256);
@@ -31197,7 +31197,7 @@ switch (step) {
31197
31197
  s.lambdaArgs = null;
31198
31198
  }
31199
31199
  r0 = s.arg0;
31200
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
31200
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
31201
31201
  s.tmp_0 = r0 = s.arg0;
31202
31202
  r0 = (s.arg1 * 256);
31203
31203
  s.tmp_2 = r0;
@@ -31241,7 +31241,7 @@ switch (step) {
31241
31241
  s.lambdaArgs = null;
31242
31242
  }
31243
31243
  r0 = s.arg0;
31244
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
31244
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
31245
31245
  r0 = s.arg0.fields["_vy"];
31246
31246
  s.tmp_0 = r0;
31247
31247
  r0 = (s.tmp_0 / 256);
@@ -31280,7 +31280,7 @@ switch (step) {
31280
31280
  s.lambdaArgs = null;
31281
31281
  }
31282
31282
  r0 = s.arg0;
31283
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
31283
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
31284
31284
  s.tmp_0 = r0 = s.arg0;
31285
31285
  r0 = (s.arg1 * 256);
31286
31286
  s.tmp_2 = r0;
@@ -31324,7 +31324,7 @@ switch (step) {
31324
31324
  s.lambdaArgs = null;
31325
31325
  }
31326
31326
  r0 = s.arg0;
31327
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
31327
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
31328
31328
  r0 = s.arg0.fields["_vx"];
31329
31329
  s.tmp_0 = r0;
31330
31330
  r0 = (s.tmp_0 / 256);
@@ -33510,7 +33510,7 @@ switch (step) {
33510
33510
  s.lambdaArgs = null;
33511
33511
  }
33512
33512
  r0 = s.arg0;
33513
- if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C116869_VT)) failedCast(r0);
33513
+ if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C116869_VT)) failedCast(r0, scene_systemMenu_PauseMenu__C116869_VT);
33514
33514
  r0 = (s.arg0).fields["generator"] = (s.arg1);
33515
33515
  s.tmp_0 = r0 = s.arg2;
33516
33516
  r0 = pxsim_numops_toBool(s.tmp_0);
@@ -34221,7 +34221,7 @@ switch (step) {
34221
34221
  s.lambdaArgs = null;
34222
34222
  }
34223
34223
  r0 = s.arg0;
34224
- if (!checkSubtype(r0, game_GameOverConfig__C116653_VT)) failedCast(r0);
34224
+ if (!checkSubtype(r0, game_GameOverConfig__C116653_VT)) failedCast(r0, game_GameOverConfig__C116653_VT);
34225
34225
  s.tmp_0 = game_GameOverConfig_init__P116654_mk(s);
34226
34226
  s.tmp_0.arg0 = s.arg0;
34227
34227
  s.callLocIdx = 1048; s.pc = 1; return s.tmp_0;
@@ -34261,7 +34261,7 @@ switch (step) {
34261
34261
  s.lambdaArgs = null;
34262
34262
  }
34263
34263
  r0 = s.arg0;
34264
- if (!checkSubtype(r0, game_GameOverConfig__C116653_VT)) failedCast(r0);
34264
+ if (!checkSubtype(r0, game_GameOverConfig__C116653_VT)) failedCast(r0, game_GameOverConfig__C116653_VT);
34265
34265
  r0 = (s.arg0).fields["scoringType"] = (0);
34266
34266
  r0 = (s.arg0).fields["winEffect"] = (globals.confetti___117138);
34267
34267
  r0 = (s.arg0).fields["loseEffect"] = (globals.melt___117175);
@@ -34327,7 +34327,7 @@ switch (step) {
34327
34327
  s.lambdaArgs = null;
34328
34328
  }
34329
34329
  r0 = s.arg0;
34330
- if (!checkSubtype(r0, music_Melody__C115282_VT)) failedCast(r0);
34330
+ if (!checkSubtype(r0, music_Melody__C115282_VT)) failedCast(r0, music_Melody__C115282_VT);
34331
34331
  r0 = (s.arg0).fields["_text"] = (s.arg1);
34332
34332
  r0 = undefined;
34333
34333
  return leave(s, r0)
@@ -34406,7 +34406,7 @@ switch (step) {
34406
34406
  s.lambdaArgs = null;
34407
34407
  }
34408
34408
  r0 = s.arg0;
34409
- if (!checkSubtype(r0, music_MelodyPlayable__C115531_VT)) failedCast(r0);
34409
+ if (!checkSubtype(r0, music_MelodyPlayable__C115531_VT)) failedCast(r0, music_MelodyPlayable__C115531_VT);
34410
34410
  r0 = (s.arg0).fields["melody"] = (s.arg1);
34411
34411
  r0 = undefined;
34412
34412
  r0 = undefined;
@@ -34443,7 +34443,7 @@ switch (step) {
34443
34443
  s.lambdaArgs = null;
34444
34444
  }
34445
34445
  r0 = s.arg0;
34446
- if (!checkSubtype(r0, music_Playable__C115357_VT)) failedCast(r0);
34446
+ if (!checkSubtype(r0, music_Playable__C115357_VT)) failedCast(r0, music_Playable__C115357_VT);
34447
34447
  r0 = undefined;
34448
34448
  return leave(s, r0)
34449
34449
  default: oops()
@@ -34682,7 +34682,7 @@ switch (step) {
34682
34682
  s.lambdaArgs = null;
34683
34683
  }
34684
34684
  r0 = s.arg0;
34685
- if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0);
34685
+ if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0, particles_ParticleSource__C116987_VT);
34686
34686
  s.tmp_0 = sprites_BaseSprite_constructor__P115715_mk(s);
34687
34687
  s.tmp_0.arg0 = s.arg0;
34688
34688
  s.tmp_0.arg1 = 0;
@@ -34813,7 +34813,7 @@ switch (step) {
34813
34813
  s.lambdaArgs = null;
34814
34814
  }
34815
34815
  r0 = s.arg0;
34816
- if (!checkSubtype(r0, particles_SprayFactory__C117051_VT)) failedCast(r0);
34816
+ if (!checkSubtype(r0, particles_SprayFactory__C117051_VT)) failedCast(r0, particles_SprayFactory__C117051_VT);
34817
34817
  r0 = undefined;
34818
34818
  s.tmp_0 = particles_initTrig__P117039_mk(s);
34819
34819
  s.callLocIdx = 1411; s.pc = 1; return s.tmp_0;
@@ -34871,7 +34871,7 @@ switch (step) {
34871
34871
  s.lambdaArgs = null;
34872
34872
  }
34873
34873
  r0 = s.arg0;
34874
- if (!checkSubtype(r0, particles_SprayFactory__C117051_VT)) failedCast(r0);
34874
+ if (!checkSubtype(r0, particles_SprayFactory__C117051_VT)) failedCast(r0, particles_SprayFactory__C117051_VT);
34875
34875
  s.tmp_0 = r0 = s.arg0;
34876
34876
  s.tmp_4 = particles_toRadians__P117046_mk(s);
34877
34877
  s.tmp_5 = r0 = s.arg1;
@@ -35183,7 +35183,7 @@ switch (step) {
35183
35183
  s.lambdaArgs = null;
35184
35184
  }
35185
35185
  r0 = s.arg0;
35186
- if (!checkSubtype(r0, particles_ParticleFactory__C117047_VT)) failedCast(r0);
35186
+ if (!checkSubtype(r0, particles_ParticleFactory__C117047_VT)) failedCast(r0, particles_ParticleFactory__C117047_VT);
35187
35187
  r0 = undefined;
35188
35188
  return leave(s, r0)
35189
35189
  default: oops()
@@ -35218,7 +35218,7 @@ switch (step) {
35218
35218
  s.lambdaArgs = null;
35219
35219
  }
35220
35220
  r0 = s.arg0;
35221
- if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0);
35221
+ if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0, particles_ParticleSource__C116987_VT);
35222
35222
  r0 = pxsim_numops_toBoolDecr(s.arg1);
35223
35223
  if (!r0) { step = 1; continue; }
35224
35224
  r0 = (s.arg0).fields["_factory"] = (s.arg1);
@@ -35259,7 +35259,7 @@ switch (step) {
35259
35259
  s.lambdaArgs = null;
35260
35260
  }
35261
35261
  r0 = s.arg0;
35262
- if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0);
35262
+ if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0, particles_ParticleSource__C116987_VT);
35263
35263
  r0 = (s.arg0).fields["anchor"] = (s.arg1);
35264
35264
  r0 = undefined;
35265
35265
  return leave(s, r0)
@@ -35297,7 +35297,7 @@ switch (step) {
35297
35297
  s.lambdaArgs = null;
35298
35298
  }
35299
35299
  r0 = s.arg0;
35300
- if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0);
35300
+ if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0, particles_ParticleSource__C116987_VT);
35301
35301
  s.tmp_0 = r0 = s.arg0;
35302
35302
  r0 = (s.arg1 * 256);
35303
35303
  s.tmp_2 = r0;
@@ -35349,7 +35349,7 @@ switch (step) {
35349
35349
  s.lambdaArgs = null;
35350
35350
  }
35351
35351
  r0 = s.arg0;
35352
- if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0);
35352
+ if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0, particles_ParticleSource__C116987_VT);
35353
35353
  s.tmp_0 = r0 = s.arg0;
35354
35354
  r0 = (1000 / s.arg1);
35355
35355
  s.tmp_2 = r0;
@@ -35394,7 +35394,7 @@ switch (step) {
35394
35394
  s.lambdaArgs = null;
35395
35395
  }
35396
35396
  r0 = s.arg0;
35397
- if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0);
35397
+ if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0, particles_ParticleSource__C116987_VT);
35398
35398
  s.tmp_0 = particles_ParticleSource_enabled__P116996_mk(s);
35399
35399
  s.tmp_0.arg0 = s.arg0;
35400
35400
  s.tmp_0.arg1 = false;
@@ -35987,7 +35987,7 @@ switch (step) {
35987
35987
  s.lambdaArgs = null;
35988
35988
  }
35989
35989
  r0 = s.arg0;
35990
- if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0);
35990
+ if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0, particles_ParticleSource__C116987_VT);
35991
35991
  s.tmp_0 = r0 = s.arg0;
35992
35992
  r0 = s.tmp_0.fields["timer"];
35993
35993
  s.tmp_2 = r0;
@@ -36109,7 +36109,7 @@ switch (step) {
36109
36109
  s.tmp_0.arg0 = r0;
36110
36110
  r0 = s.arg0.fields["anchor"];
36111
36111
  s.tmp_0.arg1 = r0;
36112
- if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C117047_VT)) failedCast(s.tmp_0.arg0);
36112
+ if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C117047_VT)) failedCast(s.tmp_0.arg0, particles_ParticleFactory__C117047_VT);
36113
36113
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.createParticle;
36114
36114
  s.pc = 32; return s.tmp_0;
36115
36115
  case 32:
@@ -36174,7 +36174,7 @@ switch (step) {
36174
36174
  s.tmp_0.arg0 = s.arg0;
36175
36175
  s.tmp_0.arg1 = s.current___127102;
36176
36176
  s.tmp_0.arg2 = s.fixedDt___127110;
36177
- if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C116987_VT)) failedCast(s.tmp_0.arg0);
36177
+ if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C116987_VT)) failedCast(s.tmp_0.arg0, particles_ParticleSource__C116987_VT);
36178
36178
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.updateParticle;
36179
36179
  s.pc = 33; return s.tmp_0;
36180
36180
  case 33:
@@ -36254,7 +36254,7 @@ switch (step) {
36254
36254
  s.lambdaArgs = null;
36255
36255
  }
36256
36256
  r0 = s.arg0;
36257
- if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0);
36257
+ if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0, particles_ParticleSource__C116987_VT);
36258
36258
  r0 = (s.arg2 >> 10);
36259
36259
  s.arg2 = (r0);
36260
36260
  s.tmp_0 = r0 = s.arg1;
@@ -36382,7 +36382,7 @@ switch (step) {
36382
36382
  s.lambdaArgs = null;
36383
36383
  }
36384
36384
  r0 = s.arg0;
36385
- if (!checkSubtype(r0, particles_ParticleFactory__C117047_VT)) failedCast(r0);
36385
+ if (!checkSubtype(r0, particles_ParticleFactory__C117047_VT)) failedCast(r0, particles_ParticleFactory__C117047_VT);
36386
36386
  r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C116985_VT);
36387
36387
  s.p___127197 = (r0);
36388
36388
  s.tmp_0 = r0 = s.p___127197;
@@ -36524,7 +36524,7 @@ switch (step) {
36524
36524
  s.lambdaArgs = null;
36525
36525
  }
36526
36526
  r0 = s.arg0;
36527
- if (!checkSubtype(r0, particles_SprayFactory__C117051_VT)) failedCast(r0);
36527
+ if (!checkSubtype(r0, particles_SprayFactory__C117051_VT)) failedCast(r0, particles_SprayFactory__C117051_VT);
36528
36528
  s.tmp_0 = r0 = s.arg0;
36529
36529
  r0 = (s.arg1 * 256);
36530
36530
  s.tmp_2 = r0;
@@ -36572,7 +36572,7 @@ switch (step) {
36572
36572
  s.lambdaArgs = null;
36573
36573
  }
36574
36574
  r0 = s.arg0;
36575
- if (!checkSubtype(r0, particles_ConfettiFactory__C117074_VT)) failedCast(r0);
36575
+ if (!checkSubtype(r0, particles_ConfettiFactory__C117074_VT)) failedCast(r0, particles_ConfettiFactory__C117074_VT);
36576
36576
  r0 = pxsim_Array__mk();
36577
36577
  s.tmp_0 = r0;
36578
36578
  r0 = pxsim_Array__push(s.tmp_0, undefined);
@@ -36654,7 +36654,7 @@ switch (step) {
36654
36654
  s.lambdaArgs = null;
36655
36655
  }
36656
36656
  r0 = s.arg0;
36657
- if (!checkSubtype(r0, particles_ShapeFactory__C117068_VT)) failedCast(r0);
36657
+ if (!checkSubtype(r0, particles_ShapeFactory__C117068_VT)) failedCast(r0, particles_ShapeFactory__C117068_VT);
36658
36658
  r0 = pxsim_numops_toBoolDecr(s.arg1);
36659
36659
  if (!r0) { step = 1; continue; }
36660
36660
  r0 = s.arg0.fields["sources"];
@@ -36700,7 +36700,7 @@ switch (step) {
36700
36700
  s.lambdaArgs = null;
36701
36701
  }
36702
36702
  r0 = s.arg0;
36703
- if (!checkSubtype(r0, particles_ShapeFactory__C117068_VT)) failedCast(r0);
36703
+ if (!checkSubtype(r0, particles_ShapeFactory__C117068_VT)) failedCast(r0, particles_ShapeFactory__C117068_VT);
36704
36704
  s.tmp_0 = particles_AreaFactory_constructor__P117062_mk(s);
36705
36705
  s.tmp_0.arg0 = s.arg0;
36706
36706
  s.tmp_0.arg1 = s.arg1;
@@ -36779,7 +36779,7 @@ switch (step) {
36779
36779
  s.lambdaArgs = null;
36780
36780
  }
36781
36781
  r0 = s.arg0;
36782
- if (!checkSubtype(r0, particles_AreaFactory__C117058_VT)) failedCast(r0);
36782
+ if (!checkSubtype(r0, particles_AreaFactory__C117058_VT)) failedCast(r0, particles_AreaFactory__C117058_VT);
36783
36783
  s.tmp_0 = particles_SprayFactory_constructor__P117057_mk(s);
36784
36784
  s.tmp_0.arg0 = s.arg0;
36785
36785
  s.tmp_0.arg1 = 40;
@@ -36862,7 +36862,7 @@ switch (step) {
36862
36862
  s.lambdaArgs = null;
36863
36863
  }
36864
36864
  r0 = s.arg0;
36865
- if (!checkSubtype(r0, effects_ScreenEffect__C117124_VT)) failedCast(r0);
36865
+ if (!checkSubtype(r0, effects_ScreenEffect__C117124_VT)) failedCast(r0, effects_ScreenEffect__C117124_VT);
36866
36866
  s.tmp_0 = effects_ParticleEffect_constructor__P117117_mk(s);
36867
36867
  s.tmp_0.arg0 = s.arg0;
36868
36868
  s.tmp_0.arg1 = s.arg1;
@@ -36913,7 +36913,7 @@ switch (step) {
36913
36913
  s.lambdaArgs = null;
36914
36914
  }
36915
36915
  r0 = s.arg0;
36916
- if (!checkSubtype(r0, effects_ParticleEffect__C117114_VT)) failedCast(r0);
36916
+ if (!checkSubtype(r0, effects_ParticleEffect__C117114_VT)) failedCast(r0, effects_ParticleEffect__C117114_VT);
36917
36917
  r0 = (s.arg0).fields["sourceFactory"] = (s.arg3);
36918
36918
  r0 = (s.arg0).fields["defaultRate"] = (s.arg1);
36919
36919
  r0 = (s.arg0).fields["defaultLifespan"] = (s.arg2);
@@ -37028,7 +37028,7 @@ switch (step) {
37028
37028
  s.lambdaArgs = null;
37029
37029
  }
37030
37030
  r0 = s.arg0;
37031
- if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0);
37031
+ if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0, controller_Button__C115874_VT);
37032
37032
  r0 = (s.arg0).fields["id"] = (s.arg1);
37033
37033
  r0 = (s.arg0).fields["_pressed"] = (false);
37034
37034
  r0 = (s.arg0).fields["repeatDelay"] = (undefined);
@@ -37200,7 +37200,7 @@ switch (step) {
37200
37200
  s.lambdaArgs = null;
37201
37201
  }
37202
37202
  r0 = s.arg0;
37203
- if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0);
37203
+ if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0, controller_Button__C115874_VT);
37204
37204
  r0 = s.arg0.fields["_pressed"];
37205
37205
  s.tmp_1 = r0;
37206
37206
  r0 = (s.tmp_1 != s.arg1);
@@ -37283,7 +37283,7 @@ switch (step) {
37283
37283
  s.lambdaArgs = null;
37284
37284
  }
37285
37285
  r0 = s.arg0;
37286
- if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0);
37286
+ if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0, controller_Button__C115874_VT);
37287
37287
  r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___115898);
37288
37288
  if (!r0) { step = 1; continue; }
37289
37289
  r0 = s.arg0.fields["id"];
@@ -37329,7 +37329,7 @@ switch (step) {
37329
37329
  s.lambdaArgs = null;
37330
37330
  }
37331
37331
  r0 = s.arg0;
37332
- if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0);
37332
+ if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0, controller_Button__C115874_VT);
37333
37333
  r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___115898);
37334
37334
  if (!r0) { step = 1; continue; }
37335
37335
  r0 = s.arg0.fields["id"];
@@ -37428,7 +37428,7 @@ switch (step) {
37428
37428
  s.lambdaArgs = null;
37429
37429
  }
37430
37430
  r0 = s.arg0;
37431
- if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0);
37431
+ if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0, controller_Controller__C115840_VT);
37432
37432
  r0 = s.arg0.fields["_id"];
37433
37433
  return leaveAccessor(s, r0)
37434
37434
  default: oops()
@@ -37463,7 +37463,7 @@ switch (step) {
37463
37463
  s.lambdaArgs = null;
37464
37464
  }
37465
37465
  r0 = s.arg0;
37466
- if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0);
37466
+ if (!checkSubtype(r0, controller_Controller__C115840_VT)) failedCast(r0, controller_Controller__C115840_VT);
37467
37467
  r0 = s.arg0.fields["_connected"];
37468
37468
  return leaveAccessor(s, r0)
37469
37469
  default: oops()
@@ -37882,7 +37882,7 @@ switch (step) {
37882
37882
  s.lambdaArgs = null;
37883
37883
  }
37884
37884
  r0 = s.arg0;
37885
- if (!checkSubtype(r0, particles_ShapeFactory__C117068_VT)) failedCast(r0);
37885
+ if (!checkSubtype(r0, particles_ShapeFactory__C117068_VT)) failedCast(r0, particles_ShapeFactory__C117068_VT);
37886
37886
  s.tmp_0 = particles_AreaFactory_createParticle__P117060_mk(s);
37887
37887
  s.tmp_0.arg0 = s.arg0;
37888
37888
  s.tmp_0.arg1 = s.arg1;
@@ -37941,7 +37941,7 @@ switch (step) {
37941
37941
  s.lambdaArgs = null;
37942
37942
  }
37943
37943
  r0 = s.arg0;
37944
- if (!checkSubtype(r0, particles_AreaFactory__C117058_VT)) failedCast(r0);
37944
+ if (!checkSubtype(r0, particles_AreaFactory__C117058_VT)) failedCast(r0, particles_AreaFactory__C117058_VT);
37945
37945
  s.tmp_0 = particles_SprayFactory_createParticle__P117053_mk(s);
37946
37946
  s.tmp_0.arg0 = s.arg0;
37947
37947
  s.tmp_0.arg1 = s.arg1;
@@ -38128,7 +38128,7 @@ switch (step) {
38128
38128
  s.lambdaArgs = null;
38129
38129
  }
38130
38130
  r0 = s.arg0;
38131
- if (!checkSubtype(r0, particles_SprayFactory__C117051_VT)) failedCast(r0);
38131
+ if (!checkSubtype(r0, particles_SprayFactory__C117051_VT)) failedCast(r0, particles_SprayFactory__C117051_VT);
38132
38132
  s.tmp_0 = particles_ParticleFactory_createParticle__P117048_mk(s);
38133
38133
  s.tmp_0.arg0 = s.arg0;
38134
38134
  s.tmp_0.arg1 = s.arg1;
@@ -38212,7 +38212,7 @@ switch (step) {
38212
38212
  s.lambdaArgs = null;
38213
38213
  }
38214
38214
  r0 = s.arg0;
38215
- if (!checkSubtype(r0, music_Melody__C115282_VT)) failedCast(r0);
38215
+ if (!checkSubtype(r0, music_Melody__C115282_VT)) failedCast(r0, music_Melody__C115282_VT);
38216
38216
  r0 = s.arg0.fields["_text"];
38217
38217
  return leave(s, r0)
38218
38218
  default: oops()
@@ -38249,7 +38249,7 @@ switch (step) {
38249
38249
  s.lambdaArgs = null;
38250
38250
  }
38251
38251
  r0 = s.arg0;
38252
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C115969_VT)) failedCast(r0);
38252
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C115969_VT)) failedCast(r0, sprites_RotatedBoundingBox__C115969_VT);
38253
38253
  r0 = (s.arg0).fields["anchor"] = (s.arg1);
38254
38254
  s.tmp_0 = r0 = s.arg0;
38255
38255
  r0 = pxsim_Array__mk();
@@ -38301,7 +38301,7 @@ switch (step) {
38301
38301
  s.lambdaArgs = null;
38302
38302
  }
38303
38303
  r0 = s.arg0;
38304
- if (!checkSubtype(r0, sprites_SpriteSet__C116110_VT)) failedCast(r0);
38304
+ if (!checkSubtype(r0, sprites_SpriteSet__C116110_VT)) failedCast(r0, sprites_SpriteSet__C116110_VT);
38305
38305
  r0 = pxsim_String_.mkEmpty();
38306
38306
  s.tmp_1 = r0;
38307
38307
  r0 = s.arg0.fields["_sprites"];
@@ -38357,7 +38357,7 @@ switch (step) {
38357
38357
  s.lambdaArgs = null;
38358
38358
  }
38359
38359
  r0 = s.arg0;
38360
- if (!checkSubtype(r0, sprites_SpriteSet__C116110_VT)) failedCast(r0);
38360
+ if (!checkSubtype(r0, sprites_SpriteSet__C116110_VT)) failedCast(r0, sprites_SpriteSet__C116110_VT);
38361
38361
  r0 = s.arg0.fields["_sprites"];
38362
38362
  s.tmp_0 = r0;
38363
38363
  r0 = pxsim_Array__length(s.tmp_0);
@@ -38395,7 +38395,7 @@ switch (step) {
38395
38395
  s.lambdaArgs = null;
38396
38396
  }
38397
38397
  r0 = s.arg0;
38398
- if (!checkSubtype(r0, sprites_SpriteMap__C116093_VT)) failedCast(r0);
38398
+ if (!checkSubtype(r0, sprites_SpriteMap__C116093_VT)) failedCast(r0, sprites_SpriteMap__C116093_VT);
38399
38399
  r0 = pxsim_String_.mkEmpty();
38400
38400
  s.tmp_3 = r0;
38401
38401
  r0 = s.arg0.fields["buckets"];
@@ -38527,7 +38527,7 @@ switch (step) {
38527
38527
  s.lambdaArgs = null;
38528
38528
  }
38529
38529
  r0 = s.arg0;
38530
- if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0);
38530
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0, ArcadePhysicsEngine__C116197_VT);
38531
38531
  r0 = s.arg1.fields["_x"];
38532
38532
  s.tmp_0 = r0;
38533
38533
  r0 = (s.arg1).fields["_lastX"] = (s.tmp_0);
@@ -38745,7 +38745,7 @@ switch (step) {
38745
38745
  s.lambdaArgs = null;
38746
38746
  }
38747
38747
  r0 = s.arg0;
38748
- if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0);
38748
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0, ArcadePhysicsEngine__C116197_VT);
38749
38749
  r0 = s.arg1.fields["_image"];
38750
38750
  s.tmp_3 = r0;
38751
38751
  r0 = pxsim_ImageMethods.isStatic(s.tmp_3);
@@ -38758,7 +38758,7 @@ switch (step) {
38758
38758
  if (!r0) { step = 1; continue; }
38759
38759
  s.tmp_4 = Sprite__C116000_v4_1_mk(s);
38760
38760
  s.tmp_4.arg0 = s.arg1;
38761
- if (!checkSubtype(s.tmp_4.arg0, Sprite__C116000_VT)) failedCast(s.tmp_4.arg0);
38761
+ if (!checkSubtype(s.tmp_4.arg0, Sprite__C116000_VT)) failedCast(s.tmp_4.arg0, Sprite__C116000_VT);
38762
38762
  s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox;
38763
38763
  s.pc = 20; return s.tmp_4;
38764
38764
  case 20:
@@ -39044,7 +39044,7 @@ switch (step) {
39044
39044
  s.lambdaArgs = null;
39045
39045
  }
39046
39046
  r0 = s.arg0;
39047
- if (!checkSubtype(r0, game_Hitbox__C115912_VT)) failedCast(r0);
39047
+ if (!checkSubtype(r0, game_Hitbox__C115912_VT)) failedCast(r0, game_Hitbox__C115912_VT);
39048
39048
  r0 = s.arg0.fields["height"];
39049
39049
  s.tmp_1 = r0;
39050
39050
  s.tmp_3 = game_Hitbox_top__P115914_mk(s);
@@ -39093,7 +39093,7 @@ switch (step) {
39093
39093
  s.lambdaArgs = null;
39094
39094
  }
39095
39095
  r0 = s.arg0;
39096
- if (!checkSubtype(r0, game_Hitbox__C115912_VT)) failedCast(r0);
39096
+ if (!checkSubtype(r0, game_Hitbox__C115912_VT)) failedCast(r0, game_Hitbox__C115912_VT);
39097
39097
  r0 = s.arg0.fields["oy"];
39098
39098
  s.tmp_0 = r0;
39099
39099
  r0 = s.arg0.fields["parent"];
@@ -39135,7 +39135,7 @@ switch (step) {
39135
39135
  s.lambdaArgs = null;
39136
39136
  }
39137
39137
  r0 = s.arg0;
39138
- if (!checkSubtype(r0, game_Hitbox__C115912_VT)) failedCast(r0);
39138
+ if (!checkSubtype(r0, game_Hitbox__C115912_VT)) failedCast(r0, game_Hitbox__C115912_VT);
39139
39139
  r0 = s.arg0.fields["width"];
39140
39140
  s.tmp_1 = r0;
39141
39141
  s.tmp_3 = game_Hitbox_left__P115913_mk(s);
@@ -39184,7 +39184,7 @@ switch (step) {
39184
39184
  s.lambdaArgs = null;
39185
39185
  }
39186
39186
  r0 = s.arg0;
39187
- if (!checkSubtype(r0, game_Hitbox__C115912_VT)) failedCast(r0);
39187
+ if (!checkSubtype(r0, game_Hitbox__C115912_VT)) failedCast(r0, game_Hitbox__C115912_VT);
39188
39188
  r0 = s.arg0.fields["ox"];
39189
39189
  s.tmp_0 = r0;
39190
39190
  r0 = s.arg0.fields["parent"];
@@ -39226,7 +39226,7 @@ switch (step) {
39226
39226
  s.lambdaArgs = null;
39227
39227
  }
39228
39228
  r0 = s.arg0;
39229
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
39229
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
39230
39230
  r0 = s.arg0.fields["_image"];
39231
39231
  s.tmp_0 = r0;
39232
39232
  r0 = pxsim_ImageMethods.isStatic(s.tmp_0);
@@ -39271,7 +39271,7 @@ switch (step) {
39271
39271
  s.lambdaArgs = null;
39272
39272
  }
39273
39273
  r0 = s.arg0;
39274
- if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0);
39274
+ if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0, tiles_TileMap__C116432_VT);
39275
39275
  r0 = s.arg1.fields["_hitbox"];
39276
39276
  s.hbox___127982 = (r0);
39277
39277
  s.tmp_1 = game_Hitbox_left__P115913_mk(s);
@@ -39404,7 +39404,7 @@ switch (step) {
39404
39404
  s.lambdaArgs = null;
39405
39405
  }
39406
39406
  r0 = s.arg0;
39407
- if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0);
39407
+ if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0, tiles_TileMap__C116432_VT);
39408
39408
  r0 = s.arg0.fields["_map"];
39409
39409
  s.tmp_6 = r0;
39410
39410
  r0 = pxsim_numops_toBoolDecr(s.tmp_6);
@@ -39496,7 +39496,7 @@ switch (step) {
39496
39496
  s.lambdaArgs = null;
39497
39497
  }
39498
39498
  r0 = s.arg0;
39499
- if (!checkSubtype(r0, tiles_TileMapData__C116417_VT)) failedCast(r0);
39499
+ if (!checkSubtype(r0, tiles_TileMapData__C116417_VT)) failedCast(r0, tiles_TileMapData__C116417_VT);
39500
39500
  r0 = s.arg0.fields["layers"];
39501
39501
  s.tmp_1 = r0;
39502
39502
  r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.arg1, s.arg2);
@@ -39540,7 +39540,7 @@ switch (step) {
39540
39540
  s.lambdaArgs = null;
39541
39541
  }
39542
39542
  r0 = s.arg0;
39543
- if (!checkSubtype(r0, tiles_TileMapData__C116417_VT)) failedCast(r0);
39543
+ if (!checkSubtype(r0, tiles_TileMapData__C116417_VT)) failedCast(r0, tiles_TileMapData__C116417_VT);
39544
39544
  r0 = (s.arg1 < 0);
39545
39545
  s.tmp_0 = r0;
39546
39546
  r0 = pxsim_numops_toBool(s.tmp_0);
@@ -39652,7 +39652,7 @@ switch (step) {
39652
39652
  s.lambdaArgs = null;
39653
39653
  }
39654
39654
  r0 = s.arg0;
39655
- if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0);
39655
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0, ArcadePhysicsEngine__C116197_VT);
39656
39656
  r0 = s.arg1.fields["sprite"];
39657
39657
  s.s___128076 = (r0);
39658
39658
  r0 = s.s___128076.fields["flags"];
@@ -39696,7 +39696,7 @@ switch (step) {
39696
39696
  if (!r0) { step = 5; continue; }
39697
39697
  s.tmp_4 = Sprite__C116000_v4_1_mk(s);
39698
39698
  s.tmp_4.arg0 = s.s___128076;
39699
- if (!checkSubtype(s.tmp_4.arg0, Sprite__C116000_VT)) failedCast(s.tmp_4.arg0);
39699
+ if (!checkSubtype(s.tmp_4.arg0, Sprite__C116000_VT)) failedCast(s.tmp_4.arg0, Sprite__C116000_VT);
39700
39700
  s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox;
39701
39701
  s.pc = 98; return s.tmp_4;
39702
39702
  case 98:
@@ -40780,7 +40780,7 @@ switch (step) {
40780
40780
  s.lambdaArgs = null;
40781
40781
  }
40782
40782
  r0 = s.arg0;
40783
- if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0);
40783
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0, ArcadePhysicsEngine__C116197_VT);
40784
40784
  r0 = pxsim_Array__mk();
40785
40785
  s.alreadyHandled___128608 = (r0);
40786
40786
  s.tile___128611 = (undefined);
@@ -41139,7 +41139,7 @@ switch (step) {
41139
41139
  s.lambdaArgs = null;
41140
41140
  }
41141
41141
  r0 = s.arg0;
41142
- if (!checkSubtype(r0, tiles_Location__C116389_VT)) failedCast(r0);
41142
+ if (!checkSubtype(r0, tiles_Location__C116389_VT)) failedCast(r0, tiles_Location__C116389_VT);
41143
41143
  s.tmp_0 = tiles_TileMap_getTileIndex__P116445_mk(s);
41144
41144
  s.tmp_1 = tiles_Location_tileMap__P116390_mk(s);
41145
41145
  s.tmp_1.arg0 = s.arg0;
@@ -41189,7 +41189,7 @@ switch (step) {
41189
41189
  s.lambdaArgs = null;
41190
41190
  }
41191
41191
  r0 = s.arg0;
41192
- if (!checkSubtype(r0, tiles_Location__C116389_VT)) failedCast(r0);
41192
+ if (!checkSubtype(r0, tiles_Location__C116389_VT)) failedCast(r0, tiles_Location__C116389_VT);
41193
41193
  s.tmp_0 = game_currentScene__P115770_mk(s);
41194
41194
  s.callLocIdx = 904; s.pc = 1; return s.tmp_0;
41195
41195
  case 1:
@@ -41231,7 +41231,7 @@ switch (step) {
41231
41231
  s.lambdaArgs = null;
41232
41232
  }
41233
41233
  r0 = s.arg0;
41234
- if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0);
41234
+ if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0, tiles_TileMap__C116432_VT);
41235
41235
  s.tmp_0 = tiles_TileMapData_getTile__P116422_mk(s);
41236
41236
  r0 = s.arg0.fields["_map"];
41237
41237
  s.tmp_0.arg0 = r0;
@@ -41277,7 +41277,7 @@ switch (step) {
41277
41277
  s.lambdaArgs = null;
41278
41278
  }
41279
41279
  r0 = s.arg0;
41280
- if (!checkSubtype(r0, tiles_TileMapData__C116417_VT)) failedCast(r0);
41280
+ if (!checkSubtype(r0, tiles_TileMapData__C116417_VT)) failedCast(r0, tiles_TileMapData__C116417_VT);
41281
41281
  s.tmp_1 = tiles_TileMapData_isOutsideMap__P116428_mk(s);
41282
41282
  s.tmp_1.arg0 = s.arg0;
41283
41283
  s.tmp_1.arg1 = s.arg1;
@@ -41352,7 +41352,7 @@ switch (step) {
41352
41352
  s.lambdaArgs = null;
41353
41353
  }
41354
41354
  r0 = s.arg0;
41355
- if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0);
41355
+ if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0, tiles_TileMap__C116432_VT);
41356
41356
  s.tmp_0 = tiles_TileMapData_getTileImage__P116425_mk(s);
41357
41357
  r0 = s.arg0.fields["_map"];
41358
41358
  s.tmp_0.arg0 = r0;
@@ -41398,7 +41398,7 @@ switch (step) {
41398
41398
  s.lambdaArgs = null;
41399
41399
  }
41400
41400
  r0 = s.arg0;
41401
- if (!checkSubtype(r0, tiles_TileMapData__C116417_VT)) failedCast(r0);
41401
+ if (!checkSubtype(r0, tiles_TileMapData__C116417_VT)) failedCast(r0, tiles_TileMapData__C116417_VT);
41402
41402
  r0 = s.arg0.fields["_scale"];
41403
41403
  s.tmp_0 = r0;
41404
41404
  r0 = (1 << s.tmp_0);
@@ -41491,7 +41491,7 @@ switch (step) {
41491
41491
  s.lambdaArgs = null;
41492
41492
  }
41493
41493
  r0 = s.arg0;
41494
- if (!checkSubtype(r0, tiles_TileMapData__C116417_VT)) failedCast(r0);
41494
+ if (!checkSubtype(r0, tiles_TileMapData__C116417_VT)) failedCast(r0, tiles_TileMapData__C116417_VT);
41495
41495
  r0 = s.arg0.fields["_scale"];
41496
41496
  return leaveAccessor(s, r0)
41497
41497
  default: oops()
@@ -41526,7 +41526,7 @@ switch (step) {
41526
41526
  s.lambdaArgs = null;
41527
41527
  }
41528
41528
  r0 = s.arg0;
41529
- if (!checkSubtype(r0, tiles_Location__C116389_VT)) failedCast(r0);
41529
+ if (!checkSubtype(r0, tiles_Location__C116389_VT)) failedCast(r0, tiles_Location__C116389_VT);
41530
41530
  r0 = s.arg0.fields["_row"];
41531
41531
  return leaveAccessor(s, r0)
41532
41532
  default: oops()
@@ -41561,7 +41561,7 @@ switch (step) {
41561
41561
  s.lambdaArgs = null;
41562
41562
  }
41563
41563
  r0 = s.arg0;
41564
- if (!checkSubtype(r0, tiles_Location__C116389_VT)) failedCast(r0);
41564
+ if (!checkSubtype(r0, tiles_Location__C116389_VT)) failedCast(r0, tiles_Location__C116389_VT);
41565
41565
  r0 = s.arg0.fields["_col"];
41566
41566
  return leaveAccessor(s, r0)
41567
41567
  default: oops()
@@ -41598,7 +41598,7 @@ switch (step) {
41598
41598
  s.lambdaArgs = null;
41599
41599
  }
41600
41600
  r0 = s.arg0;
41601
- if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0);
41601
+ if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0, tiles_TileMap__C116432_VT);
41602
41602
  r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C116389_VT);
41603
41603
  s.tmp_0 = r0;
41604
41604
  s.tmp_1 = tiles_Location_constructor__P116406_mk(s);
@@ -41649,7 +41649,7 @@ switch (step) {
41649
41649
  s.lambdaArgs = null;
41650
41650
  }
41651
41651
  r0 = s.arg0;
41652
- if (!checkSubtype(r0, tiles_Location__C116389_VT)) failedCast(r0);
41652
+ if (!checkSubtype(r0, tiles_Location__C116389_VT)) failedCast(r0, tiles_Location__C116389_VT);
41653
41653
  r0 = (s.arg0).fields["_col"] = (s.arg1);
41654
41654
  r0 = (s.arg0).fields["_row"] = (s.arg2);
41655
41655
  r0 = undefined;
@@ -41746,7 +41746,7 @@ switch (step) {
41746
41746
  s.lambdaArgs = null;
41747
41747
  }
41748
41748
  r0 = s.arg0;
41749
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
41749
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
41750
41750
  r0 = s.arg0.fields["_obstacles"];
41751
41751
  s.tmp_0 = r0;
41752
41752
  r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.arg2);
@@ -42177,7 +42177,7 @@ switch (step) {
42177
42177
  s.lambdaArgs = null;
42178
42178
  }
42179
42179
  r0 = s.arg0;
42180
- if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0);
42180
+ if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0, tiles_TileMap__C116432_VT);
42181
42181
  s.tmp_1 = tiles_TileMapData_isOutsideMap__P116428_mk(s);
42182
42182
  r0 = s.arg0.fields["_map"];
42183
42183
  s.tmp_1.arg0 = r0;
@@ -42276,7 +42276,7 @@ switch (step) {
42276
42276
  s.lambdaArgs = null;
42277
42277
  }
42278
42278
  r0 = s.arg0;
42279
- if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0);
42279
+ if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0, tiles_TileMap__C116432_VT);
42280
42280
  r0 = s.arg0.fields["_layer"];
42281
42281
  return leaveAccessor(s, r0)
42282
42282
  default: oops()
@@ -42316,7 +42316,7 @@ switch (step) {
42316
42316
  s.lambdaArgs = null;
42317
42317
  }
42318
42318
  r0 = s.arg0;
42319
- if (!checkSubtype(r0, sprites_StaticObstacle__C116138_VT)) failedCast(r0);
42319
+ if (!checkSubtype(r0, sprites_StaticObstacle__C116138_VT)) failedCast(r0, sprites_StaticObstacle__C116138_VT);
42320
42320
  r0 = (s.arg0).fields["image"] = (s.arg1);
42321
42321
  r0 = (s.arg0).fields["layer"] = (s.arg4);
42322
42322
  r0 = (s.arg0).fields["top"] = (s.arg2);
@@ -42367,7 +42367,7 @@ switch (step) {
42367
42367
  s.lambdaArgs = null;
42368
42368
  }
42369
42369
  r0 = s.arg0;
42370
- if (!checkSubtype(r0, MovingSprite__C116195_VT)) failedCast(r0);
42370
+ if (!checkSubtype(r0, MovingSprite__C116195_VT)) failedCast(r0, MovingSprite__C116195_VT);
42371
42371
  r0 = (s.arg0).fields["sprite"] = (s.arg1);
42372
42372
  r0 = (s.arg0).fields["cachedVx"] = (s.arg2);
42373
42373
  r0 = (s.arg0).fields["cachedVy"] = (s.arg3);
@@ -42435,7 +42435,7 @@ switch (step) {
42435
42435
  s.lambdaArgs = null;
42436
42436
  }
42437
42437
  r0 = s.arg0;
42438
- if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0);
42438
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0, ArcadePhysicsEngine__C116197_VT);
42439
42439
  s.tmp_0 = Math_min__P114905_mk(s);
42440
42440
  s.tmp_0.arg0 = 100;
42441
42441
  r0 = (s.arg1 * 1000);
@@ -43142,7 +43142,7 @@ switch (step) {
43142
43142
  s.lambdaArgs = null;
43143
43143
  }
43144
43144
  r0 = s.arg0;
43145
- if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0);
43145
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0, ArcadePhysicsEngine__C116197_VT);
43146
43146
  r0 = pxsim_Array__length(s.arg2);
43147
43147
  s.tmp_2 = r0;
43148
43148
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -43594,7 +43594,7 @@ switch (step) {
43594
43594
  s.lambdaArgs = null;
43595
43595
  }
43596
43596
  r0 = s.arg0;
43597
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
43597
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
43598
43598
  r0 = (s.arg1 == s.arg0);
43599
43599
  s.tmp_0 = r0;
43600
43600
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -44390,7 +44390,7 @@ switch (step) {
44390
44390
  s.lambdaArgs = null;
44391
44391
  }
44392
44392
  r0 = s.arg0;
44393
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
44393
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
44394
44394
  r0 = s.arg0.fields["_sx"];
44395
44395
  s.tmp_1 = r0;
44396
44396
  r0 = (s.tmp_1 !== 256);
@@ -44511,7 +44511,7 @@ switch (step) {
44511
44511
  s.lambdaArgs = null;
44512
44512
  }
44513
44513
  r0 = s.arg0;
44514
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
44514
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
44515
44515
  s.tmp_1 = Sprite_top__P116046_mk(s);
44516
44516
  s.tmp_1.arg0 = s.arg0;
44517
44517
  s.callLocIdx = 452; s.pc = 1; return s.tmp_1;
@@ -44562,7 +44562,7 @@ switch (step) {
44562
44562
  s.lambdaArgs = null;
44563
44563
  }
44564
44564
  r0 = s.arg0;
44565
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
44565
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
44566
44566
  s.tmp_1 = Sprite_left__P116042_mk(s);
44567
44567
  s.tmp_1.arg0 = s.arg0;
44568
44568
  s.callLocIdx = 444; s.pc = 1; return s.tmp_1;
@@ -44617,7 +44617,7 @@ switch (step) {
44617
44617
  s.lambdaArgs = null;
44618
44618
  }
44619
44619
  r0 = s.arg0;
44620
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C115969_VT)) failedCast(r0);
44620
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C115969_VT)) failedCast(r0, sprites_RotatedBoundingBox__C115969_VT);
44621
44621
  r0 = pxsim_numops_toBoolDecr(globals.aabbPoints___115968);
44622
44622
  s.tmp_1 = r0;
44623
44623
  r0 = pxsim_Boolean__bang(s.tmp_1);
@@ -45104,7 +45104,7 @@ switch (step) {
45104
45104
  s.lambdaArgs = null;
45105
45105
  }
45106
45106
  r0 = s.arg0;
45107
- if (!checkSubtype(r0, sprites_RotatedBoundingBox__C115969_VT)) failedCast(r0);
45107
+ if (!checkSubtype(r0, sprites_RotatedBoundingBox__C115969_VT)) failedCast(r0, sprites_RotatedBoundingBox__C115969_VT);
45108
45108
  s.tmp_0 = sprites_doRectanglesIntersect__P115988_mk(s);
45109
45109
  r0 = s.arg0.fields["points"];
45110
45110
  s.tmp_0.arg0 = r0;
@@ -45180,7 +45180,7 @@ switch (step) {
45180
45180
  s.lambdaArgs = null;
45181
45181
  }
45182
45182
  r0 = s.arg0;
45183
- if (!checkSubtype(r0, game_Hitbox__C115912_VT)) failedCast(r0);
45183
+ if (!checkSubtype(r0, game_Hitbox__C115912_VT)) failedCast(r0, game_Hitbox__C115912_VT);
45184
45184
  s.tmp_0 = game_Hitbox_updateIfInvalid__P115919_mk(s);
45185
45185
  s.tmp_0.arg0 = s.arg0;
45186
45186
  s.callLocIdx = 304; s.pc = 10; return s.tmp_0;
@@ -45334,7 +45334,7 @@ switch (step) {
45334
45334
  s.lambdaArgs = null;
45335
45335
  }
45336
45336
  r0 = s.arg0;
45337
- if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0);
45337
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0, ArcadePhysicsEngine__C116197_VT);
45338
45338
  r0 = s.arg1.fields["sprite"];
45339
45339
  s.s___130052 = (r0);
45340
45340
  r0 = s.s___130052.fields["_image"];
@@ -45349,7 +45349,7 @@ switch (step) {
45349
45349
  if (!r0) { step = 1; continue; }
45350
45350
  s.tmp_4 = Sprite__C116000_v4_1_mk(s);
45351
45351
  s.tmp_4.arg0 = s.s___130052;
45352
- if (!checkSubtype(s.tmp_4.arg0, Sprite__C116000_VT)) failedCast(s.tmp_4.arg0);
45352
+ if (!checkSubtype(s.tmp_4.arg0, Sprite__C116000_VT)) failedCast(s.tmp_4.arg0, Sprite__C116000_VT);
45353
45353
  s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox;
45354
45354
  s.pc = 21; return s.tmp_4;
45355
45355
  case 21:
@@ -45639,7 +45639,7 @@ switch (step) {
45639
45639
  s.lambdaArgs = null;
45640
45640
  }
45641
45641
  r0 = s.arg0;
45642
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
45642
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
45643
45643
  s.tmp_0 = Sprite_top__P116047_mk(s);
45644
45644
  s.tmp_0.arg0 = s.arg0;
45645
45645
  s.tmp_1 = r0 = s.arg1;
@@ -45693,7 +45693,7 @@ switch (step) {
45693
45693
  s.lambdaArgs = null;
45694
45694
  }
45695
45695
  r0 = s.arg0;
45696
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
45696
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
45697
45697
  s.tmp_0 = Sprite_left__P116043_mk(s);
45698
45698
  s.tmp_0.arg0 = s.arg0;
45699
45699
  s.tmp_1 = r0 = s.arg1;
@@ -45746,7 +45746,7 @@ switch (step) {
45746
45746
  s.lambdaArgs = null;
45747
45747
  }
45748
45748
  r0 = s.arg0;
45749
- if (!checkSubtype(r0, scene_Camera__C116479_VT)) failedCast(r0);
45749
+ if (!checkSubtype(r0, scene_Camera__C116479_VT)) failedCast(r0, scene_Camera__C116479_VT);
45750
45750
  r0 = s.arg0.fields["sprite"];
45751
45751
  s.tmp_2 = r0;
45752
45752
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -45843,7 +45843,7 @@ switch (step) {
45843
45843
  s.lambdaArgs = null;
45844
45844
  }
45845
45845
  r0 = s.arg0;
45846
- if (!checkSubtype(r0, sprites_SpriteMap__C116093_VT)) failedCast(r0);
45846
+ if (!checkSubtype(r0, sprites_SpriteMap__C116093_VT)) failedCast(r0, sprites_SpriteMap__C116093_VT);
45847
45847
  s.tmp_0 = Sprite_left__P116042_mk(s);
45848
45848
  s.tmp_0.arg0 = s.arg1;
45849
45849
  s.callLocIdx = 613; s.pc = 5; return s.tmp_0;
@@ -46007,7 +46007,7 @@ switch (step) {
46007
46007
  s.lambdaArgs = null;
46008
46008
  }
46009
46009
  r0 = s.arg0;
46010
- if (!checkSubtype(r0, sprites_SpriteMap__C116093_VT)) failedCast(r0);
46010
+ if (!checkSubtype(r0, sprites_SpriteMap__C116093_VT)) failedCast(r0, sprites_SpriteMap__C116093_VT);
46011
46011
  s.tmp_0 = sprites_SpriteMap_key__P116099_mk(s);
46012
46012
  s.tmp_0.arg0 = s.arg0;
46013
46013
  s.tmp_0.arg1 = s.arg1;
@@ -46094,7 +46094,7 @@ switch (step) {
46094
46094
  s.lambdaArgs = null;
46095
46095
  }
46096
46096
  r0 = s.arg0;
46097
- if (!checkSubtype(r0, sprites_SpriteMap__C116093_VT)) failedCast(r0);
46097
+ if (!checkSubtype(r0, sprites_SpriteMap__C116093_VT)) failedCast(r0, sprites_SpriteMap__C116093_VT);
46098
46098
  s.tmp_0 = Math_clamp__P114901_mk(s);
46099
46099
  s.tmp_0.arg0 = 0;
46100
46100
  r0 = s.arg0.fields["columnCount"];
@@ -46207,7 +46207,7 @@ switch (step) {
46207
46207
  s.lambdaArgs = null;
46208
46208
  }
46209
46209
  r0 = s.arg0;
46210
- if (!checkSubtype(r0, sprites_SpriteMap__C116093_VT)) failedCast(r0);
46210
+ if (!checkSubtype(r0, sprites_SpriteMap__C116093_VT)) failedCast(r0, sprites_SpriteMap__C116093_VT);
46211
46211
  s.maxWidth___130334 = (0);
46212
46212
  s.maxHeight___130335 = (0);
46213
46213
  s.sprite___130337 = (undefined);
@@ -46380,7 +46380,7 @@ switch (step) {
46380
46380
  s.lambdaArgs = null;
46381
46381
  }
46382
46382
  r0 = s.arg0;
46383
- if (!checkSubtype(r0, sprites_SpriteMap__C116093_VT)) failedCast(r0);
46383
+ if (!checkSubtype(r0, sprites_SpriteMap__C116093_VT)) failedCast(r0, sprites_SpriteMap__C116093_VT);
46384
46384
  s.tmp_0 = r0 = s.arg0;
46385
46385
  r0 = pxsim_Array__mk();
46386
46386
  s.tmp_1 = r0;
@@ -46424,7 +46424,7 @@ switch (step) {
46424
46424
  s.lambdaArgs = null;
46425
46425
  }
46426
46426
  r0 = s.arg0;
46427
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
46427
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
46428
46428
  s.tmp_0 = r0 = s.arg0;
46429
46429
  r0 = pxsim_Array__mk();
46430
46430
  s.tmp_1 = r0;
@@ -46477,7 +46477,7 @@ switch (step) {
46477
46477
  s.lambdaArgs = null;
46478
46478
  }
46479
46479
  r0 = s.arg0;
46480
- if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0);
46480
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0, ArcadePhysicsEngine__C116197_VT);
46481
46481
  s.tmp_0 = ArcadePhysicsEngine_constrain__P116218_mk(s);
46482
46482
  s.tmp_0.arg0 = s.arg0;
46483
46483
  r0 = s.arg1.fields["_vx"];
@@ -46871,7 +46871,7 @@ switch (step) {
46871
46871
  s.lambdaArgs = null;
46872
46872
  }
46873
46873
  r0 = s.arg0;
46874
- if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0);
46874
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0, ArcadePhysicsEngine__C116197_VT);
46875
46875
  s.tmp_0 = Fx_max__P114950_mk(s);
46876
46876
  s.tmp_1 = Fx_min__P114949_mk(s);
46877
46877
  r0 = s.arg0.fields["maxVelocity"];
@@ -46991,7 +46991,7 @@ switch (step) {
46991
46991
  s.lambdaArgs = null;
46992
46992
  }
46993
46993
  r0 = s.arg0;
46994
- if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0);
46994
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0, ArcadePhysicsEngine__C116197_VT);
46995
46995
  s.tmp_0 = sprites_SpriteMap_draw__P116096_mk(s);
46996
46996
  r0 = s.arg0.fields["map"];
46997
46997
  s.tmp_0.arg0 = r0;
@@ -47038,7 +47038,7 @@ switch (step) {
47038
47038
  s.lambdaArgs = null;
47039
47039
  }
47040
47040
  r0 = s.arg0;
47041
- if (!checkSubtype(r0, sprites_SpriteMap__C116093_VT)) failedCast(r0);
47041
+ if (!checkSubtype(r0, sprites_SpriteMap__C116093_VT)) failedCast(r0, sprites_SpriteMap__C116093_VT);
47042
47042
  s.x___130658 = (0);
47043
47043
  case 1:
47044
47044
  r0 = s.arg0.fields["columnCount"];
@@ -47152,7 +47152,7 @@ switch (step) {
47152
47152
  s.lambdaArgs = null;
47153
47153
  }
47154
47154
  r0 = s.arg0;
47155
- if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0);
47155
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0, ArcadePhysicsEngine__C116197_VT);
47156
47156
  r0 = s.arg0.fields["sprites"];
47157
47157
  s.tmp_0 = r0;
47158
47158
  r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg1);
@@ -47193,7 +47193,7 @@ switch (step) {
47193
47193
  s.lambdaArgs = null;
47194
47194
  }
47195
47195
  r0 = s.arg0;
47196
- if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0);
47196
+ if (!checkSubtype(r0, ArcadePhysicsEngine__C116197_VT)) failedCast(r0, ArcadePhysicsEngine__C116197_VT);
47197
47197
  r0 = s.arg0.fields["sprites"];
47198
47198
  s.tmp_0 = r0;
47199
47199
  r0 = pxsim_Array__push(s.tmp_0, s.arg1);
@@ -47273,7 +47273,7 @@ switch (step) {
47273
47273
  s.lambdaArgs = null;
47274
47274
  }
47275
47275
  r0 = s.arg0;
47276
- if (!checkSubtype(r0, tiles_TileMapData__C116417_VT)) failedCast(r0);
47276
+ if (!checkSubtype(r0, tiles_TileMapData__C116417_VT)) failedCast(r0, tiles_TileMapData__C116417_VT);
47277
47277
  r0 = (s.arg0).fields["data"] = (s.arg1);
47278
47278
  r0 = (s.arg0).fields["layers"] = (s.arg2);
47279
47279
  r0 = (s.arg0).fields["tileset"] = (s.arg3);
@@ -47331,7 +47331,7 @@ switch (step) {
47331
47331
  s.lambdaArgs = null;
47332
47332
  }
47333
47333
  r0 = s.arg0;
47334
- if (!checkSubtype(r0, tiles_TileMapData__C116417_VT)) failedCast(r0);
47334
+ if (!checkSubtype(r0, tiles_TileMapData__C116417_VT)) failedCast(r0, tiles_TileMapData__C116417_VT);
47335
47335
  r0 = (s.arg0).fields["_scale"] = (s.arg1);
47336
47336
  s.tmp_0 = r0 = s.arg0;
47337
47337
  r0 = pxsim_Array__mk();
@@ -47374,7 +47374,7 @@ switch (step) {
47374
47374
  s.lambdaArgs = null;
47375
47375
  }
47376
47376
  r0 = s.arg0;
47377
- if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0);
47377
+ if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0, tiles_TileMap__C116432_VT);
47378
47378
  r0 = (s.arg0).fields["_layer"] = (1);
47379
47379
  s.tmp_0 = tiles_TileMap_scale__P116434_mk(s);
47380
47380
  s.tmp_0.arg0 = s.arg0;
@@ -47492,7 +47492,7 @@ switch (step) {
47492
47492
  s.lambdaArgs = null;
47493
47493
  }
47494
47494
  r0 = s.arg0;
47495
- if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0);
47495
+ if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0, tiles_TileMap__C116432_VT);
47496
47496
  r0 = s.arg0.fields["_map"];
47497
47497
  s.tmp_6 = r0;
47498
47498
  r0 = pxsim_numops_toBoolDecr(s.tmp_6);
@@ -47812,7 +47812,7 @@ switch (step) {
47812
47812
  s.lambdaArgs = null;
47813
47813
  }
47814
47814
  r0 = s.arg0;
47815
- if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0);
47815
+ if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0, tiles_TileMap__C116432_VT);
47816
47816
  r0 = (s.arg0).fields["_scale"] = (s.arg1);
47817
47817
  r0 = s.arg0.fields["_map"];
47818
47818
  s.tmp_0 = r0;
@@ -47863,7 +47863,7 @@ switch (step) {
47863
47863
  s.lambdaArgs = null;
47864
47864
  }
47865
47865
  r0 = s.arg0;
47866
- if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0);
47866
+ if (!checkSubtype(r0, tiles_TileMap__C116432_VT)) failedCast(r0, tiles_TileMap__C116432_VT);
47867
47867
  r0 = s.arg0.fields["_map"];
47868
47868
  return leaveAccessor(s, r0)
47869
47869
  default: oops()
@@ -47898,7 +47898,7 @@ switch (step) {
47898
47898
  s.lambdaArgs = null;
47899
47899
  }
47900
47900
  r0 = s.arg0;
47901
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
47901
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
47902
47902
  r0 = pxsim_String_.mkEmpty();
47903
47903
  s.tmp_9 = r0;
47904
47904
  r0 = s.arg0.fields["id"];
@@ -48049,7 +48049,7 @@ switch (step) {
48049
48049
  s.lambdaArgs = null;
48050
48050
  }
48051
48051
  r0 = s.arg0;
48052
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
48052
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
48053
48053
  r0 = s.arg0.fields["lifespan"];
48054
48054
  s.tmp_1 = r0;
48055
48055
  r0 = (s.tmp_1 !== undefined);
@@ -48119,7 +48119,7 @@ switch (step) {
48119
48119
  s.tmp_1.arg1 = s.arg2;
48120
48120
  s.tmp_1.arg2 = s.arg1;
48121
48121
  s.tmp_1.arg3 = s.arg0;
48122
- if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C115953_VT)) failedCast(s.tmp_1.arg0);
48122
+ if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C115953_VT)) failedCast(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C115953_VT);
48123
48123
  s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.update;
48124
48124
  s.pc = 14; return s.tmp_1;
48125
48125
  case 14:
@@ -48170,7 +48170,7 @@ switch (step) {
48170
48170
  s.lambdaArgs = null;
48171
48171
  }
48172
48172
  r0 = s.arg0;
48173
- if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C115953_VT)) failedCast(r0);
48173
+ if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C115953_VT)) failedCast(r0, sprites_BaseSpriteSayRenderer__C115953_VT);
48174
48174
  r0 = undefined;
48175
48175
  return leave(s, r0)
48176
48176
  default: oops()
@@ -48210,7 +48210,7 @@ switch (step) {
48210
48210
  s.lambdaArgs = null;
48211
48211
  }
48212
48212
  r0 = s.arg0;
48213
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
48213
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
48214
48214
  r0 = s.arg0.fields["flags"];
48215
48215
  s.tmp_1 = r0;
48216
48216
  r0 = (s.tmp_1 & 512);
@@ -48359,7 +48359,7 @@ switch (step) {
48359
48359
  s.lambdaArgs = null;
48360
48360
  }
48361
48361
  r0 = s.arg0;
48362
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
48362
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
48363
48363
  r0 = (s.arg0).fields["_data"] = (s.arg1);
48364
48364
  r0 = undefined;
48365
48365
  return leave(s, r0)
@@ -48395,7 +48395,7 @@ switch (step) {
48395
48395
  s.lambdaArgs = null;
48396
48396
  }
48397
48397
  r0 = s.arg0;
48398
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
48398
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
48399
48399
  r0 = s.arg0.fields["_data"];
48400
48400
  s.tmp_2 = r0;
48401
48401
  r0 = pxsim_numops_toBoolDecr(s.tmp_2);
@@ -48452,7 +48452,7 @@ switch (step) {
48452
48452
  s.lambdaArgs = null;
48453
48453
  }
48454
48454
  r0 = s.arg0;
48455
- if (!checkSubtype(r0, scene_BackgroundLayer__C116386_VT)) failedCast(r0);
48455
+ if (!checkSubtype(r0, scene_BackgroundLayer__C116386_VT)) failedCast(r0, scene_BackgroundLayer__C116386_VT);
48456
48456
  s.tmp_0 = r0 = s.arg0;
48457
48457
  s.tmp_2 = Math_max__P114904_mk(s);
48458
48458
  s.tmp_2.arg0 = 1;
@@ -48535,7 +48535,7 @@ switch (step) {
48535
48535
  s.lambdaArgs = null;
48536
48536
  }
48537
48537
  r0 = s.arg0;
48538
- if (!checkSubtype(r0, scene_Camera__C116479_VT)) failedCast(r0);
48538
+ if (!checkSubtype(r0, scene_Camera__C116479_VT)) failedCast(r0, scene_Camera__C116479_VT);
48539
48539
  r0 = s.arg0.fields["_offsetY"];
48540
48540
  s.tmp_0 = r0;
48541
48541
  r0 = pxsim_ImageMethods.height(globals.screen___115636);
@@ -48579,7 +48579,7 @@ switch (step) {
48579
48579
  s.lambdaArgs = null;
48580
48580
  }
48581
48581
  r0 = s.arg0;
48582
- if (!checkSubtype(r0, scene_Camera__C116479_VT)) failedCast(r0);
48582
+ if (!checkSubtype(r0, scene_Camera__C116479_VT)) failedCast(r0, scene_Camera__C116479_VT);
48583
48583
  r0 = s.arg0.fields["_offsetX"];
48584
48584
  s.tmp_0 = r0;
48585
48585
  r0 = pxsim_ImageMethods.width(globals.screen___115636);
@@ -48623,7 +48623,7 @@ switch (step) {
48623
48623
  s.lambdaArgs = null;
48624
48624
  }
48625
48625
  r0 = s.arg0;
48626
- if (!checkSubtype(r0, scene_Scene__C115762_VT)) failedCast(r0);
48626
+ if (!checkSubtype(r0, scene_Scene__C115762_VT)) failedCast(r0, scene_Scene__C115762_VT);
48627
48627
  r0 = s.arg0.fields["_data"];
48628
48628
  return leaveAccessor(s, r0)
48629
48629
  default: oops()
@@ -48658,7 +48658,7 @@ switch (step) {
48658
48658
  s.lambdaArgs = null;
48659
48659
  }
48660
48660
  r0 = s.arg0;
48661
- if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0);
48661
+ if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0, particles_ParticleSource__C116987_VT);
48662
48662
  r0 = s.arg0.fields["_factory"];
48663
48663
  return leaveAccessor(s, r0)
48664
48664
  default: oops()
@@ -48697,7 +48697,7 @@ switch (step) {
48697
48697
  s.lambdaArgs = null;
48698
48698
  }
48699
48699
  r0 = s.arg0;
48700
- if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0);
48700
+ if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0, particles_ParticleSource__C116987_VT);
48701
48701
  r0 = s.arg0.fields["head"];
48702
48702
  s.current___131192 = (r0);
48703
48703
  r0 = s.arg0.fields["pFlags"];
@@ -48804,7 +48804,7 @@ switch (step) {
48804
48804
  s.lambdaArgs = null;
48805
48805
  }
48806
48806
  r0 = s.arg0;
48807
- if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0);
48807
+ if (!checkSubtype(r0, particles_ParticleSource__C116987_VT)) failedCast(r0, particles_ParticleSource__C116987_VT);
48808
48808
  s.tmp_0 = particles_ParticleFactory__C117047_v1_4_mk(s);
48809
48809
  r0 = s.arg0.fields["_factory"];
48810
48810
  s.tmp_0.arg0 = r0;
@@ -48817,7 +48817,7 @@ switch (step) {
48817
48817
  s.tmp_2 = r0;
48818
48818
  r0 = (s.tmp_2 - s.arg3);
48819
48819
  s.tmp_0.arg3 = r0;
48820
- if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C117047_VT)) failedCast(s.tmp_0.arg0);
48820
+ if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C117047_VT)) failedCast(s.tmp_0.arg0, particles_ParticleFactory__C117047_VT);
48821
48821
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawParticle;
48822
48822
  s.pc = 1; return s.tmp_0;
48823
48823
  case 1:
@@ -48864,7 +48864,7 @@ switch (step) {
48864
48864
  s.lambdaArgs = null;
48865
48865
  }
48866
48866
  r0 = s.arg0;
48867
- if (!checkSubtype(r0, particles_ParticleFactory__C117047_VT)) failedCast(r0);
48867
+ if (!checkSubtype(r0, particles_ParticleFactory__C117047_VT)) failedCast(r0, particles_ParticleFactory__C117047_VT);
48868
48868
  s.tmp_0 = r0 = globals.screen___115636;
48869
48869
  r0 = (s.arg2 + 128);
48870
48870
  s.tmp_2 = r0;
@@ -48918,7 +48918,7 @@ switch (step) {
48918
48918
  s.lambdaArgs = null;
48919
48919
  }
48920
48920
  r0 = s.arg0;
48921
- if (!checkSubtype(r0, sprites_BaseSprite__C115707_VT)) failedCast(r0);
48921
+ if (!checkSubtype(r0, sprites_BaseSprite__C115707_VT)) failedCast(r0, sprites_BaseSprite__C115707_VT);
48922
48922
  r0 = undefined;
48923
48923
  return leave(s, r0)
48924
48924
  default: oops()
@@ -48955,10 +48955,10 @@ switch (step) {
48955
48955
  s.lambdaArgs = null;
48956
48956
  }
48957
48957
  r0 = s.arg0;
48958
- if (!checkSubtype(r0, sprites_BaseSprite__C115707_VT)) failedCast(r0);
48958
+ if (!checkSubtype(r0, sprites_BaseSprite__C115707_VT)) failedCast(r0, sprites_BaseSprite__C115707_VT);
48959
48959
  s.tmp_1 = sprites_BaseSprite__C115707_v0_1_mk(s);
48960
48960
  s.tmp_1.arg0 = s.arg0;
48961
- if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C115707_VT)) failedCast(s.tmp_1.arg0);
48961
+ if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C115707_VT)) failedCast(s.tmp_1.arg0, sprites_BaseSprite__C115707_VT);
48962
48962
  s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.__visible;
48963
48963
  s.pc = 3; return s.tmp_1;
48964
48964
  case 3:
@@ -48969,7 +48969,7 @@ switch (step) {
48969
48969
  s.tmp_2 = sprites_BaseSprite__C115707_v2_2_mk(s);
48970
48970
  s.tmp_2.arg0 = s.arg0;
48971
48971
  s.tmp_2.arg1 = s.arg1;
48972
- if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C115707_VT)) failedCast(s.tmp_2.arg0);
48972
+ if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C115707_VT)) failedCast(s.tmp_2.arg0, sprites_BaseSprite__C115707_VT);
48973
48973
  s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.__drawCore;
48974
48974
  s.pc = 4; return s.tmp_2;
48975
48975
  case 4:
@@ -49014,7 +49014,7 @@ switch (step) {
49014
49014
  s.lambdaArgs = null;
49015
49015
  }
49016
49016
  r0 = s.arg0;
49017
- if (!checkSubtype(r0, sprites_BaseSprite__C115707_VT)) failedCast(r0);
49017
+ if (!checkSubtype(r0, sprites_BaseSprite__C115707_VT)) failedCast(r0, sprites_BaseSprite__C115707_VT);
49018
49018
  r0 = undefined;
49019
49019
  return leave(s, r0)
49020
49020
  default: oops()
@@ -49049,7 +49049,7 @@ switch (step) {
49049
49049
  s.lambdaArgs = null;
49050
49050
  }
49051
49051
  r0 = s.arg0;
49052
- if (!checkSubtype(r0, sprites_BaseSprite__C115707_VT)) failedCast(r0);
49052
+ if (!checkSubtype(r0, sprites_BaseSprite__C115707_VT)) failedCast(r0, sprites_BaseSprite__C115707_VT);
49053
49053
  r0 = true;
49054
49054
  return leave(s, r0)
49055
49055
  default: oops()
@@ -49083,7 +49083,7 @@ switch (step) {
49083
49083
  s.lambdaArgs = null;
49084
49084
  }
49085
49085
  r0 = s.arg0;
49086
- if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0);
49086
+ if (!checkSubtype(r0, net_Controller__C117303_VT)) failedCast(r0, net_Controller__C117303_VT);
49087
49087
  r0 = (s.arg0).fields["_isConnected"] = (false);
49088
49088
  s.tmp_0 = r0 = s.arg0;
49089
49089
  s.tmp_2 = control_allocateEventSource__P115052_mk(s);
@@ -49160,7 +49160,7 @@ switch (step) {
49160
49160
  s.lambdaArgs = null;
49161
49161
  }
49162
49162
  r0 = s.arg0;
49163
- if (!checkSubtype(r0, net_Net__C117372_VT)) failedCast(r0);
49163
+ if (!checkSubtype(r0, net_Net__C117372_VT)) failedCast(r0, net_Net__C117372_VT);
49164
49164
  r0 = (s.arg0).fields["factory"] = (s.arg1);
49165
49165
  globals.net_Net_instance___117378 = (s.arg0);
49166
49166
  r0 = (s.arg0).fields["_controller"] = (undefined);
@@ -49202,7 +49202,7 @@ switch (step) {
49202
49202
  s.lambdaArgs = null;
49203
49203
  }
49204
49204
  r0 = s.arg0;
49205
- if (!checkSubtype(r0, controller_AnyButton__C115872_VT)) failedCast(r0);
49205
+ if (!checkSubtype(r0, controller_AnyButton__C115872_VT)) failedCast(r0, controller_AnyButton__C115872_VT);
49206
49206
  s.tmp_0 = controller__player1__P115835_mk(s);
49207
49207
  s.callLocIdx = 255; s.pc = 6; return s.tmp_0;
49208
49208
  case 6:
@@ -49222,7 +49222,7 @@ switch (step) {
49222
49222
  s.b___131282 = (r0);
49223
49223
  s.tmp_3 = controller_Button__C115874_v0_1_mk(s);
49224
49224
  s.tmp_3.arg0 = s.b___131282;
49225
- if (!checkSubtype(s.tmp_3.arg0, controller_Button__C115874_VT)) failedCast(s.tmp_3.arg0);
49225
+ if (!checkSubtype(s.tmp_3.arg0, controller_Button__C115874_VT)) failedCast(s.tmp_3.arg0, controller_Button__C115874_VT);
49226
49226
  s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isPressed;
49227
49227
  s.pc = 7; return s.tmp_3;
49228
49228
  case 7:
@@ -49281,7 +49281,7 @@ switch (step) {
49281
49281
  s.lambdaArgs = null;
49282
49282
  }
49283
49283
  r0 = s.arg0;
49284
- if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0);
49284
+ if (!checkSubtype(r0, controller_Button__C115874_VT)) failedCast(r0, controller_Button__C115874_VT);
49285
49285
  r0 = s.arg0.fields["_pressed"];
49286
49286
  s.tmp_0 = r0;
49287
49287
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -49360,7 +49360,7 @@ switch (step) {
49360
49360
  s.lambdaArgs = null;
49361
49361
  }
49362
49362
  r0 = s.arg0;
49363
- if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C115953_VT)) failedCast(r0);
49363
+ if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C115953_VT)) failedCast(r0, sprites_BaseSpriteSayRenderer__C115953_VT);
49364
49364
  r0 = (s.arg0).fields["text"] = (s.arg1);
49365
49365
  r0 = (s.arg0).fields["fgColor"] = (s.arg2);
49366
49366
  r0 = (s.arg0).fields["bgColor"] = (s.arg3);
@@ -49400,7 +49400,7 @@ switch (step) {
49400
49400
  s.lambdaArgs = null;
49401
49401
  }
49402
49402
  r0 = s.arg0;
49403
- if (!checkSubtype(r0, sprites_StaticObstacle__C116138_VT)) failedCast(r0);
49403
+ if (!checkSubtype(r0, sprites_StaticObstacle__C116138_VT)) failedCast(r0, sprites_StaticObstacle__C116138_VT);
49404
49404
  r0 = s.arg0.fields["image"];
49405
49405
  s.tmp_0 = r0;
49406
49406
  r0 = pxsim_ImageMethods.width(s.tmp_0);
@@ -49438,7 +49438,7 @@ switch (step) {
49438
49438
  s.lambdaArgs = null;
49439
49439
  }
49440
49440
  r0 = s.arg0;
49441
- if (!checkSubtype(r0, sprites_StaticObstacle__C116138_VT)) failedCast(r0);
49441
+ if (!checkSubtype(r0, sprites_StaticObstacle__C116138_VT)) failedCast(r0, sprites_StaticObstacle__C116138_VT);
49442
49442
  r0 = s.arg0.fields["image"];
49443
49443
  s.tmp_0 = r0;
49444
49444
  r0 = pxsim_ImageMethods.height(s.tmp_0);
@@ -49476,7 +49476,7 @@ switch (step) {
49476
49476
  s.lambdaArgs = null;
49477
49477
  }
49478
49478
  r0 = s.arg0;
49479
- if (!checkSubtype(r0, sprites_StaticObstacle__C116138_VT)) failedCast(r0);
49479
+ if (!checkSubtype(r0, sprites_StaticObstacle__C116138_VT)) failedCast(r0, sprites_StaticObstacle__C116138_VT);
49480
49480
  r0 = s.arg0.fields["top"];
49481
49481
  s.tmp_0 = r0;
49482
49482
  r0 = s.arg0.fields["image"];
@@ -49523,7 +49523,7 @@ switch (step) {
49523
49523
  s.lambdaArgs = null;
49524
49524
  }
49525
49525
  r0 = s.arg0;
49526
- if (!checkSubtype(r0, sprites_StaticObstacle__C116138_VT)) failedCast(r0);
49526
+ if (!checkSubtype(r0, sprites_StaticObstacle__C116138_VT)) failedCast(r0, sprites_StaticObstacle__C116138_VT);
49527
49527
  r0 = s.arg0.fields["left"];
49528
49528
  s.tmp_0 = r0;
49529
49529
  r0 = s.arg0.fields["image"];
@@ -49570,7 +49570,7 @@ switch (step) {
49570
49570
  s.lambdaArgs = null;
49571
49571
  }
49572
49572
  r0 = s.arg0;
49573
- if (!checkSubtype(r0, tiles_Location__C116389_VT)) failedCast(r0);
49573
+ if (!checkSubtype(r0, tiles_Location__C116389_VT)) failedCast(r0, tiles_Location__C116389_VT);
49574
49574
  r0 = s.arg0.fields["_row"];
49575
49575
  s.tmp_0 = r0;
49576
49576
  s.tmp_3 = tiles_Location_tileMap__P116390_mk(s);
@@ -49619,7 +49619,7 @@ switch (step) {
49619
49619
  s.lambdaArgs = null;
49620
49620
  }
49621
49621
  r0 = s.arg0;
49622
- if (!checkSubtype(r0, tiles_Location__C116389_VT)) failedCast(r0);
49622
+ if (!checkSubtype(r0, tiles_Location__C116389_VT)) failedCast(r0, tiles_Location__C116389_VT);
49623
49623
  r0 = s.arg0.fields["_col"];
49624
49624
  s.tmp_0 = r0;
49625
49625
  s.tmp_3 = tiles_Location_tileMap__P116390_mk(s);
@@ -49669,7 +49669,7 @@ switch (step) {
49669
49669
  s.lambdaArgs = null;
49670
49670
  }
49671
49671
  r0 = s.arg0;
49672
- if (!checkSubtype(r0, tiles_Location__C116389_VT)) failedCast(r0);
49672
+ if (!checkSubtype(r0, tiles_Location__C116389_VT)) failedCast(r0, tiles_Location__C116389_VT);
49673
49673
  s.tmp_1 = tiles_Location_tileMap__P116390_mk(s);
49674
49674
  s.tmp_1.arg0 = s.arg0;
49675
49675
  s.callLocIdx = 907; s.pc = 1; return s.tmp_1;
@@ -49726,7 +49726,7 @@ switch (step) {
49726
49726
  s.lambdaArgs = null;
49727
49727
  }
49728
49728
  r0 = s.arg0;
49729
- if (!checkSubtype(r0, tiles_Location__C116389_VT)) failedCast(r0);
49729
+ if (!checkSubtype(r0, tiles_Location__C116389_VT)) failedCast(r0, tiles_Location__C116389_VT);
49730
49730
  s.tmp_1 = tiles_Location_tileMap__P116390_mk(s);
49731
49731
  s.tmp_1.arg0 = s.arg0;
49732
49732
  s.callLocIdx = 905; s.pc = 1; return s.tmp_1;
@@ -49786,7 +49786,7 @@ switch (step) {
49786
49786
  s.lambdaArgs = null;
49787
49787
  }
49788
49788
  r0 = s.arg0;
49789
- if (!checkSubtype(r0, particles_ShapeFactory__C117068_VT)) failedCast(r0);
49789
+ if (!checkSubtype(r0, particles_ShapeFactory__C117068_VT)) failedCast(r0, particles_ShapeFactory__C117068_VT);
49790
49790
  s.tmp_1 = Math_FastRandom_pickRandom__P116852_mk(s);
49791
49791
  r0 = s.arg0.fields["galois"];
49792
49792
  s.tmp_1.arg0 = r0;
@@ -49868,7 +49868,7 @@ switch (step) {
49868
49868
  s.lambdaArgs = null;
49869
49869
  }
49870
49870
  r0 = s.arg0;
49871
- if (!checkSubtype(r0, Math_FastRandom__C116849_VT)) failedCast(r0);
49871
+ if (!checkSubtype(r0, Math_FastRandom__C116849_VT)) failedCast(r0, Math_FastRandom__C116849_VT);
49872
49872
  r0 = pxsim_numops_toBoolDecr(s.arg1);
49873
49873
  s.tmp_1 = r0;
49874
49874
  r0 = pxsim_Boolean__bang(s.tmp_1);
@@ -49949,7 +49949,7 @@ switch (step) {
49949
49949
  s.lambdaArgs = null;
49950
49950
  }
49951
49951
  r0 = s.arg0;
49952
- if (!checkSubtype(r0, particles_AreaFactory__C117058_VT)) failedCast(r0);
49952
+ if (!checkSubtype(r0, particles_AreaFactory__C117058_VT)) failedCast(r0, particles_AreaFactory__C117058_VT);
49953
49953
  r0 = s.arg1.fields["lifespan"];
49954
49954
  s.tmp_1 = r0;
49955
49955
  r0 = (s.tmp_1 > 500);
@@ -50033,7 +50033,7 @@ switch (step) {
50033
50033
  s.lambdaArgs = null;
50034
50034
  }
50035
50035
  r0 = s.arg0;
50036
- if (!checkSubtype(r0, particles_SprayFactory__C117051_VT)) failedCast(r0);
50036
+ if (!checkSubtype(r0, particles_SprayFactory__C117051_VT)) failedCast(r0, particles_SprayFactory__C117051_VT);
50037
50037
  s.tmp_0 = r0 = globals.screen___115636;
50038
50038
  r0 = (s.arg2 + 128);
50039
50039
  s.tmp_2 = r0;
@@ -50090,7 +50090,7 @@ switch (step) {
50090
50090
  s.lambdaArgs = null;
50091
50091
  }
50092
50092
  r0 = s.arg0;
50093
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
50093
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
50094
50094
  s.tmp_0 = Sprite_drawSay__P116078_mk(s);
50095
50095
  s.tmp_0.arg0 = s.arg0;
50096
50096
  s.tmp_0.arg1 = s.arg1;
@@ -50161,7 +50161,7 @@ switch (step) {
50161
50161
  s.tmp_0.arg0 = s.arg0;
50162
50162
  s.tmp_0.arg1 = s.l___131469;
50163
50163
  s.tmp_0.arg2 = s.t___131475;
50164
- if (!checkSubtype(s.tmp_0.arg0, Sprite__C116000_VT)) failedCast(s.tmp_0.arg0);
50164
+ if (!checkSubtype(s.tmp_0.arg0, Sprite__C116000_VT)) failedCast(s.tmp_0.arg0, Sprite__C116000_VT);
50165
50165
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawSprite;
50166
50166
  s.pc = 12; return s.tmp_0;
50167
50167
  case 12:
@@ -50226,7 +50226,7 @@ switch (step) {
50226
50226
  s.lambdaArgs = null;
50227
50227
  }
50228
50228
  r0 = s.arg0;
50229
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
50229
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
50230
50230
  r0 = s.arg0.fields["flags"];
50231
50231
  s.tmp_1 = r0;
50232
50232
  r0 = (s.tmp_1 & 64);
@@ -50603,7 +50603,7 @@ switch (step) {
50603
50603
  s.lambdaArgs = null;
50604
50604
  }
50605
50605
  r0 = s.arg0;
50606
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
50606
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
50607
50607
  r0 = s.arg0.fields["_rotatedBBox"];
50608
50608
  s.tmp_0 = r0;
50609
50609
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -50799,7 +50799,7 @@ switch (step) {
50799
50799
  s.lambdaArgs = null;
50800
50800
  }
50801
50801
  r0 = s.arg0;
50802
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
50802
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
50803
50803
  r0 = s.arg0.fields["sayRenderer"];
50804
50804
  s.tmp_0 = r0;
50805
50805
  r0 = pxsim_numops_toBoolDecr(s.tmp_0);
@@ -50824,7 +50824,7 @@ switch (step) {
50824
50824
  s.tmp_6.arg1 = globals.screen___115636;
50825
50825
  s.tmp_6.arg2 = s.arg1;
50826
50826
  s.tmp_6.arg3 = s.arg0;
50827
- if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C115953_VT)) failedCast(s.tmp_6.arg0);
50827
+ if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C115953_VT)) failedCast(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C115953_VT);
50828
50828
  s.tmp_6.fn = s.tmp_6.arg0.vtable.methods.draw;
50829
50829
  s.pc = 7; return s.tmp_6;
50830
50830
  case 7:
@@ -50834,7 +50834,7 @@ switch (step) {
50834
50834
  s.tmp_0 = sprites_BaseSpriteSayRenderer__C115953_v2_1_mk(s);
50835
50835
  r0 = s.arg0.fields["sayRenderer"];
50836
50836
  s.tmp_0.arg0 = r0;
50837
- if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C115953_VT)) failedCast(s.tmp_0.arg0);
50837
+ if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C115953_VT)) failedCast(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C115953_VT);
50838
50838
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.destroy;
50839
50839
  s.pc = 8; return s.tmp_0;
50840
50840
  case 8:
@@ -50850,7 +50850,7 @@ switch (step) {
50850
50850
  s.tmp_0.arg1 = globals.screen___115636;
50851
50851
  s.tmp_0.arg2 = s.arg1;
50852
50852
  s.tmp_0.arg3 = s.arg0;
50853
- if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C115953_VT)) failedCast(s.tmp_0.arg0);
50853
+ if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C115953_VT)) failedCast(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C115953_VT);
50854
50854
  s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.draw;
50855
50855
  s.pc = 9; return s.tmp_0;
50856
50856
  case 9:
@@ -50899,7 +50899,7 @@ switch (step) {
50899
50899
  s.lambdaArgs = null;
50900
50900
  }
50901
50901
  r0 = s.arg0;
50902
- if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C115953_VT)) failedCast(r0);
50902
+ if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C115953_VT)) failedCast(r0, sprites_BaseSpriteSayRenderer__C115953_VT);
50903
50903
  r0 = undefined;
50904
50904
  return leave(s, r0)
50905
50905
  default: oops()
@@ -50936,7 +50936,7 @@ switch (step) {
50936
50936
  s.lambdaArgs = null;
50937
50937
  }
50938
50938
  r0 = s.arg0;
50939
- if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C115953_VT)) failedCast(r0);
50939
+ if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C115953_VT)) failedCast(r0, sprites_BaseSpriteSayRenderer__C115953_VT);
50940
50940
  r0 = undefined;
50941
50941
  return leave(s, r0)
50942
50942
  default: oops()
@@ -50973,7 +50973,7 @@ switch (step) {
50973
50973
  s.lambdaArgs = null;
50974
50974
  }
50975
50975
  r0 = s.arg0;
50976
- if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0);
50976
+ if (!checkSubtype(r0, Sprite__C116000_VT)) failedCast(r0, Sprite__C116000_VT);
50977
50977
  r0 = s.arg0.fields["flags"];
50978
50978
  s.tmp_2 = r0;
50979
50979
  r0 = (s.tmp_2 & 128);
@@ -51016,7 +51016,7 @@ switch (step) {
51016
51016
  s.lambdaArgs = null;
51017
51017
  }
51018
51018
  r0 = s.arg0;
51019
- if (!checkSubtype(r0, scene_Camera__C116479_VT)) failedCast(r0);
51019
+ if (!checkSubtype(r0, scene_Camera__C116479_VT)) failedCast(r0, scene_Camera__C116479_VT);
51020
51020
  r0 = s.arg0.fields["_offsetY"];
51021
51021
  return leaveAccessor(s, r0)
51022
51022
  default: oops()
@@ -51051,7 +51051,7 @@ switch (step) {
51051
51051
  s.lambdaArgs = null;
51052
51052
  }
51053
51053
  r0 = s.arg0;
51054
- if (!checkSubtype(r0, scene_Camera__C116479_VT)) failedCast(r0);
51054
+ if (!checkSubtype(r0, scene_Camera__C116479_VT)) failedCast(r0, scene_Camera__C116479_VT);
51055
51055
  r0 = s.arg0.fields["_offsetX"];
51056
51056
  return leaveAccessor(s, r0)
51057
51057
  default: oops()
@@ -51087,7 +51087,7 @@ switch (step) {
51087
51087
  s.lambdaArgs = null;
51088
51088
  }
51089
51089
  r0 = s.arg0;
51090
- if (!checkSubtype(r0, scene_Renderable__C116494_VT)) failedCast(r0);
51090
+ if (!checkSubtype(r0, scene_Renderable__C116494_VT)) failedCast(r0, scene_Renderable__C116494_VT);
51091
51091
  s.tmp_0 = if_handler_3_mk(s);
51092
51092
  s.tmp_0.arg0 = s.arg0;
51093
51093
  s.tmp_0.arg1 = globals.screen___115636;
@@ -51138,7 +51138,7 @@ switch (step) {
51138
51138
  s.lambdaArgs = null;
51139
51139
  }
51140
51140
  r0 = s.arg0;
51141
- if (!checkSubtype(r0, scene_Renderable__C116494_VT)) failedCast(r0);
51141
+ if (!checkSubtype(r0, scene_Renderable__C116494_VT)) failedCast(r0, scene_Renderable__C116494_VT);
51142
51142
  s.tmp_0 = if_shouldBeVisible_1_mk(s);
51143
51143
  s.tmp_0.arg0 = s.arg0;
51144
51144
  if (!s.tmp_0.arg0.vtable.iface) {