functional for teams (6 pokemon)