Script Function: Q62T

From Ultima Online: The Second Age
Jump to: navigation, search
 function void Q62T(obj ship)
 {
   int Q58G = getMultiType(ship);
   loc Q4OI;
   loc Q4OJ;
   int Q5NC = getMultiExtents(Q58G, Q4OI, Q4OJ);
   Q5ST = getX(Q4OJ) - getX(Q4OI) + 0x01;
   Q5SI = getY(Q4OJ) - getY(Q4OI) + 0x01;
   Q5SC = Q5ST;
   if (Q5SI > Q5SC)
   {
     Q5SC = Q5SI;
   }
   return;
 }