Hello, I want to simulate matches offline using randomly generated Pokémon and movesets for the purpose of training an AI and collecting data. I decided to use Pokémon Online's source code so I don't have to personally implement all of the moves, items, and Pokémon. I've been poking through the source code and am having trouble finding where the actual battle logic is located - a lot of it seems to be tied very closely to qt. The code should be commented a bit better, in my opinion. Is there a command line client?