special prayer detection + style changes

prayers from special levels can now only be purchased one at a time

in addition, a lot of style changes have been made, including comments,
variable names, and some simplification of code