Script Function: Q4GK

From Ultima Online: The Second Age
Revision as of 21:33, 10 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4GK() { Q55A = 0x00; Q52U = 0x00; <span style="color:#0000FF">if</span> (Q5...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q4GK()
 {
   Q55A = 0x00;
   Q52U = 0x00;
   if (Q559 < 0x4E)
   {
     Q55A++;
   }
   if (Q559 < 0x1A)
   {
     Q55A++;
   }
   if (Q559 < 0x10)
   {
     Q55A++;
   }
   if (Q559 < 0x0A)
   {
     Q55A++;
   }
   if (Q559 < 0x06)
   {
     Q55A++;
   }
   if (Q559 < 0x04)
   {
     Q55A++;
   }
   if (Q4AP < 0x07)
   {
     Q52U++;
   }
   if (Q4AP < 0x06)
   {
     Q52U++;
     Q52U++;
   }
   if (Q4AP < 0x05)
   {
     Q52U++;
   }
   if (Q4AP < 0x04)
   {
     Q52U++;
   }
   if (Q4AP < 0x03)
   {
     Q52U++;
   }
   if (Q4AP < 0x02)
   {
     Q52U++;
   }
   if (Q55A < Q52U)
   {
     Q48D = Q52U;
   }
   else
   {
     Q48D = Q55A;
   }
   string Q56J = Q55A;
   string Q52D = Q52U;
   string b = Q48D;
   return (Q48D);
 }