Jirachi Not Obtainable in Pokémon Emerald via Code; Event-Only Distribution
You cannot get Jirachi in Pokémon Emerald through any in-game code.
Reasons:
- Not in the game's code: Jirachi debuted in Pokémon Ruby and Sapphire, released after Emerald.
- Cheats cannot add missing Pokémon: Cheat devices cannot create a Pokémon not programmed into the game.
How to obtain Jirachi legitimately:
- Past event distributions: Nintendo distributed Jirachi via special events (now ended).
- Trading: Trade from a later-generation game where Jirachi is available (requires a trading partner with a compatible game).