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