I am making a Pokemon game, and I would like to learn how to make them battle in a realistic manner.