Script Function: Q4T9

From Ultima Online: The Second Age
Revision as of 19:04, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">string</span> Q4T9(<span style="color:#0000FF">int</span> Q5VX, <span style="color:#0000FF">int</span...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function string Q4T9(int Q5VX, int Q463)
 {
   string Q5OK;
   int num = Q4SS(Q5VX, Q463);
   switch (num)
   {
   case 0x01
     Q5OK = <span style="color:#800000">"strup"</span>;
     break;
   case 0x02
     Q5OK = <span style="color:#800000">"strdown"</span>;
     break;
   case 0x03
     Q5OK = <span style="color:#800000">"dexup"</span>;
     break;
   case 0x04
     Q5OK = <span style="color:#800000">"dexdown"</span>;
     break;
   case 0x05
     Q5OK = <span style="color:#800000">"intup"</span>;
     break;
   case 0x06
     Q5OK = <span style="color:#800000">"intdown"</span>;
     break;
   }
   return (Q5OK);
 }