- switch (FEAT_SHIPS, SELF, ${ship.id}_switch_graphics_ship_not_moving, STORE_TEMP(PALETTE_USE_DEFAULT, 0x100)) {
- 0: return ${ship.id}_sg_not_moving;
- }
- switch (FEAT_SHIPS, SELF, ${ship.id}_switch_graphics_ship_moving, STORE_TEMP(CB_FLAG_MORE_SPRITES | PALETTE_USE_DEFAULT, 0x100)) {
- return ${ship.id}_sg_moving;
- }
- switch (FEAT_SHIPS, SELF, ${ship.id}_switch_graphics_wake, STORE_TEMP(PALETTE_USE_DEFAULT, 0x100)) {
- return ${ship.id}_ss_wake;
- }
- switch (FEAT_SHIPS, SELF, ${ship.id}_switch_graphics_moving, getbits(extra_callback_info1, 8, 8)) {
- 0: return ${ship.id}_switch_graphics_ship_moving;
- return ${ship.id}_switch_graphics_wake;
- }
- switch (FEAT_SHIPS, SELF, ${ship.id}_switch_graphics, current_speed) {
- 0: return ${ship.id}_switch_graphics_ship_not_moving;
- return ${ship.id}_switch_graphics_moving;
- }