I spent about two weeks figuring out how the code works so I could make this change, since I didn't find it anywhere I looked.
This is originally based on another's work, found here. Follow the instructions there, and you'll have no problems. It's the Battle_ExpAndMoveLearning tab that you want...