The user changes its type to make itself resistant to the type of the attack the opponent used last.
Effect
this move has the following additional effects:
The user's types are changed to a random type that resists/is immune to the type of the last attack used by the target. Fails if the user has the ability Multitype, if there is no last move used or valid type, or if the only possible types are ones the user already has. Moves that can change their types are treated as their calculated types, not their original type. Effects that change the move's type, such as Normalize, also apply here.
Pokémon that learn Conversion 2
Level Up
Note: Due to memory issues, results are limited to 50.