There is no fixed answer because "Ultimate Codes" is not a standardized or official term for Pokémon GBA games (Ruby, Sapphire, Emerald, FireRed, LeafGreen).
Recommendation: For a legitimate experience, use in-game methods (Safari Zone, breeding, trading) or accepted RNG manipulation techniques rather than unverified cheat codes.