Loading

Paste #pqxt3ctlh

  1.  
  2. switch (FEAT_TRAINS,SELF, switch_hopper_wagon_layers, [
  3.   STORE_TEMP((getbits(extra_callback_info1, 8, 8) < 4 ? CB_FLAG_MORE_SPRITES  : 0) + PALETTE_USE_DEFAULT, 0x100),
  4.   getbits(extra_callback_info1, 8, 8)
  5. ]){
  6.   0: spriteset_wagon_wheel;
  7.   1: spriteset_hopper_wagon_back;
  8.   2: spriteset_hopper_wagon_cargo;
  9.   3: spriteset_hopper_wagon_front;
  10.   return spriteset_hopper_wagon_back;
  11. }
  12.  
  13.  
  14. item(FEAT_TRAINS, ...) {
  15.   property {
  16.     misc_flags: TRAIN_FLAG_SPRITE_STACK;
  17.   }
  18. }

Comments