Script Function: Q4SV

From Ultima Online: The Second Age
Revision as of 03:53, 8 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4SV(<span style="color:#0000FF">int</span> Q5US, <span style="color:#0000FF">int</span> Q...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q4SV(int Q5US, int Q5UX)
 {
   switch (Q5UX)
   {
   case 0x20
     return ((Q5US + 0x01) * 0x05);
     break;
   case 0x27
     return ((Q5US + 0x01) * 0x05);
     break;
   case 0x3B
     return ((Q5US + 0x01) * 0x05);
     break;
   case 0x3C
     return ((Q5US + 0x01) * 0x05);
     break;
   case 0x3D
     return ((Q5US + 0x01) * 0x05);
     break;
   case 0x3E
     return ((Q5US + 0x01) * 0x05);
     break;
   case 0x3F
     return ((Q5US + 0x01) * 0x05);
     break;
   }
   return (Q5US + 0x01);
 }