Script Function: Q49H
From Ultima Online: The Second Age
function void Q49H() { loc Q4F5 = getObjVar(this, <span style="color:#800000">"crimeLocation"</span>); obj criminal = getObjVar(this, <span style="color:#800000">"lastCriminal"</span>); if (getDistanceInTiles(getLocation(this), Q4F5) > 0x19) { if (isValid(criminal)) { if (getDistanceInTiles(getLocation(this), getLocation(criminal)) > 0x19) { return (); } } } if (isValid(criminal)) { obj victim = getObjVar(this, <span style="color:#800000">"lastVictim"</span>); int Q5RN = getObjVar(this, <span style="color:#800000">"crimeSeverity"</span>); callGuards(criminal, victim, Q5RN); } cleanup(); return (); }