 At any time, the player may carry up to six Pokémon in his or her active party; the first Pokémon in the lineup is automatically sent into battle.At the start of each turn, both sides can choose to attack, use an item, switch the Pokémon for another in their party, or attempt to flee from battle (against a wild Pokémon).If both sides attack, the one who goes first is determined by Speed, although some moves, items, and effects can override this.