Script Function: Q4A3

From Ultima Online: The Second Age
Revision as of 03:57, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4A3(<span style="color:#0000FF">obj</span> Q68S, <span style="color:#0000FF">int</span> Q...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q4A3(obj Q68S, int Q4X9)
 {
   int Q4OX = 0x00;
   switch (Q4X9)
   {
   case 0x00
   case 0x01
   case 0x02
   case 0x03
   case 0x04
   case 0x05
   case 0x14
     Q4OX = 0x02;
     break;
   case 0x06
   case 0x07
     Q4OX = 0x01;
     break;
   case 0x08
   case 0x09
   case 0x0A
     Q4OX = 0x03;
     break;
   case 0x0B
   case 0x0C
   case 0x0D
     Q4OX = 0x04;
     break;
   }
   return (Q4A4(Q68S, Q4OX));
 }