Fixed memory leaks regarding item tossing, move learning, and evolutions