Script Function: Q4Z1

From Ultima Online: The Second Age
Revision as of 18:24, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4Z1(<span style="color:#0000FF">loc</span> Q5H7) { <span style="color:#0000FF">int<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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);
 }