Script Function: Q4SX

From Ultima Online: The Second Age
Revision as of 19:20, 10 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4SX(<span style="color:#0000FF">int</span> Q52T) { <span style="color:#0000FF">int<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q4SX(int Q52T)
 {
   int Q4EF = 0x00;
   switch (Q52T)
   {
   case 0x01
     Q4EF = 0x04;
     break;
   case 0x02
     Q4EF = 0x06;
     break;
   case 0x03
     Q4EF = 0x09;
     break;
   case 0x04
     Q4EF = 0x0B;
     break;
   case 0x05
     Q4EF = 0x0E;
     break;
   case 0x06
     Q4EF = 0x14;
     break;
   case 0x07
     Q4EF = 0x28;
     break;
   case 0x08
     Q4EF = 0x32;
     break;
   }
   return (Q4EF);
 }