The Glitchhouse · Pokemon Red and Blue

The old man glitch

Let the old man in Viridian City show you how to catch a Pokemon, then surf the east shore of Cinnabar Island. The game reads your name where the wild Pokemon should be, and the letters become the monsters.

Decoded from a Pokemon Red ROM · part of The Glitchhouse

Try your name in the Old Man Glitch Name Calculator →

When the old man catches a Weedle to teach you the ropes, his battle has to say OLD MAN everywhere your name would go. So the game tucks your real name into a spare buffer first, and that buffer happens to be the very same memory that holds the grass encounter list. You get your name back when he throws the ball, but the copy is never cleaned up. Fly to Cinnabar, surf the shore squares along its east edge, and a quirk in the encounter code reads that grass list while you are on the water. It reads your name, one byte per letter, as levels and species. Your name becomes a menagerie, a mix of real Pokemon, 'M and MissingNo., depending on your spelling, with three quarters of it decided by how you spelled it.

Two halves of one glitch

The old man glitch takes two unrelated things and staples them together: a helpful tutorial that parks your name in the wrong place, and a strip of shoreline that reads from the wrong list. Step through how they meet.

The demo parks your name in the grass encounter list, and nothing on the way to Cinnabar writes over it. The shore squares off Cinnabar's east edge then read that list by mistake: the game checks one tile of your square for the encounter rate and a different tile for which list to use. Two halves, one glitch.

Your name, byte by byte

Here is exactly how your name is read. Gen 1 wild data is one rate byte, then ten pairs of level and species. The demo copies your whole name buffer over the start of that list, all 11 bytes of it: your letters, then the "@" end marker, then blank bytes. Byte 1 lands on the rate, which the next map you load resets anyway, and from byte 2 on it alternates level, species, level, species. Type a name and watch which letters become the Pokemon.

byte 1 = rate (reset) even bytes = levels odd bytes = species dashed = past your name
Your 3rd, 5th and 7th letters become species, and the 2nd, 4th and 6th are their levels. Right after your name comes its end marker, "@" (0x50, a gap in the Pokemon list, so MissingNo), then blank 0x00 bytes, which read as 'M. Bytes 8 to 11 fill slots 4 and 5, so every typed name meets 'M there. Digits are not on the naming screen, so they are skipped, and this assumes you typed your name straight through. Pick a preset name like RED instead and the tail holds the next names on the preset list.

Typed, not picked. All of this assumes a name you typed letter by letter on the naming screen. Then every byte after the "@" is blank, so slots 4 and 5 are always 'M. Tested 2026-10-30 by playing a new game from power-on in the game's own code, in Red, Blue and Yellow: ASH went into the save as 80 92 87 50 and seven 00 bytes, and a second emulator (gambatte) agreed on every one of those bytes. A preset name is different. Pick RED from the list in Red and the game copies RED@ASH@JAC, the next names on the list, so RED meets Mewtwo at level 132, Golduck at 80, MissingNo. at 146 and at 80, and Golbat at 128, with no 'M at all. And if you typed a longer name and erased letters with B, each erased letter leaves an "@" behind, a MissingNo. where a blank would have been: GARDENS cut back to GAR meets Marowak and then MissingNo. twice.

The route, step by step

Doing it yourself is short. The only rules are to let the old man run his demo and to fly straight to Cinnabar without setting foot anywhere that has wild Pokemon on land, because loading any area with its own grass or cave encounters rewrites the list your name is sitting in. An in-game trade or a Cable Club session borrows the same memory too, so skip those until you are done. Tick each step.

The swap happens inside the demo, so the demo has to run. Towns, Cinnabar included, and the sea east of it have no grass list of their own, so flying there and surfing out leaves your name untouched. Standing on a shore square is what makes the game read the grass list while you surf, and then your name walks out of the sea.

Meet what your name summons

This is the part everyone wants to see. Type a name and meet what it spawns in the three most common slots, each one decoded from the ROM: the real sprite, its types, its base stats, and the exact moves a wild one would carry at that level. Gaps in the list come out as MissingNo, a blank byte is 'M, and a few symbols start a trainer battle instead. This models a name you typed on the naming screen; a preset name like RED or BLUE carries the rest of the preset list past its end instead of blanks.

Every sprite, type, stat and move here comes from the disassembled Pokemon Red ROM. The species come from your name's 3rd, 5th and 7th letters, with their levels from the letters before them, exactly as the game reads them. It runs the same engine, copied line for line, as our Old Man Glitch Name Calculator, so the two always agree.
Meet it in the battler →

Surf the coast as ASH, or type your own name, then fight, run from or catch what comes up, by the game's own rules.

Why every typed name meets 'M, and some meet MissingNo

Most names are shorter than seven letters, and the bytes past the end of a name get read all the same. The first one is the "@" end marker, 0x50, which is a gap in the Pokemon list, so it summons MissingNo whenever it lands on a species byte. For a name typed on the naming screen, everything after it is blank, 0x00, which is 'M. Pick a preset name like RED instead and the tail holds the next names on the preset list. Slide to trim PIKACHU one letter at a time and watch the tail move through the slots.

Past the end of your name, only the "@" is MissingNo. It lands on a species byte when your name has an even number of letters, and on a level byte, level 80, when the count is odd. Every byte after it is blank, so slots 4 and 5 are 'M for any typed name, and a full seven letters only pushes the "@" into slot 4's level.

Why this exact coast

You cannot do this just anywhere you can surf. It has to be a shore square, and it has to be on Route 20, the sea route that starts at Cinnabar's east edge, and there is a precise reason for both. Compare a square of open sea with one of those shore squares.

Route 20 is the only map with shore squares like these that has no grass list of its own and a water rate to roll: twelve squares along Cinnabar's east edge, and eight more on the east shore of the Seafoam Islands, which works too if you fly to Fuchsia City and surf down Route 19 to reach them, since coming from Cinnabar means crossing the Seafoam cave, and the cave reloads the list. The Seafoam shore is read from the map data; only the one by Cinnabar was played. Route 21, north of Cinnabar, has the same kind of shore, but its tall grass reloads the grass list the moment you enter, so its shore only turns up Route 21's own grass Pokemon.

Tested 2026-10-30 by playing it in the game's own code: after the old man's demo, six encounters each on Route 21's shore column in Red and in Blue were all Route 21's own Pokemon, Pidgey, Pidgeotto, Rattata, Raticate and Tangela, and never the name.

The rest of the family

The old man glitch has close relatives, and both of them can walk out of the sea on that same shore. And if you want the full readout for your own name, the Old Man Glitch Name Calculator is one click away.

MissingNo.The gap you meetThe glitch Pokemon you get when a species byte lands on a hole in the index list, like the "@" after a six letter name. Decoded on its own page. Ghost MissingNo.Same coast, other spritePut a lower case y in your 3rd, 5th or 7th letter and that byte is B8, the Ghost form: a gap wearing the Lavender Tower ghost. Same encounter, different face.
Try your full name in the Old Man Glitch Name Calculator →

Does it still work

The old man, the name swap and the shore check are all in the original code, so the glitch runs wherever that code runs. The catch is the version: this is a Red and Blue quirk, and this page decodes the English cartridges.

The name swap, the leftover and the shore check are all in the English Red and Blue code, and the Virtual Console patches leave them alone. Yellow and the original Japanese Red and Green read the encounter rate from the other tile, so a shore square never starts a battle there. In Yellow that was tested too: 1,500 steps of surfing Route 20's column after the demo gave no encounter at all, the same on a Game Boy and on a Game Boy Color (Yellow checks at power-on which one it is on). Everywhere it does work, your name comes out of the sea exactly the same way.

From the ROM

The whole thing rests on a handful of lines in the game's own code: the swap, the shared memory, the reload that never happens, the shore check, and the end marker. Here they are, straight from the disassembly.

; engine/battle/core.asm, the old man's battle menu
    ld hl, wPlayerName
    ld de, wLinkEnemyTrainerName   ; your name, parked
    ld bc, NAME_LENGTH             ; all 11 bytes
    call CopyData

; ram/wram.asm, one stretch of memory under two names
UNION
wGrassRate:: db
wGrassMons:: ds WILDDATA_LENGTH - 1
    ...
NEXTU
wLinkEnemyTrainerName:: ds NAME_LENGTH

; engine/overworld/wild_mons.asm, a map with no grass keeps the old list
    ld [wGrassRate], a
    and a
    jr z, .NoGrassData

; engine/battle/wild_encounters.asm, the shore check
    hlcoord 9, 9                   ; rate: the bottom right tile
    ld c, [hl]
    ...
    ld a, $14                      ; water?
    cp c
    ld a, [wWaterRate]             ; yes, so roll the sea's rate
    jr z, .CanEncounter
    ...
    ld hl, wGrassMons
    lda_coord 8, 9                 ; list: the bottom left tile
    cp $14                         ; water?
    jr nz, .gotWildEncounterType   ; shore, so keep wGrassMons

; constants/charmap.asm
    charmap "@", $50               ; string terminator, a gap as a species

Line your name up against that: byte one lands on the rate, then level, species, level, species. The species land on your 3rd, 5th and 7th letters, the "@" after your name is 80, a MissingNo whenever it lands on a species byte, and the blank bytes after it are 'M. That is the entire glitch, from the source.

Related specimens

Go deeper: the Gen 1 battle engine | browse the Glitchhouse.