Added some functions.

More specifically, item and battle functions.