The Evolution Pokémon state who they Evolve from. Mightyena Evolves from Poochyena, not Team Aqua's Poochyena. Team Aqua/Magma can only Evolve into a Team Aqua/Magma Pokémon. Same with Pokémon with an owner's name in them - Team Rocket's, Lt. Surge's, Sabrina's, Brock's, Misty's, etc.