|Please note that this glitch only exists in the Japanese versions of the game, or is otherwise a glitch from a Pokémon game which was only released in Japan.
|This glitch is revision specific to revision v1.0, v1.1, v1.2. See this article for more information.
The boulder switch glitch is a natural glitch in Pokémon Yellow (Japanese) revisions v1.0, v1.1, v1.2 which was fixed in v1.3 and the localizations.
For all of the walls in Victory Road that are meant to be removed by pushing a boulder on to a switch except for the wall in 1F, it is possible to remove the wall without solving the puzzle by having Pikachu stand on the switch.
Image showing which walls can be removed using the glitch:
For unknown reasons this glitch doesn't always work, but it seems to possibly work better if you talk to Pikachu while it is standing on the switch.