Loading

asdf

  1. switch (FEAT_TRAINS,SELF, maglevhopper_layer1_grey, [
  2.   STORE_TEMP(PALETTE_GREY, 0x100), cargo_type
  3. ]){
  4.   STEL: return spritegroup_SLUGhopper_steel;
  5.   default: return spritegroup_SLUGhopper_wtf;
  6. }
  7.  
  8. switch (FEAT_TRAINS,SELF, maglevhopper_layer1_dark_blue, [
  9.   STORE_TEMP(PALETTE_DARK_BLUE, 0x100)
  10. ]){
  11.   return spritegroup_maglevhopper_cargo_layer;
  12. }
  13.  
  14. switch (FEAT_TRAINS,SELF, maglevhopper_layer1, [
  15.   cargo_type
  16. ]){
  17.   STEL: return maglevhopper_layer1_grey;
  18.   default: return maglevhopper_layer1_darkblue;
  19. }
  20.  
  21. switch (FEAT_TRAINS,SELF, maglevhopper_layer0, [
  22.   STORE_TEMP(CB_FLAG_MORE_SPRITES + PALETTE_USE_DEFAULT, 0x100)
  23. ]){
  24.   return spritegroup_maglevhopper_wagon_layer;
  25. }
  26.  
  27. switch (FEAT_TRAINS,SELF, maglevhopper_switch, [
  28.   getbits(extra_callback_info1, 8, 8)
  29. ]){
  30.   0: maglevhopper_layer0;
  31.   return maglevhopper_layer1;
  32. }

Version history

Revision # Author Created at
povujadwc Anonymous 27 May 2018, 10:57:49 UTC Diff
ptqcmmq9y Anonymous 27 May 2018, 10:49:28 UTC Diff

Comments