Script Function: Q4RX

From Ultima Online: The Second Age
Revision as of 17:32, 12 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">string</span> Q4RX(<span style="color:#0000FF">int</span> Q65M) { <span style="color:#0000FF">s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function string Q4RX(int Q65M)
 {
   string Q5Y4;
   switch (Q65M)
   {
   case 0x2049
     Q5Y4 = "hair in two pigtails";
     break;
   case 0x2047
     Q5Y4 = "curly hair";
     break;
   case 0x2046
     Q5Y4 = "hair tied in buns";
     break;
   case 0x204A
     Q5Y4 = "shaved head and topknot";
     break;
   case 0x203C
     Q5Y4 = "hair worn long";
     break;
   case 0x2044
     Q5Y4 = "a mohawk hairstyle";
     break;
   case 0x203D
     Q5Y4 = "hair tied back";
     break;
   case 0x2045
     Q5Y4 = "pageboy hair";
     break;
   case 0x2048
     Q5Y4 = "receding hairline";
     break;
   case 0x203B
     Q5Y4 = "hair worn short";
     break;
   default
     Q5Y4 = "bald";
     break;
   }
   return (Q5Y4);
 }