A generator function which uses a priority queue to yield each pokemon from a given side of the field in speed order.
(Default ArenaTagSide.BOTH) The side of the field to use
ArenaTagSide.BOTH
side
A Generator of Pokemon
Generator
Pokemon
This should almost always be used by iteration in a for...of loop
for...of
A generator function which uses a priority queue to yield each pokemon from a given side of the field in speed order.