RPG Development: A little AI problem...