It allows the player to go to the Pokémon League without having the Boulderbadge if it is used in combination with a Skip Pewter Gym glitch on a save file with all of the badges except the first one.
Requirements
Must have skipped the first gym and not obtained the Boulderbadge.
Procedure
The player must have firstly performed a walk through walls glitch. Go to Route 22. Note: You need to be able to walk through walls at this point. Keep walking up and you will end up at a glitchy version of Route 23, but the glitches are only visual.
After this trick you will have skipped the Boulderbadge badge check process.
Do not walk through the Pokémon League front gate or any other door or you'll lose your ability to walk through walls if you're not using a cheating device.