Loading

Revision differences

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