Code for a RPG game that I've been working on.