Question: what to do after defeating team aqua in their hideout emerald?
Answer: Go north and then west, and step on the warp tile. Then go south and use Surf to leave the hideout. Now that you have defeated Matt, you can Surf east from Lilycove City to reach Route 124.