In order to get through Victory Road, you need to push some rocks. The puzzles are simple if you know what to do, push the boulders onto the round switches to clear the path and be sure to bring a powerful Water type Pokémon since most wild Pokémon in this dungeon are Ground type.