No cheat code required. Wailmer is catchable in the wild.
Cheats (Action Replay / GameShark) exist but risk: Bad eggs, corrupted save, broken scripts, ban from Pokémon Bank/Home transfer. Not worth it.