Difference between revisions of "Script Function: Q4TE"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4TE(<span style="color:#0000FF">int</span> Q5F8) { <span style="color:#0000FF">int<...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4TE(<span style="color:#0000FF">int</span> Q5F8) | ||
+ | { | ||
+ | <span style="color:#0000FF">int</span> Q63F; | ||
+ | <span style="color:#0000FF">if</span> (Q5F8 == 0x1092) | ||
+ | { | ||
+ | Q63F = 0x1091; | ||
+ | } | ||
+ | <span style="color:#0000FF">if</span> (Q5F8 == 0x1091) | ||
+ | { | ||
+ | Q63F = 0x1092; | ||
+ | } | ||
+ | <span style="color:#0000FF">if</span> (Q5F8 == 0x108F) | ||
+ | { | ||
+ | Q63F = 0x1090; | ||
+ | } | ||
+ | <span style="color:#0000FF">if</span> (Q5F8 == 0x1090) | ||
+ | { | ||
+ | Q63F = 0x108F; | ||
+ | } | ||
+ | <span style="color:#0000FF">return</span> (Q63F); | ||
+ | } | ||
+ | |||
<span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4TE(<span style="color:#0000FF">int</span> Q5F8) | <span style="color:#0000FF">function</span> <span style="color:#0000FF">int</span> Q4TE(<span style="color:#0000FF">int</span> Q5F8) | ||
{ | { |
Latest revision as of 22:02, 11 October 2018
function int Q4TE(int Q5F8) { int Q63F; if (Q5F8 == 0x1092) { Q63F = 0x1091; } if (Q5F8 == 0x1091) { Q63F = 0x1092; } if (Q5F8 == 0x108F) { Q63F = 0x1090; } if (Q5F8 == 0x1090) { Q63F = 0x108F; } return (Q63F); }
function int Q4TE(int Q5F8) { int Q63F; if (Q5F8 == 0x1092) { Q63F = 0x1091; } if (Q5F8 == 0x1091) { Q63F = 0x1092; } if (Q5F8 == 0x108F) { Q63F = 0x1090; } if (Q5F8 == 0x1090) { Q63F = 0x108F; } return (Q63F); }