Found a bug in the draw function. I fixed it. There are some problems with how character conditions are met that need to be fixed