Old Man Glitch Name Calculator
The Name Glitch: your name is a wild encounter table. Type it in and meet the monsters it summons.
Surf the east coast of Cinnabar Island right after the old man in Viridian City shows you how to catch a Pokemon, and the game goes looking for a list of wild Pokemon that is not really there. So it reads your name instead! Every letter is a number, and the game treats those numbers as levels and species, MissingNo. included. Below is that exact overlay, live, so you can see who is waiting in the water before you ever pick up a controller.
The naming screen opens on capitals, so that is the default. Letters, space and × ( ) : ; [ ] - ? ! ♂ ♀ / . , all work like the real keys. The PK and MN keys have no keyboard character, so the table further down shows what they do. Digits are not on the naming screen, so they are skipped.
Your name as the game stores it: 11 bytes, laid over the grass encounter list
Old man glitch name generator
Want a specific Pokemon? Work backwards! Pick up to three Pokemon, pick their levels, and the generator spells out a seven letter name that summons them, in order. The first letter does not matter at all (the game resets that byte before you ever reach the coast), so it is yours to choose. Lower case letters live on the naming screen's lower case page, and that is where Charmander and Squirtle hide.
Slot 1, 19.9%
Slot 2, 19.9%
Slot 3, 15.2%
Why the 3rd, 5th and 7th letters
This is not a rule someone invented, it falls straight out of how the game stores wild Pokemon. Here is the format, quoted from the disassembly:
; if first byte == 0, then no wild pokemon on this map ; if first byte != 0, then ; first byte is encounter rate ; followed by 20 bytes: ; level, species (ten times)
During the old man's demo the game needs to show OLD MAN in the battle, so it copies your real name, all 11 bytes of the name buffer, into memory that doubles as that grass list. Byte one lands on the encounter rate, and the next map you load writes over it, so your first letter does absolutely nothing (sorry, first letter). From byte two on it is level, species, level, species, and the species slots are bytes three, five and seven. Each of those bytes is read as a Pokemon's internal index number, the same numbering that makes 21 a Mew over on the Mew glitch page. Land on a real number and you meet a real Pokemon. Land on a gap and you meet MissingNo.
Then there is everything after your name. Gen 1 ends every name with a single "@" byte, value 0x50, and a name typed on the naming screen has blank 0x00 bytes after that. 0x50 is 80, which is a gap, so a six letter name puts the "@" in the 7th spot and summons a MissingNo. That is why GARDEN brings a Marowak, a Snorlax, and then a MissingNo. The blank 0x00 is 'M, and because bytes nine and eleven are always past the end of a typed name, every custom name also has 'M waiting in slots four and five. (Two wrinkles, both found by playing a new game in the game's own code: if you typed a longer name and backed up with B, each erased letter leaves an "@" behind, so a slot that would have been 'M comes out as MissingNo instead. And if you picked a preset name such as RED or ASH from the list instead of typing it, the game copies the next names on the list after it, so every slot that would read 'M reads those names instead: picked from the list in Red, RED meets Golduck at level 80, MissingNo. at level 146, MissingNo. at level 80 and Golbat at level 128 where a typed RED meets 'M. The calculator assumes you typed your name straight through. The old man glitch page has the details.)
Your name only fills the first five of the ten encounter slots, but those are the common ones: 191 out of every 256 encounters, or 74.6%. The other five slots still hold the list from the last area with land encounters you visited before the demo, which is why ordinary route Pokemon keep popping up between the weird stuff. And every key on the naming screen is worth at least 127, so anything your letters summon is way past level 100. One more surprise: a species byte worth 200 or more is not a Pokemon at all. The battle code subtracts 200 and starts a trainer battle with that class instead, so a ? in your 3rd letter picks a fight with a Team Rocket member. You cannot run from it, and its team does not match the class at all: the game reads the team from the wrong place in its trainer data, picked by the number of the last trainer you fought. Right after loading a save, every class we met in the game's own code sent out the same six Pokemon at level 32, five glitch Pokemon and a Flareon.
What every letter summons
Here is the whole naming screen in one table, read from the game's own character map. Capital letters are the safe bet for real Pokemon (D is Mewtwo, E is Snorlax, Z is Bulbasaur), the lower case page is where q, r, s, t and u turn into Charmander, Squirtle, Charmeleon, Wartortle and Charizard, and most of the punctuation starts a trainer battle instead of a wild one.
Show all 70 naming screen keys
| Key | As a species (3rd, 5th, 7th) | As a level (2nd, 4th, 6th) |
|---|---|---|
| Capital letters | ||
| A | Golduck | 128 |
| B | Hypno | 129 |
| C | Golbat | 130 |
| D | Mewtwo | 131 |
| E | Snorlax | 132 |
| F | Magikarp | 133 |
| G | MissingNo. | 134 |
| H | MissingNo. | 135 |
| I | Muk | 136 |
| J | MissingNo. | 137 |
| K | Kingler | 138 |
| L | Cloyster | 139 |
| M | MissingNo. | 140 |
| N | Electrode | 141 |
| O | Clefable | 142 |
| P | Weezing | 143 |
| Q | Persian | 144 |
| R | Marowak | 145 |
| S | MissingNo. | 146 |
| T | Haunter | 147 |
| U | Abra | 148 |
| V | Alakazam | 149 |
| W | Pidgeotto | 150 |
| X | Pidgeot | 151 |
| Y | Starmie | 152 |
| Z | Bulbasaur | 153 |
| Lower case letters | ||
| a | MissingNo. | 160 |
| b | MissingNo. | 161 |
| c | MissingNo. | 162 |
| d | Ponyta | 163 |
| e | Rapidash | 164 |
| f | Rattata | 165 |
| g | Raticate | 166 |
| h | Nidorino | 167 |
| i | Nidorina | 168 |
| j | Geodude | 169 |
| k | Porygon | 170 |
| l | Aerodactyl | 171 |
| m | MissingNo. | 172 |
| n | Magnemite | 173 |
| o | MissingNo. | 174 |
| p | MissingNo. | 175 |
| q | Charmander | 176 |
| r | Squirtle | 177 |
| s | Charmeleon | 178 |
| t | Wartortle | 179 |
| u | Charizard | 180 |
| v | MissingNo. | 181 |
| w | MissingNo. (Kabutops Fossil) | 182 |
| x | MissingNo. (Aerodactyl Fossil) | 183 |
| y | MissingNo. (Ghost) | 184 |
| z | Oddish | 185 |
| Space and symbols | ||
| space | MissingNo. | 127 |
| × | Trainer battle: Gentleman | 241 |
| ( | Venusaur | 154 |
| ) | Tentacruel | 155 |
| : | MissingNo. | 156 |
| ; | Goldeen | 157 |
| [ | Seaking | 158 |
| ] | MissingNo. | 159 |
| PK key | Trainer battle: Your Rival | 225 |
| MN key | Trainer battle: Prof. Oak | 226 |
| - | Trainer battle: Chief | 227 |
| ? | Trainer battle: Rocket | 230 |
| ! | Trainer battle: Cooltrainer (male) | 231 |
| ♂ | Trainer battle: Blaine | 239 |
| ♀ | Trainer battle: Channeler | 245 |
| / | Trainer battle: Your Rival, Champion | 243 |
| . | Trainer battle: Your Rival | 242 |
| , | Trainer battle: Lorelei | 244 |
Old man glitch FAQ
What is the old man glitch?
It is the famous Pokemon Red and Blue trick where your own name turns into wild Pokemon. When the old man in Viridian City shows you how to catch a Weedle, the game swaps your name for OLD MAN and parks your real name in the memory that holds the grass encounter list. Towns have no grass list of their own, so nothing cleans it up, and the shore tiles on Cinnabar Island's east coast read the grass list by mistake. Surf there and the 3rd, 5th and 7th letters of your name come out as Pokemon, with the 2nd, 4th and 6th letters as their levels. It is also the classic way to meet MissingNo.
How do you do the old man glitch?
You need a Pokemon that knows Fly and one that knows Surf. Talk to the old man in Viridian City, answer NO when he asks if you are in a hurry, and let him finish his catching demo. Then fly straight to Cinnabar Island without stepping into any area where wild Pokemon live on land, and surf up and down the east coast, right on the tiles where the water touches the land. The Pokemon your name spells will start showing up. Flying to Fuchsia City and surfing to the shore east of the Seafoam Islands works too.
Does the old man glitch work in Pokemon Yellow?
No. Yellow still copies your name into the grass encounter memory during the old man's demo (the disassembly even leaves a comment saying so), but Yellow fixed the other half of the bug. Red and Blue decide whether a wild Pokemon can appear by checking the bottom right tile of the square you are standing on, and Yellow checks the bottom left tile instead. On Cinnabar's east coast that bottom left tile is shore, not water or grass, so Yellow never starts an encounter there and your name is never read. The Japanese Red, Green and Blue never had the bug in the first place.
Does the old man glitch work in FireRed and LeafGreen?
No. FireRed and LeafGreen are Game Boy Advance remakes written from new code, not a patched copy of Red and Blue. The old man still gives his lesson against a level 5 Weedle, but that battle runs on its own old man controller with its own text and never moves your name anywhere. Wild Pokemon in those games come from fixed tables read straight from the cartridge, one per map, and a map without a table simply has no encounters, so there is no leftover memory for your name to leak into.
Can you get Mew with the old man glitch?
No. Mew's internal index number is 21 (hex 15), and every key on the naming screen is worth 127 or more, so no letter can land on Mew. The closest you can get is Mewtwo: a capital D is index 131, so a D in the 3rd, 5th or 7th spot of your name summons one. For Mew itself, Red and Blue have a completely separate trick, the Mew glitch.
Why is the old man glitch not working?
Check four things. First, the version: English, French and German Red and Blue have the bug, but Yellow and the Japanese games do not, and the Spanish and Italian releases made the shore act like water, so surfing there only finds Tentacool. Second, answer NO to the old man and watch the whole demo. Third, fly straight to the coast, because walking into any grassy route, forest or cave loads that area's list and wipes your name. Fourth, surf on the shore tiles themselves, the column where the water meets the land, not on the open sea.
Go deeper: the old man glitch, explained | MissingNo. | 'M (00) | the Mew glitch | the Gen 1 battle engine | glitch text in the Game Boy font | the Glitchhouse.