For example:
My Golem was up against a Milotic, which could use Hydro Pump, - Would there then be just a little bit higher chance, that Milotic would use Hydro Pump, than another useless move?
Can a NPC trainer think with artificial intelligence, or do they just use random moves?