Skip to content

Instantly share code, notes, and snippets.

@andythenorth
Created January 16, 2021 09:49
Show Gist options
  • Save andythenorth/94ec0c10570da4835292de62e1b9d5db to your computer and use it in GitHub Desktop.
Save andythenorth/94ec0c10570da4835292de62e1b9d5db to your computer and use it in GitHub Desktop.
switch (FEAT_TRAINS, SELF, growler_switch_graphics_check_2cc_unreversed_unflipped, company_colour2) {
COLOUR_GREY: return growler_ss_unreversed_unflipped_0;
COLOUR_BROWN: return growler_ss_unreversed_unflipped_0;
COLOUR_YELLOW: return growler_ss_unreversed_unflipped_0;
COLOUR_ORANGE: return growler_ss_unreversed_unflipped_0;
COLOUR_WHITE: return growler_ss_unreversed_unflipped_0;
return growler_ss_unreversed_unflipped_1;
}
switch (FEAT_TRAINS, SELF, growler_switch_graphics_livery_unreversed_unflipped, company_colour1) {
COLOUR_GREY: return growler_switch_graphics_check_2cc_unreversed_unflipped;
COLOUR_BROWN: return growler_switch_graphics_check_2cc_unreversed_unflipped;
COLOUR_YELLOW: return growler_switch_graphics_check_2cc_unreversed_unflipped;
COLOUR_ORANGE: return growler_switch_graphics_check_2cc_unreversed_unflipped;
return growler_ss_unreversed_unflipped_0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment