e>procedure <strong>chaseTarget</strong>(id, spx, spy: smallint);</code></td>
</tr>
<tr><td colspan="1">
<p>
Chase enemy</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="isNextToPlayer"></span><code>function <strong>isNextToPlayer</strong>(spx, spy: smallint): boolean;</code></td>
</tr>
<tr><td colspan="1">
<p>
Check if player is next to NPC</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="escap