function int Q58P(obj multi) { if (hasScript(multi, "housedecay")) { return (0x00); } else { if (hasScript(multi, "shipdecay")) { return (0x01); } } return (0x02); }