Script Function: Q62Y
From Ultima Online: The Second Age
function void Q62Y(obj Q62O, int Q4DW) { if ((Q4DW >= 0x08) && (Q4DW <= 0x0A)) { if (hasObjVar(Q62O, "shipcommand")) { int Q5G5 = getObjVar(Q62O, "shipcommand"); if (((Q5G5 <= 0x07) || (Q5G5 >= 0x0B)) && (Q5G5 != 0x1B) && (Q5G5 != 0x1C)) { setObjVar(Q62O, "shipqueuedcommand", Q5G5); } } } int Q5FV = Q630(Q62O); setObjVar(Q62O, "shipcommand", Q4DW); if (Q4V5 == 0x00) { Q4V5 = 0x01; shortCallback(this, 0x02, 0x31); } return; }