First, love the new Gravatar!!
Now, back to business:
These glitch Pokémon cannot be obtained via a wild battle, and must be obtained using a different glitch to the Ditto glitch or old man glitch, such as evolution from another glitch Pokémon, trading an equivalent index number glitch Pokémon to another version, or the Johto guard glitch.
Source: Bulbapedia/ Glitch Pokemon