Hoenn Battle Factory

The Battle Factory is a location in the Hoenn Battle Frontier. When the player enters, they must select 3 pokemon out of a given list to use to battle opposing trainers. After every battle, you are allowed to trade one of your pokemon for one of the opponent's pokemon that you just beat.