Skip to content

Commit

Permalink
Fixed Mk2 DBSO Push-Pull
Browse files Browse the repository at this point in the history
  • Loading branch information
audigex committed Jul 19, 2024
1 parent 7d5c51b commit b13b985
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
28 changes: 14 additions & 14 deletions src/trains/_spriteset/PushPull.pnml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ Everything I've found should refer PARENT not SELF

// Mirror of Mk2DBSO
switch(FEAT_TRAINS, PARENT, sw_PUSHPULL_LocomotiveAsMk2DBSO, [STORE_TEMP(num_vehs_in_consist - 1, 0x10F), var[0x61, 0, 0x0000FFFF, 0xF2]]){
0: spriteset_BRMk2_DBSO_BRBlue;
1: spriteset_BRMk2_DBSO_NSE;
2: spriteset_BRMk2_DBSO_Regional;
3: spriteset_BRMk2_DBSO_ScotRail;
4: spriteset_BRMk2_DBSO_Anglia;
5: spriteset_BRMk2_DBSO_WestCoast;
6: spriteset_BRMk2_DBSO_ONE;
7: spriteset_BRMk2_DBSO_InterCity;
8: spriteset_BRMk2_DBSO_NetworkRail;
9: spriteset_BRMk2_DBSO_Arriva;
10: spriteset_BRMk2_DBSO_DRS;
11: spriteset_BRMk2_DBSO_Virgin;
12: spriteset_BRMk2_DBSO_FGW;
13: spriteset_BRMk2_DBSO_FirstScotRail;
0: spriteset_BRMk2_DBSO_Reversed_BRBlue;
1: spriteset_BRMk2_DBSO_Reversed_NSE;
2: spriteset_BRMk2_DBSO_Reversed_Regional;
3: spriteset_BRMk2_DBSO_Reversed_ScotRail;
4: spriteset_BRMk2_DBSO_Reversed_Anglia;
5: spriteset_BRMk2_DBSO_Reversed_WestCoast;
6: spriteset_BRMk2_DBSO_Reversed_ONE;
7: spriteset_BRMk2_DBSO_Reversed_InterCity;
8: spriteset_BRMk2_DBSO_Reversed_NetworkRail;
9: spriteset_BRMk2_DBSO_Reversed_Arriva;
10: spriteset_BRMk2_DBSO_Reversed_DRS;
11: spriteset_BRMk2_DBSO_Reversed_Virgin;
12: spriteset_BRMk2_DBSO_Reversed_FGW;
13: spriteset_BRMk2_DBSO_Reversed_FirstScotRail;
}

// Mirror of Mk3DVT
Expand Down
2 changes: 1 addition & 1 deletion src/trains/rollingstock/Mk2/BRMk2_DBSO.pnml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ item (FEAT_TRAINS, item_BRMk2_DBSO, 630) {
additional_text: return(string(str_purchase_coach,string(str_BRMk2_BFO_liveries)));
can_attach_wagon: CB_RESULT_ATTACH_ALLOW;
cargo_subtype_text: sw_BRMk2_cargo_subtype_text;
default: sw_BRMk2_DBSO;
default: sw_BRMk2DBSO_Sprites;
purchase: spriteset_BRMk2_BFO_Purchase;
colour_mapping: return PALETTE_CC_FIRST;
cargo_capacity: return(32 * param_pax);
Expand Down

0 comments on commit b13b985

Please sign in to comment.