Jirachi was the title character in Jirachi: Wish Maker where it awakens every 1000 years when the Millennium Comet appears in the night sky. Upon awakening, it became close friends with Max and his friends. Feeling somewhat homesick, Jirachi and its new friends journeyed to its home to put it back to sleep. In the games, Jirachi is a Generation III Pokémon, first appearing in the Pokémon Ruby and Sapphire games.

The Pokemon Wiki