Hello!
While I was testing my game, I realized that when I use fly in a pokémon battle everything looks fine - the pokémon will go to the sky and wait 1 turn to attack. However, the same turn it attacks, it goes back up to the sky again, so it's untouchable and therefore invincible. Any clues...