Loading

Revision differences

Old revision #ptqcmmq9yNew revision #pyvp4zhx6
  1switch (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  
  8switch (FEAT_TRAINS,SELF, maglevhopper_layer1_dark_blue, [  
  9  STORE_TEMP(PALETTE_DARK_BLUE, 0x100)  
  10]){  
  11  return spritegroup_maglevhopper_cargo_layer;  
  12}  
  13  
  14switch (FEAT_TRAINS,SELF, maglevhopper_layer1, [  
  15  cargo_type  
  16]){  
  17  STEL: return maglevhopper_layer1_grey;  
  18  default: return maglevhopper_layer1_darkblue;  
  19}  
  20  
  21switch (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  
1switch (FEAT_TRAINS,SELF, maglevhopper_switch, [  27switch (FEAT_TRAINS,SELF, maglevhopper_switch, [  
2  STORE_TEMP((getbits(extra_callback_info1, 8, 8) < 4 ? CB_FLAG_MORE_SPRITES  : 0) + PALETTE_USE_DEFAULT, 0x100),    
3  getbits(extra_callback_info1, 8, 8)  28  getbits(extra_callback_info1, 8, 8)  
4  ]){  4]){
5  0: spritegroup_maglevhopper_wagon_layer;  5  0: maglevhopper_layer0;
6  1: spritegroup_maglevhopper_cargo_layer;  6  return maglevhopper_layer1;
7  return spritegroup_maglevhopper_cargo_layer;    
8} 32}