Script Function: Q4OB
From Ultima Online: The Second Age
function int Q4OB() { Q55A = 0x00; Q52U = 0x00; if (Q559 < 0x4E) { Q55A++; } if (Q559 < 0x1A) { Q55A++; } if (Q559 < 0x10) { Q55A++; } if (Q559 < 0x0A) { Q55A++; } if (Q559 < 0x06) { Q55A++; } if (Q4AP < 0x08) { Q52U++; } if (Q4AP < 0x06) { Q52U++; } if (Q4AP < 0x05) { Q52U++; } if (Q4AP < 0x04) { Q52U++; } if (Q4AP < 0x03) { Q52U++; } if (Q55A < Q52U) { Q48D = Q52U; } else { Q48D = Q55A; } string Q56J = Q55A; string Q52D = Q52U; string b = Q48D; return (Q48D); }