Script Function: Q4RH

From Ultima Online: The Second Age
Revision as of 05:13, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">loc</span> Q4RH(<span style="color:#0000FF">int</span> Q4NJ) { <span style="color:#0000FF">loc<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function loc Q4RH(int Q4NJ)
 {
   loc Q5AH = 0x0615, 0x0652, 0x0A;
   switch (Q4NJ)
   {
   case 0x00
     Q5AH = 0x0615, 0x0652, 0x0A;
     break;
   case 0x01
     Q5AH = 0x0A9A, 0x0875, 0x00;
     break;
   case 0x02
     Q5AH = 0x0586, 0x0EF7, 0x00;
     break;
   case 0x03
     Q5AH = 0x0E9C, 0x08BB, 0x14;
     break;
   case 0x04
     Q5AH = 0x099D, 0x01B9, 0x0F;
     break;
   case 0x05
     Q5AH = 0x116B, 0x0478, 0x00;
     break;
   case 0x06
     Q5AH = 0x0E44, 0x09EE, 0x00;
     break;
   case 0x07
     Q5AH = 0x0BA4, 0x0D71, 0x0F;
     break;
   case 0x08
     Q5AH = 0x027B, 0x085E, 0x00;
     break;
   case 0x09
     Q5AH = 0x0764, 0x0B21, 0x14;
     break;
   case 0x0A
     Q5AH = 0x0B27, 0x037C, 0x00;
     break;
   case 0x0B
     Q5AH = 0x0232, 0x03DC, 0x00;
     break;
   }
   return (Q5AH);
 }