Script Function: Q4DH

From Ultima Online: The Second Age
Revision as of 10:02, 7 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q4DH(<span style="color:#0000FF">int</span> Q68Q) { <span style="color:#0000FF">if<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function void Q4DH(int Q68Q)
 {
   if (Q68Q == 0x00)
   {
     if (0x00 < numInList(Q67L))
     {
       for(int Q629 = 0x00; Q629 < numInList(Q67L); Q629++)
       {
         int Q61S = getObjType(Q67L[Q629]);
         if (Q61S == 0x0335)
         {
           removeItem(Q67L, Q629);
           removeItem(Q67K, Q629);
         }
       }
     }
   }
   else
   {
     if (0x00 < numInList(Q5CD))
     {
       for(Q629 = 0x00; Q629 < numInList(Q5CD); Q629++)
       {
         Q61S = getObjType(Q5CD[Q629]);
         if (Q61S == 0x0335)
         {
           removeItem(Q5CD, Q629);
           removeItem(Q5CC, Q629);
         }
       }
     }
   }
   return ();
 }