You have two options, because that Mystery Gift relied on a thing called a Wonder Spot, which to my knowledge can't be emulated:
1. Cheat codes. There's loads of cheat codes that let you obtain the passes that let you go to Birth Island and Navel Rock. This is generally the most reliable option.
2. The Pomeg Glitch. This is Emerald only, which means you'll have to get an emulator that allows you to trade, and is random, which means it might take you a while. Basically you access data past the 6th Pokemon slot which corrupts data and may or may not allow you to obtain either ticket. Then you trade the Pokemon with the ticket over, because once you remove it you won't be able to place it back. ChickasaurusGL has done a plethora of videos about the subject, so you should look him their videos to learn how you perform the glitch.
There's also some hacks that allow you to obtain the tickets in-game, but you'd have to start a new file on that game. Interestingly did you know those Wonder Spots were never released outside of Japan? Even in the US you could never get to Navel Rock or Birth Island legally.