the story follows the player as they defeat teams aqua and team magma, crime groups who want to use pokémon to change the weather in hoenn. in ruby, team magma, want to use the legendary pokémon groudon to dry up the oceans of hoenn and increase the amount of land; in sapphire, the team aqua are the villains and they try to kyogre, to increase the hoenn's water levels.