Script Function: Q62P

From Ultima Online: The Second Age
Revision as of 21:57, 11 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q62P(<span style="color:#0000FF">int</span> Q5B7, <span style="color:#0000FF">int</span> Q...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q62P(int Q5B7, int Q5SG)
 {
   int Q5NC = Q5B7 - Q5SG;
   if (Q5NC > 0x04)
   {
     Q5NC = Q5NC + (0x00 - 0x08);
   }
   else
   {
     if (Q5NC < (0x00 - 0x04))
     {
       Q5NC = Q5NC + 0x08;
     }
   }
   return (Q5NC);
 }