Restoring the Network Machine in Pokémon FireRed and LeafGreen comes down to two gems. The Ruby is hidden in Mt. Ember, and the Sapphire ends up in the hands of Rocket grunts on one of the Sevii Islands, who have to be dealt with first.
Return both gems and the machine comes back online, opening the road to the post-game.