Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save andythenorth/a1930beaa10ea90dd4718eae0c49b956 to your computer and use it in GitHub Desktop.
Save andythenorth/a1930beaa10ea90dd4718eae0c49b956 to your computer and use it in GitHub Desktop.
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_15, [var[0x61, 0, 0x0000FFFF, 0xC6] == LOAD_TEMP(16)]) {
1: return 1;
return 0;
}
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_14, [var[0x61, 0, 0x0000FFFF, 0xC6] == LOAD_TEMP(15)]) {
1: return 1;
return switch_alt_var_41_match_ids_15;
}
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_13, [var[0x61, 0, 0x0000FFFF, 0xC6] == LOAD_TEMP(14)]) {
1: return 1;
return switch_alt_var_41_match_ids_14;
}
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_12, [var[0x61, 0, 0x0000FFFF, 0xC6] == LOAD_TEMP(13)]) {
1: return 1;
return switch_alt_var_41_match_ids_13;
}
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_11, [var[0x61, 0, 0x0000FFFF, 0xC6] == LOAD_TEMP(12)]) {
1: return 1;
return switch_alt_var_41_match_ids_12;
}
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_10, [var[0x61, 0, 0x0000FFFF, 0xC6] == LOAD_TEMP(11)]) {
1: return 1;
return switch_alt_var_41_match_ids_11;
}
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_9, [var[0x61, 0, 0x0000FFFF, 0xC6] == LOAD_TEMP(10)]) {
1: return 1;
return switch_alt_var_41_match_ids_10;
}
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_8, [var[0x61, 0, 0x0000FFFF, 0xC6] == LOAD_TEMP(9)]) {
1: return 1;
return switch_alt_var_41_match_ids_9;
}
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_7, [var[0x61, 0, 0x0000FFFF, 0xC6] == LOAD_TEMP(8)]) {
1: return 1;
return switch_alt_var_41_match_ids_8;
}
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_6, [var[0x61, 0, 0x0000FFFF, 0xC6] == LOAD_TEMP(7)]) {
1: return 1;
return switch_alt_var_41_match_ids_7;
}
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_5, [var[0x61, 0, 0x0000FFFF, 0xC6] == LOAD_TEMP(6)]) {
1: return 1;
return switch_alt_var_41_match_ids_6;
}
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_4, [var[0x61, 0, 0x0000FFFF, 0xC6] == LOAD_TEMP(5)]) {
1: return 1;
return switch_alt_var_41_match_ids_5;
}
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_3, [var[0x61, 0, 0x0000FFFF, 0xC6] == LOAD_TEMP(4)]) {
1: return 1;
return switch_alt_var_41_match_ids_4;
}
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_2, [var[0x61, 0, 0x0000FFFF, 0xC6] == LOAD_TEMP(3)]) {
1: return 1;
return switch_alt_var_41_match_ids_3;
}
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_1, [var[0x61, 0, 0x0000FFFF, 0xC6] == LOAD_TEMP(2)]) {
1: return 1;
return switch_alt_var_41_match_ids_2;
}
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids_0, [var[0x61, 0, 0x0000FFFF, 0xC6] == LOAD_TEMP(1)]) {
1: return 1;
return switch_alt_var_41_match_ids_1;
}
switch (FEAT_TRAINS, SELF, switch_alt_var_41_match_ids, 1) {
return switch_alt_var_41_match_ids_0;
}
switch (FEAT_TRAINS, SELF, switch_alt_var_41_position_in_vehid_chain_multiple_ids_127, [STORE_TEMP(-127, 0x10F), switch_alt_var_41_match_ids()]) {
return 126;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment