using (ScriptAPI) { AddUShort("MasterHandle"); AddUInt("MasterRegNo"); AddField("PetName", 20); AddByte("PetMind"); AddByte("PetStress"); }