Difference between revisions of "Script Function: Q4TE"

From Ultima Online: The Second Age
Jump to: navigation, search
Line 1: Line 1:
  <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4TE(<span style="color:#0000FF">int</span> Q5F8)
 
  {
 
    <span style="color:#0000FF">int</span> Q63F;
 
    <span style="color:#0000FF">if</span> (Q5F8 == 0x1092)
 
    {
 
      Q63F = 0x1091;
 
    }
 
    <span style="color:#0000FF">if</span> (Q5F8 == 0x1091)
 
    {
 
      Q63F = 0x1092;
 
    }
 
    <span style="color:#0000FF">if</span> (Q5F8 == 0x108F)
 
    {
 
      Q63F = 0x1090;
 
    }
 
    <span style="color:#0000FF">if</span> (Q5F8 == 0x1090)
 
    {
 
      Q63F = 0x108F;
 
    }
 
    <span style="color:#0000FF">return</span> (Q63F);
 
  }
 
 
 
   <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4TE(<span style="color:#0000FF">int</span> Q5F8)
 
   <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4TE(<span style="color:#0000FF">int</span> Q5F8)
 
   {
 
   {

Revision as of 03:10, 8 October 2018

 function int Q4TE(int Q5F8)
 {
   int Q63F;
   if (Q5F8 == 0x1092)
   {
     Q63F = 0x1091;
   }
   if (Q5F8 == 0x1091)
   {
     Q63F = 0x1092;
   }
   if (Q5F8 == 0x108F)
   {
     Q63F = 0x1090;
   }
   if (Q5F8 == 0x1090)
   {
     Q63F = 0x108F;
   }
   return (Q63F);
 }