Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.
It's possible that the numbers got switched around when you were trading, since the Pokedex in Prism is different. I don't know how to solve that problem, aside from trying to change the pokemon_ID in the game.