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