From Glitch City Laboratories
Transform into a Ditto is a minor glitch that makes the game suggest that a Pokémon the player captured was a Ditto, even if it was not.
Requirements
- Ditto as first Pokémon in party.
Procedure
- Face a wild Pidgey, Pidgeotto, Spearow, or Fearow.
- Use Ditto's Transform.
3.If the enemy Pokémon uses Mirror Move, continue. If not, go back to step 1.
4.Now use Mirror Move again, and then catch or defeat the Pokémon. The game will say that the Pokémon the player faced was a Ditto.
Video Demonstration
[1]