Script Function: isOwnedPet

From Ultima Online: The Second Age
Jump to: navigation, search
function int isOwnedPet(obj it)
{
  if (hasObjListVar(this, "myBoss"))
  {
    list Q4TN;
    getObjListVar(Q4TN, this, "myBoss");
    if (numInList(Q4TN) > 0x00)
    {
      return (0x01);
    }
  }
  return (0x00);
}