Press Down + Select + B at the screen with the glowing Rayquaza. You can now use the Berry Fix with Pokemon Ruby and Pokemon Sapphire.