Script Function: Q4SS

From Ultima Online: The Second Age
Revision as of 10:00, 10 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4SS(<span style="color:#0000FF">int</span> Q5VX, <span style="color:#0000FF">int</span> Q...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q4SS(int Q5VX, int Q463)
 {
   int num = 0x00;
   switch (Q5VX)
   {
   case 0x00
     if (Q463 > 0x00)
     {
       num = 0x01;
     }
     else
     {
       num = 0x02;
     }
     break;
   case 0x01
     if (Q463 > 0x00)
     {
       num = 0x03;
     }
     else
     {
       num = 0x04;
     }
     break;
   case 0x02
     if (Q463 > 0x00)
     {
       num = 0x05;
     }
     else
     {
       num = 0x06;
     }
     break;
   }
   return (num);
 }