Script Function: Q5SB

From Ultima Online: The Second Age
Revision as of 22:01, 11 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q5SB(<span style="color:#0000FF">int</span> Q5T4, <span style="color:#0000FF">int</span> Q...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q5SB(int Q5T4, int Q65M)
 {
   switch (Q5T4)
   {
   case 0x00
     switch (Q65M)
     {
     case 0x3ED4
       return (0x3EB2);
     case 0x3E84
       return (0x3E85);
     case 0x3ED5
       return (0x3EB1);
     case 0x3E89
       return (0x3E8A);
     case 0x3EB2
       return (0x3ED4);
     case 0x3E85
       return (0x3E84);
     case 0x3EB1
       return (0x3ED5);
     case 0x3E8A
       return (0x3E89);
     }
     break;
   case 0x01
     switch (Q65M)
     {
     case 0x3ED5
       return (0x3EB1);
     case 0x3E89
       return (0x3E8A);
     case 0x3ED4
       return (0x3EB2);
     case 0x3E84
       return (0x3E85);
     case 0x3EB1
       return (0x3ED5);
     case 0x3E8A
       return (0x3E89);
     case 0x3EB2
       return (0x3ED4);
     case 0x3E85
       return (0x3E84);
     }
     break;
   }
   return (Q65M);
 }