NPC3 move function