The Pokémon’s type becomes the type of the move used on it.
Effect
Whenever this Pokémon takes damage from a move, the Pokémon's type changes to match the move.
If the Pokémon has two types, both are overridden. The Pokémon must directly take damage; for example, moves blocked by a Substitute will not trigger this ability, nor will moves that deal damage indirectly, such as Spikes.
This ability takes effect on only the last hit of a multiple-hit attack.