Script Function: Q5SQ

From Ultima Online: The Second Age
Jump to: navigation, search
 function int Q5SQ(obj Q5AK, int Q4IE, int Q4AG)
 {
   string Q5N7;
   int myshiptype = getObjVar(Q5AK, "myshiptype");
   int Q5CT = 0x00 + (myshiptype * 0x04) + (Q4IE * 0x01);
   int Q5NC = recycleMultiCheckRotate(Q5AK, Q5CT, Q43W, Q4AG);
   if (Q5NC > 0x00)
   {
     setObjVar(Q5AK, "myshipdir", Q4IE);
   }
   return (Q5NC);
 }