Loading

Paste #pouurpwrj

  1. switch (FEAT_SHIPS, SELF, ${ship.id}_switch_graphics_ship_not_moving, STORE_TEMP(PALETTE_USE_DEFAULT, 0x100)) {
  2.     0: return ${ship.id}_sg_not_moving;
  3. }
  4. switch (FEAT_SHIPS, SELF, ${ship.id}_switch_graphics_ship_moving, STORE_TEMP(CB_FLAG_MORE_SPRITES | PALETTE_USE_DEFAULT, 0x100)) {
  5.     return ${ship.id}_sg_moving;
  6. }
  7. switch (FEAT_SHIPS, SELF, ${ship.id}_switch_graphics_wake, STORE_TEMP(PALETTE_USE_DEFAULT, 0x100)) {
  8.     return ${ship.id}_ss_wake;
  9. }
  10.  
  11. switch (FEAT_SHIPS, SELF, ${ship.id}_switch_graphics_moving, getbits(extra_callback_info1, 8, 8)) {
  12.     0: return ${ship.id}_switch_graphics_ship_moving;
  13.     return ${ship.id}_switch_graphics_wake;
  14. }
  15.  
  16. switch (FEAT_SHIPS, SELF, ${ship.id}_switch_graphics, current_speed) {
  17.     0: return ${ship.id}_switch_graphics_ship_not_moving;
  18.     return ${ship.id}_switch_graphics_moving;
  19. }

Comments