I don't actually know a cheat for getting Manaphy, but I do know a legitimate method. You'll need a Pokémon that knows Surf, access to Cinnabar Island, a Super Rod, and a Master Ball. Go to Cinnabar Island and run directly south of the Gym sign, then surf to the rock in front of you. Next, turn left and use the Super Rod repeatedly until Manaphy appears. It's level 100, which is why you'll want that Master Ball. Note that this only works with LeafGreen/FireRed version 1.1.