Difference between revisions of "Script Function: Q50P"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q50P(<span style="color:#0000FF">loc</span> place) { <span style="color:#0000FF">int...") |
(No difference)
|
Latest revision as of 17:24, 12 October 2018
function int Q50P(loc place) { int x = getX(place); int y = getY(place); int Q6A0 = getZ(place); if (x < 0x00) { return (0x00); } if (x > 0x0BB8) { return (0x00); } if (y < 0x00) { return (0x00); } if (y > 0x0BB8) { return (0x00); } if (Q6A0 > 0x7F) { return (0x00); } if (Q6A0 < (0x00 - 0x7F)) { return (0x00); } return (0x01); }