Script Function: Q62P
From Ultima Online: The Second Age
function int Q62P(int Q5B7, int Q5SG) { int Q5NC = Q5B7 - Q5SG; if (Q5NC > 0x04) { Q5NC = Q5NC + (0x00 - 0x08); } else { if (Q5NC < (0x00 - 0x04)) { Q5NC = Q5NC + 0x08; } } return (Q5NC); }