Leaving function. Watch NPC enter and leave