private int fnSort(SwordObject cpt, int id, int c, int d, int e, int f, int z, int x) { cpt.status &= ~(STAT_BACK | STAT_FORE); cpt.status |= STAT_SORT; return SCRIPT_CONT; }