Script Function: Q5SM

From Ultima Online: The Second Age
Jump to: navigation, search
 function int Q5SM(obj ship, int Q5M5)
 {
   int Q4FX = getObjVar(ship, "myshipdir");
   return ((((Q4FX * 0x02) + Q5M5) % 0x08));
 }