The problems already been solved. Just use the file labeled for custom battles and voila.