Loading

layers

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

Comments