>>29799979Actually they do it after an attack.
I was trying to catch a magby and every single turn 3 turns in a row it summon a replacement before my attacks started missing from the smoke screens and my pokemon started falling one by one to fire spins and burns.
I lost half my team but finally caught it and on my way out i encountered another magby, learning from my mistake i tried to flee but it was unsuccessful and it fire spinned me and i lost another 2 pokemon to the hell of endlessly respawning magbys