|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.
A specific Nidoran♂ which is applicable for the glitch
The battle disabling Select glitch is a Select glitch in Pokémon Red, Green, and Pokémon Blue (Japanese).
In Pokémon Red/Green/Blue (Japanese versions) there is a way to disable all battles using the Select button. This allows us to explore dungeons such as Rock Tunnel, Pokémon Mansion, Unknown Dungeon/Cerulean Cave with no encounters provided that you avoid any fightable Trainers.
The steps are as follows:
1) Press Select on PC item 33 or item 33 in the expanded items pack (e.g. through dry underflow glitch
2) Exit with multiple B presses.
3) Open the Pokémon menu without using Start (e.g. through a battle or the Lavender Town Name Rater, Route 5 Day Care.
4) Swap with a specific Pokémon such as a level 8 Nidoran♂ to obtain a glitch Pokémon and activate the effects of the glitch. If the Pokémon has 35 PP on the third move, then you won't lose the Pokédex option on the menu.
In order to reverse the effects of this Select glitch, simply repeat steps 1-4 with the glitch Pokémon you obtained from the switch to get back something resembling your original Pokémon. You may not get your original Pokémon, but may be able to get it closer to the original through by doing the swap again multiple times.
Note: In v1.0 of Pokémon Red/Green, this Select glitch you may also be able to perform this Select glitch by:
1) Pressing Select on item 33 in the items menu from within battle.
2) Exiting with B.
3) Entering the Pokémon menu, then pressing A.
This Select glitch affects:
Type 2 (D131) into D6B1 -
Poison-type is hex:03, which in binary has bits 0 and 1 set. When bit 0 is set, play time will be counted. When bit 1 is set, an unused debugging remnant will be active.
This debugging remnant allows us to disable wild Pokémon battles while holding down B. Furthermore, when enabled with the GameShark code 0103B1D6 (010332D7 in English versions), you may start a New Game, skip most of the intro (using a default name; http://iimarck.us/i/default-names/) and appear outside of your house.
Catch rate (D132) into D6B2 -
Nidoran♂ has a catch rate of 235. This catch rate has bits 0, 1, 3, 4, 5 and 6 and 7 set. When bit 0 is enabled, it enables the "test battle" effect, where the PP of moves are no longer shown in battles and all of the users moves act like Pound. Test battle is a mechanic in a seemingly unused 'test battle' debugging remnant, where the player is given a level 20 Rhydon and uses it to battle against another level 20 Rhydon. (video: https://www.youtube.com/watch?v=z34Ir...). When bit 1 is set, music will 'stick' when leaving/entering buildings, exiting battles, but may update after going to a new route or flying away.
PP move 3 (D14A) into D6CA -
A PP values between 32 and 35 sets bit 5 of this address. This enables the Pokédex option on the menu.
Unknown address -
The Nidoran♂ that worked for the glitch appeared to disable all wild encounters even when the B button wasn't being held down to avoid them. The requirement on the Pokémon to do this is currently unknown.
- ChickasaurusGL (research, video and article description)