Script Function: Q4Z2

From Ultima Online: The Second Age
Revision as of 16:26, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4Z2(<span style="color:#0000FF">int</span> Q66P) { <span style="color:#0000FF">int<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function int Q4Z2(int Q66P)
 {
   int Q4PD = 0x00;
   switch (Q66P)
   {
   case 0x0DE9
   case 0x0FAC
   case 0x0FB1
   case 0x19AA
   case 0x19BB
     Q4PD = 0x01;
     break;
   }
   if ((Q66P >= 0x0461) && (Q66P <= 0x0466))
   {
     Q4PD = 0x01;
   }
   if ((Q66P >= 0x046A) && (Q66P <= 0x046F))
   {
     Q4PD = 0x01;
   }
   if ((Q66P >= 0x0475) && (Q66P <= 0x0480))
   {
     Q4PD = 0x01;
   }
   if ((Q66P >= 0x092B) && (Q66P <= 0x0933))
   {
     Q4PD = 0x01;
   }
   if ((Q66P >= 0x0937) && (Q66P <= 0x0942))
   {
     Q4PD = 0x01;
   }
   if ((Q66P >= 0x0945) && (Q66P <= 0x0950))
   {
     Q4PD = 0x01;
   }
   if ((Q66P >= 0x0953) && (Q66P <= 0x095E))
   {
     Q4PD = 0x01;
   }
   if ((Q66P >= 0x0961) && (Q66P <= 0x096C))
   {
     Q4PD = 0x01;
   }
   if ((Q66P >= 0x0DE3) && (Q66P <= 0x0DE8))
   {
     Q4PD = 0x01;
   }
   if ((Q66P >= 0x12EE) && (Q66P <= 0x134D))
   {
     Q4PD = 0x01;
   }
   if ((Q66P >= 0x197A) && (Q66P <= 0x19A9))
   {
     Q4PD = 0x01;
   }
   if ((Q66P >= 0x19AB) && (Q66P <= 0x19B6))
   {
     Q4PD = 0x01;
   }
   if ((Q66P >= 0x1A19) && (Q66P <= 0x1A74))
   {
     Q4PD = 0x01;
   }
   if ((Q66P >= 0x5D7E) && (Q66P <= 0x5D93))
   {
     Q4PD = 0x01;
   }
   if ((Q66P >= 0x343B) && (Q66P <= 0x346C))
   {
     Q4PD = 0x01;
   }
   if ((Q66P >= 0x3547) && (Q66P <= 0x354C))
   {
     Q4PD = 0x01;
   }
   if ((Q66P >= 0x398C) && (Q66P <= 0x399F))
   {
     Q4PD = 0x01;
   }
   return (Q4PD);
 }