Difference between revisions of "Script Function: Q62P"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q62P(<span style="color:#0000FF">int</span> Q5B7, <span style="color:#0000FF">int</span> Q...") |
(No difference)
|
Latest revision as of 21:57, 11 October 2018
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); }