Script Function: Q4A6

From Ultima Online: The Second Age
Jump to: navigation, search
 function int Q4A6(obj Q68S, int Q5SR)
 {
   int Q4OX = 0x00;
   switch (Q5SR)
   {
   case 0x00
   case 0x01
     Q4OX = 0x02;
     break;
   case 0x02
   case 0x03
     Q4OX = 0x03;
     break;
   case 0x04
   case 0x05
     Q4OX = 0x04;
     break;
   }
   return (Q4A4(Q68S, Q4OX));
 }