update npc char movment script

npcs are walking around the map correctly now.