Tweaked both scripts from the NPC for better compatibility
Fixed movement function and changed the way distance is calculated on the AI
Merge branch 'devel-B' of https://github.com/eloipuertas/ES2014B into devel-B