Master Code
The "Master Code," also known as the "M" code, is needed for any other codes to work. This code gives the GameShark access to the game so it can change settings, scores and other data. Enter the "Master Code" entry screen for the game. Use the onscreen keyboard on the Game Shark to enter "74050976
aaa70689 4dd0446c 4e3c0d2f." Set this to "Always On." If it is not on, the codes will never work for the game.
Code Entry
Code entry can be a pain using the small screen and D-pad on the Game Boy Advanced. Instead, use the USB connection for the GameShark and the included "Code Manager" software to enter the codes. This way you can copy and paste really long codes instead of typing them in manually. Select the game from the list in the "Code Manager" and then select the "Add New Code Icon." Enter "e293ab84 394204f1" for infinite DP in the game. Enter the code "80c06834 cde02473" to get an instant win in all your battles.
Cheat Codes
The limited GameShark codes may not be necessary in this game. "Yu-Gi-Oh! Ultimate Masters: World Championship Tournament 2006" already has a built-in cheat menu where players can enter dozens of codes to receive extra cards and powers. GameFAQs supplies a list of these cheats, including the Ancient Gear Beast, the Dark Scorpion and King Tiger Wanghu. If you ever get stuck, it may be easier to just use one of these cheats instead of taking the time to connect your GameShark device.
Considerations
Using the GameShark cheats may take the fun out of the game, especially with the "Instant Win" code. This code takes all of the game play out and just basically has you tapping buttons to get through each battle. Once you save your copy of the game, the "Instant Win" is always going to be applied, preventing you from ever playing normally and forcing you to start the game over completely if you want to stop using the code.