How do you get the Aurora Ticket from the dude in the green hat in Pokemon?

This was a Nintendo event; however, this event ended several years ago. The only way to get the Ticket is to get a GameShark and enter a trustworthy code and obtain it that way.