Script Function: Q4Z1

From Ultima Online: The Second Age
Jump to: navigation, search
 function int Q4Z1(loc Q5H7)
 {
   int Q6A0 = getZ(Q5H7);
   if (Q6A0 < Q542)
   {
     return (0x01);
   }
   if (Q6A0 > Q4W0)
   {
     return (0x01);
   }
   if (numInList(Q5ZF) < 0x02)
   {
     return (0x00);
   }
   int t = getTile(Q5H7);
   if (!isInList(Q5ZF, t))
   {
     return (0x01);
   }
   return (0x00);
 }