You mean with a ROM and an emulator? If so, if you're using Visual Boy Advance, one of the top row options should have something to do with codes, or its drop down menu will have an option for codes. Find Gameshark codes for the game, and enter them in the place you enter codes on VBA.