Difference between revisions of "Script Function: Q4S4"
From Ultima Online: The Second Age
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">string</span> Q4S4() { <span style="color:#0000FF">string</span> Q4V4; <span style="color:#...") |
(No difference)
|
Latest revision as of 03:05, 12 October 2018
function string Q4S4() { string Q4V4; int Q54A = Q4SC() / 0x0A; switch (Q54A) { default Q4V4 = "confused"; break; case 0x01 Q4V4 = "extremely unhappy"; break; case 0x02 Q4V4 = "rather unhappy"; break; case 0x03 Q4V4 = "unhappy"; break; case 0x04 Q4V4 = "content, I suppose,"; break; case 0x05 Q4V4 = "content"; break; case 0x06 Q4V4 = "happy"; break; case 0x07 Q4V4 = "rather happy"; break; case 0x08 Q4V4 = "very happy"; break; case 0x09 Q4V4 = "extremely happy"; break; case 0x0A Q4V4 = "wonderfully happy"; break; } return (Q4V4); }