In Pokemon Ruby How do I Catch Jirachi?

Jirachi, a small sprite with a psychic powers, has a star-shaped head and a mostly white body. Jirachi can grant wishes and has a special attack called Doom Desire. The only way to catch Jirachi in Pokemon Ruby is to get a special ticket for one of the special Pokemon events, where they are given out.