The Glitchhouse · Pokemon Red, Blue and Yellow

The Ditto glitch: every Special stat from 1 to 255

The Ditto glitch turns your Special stat into a wild Pokemon in Pokemon Red, Blue and Yellow: escape a trainer with Fly, let a wild Ditto Transform into your lead Pokemon, whose Special is the number you want, then go back to that trainer's route, and the battle that was waiting reads the copied Special as its opponent. Special 21 gives a Mew, at level 7 unless an Attack stage moved, and the list below shows what every value from 1 to 255 does in each game, freezes included.

By GardenFlouer · Every value run in the game's own code for Red, Blue and Yellow · part of The Glitchhouse

The short answer. The Ditto glitch turns the low byte of your Pokemon's Special stat into the Pokemon that appears next. Special 21 gives Mew in Red, Blue and Yellow, at level 7 when no Attack stage moved. The level is Ditto's Attack stage at the end of the fight, and Transform copies your Pokemon's stages, so you can pick any level from 1 to 13.

Jump to the full list

The Mew glitch has a famous cousin that is quieter and far more precise. Instead of leaving a trainer's number in memory, you battle a wild Ditto, let it use Transform, and it copies your Pokemon's Special stat into the exact spot the game will later read as a wild species. The Special stat becomes the Pokemon. Twenty-one is Mew. Just past one hundred and ninety the species list runs out and the glitches begin, and from two hundred up you get a trainer instead. It is a dial with the whole Pokedex, and then some, printed on it.

How to do the Ditto glitch

Here is the whole route in Red, Blue and Yellow, in the order the game needs it. Every step is checked against the game's own code and was played with button presses in all three games, and the rest of this page shows why it works.

  1. Pick your number. The Special stat is read as a Pokemon's internal index, so 21 is Mew. The dial below has every other stop.
  2. Tune a Pokemon to it. Its Special, as shown on its STATUS screen, has to be exactly your number, or exactly 256 more, since the game reads only the low byte. That is the value Ditto copies. Put it first in your party.
  3. Trainer-Fly. Outdoors, walk into the line of sight of a trainer you have not beaten and press Start as you step in, so the menu opens before the battle can begin. Choose Fly and leave. The trainer's "!" pops up as you take off, and that battle now waits on that route.
  4. Expect a locked menu. Until a trainer battle ends or you black out, your Start menu will not open and you cannot talk to anyone. If you need to Fly before the Ditto, let a trainer somewhere else spot you and beat them. That unlocks the menu and keeps the setup intact. Let that trainer walk up to you: stepping right next to a trainer, or pressing A while facing one, while the menu is locked leaves the game stuck, and you can no longer move.
  5. Find a wild Ditto. In Red and Blue it lives on Routes 13, 14, 15 and 23 and in Cerulean Cave. In Yellow it lives only in Cerulean Cave and in the Pokemon Mansion basement (B1F). With your tuned Pokemon out, let Ditto use Transform, its only move, and it copies your Special. Then run or knock it out, and the number stays. Don't catch it: a successful catch reloads Ditto's own stats right over the number.
  6. Head back without fighting. Return to the route where the trainer saw you, and battle nothing on the way, wild or trainer. Any battle writes over the number. If your menu works again, talk to no one either: just hearing an in-game trade offer writes over it too. An Escape Rope is not a battle, so it is a safe way out of Cerulean Cave.
  7. Close the menu. The Start menu pops open by itself as you arrive, because the game is picking up the battle you flew away from. Press B and it starts a battle with whatever your Special points to, a wild Mew for 21, at level 7 unless a move changed an Attack stage during the Ditto fight.
What the glitch battle leaves behind

One map object is hidden. When the battle on the escape route ends and the opponent was a Pokemon, the game tidies up as if that Pokemon had been standing on the map, like Snorlax or a legendary bird, and hides one object. Nothing was standing there, so it reads a leftover number, left in memory by the maps you crossed on the way, and hides whatever object that number names. On the usual Mew route (Route 8, Route 25, Lavender Town) it is the Route 25 item ball, TM19. On other routes it can be a different item ball, a townsperson or a legendary bird: by the code, Moltres is the first object of that kind on its floor of Victory Road, which fits the reports of Moltres going missing. The object stays hidden, so pick up item balls and catch legendary birds you care about before the battle, or at least before you walk past them on the way back. A trainer battle from a Special of 200 or more hides nothing.

The trainer is not marked as beaten. The game sets an unused flag in his place, so by the code the trainer you flew away from can be used again. A second escape from the same trainer is not something we have played.

Tested 2026-11-12 in the game's own code in an emulator, Red and Yellow, on the Mew route: one object flag changed (the Route 25 item ball) and one unused event flag. Which object goes on other routes is read from the code, not played.

The Ditto glitch Special stat list, 1 to 255

The ones people look for: 21 is Mew, 131 is Mewtwo, 132 is Snorlax, 74 is Articuno, 75 is Zapdos, 73 is Moltres, 76 is Ditto, 84 is Pikachu, 102 is Eevee, 66 is Dragonite, 19 is Lapras, 153 is Bulbasaur, 176 is Charmander, and 177 is Squirtle. 31 is MissingNo., a normal battle in Red and Blue; in Yellow it battles or freezes depending on the cartridge's save memory, and 182, 183 and 184 are the three MissingNo. that Yellow always battles.

Every row is what the game itself did when the battle on the escape route started with that Special: a battle, a freeze, or no battle at all. Red and Blue give exactly the same list, so they share a column. In these runs no Attack stage moved, so a Pokemon came at level 7 and a trainer brought party 7.

SpecialRed and BlueYellowNote
1 to 190: the species list (level 7)
1RhydonRhydonPlayed in Red and Blue.
2KangaskhanKangaskhan
3Nidoran♂︎Nidoran♂︎
4ClefairyClefairy
5SpearowSpearow
6VoltorbVoltorb
7NidokingNidoking
8SlowbroSlowbro
9IvysaurIvysaur
10ExeggutorExeggutor
11LickitungLickitung
12ExeggcuteExeggcute
13GrimerGrimer
14GengarGengar
15Nidoran♀︎Nidoran♀︎
16NidoqueenNidoqueen
17CuboneCubone
18RhyhornRhyhorn
19LaprasLapras
20ArcanineArcanine
21MewMewPlayed in Red, Blue and Yellow.
22GyaradosGyarados
23ShellderShellder
24TentacoolTentacool
25GastlyGastly
26ScytherScyther
27StaryuStaryu
28BlastoiseBlastoise
29PinsirPinsir
30TangelaTangela
31MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184. Played in Red, Blue and Yellow.
32MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
33GrowlitheGrowlithe
34OnixOnix
35FearowFearow
36PidgeyPidgey
37SlowpokeSlowpoke
38KadabraKadabra
39GravelerGraveler
40ChanseyChansey
41MachokeMachoke
42Mr. MimeMr. Mime
43HitmonleeHitmonlee
44HitmonchanHitmonchan
45ArbokArbok
46ParasectParasect
47PsyduckPsyduck
48DrowzeeDrowzee
49GolemGolem
50MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
51MagmarMagmar
52MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
53ElectabuzzElectabuzz
54MagnetonMagneton
55KoffingKoffing
56MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
57MankeyMankey
58SeelSeel
59DiglettDiglett
60TaurosTauros
61MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
62MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
63MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
64Farfetch'dFarfetch'd
65VenonatVenonat
66DragoniteDragonite
67MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
68MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
69MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
70DoduoDoduo
71PoliwagPoliwag
72JynxJynx
73MoltresMoltres
74ArticunoArticuno
75ZapdosZapdos
76DittoDittoPlayed in Red, Blue and Yellow.
77MeowthMeowth
78KrabbyKrabby
79MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
80MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184. Played in Red, Blue and Yellow.
81MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
82VulpixVulpix
83NinetalesNinetales
84PikachuPikachu
85RaichuRaichu
86MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
87MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
88DratiniDratini
89DragonairDragonair
90KabutoKabuto
91KabutopsKabutops
92HorseaHorsea
93SeadraSeadra
94MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
95MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
96SandshrewSandshrew
97SandslashSandslash
98OmanyteOmanyte
99OmastarOmastar
100JigglypuffJigglypuff
101WigglytuffWigglytuff
102EeveeEevee
103FlareonFlareon
104JolteonJolteon
105VaporeonVaporeon
106MachopMachop
107ZubatZubat
108EkansEkans
109ParasParas
110PoliwhirlPoliwhirl
111PoliwrathPoliwrath
112WeedleWeedle
113KakunaKakuna
114BeedrillBeedrill
115MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
116DodrioDodrio
117PrimeapePrimeape
118DugtrioDugtrio
119VenomothVenomoth
120DewgongDewgong
121MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
122MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
123CaterpieCaterpie
124MetapodMetapod
125ButterfreeButterfree
126MachampMachamp
127MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
128GolduckGolduck
129HypnoHypno
130GolbatGolbat
131MewtwoMewtwo
132SnorlaxSnorlax
133MagikarpMagikarp
134MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
135MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184. Played in Red and Blue.
136MukMuk
137MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
138KinglerKingler
139CloysterCloyster
140MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184. Played in Red and Blue.
141ElectrodeElectrode
142ClefableClefable
143WeezingWeezing
144PersianPersian
145MarowakMarowak
146MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
147HaunterHaunter
148AbraAbra
149AlakazamAlakazam
150PidgeottoPidgeottoPlayed in Red, Blue and Yellow.
151PidgeotPidgeot
152StarmieStarmie
153BulbasaurBulbasaur
154VenusaurVenusaur
155TentacruelTentacruel
156MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
157GoldeenGoldeen
158SeakingSeaking
159MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
160MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
161MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
162MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
163PonytaPonyta
164RapidashRapidash
165RattataRattata
166RaticateRaticate
167NidorinoNidorino
168NidorinaNidorina
169GeodudeGeodude
170PorygonPorygon
171AerodactylAerodactyl
172MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
173MagnemiteMagnemite
174MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
175MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
176CharmanderCharmander
177SquirtleSquirtle
178CharmeleonCharmeleon
179WartortleWartortle
180CharizardCharizard
181MissingNo. item 6 +128MissingNo. depends on the save item 6 +128A gap in the species list. In Yellow it battles or freezes depending on the cartridge's save memory, the same as every MissingNo. but 182 to 184.
182MissingNo. (Kabutops Fossil) item 6 +128MissingNo. (Kabutops Fossil) item 6 +128Its own picture: the Kabutops Fossil form. One of the 3 MissingNo. Yellow always battles. Played in Red, Blue and Yellow.
183MissingNo. (Aerodactyl Fossil) item 6 +128MissingNo. (Aerodactyl Fossil) item 6 +128Its own picture: the Aerodactyl Fossil form. One of the 3 MissingNo. Yellow always battles. Played in Yellow.
184MissingNo. (Ghost) item 6 +128MissingNo. (Ghost) item 6 +128Its own picture: the Ghost form. One of the 3 MissingNo. Yellow always battles. Played in Yellow.
185OddishOddish
186GloomGloom
187VileplumeVileplume
188BellsproutBellsprout
189WeepinbellWeepinbell
190VictreebelVictreebel
191 to 199: past the end of the list (level 7)
191▶︎ A item 6 +2Glitch Pokemon $BF freezes item 6 +2Past the end of the 190-slot species list. Played in Red, Blue and Yellow.
192aGlitch Pokemon $C0Past the end of the 190-slot species list. Played in Red, Blue and Yellow.
193ゥ freezesGlitch Pokemon $C1 freezesPast the end of the 190-slot species list. Red and Blue freeze before the battle menu.
194ゥ .4Glitch Pokemon $C2Past the end of the 190-slot species list. Played in Yellow.
195h POKeGlitch Pokemon $C3Past the end of the 190-slot species list.
196PokeWTrainer freezesGlitch Pokemon $C4Past the end of the 190-slot species list. Red and Blue freeze before the battle menu.
197PkMn item 6 +2Glitch Pokemon $C5Past the end of the 190-slot species list.
198ゥL ‖ゥM 4Glitch Pokemon $C6Past the end of the 190-slot species list.
199♀︎pゥ ゥゥT freezesGlitch Pokemon $C7Past the end of the 190-slot species list. Red and Blue freeze before the battle menu.
200 to 255: trainer battles (class = Special minus 200, party 7)
200Glitch trainer: a glitch Pokemon, Drowzee (Lv 4)Glitch trainer: no PokemonTrainer class 0 is not a real class (they run 1 to 47): a glitch trainer, party 7. Played in Red, Blue and Yellow.
201Youngster: Ekans, Sandshrew (Lv 14)Youngster: Ekans, Sandshrew (Lv 14)Trainer class 1, party 7. Played in Red, Blue and Yellow.
202Bug Catcher: Weedle, Kakuna (Lv 11)Bug Catcher: Weedle, Kakuna (Lv 11)Trainer class 2, party 7.
203Lass: Pidgey, Nidoran♀︎ (Lv 16)Lass: Pidgey, Nidoran♀︎ (Lv 16)Trainer class 3, party 7.
204Sailor: Machop (Lv 20)Sailor: Machop (Lv 20)Trainer class 4, party 7.
205Jr. Trainer♂︎: Growlithe, Charmander (Lv 21)Jr. Trainer♂︎: Growlithe, Charmander (Lv 21)Trainer class 5, party 7.
206Jr. Trainer♀︎: Pikachu, Clefairy (Lv 20)Jr. Trainer♀︎: Jigglypuff, Clefairy (Lv 20)Trainer class 6, party 7.
207PokeManiac: Cubone, Slowpoke (Lv 23)PokeManiac: Cubone, Slowpoke (Lv 23)Trainer class 7, party 7.
208Super Nerd: Magnemite, Magnemite, Koffing, Magnemite (Lv 20)Super Nerd: Magnemite, Magnemite, Koffing, Magnemite (Lv 20)Trainer class 8, party 7.
209Hiker: Geodude, Onix (Lv 21)Hiker: Geodude, Onix (Lv 21)Trainer class 9, party 7.
210Biker: Grimer, Grimer, Grimer, Grimer (Lv 26)Biker: Grimer, Grimer, Grimer, Grimer (Lv 26)Trainer class 10, party 7.
211Burglar: Charmander, Charmeleon (Lv 34)Burglar: Charmander, Charmeleon (Lv 34)Trainer class 11, party 7.
212Engineer: Tentacool, Goldeen (Lv 24)Engineer: Tentacool, Goldeen (Lv 24)Trainer class 12, party 7. This class has only 3 parties, so party 7 is read from the data after them.
213Juggler: Seaking, Goldeen, Seaking, Seaking (Lv 28)Juggler: Seaking, Goldeen, Seaking, Seaking (Lv 28)Trainer class 13, party 7. This class has no parties of its own, so party 7 is read from the data after it.
214Fisherman: Seaking, Goldeen, Seaking, Seaking (Lv 28)Fisherman: Seaking, Goldeen, Seaking, Seaking (Lv 28)Trainer class 14, party 7.
215Swimmer: Horsea, Horsea (Lv 30)Swimmer: Horsea, Horsea (Lv 30)Trainer class 15, party 7.
216Cue Ball: Mankey, Mankey, Machoke, Machop (Lv 26)Cue Ball: Mankey, Mankey, Machoke, Machop (Lv 26)Trainer class 16, party 7.
217Gambler: Growlithe, Vulpix (Lv 24)Gambler: Growlithe, Vulpix (Lv 24)Trainer class 17, party 7.
218Beauty: Shellder, Shellder, Cloyster (Lv 30)Beauty: Shellder, Shellder, Cloyster (Lv 30)Trainer class 18, party 7.
219Psychic: Kadabra, Mr. Mime (Lv 29)Psychic: Kadabra, Mr. Mime (Lv 29)Trainer class 19, party 7. This class has only 4 parties, so party 7 is read from the data after them.
220Rocker: Mr. Mime (Lv 48)Rocker: Mr. Mime (Lv 48)Trainer class 20, party 7. This class has only 2 parties, so party 7 is read from the data after them.
221Juggler: Hypno (Lv 38)Juggler: Hypno (Lv 38)Trainer class 21, party 7.
222Tamer: Pidgey, Pidgeotto (Lv 29)Tamer: Pidgey, Pidgeotto (Lv 29)Trainer class 22, party 7. This class has only 6 parties, so party 7 is read from the data after them.
223Bird Keeper: Dodrio, Doduo, Doduo (Lv 28)Bird Keeper: Dodrio, Doduo, Doduo (Lv 28)Trainer class 23, party 7.
224Blackbelt: Machoke (Lv 43)Blackbelt: Machoke (Lv 43)Trainer class 24, party 7.
225Rival: Pidgeotto Lv 18, Abra Lv 15, Rattata Lv 15, Squirtle Lv 17Rival: Koffing, Voltorb (Lv 34)Trainer class 25, party 7. In Yellow this class has only 3 parties, so party 7 is read from the data after them.
226Prof. Oak: Electrode, Weezing (Lv 29)Prof. Oak: Electrode, Weezing (Lv 29)Trainer class 26, party 7. This class has only 3 parties, so party 7 is read from the data after them.
227Chief: Voltorb, Koffing, Magneton, Magnemite, Koffing (Lv 25)Chief: Voltorb, Koffing, Magneton, Magnemite, Koffing (Lv 25)Trainer class 27, party 7. This class has no parties of its own, so party 7 is read from the data after it.
228Scientist: Voltorb, Koffing, Magneton, Magnemite, Koffing (Lv 25)Scientist: Voltorb, Koffing, Magneton, Magnemite, Koffing (Lv 25)Trainer class 28, party 7.
229Giovanni: Raticate (Lv 16)Giovanni: Raticate (Lv 16)Trainer class 29, party 7. This class has only 3 parties, so party 7 is read from the data after them.
230Rocket: Raticate, Zubat (Lv 20)Rocket: Raticate, Zubat (Lv 20)Trainer class 30, party 7. Played in Red, Blue and Yellow.
231Cooltrainer♂︎: Nidoking (Lv 49)Cooltrainer♂︎: Nidoking (Lv 49)Trainer class 31, party 7.
232Cooltrainer♀︎: Nidorina, Nidoqueen (Lv 45)Cooltrainer♀︎: Nidorina, Nidoqueen (Lv 45)Trainer class 32, party 7.
233Bruno: Growlithe Lv 42, Ponyta Lv 40, Rapidash Lv 42, Arcanine Lv 47Bruno: Ninetales Lv 48, Rapidash Lv 50, Arcanine Lv 54Trainer class 33, party 7. This class has only 1 party, so party 7 is read from the data after it.
234Brock: Kadabra Lv 38, Mr. Mime Lv 37, Venomoth Lv 38, Alakazam Lv 43Brock: Abra, Kadabra, Alakazam (Lv 50)Trainer class 34, party 7. This class has only 1 party, so party 7 is read from the data after it.
235Misty: Growlithe, Growlithe (Lv 18)Misty: Growlithe, Growlithe (Lv 18)Trainer class 35, party 7. This class has only 1 party, so party 7 is read from the data after it.
236Lt. Surge: Nidoran♂︎, Nidoran♀︎ (Lv 19)Lt. Surge: Nidoran♂︎, Nidoran♀︎ (Lv 19)Trainer class 36, party 7. This class has only 1 party, so party 7 is read from the data after it.
237Erika: Pikachu (Lv 23)Erika: Voltorb, Magnemite (Lv 22)Trainer class 37, party 7. This class has only 1 party, so party 7 is read from the data after it.
238Koga: Primeape (Lv 48)Koga: Primeape (Lv 48)Trainer class 38, party 7. This class has only 1 party, so party 7 is read from the data after it.
239Blaine: Growlithe, Ponyta (Lv 17)Blaine: Growlithe, Ponyta (Lv 17)Trainer class 39, party 7. This class has only 1 party, so party 7 is read from the data after it.
240Sabrina: Pidgeotto Lv 19, Raticate Lv 16, Kadabra Lv 18, Wartortle Lv 20Sabrina: Spearow Lv 19, Rattata Lv 16, Sandshrew Lv 18, Eevee Lv 20Trainer class 40, party 7. This class has only 1 party, so party 7 is read from the data after it.
241Gentleman: Pidgeotto Lv 19, Raticate Lv 16, Kadabra Lv 18, Ivysaur Lv 20Gentleman: Fearow Lv 25, Shellder Lv 23, Vulpix Lv 22, Sandshrew Lv 20, Eevee Lv 25Trainer class 41, party 7. This class has only 5 parties, so party 7 is read from the data after them.
242Rival: Pidgeot Lv 37, Growlithe Lv 38, Exeggcute Lv 35, Alakazam Lv 35, Blastoise Lv 40Rival: Sandslash Lv 38, Magneton Lv 35, Ninetales Lv 37, Kadabra Lv 35, Vaporeon Lv 40Trainer class 42, party 7.
243Champion: Gastly, Gastly (Lv 23)Champion: Gastly, Gastly (Lv 23)Trainer class 43, party 7. This class has only 3 parties, so party 7 is read from the data after them.
244Lorelei: Gastly (Lv 24)Lorelei: Gastly (Lv 24)Trainer class 44, party 7. This class has only 1 party, so party 7 is read from the data after it.
245Channeler: Haunter (Lv 24)Channeler: Haunter (Lv 24)Trainer class 45, party 7.
246Agatha: MissingNo., Seel, Pikachu, Seadra, Growlithe, a glitch Pokemon (Lv 205) item 6 +128Agatha: Dodrio, Seel, Pikachu, Seadra, Growlithe, a glitch Pokemon (Lv 205)Trainer class 46, party 7. This class has only 1 party, so party 7 is read from the data after it.
247Lance: MissingNo. (Lv 205) item 6 +128Lance: Squirtle (Lv 205)Trainer class 47, party 7. This class has only 1 party, so party 7 is read from the data after it.
248Glitch trainer: no Pokemon item 6 +128Glitch trainer: no PokemonTrainer class 48 is past the 47 real classes: a glitch trainer, party 7.
249Glitch trainer: a glitch Pokemon, Mr. Mime, Rhyhorn, Lapras, Lickitung, MissingNo. (Lv 32)Glitch trainer: Farfetch'd, a glitch Pokemon, MissingNo., a glitch Pokemon, Magneton, Gyarados (Lv 240)Trainer class 49 is past the 47 real classes: a glitch trainer, party 7.
250Glitch trainer: no Pokemon item 6 +128Glitch trainer: Mankey, Ivysaur, Butterfree, a glitch Pokemon, MissingNo., a glitch Pokemon (Lv 203)Trainer class 50 is past the 47 real classes: a glitch trainer, party 7.
251Glitch trainer: a glitch Pokemon, Omastar, a glitch Pokemon, Nidorino, Chansey, Clefairy (Lv 0) no battleGlitch trainer: Cubone, MissingNo., a glitch Pokemon, Voltorb, Rhyhorn, Gengar (Lv 9)Trainer class 51 is past the 47 real classes: a glitch trainer, party 7. Red and Blue never reach the battle menu.
252Glitch trainer: no Pokemon item 6 +128Glitch trainer: no PokemonTrainer class 52 is past the 47 real classes: a glitch trainer, party 7.
253Glitch trainer: a glitch Pokemon, Mr. Mime, Rhyhorn, Lapras, Lickitung, MissingNo. (Lv 32)Glitch trainer: Farfetch'd, a glitch Pokemon, MissingNo., a glitch Pokemon, Magneton, Gyarados (Lv 240)Trainer class 53 is past the 47 real classes: a glitch trainer, party 7.
254Glitch trainer: no Pokemon item 6 +128Glitch trainer: no PokemonTrainer class 54 is past the 47 real classes: a glitch trainer, party 7.
255Glitch trainer: no Pokemon item 6 +128Glitch trainer: no PokemonTrainer class 55 is past the 47 real classes: a glitch trainer, party 7. Played in Red, Blue and Yellow.

How this list was tested

Every fact in the table comes from the game's own code running, not from reading it. The games are dumps of original Red, Blue and Yellow cartridges, checked byte for byte against the pret disassemblies, run in the PyBoy emulator.

The Special stat is a dial

Here is the heart of it. When the Mew glitch fires, the game reaches for a wild species and finds the leftover Special stat instead, and it reads that number as a Pokemon's internal index. So the Special stat you left in memory is the Pokemon. Slide it and watch the whole Pokedex, and everything past it, scroll by.

The number is an internal index, which is not the same as a Pokedex number: index 21 is Mew, 131 is Mewtwo. Values that land on a real slot give a real, catchable Pokemon; the gaps between them give MissingNo, and 191 to 199, past the end of the 190-slot list, give the other glitch Pokemon. Zero is an exception: the game reads a leftover zero as no opponent at all, so it gives nothing. So is everything from 200 up: the game subtracts 200 and starts a battle with that trainer class instead, and only classes 1 to 47 are real. And because it is a single byte, a Special of 256 or more simply wraps back to zero and counts up again.

Past the real Pokemon: the gaps

Dial the Special onto a slot with no real Pokemon behind it and you stop catching monsters and start catching memory. These are the gaps in the index, the famous MissingNo forms, and the Ditto glitch is the cleanest way to reach an exact one. Every sprite here is the picture the cartridge really draws, carved out of its background. Pick a gap.

Each MissingNo form here lands on a specific Special stat, so a Ditto tuned to that exact number summons that exact glitch. 'M is the exception: its number is zero, and zero summons nothing. They are decoded byte for byte on their own Glitchhouse pages; here they are just a few more stops on the same dial.

Where the number comes from

So how do you land the dial on exactly 21? The Special stat is not magic; it is an ordinary battle stat, worked out from a Pokemon's base Special, its level, and a hidden value called a DV. To hit a target, you pick a Pokemon and a level whose Special comes out to the number you want. Slide these and watch the Special, and the Pokemon it would summon, change together.

SPECIAL STAT = 21
Gen 1 stat formula with no stat experience: Special = floor((base + DV) × 2 × level ÷ 100) + 5, verified in home/move_mon.asm. The Mew glitch reads that final Special stat as a species index, so a Pokemon whose Special works out to 21 hands you a Mew. The DV is the hidden 0 to 15 value every Pokemon rolls when it appears.

Does it still work

The Ditto glitch is not a bug in one cartridge; it is how the wild encounter reads memory, so it lives wherever the game does. What changes from platform to platform is only your safety net, and here the trick is unusually kind: dialed to a real Pokemon like Mew it is completely safe, and only becomes risky if you steer it into the glitch Pokemon. Pick where you are playing.

Wild Ditto and the Special-stat read are in every version, so the glitch works the same everywhere. Catching a Mew this way gives you a genuine, tradeable Mew and touches nothing else. The only danger is at the glitch stops on the dial: the MissingNo. values can raise your sixth item's count and garble your Hall of Fame, a few values freeze the game (the list above marks each one), and on a cartridge there is no undo.

The other thing Ditto sets

The Special stat is only half of what a provoked Ditto leaves behind. The exact same setup, the number of times you make Ditto raise or lower a stat before you leave, also decides which trainer's roster the game loads if you glitch into a trainer battle instead of a wild one. TheZzazzGlitch mapped these: two Growls loads roster 5, one Swords Dance loads roster 9. And if the count lands on a roster that has no Pokemon in it, you do not get a battle. You get ZZAZZ.

The same Ditto that dials your wild species can dial a trainer's roster instead, a fact TheZzazzGlitch worked out by mapping all of them. Most rosters hold a real team; the empty ones are the trigger for ZZAZZ, the glitch trainer that maxes your money and eats your save. One wild Ditto, two very different doors.

Catch Mew

Every dial and stat on this page points at one number. Set the Special to 21, let the game read it as the next wild species, and you do not get a glitch or a MissingNo. You get Mew, a real, catchable Mew, the Pokemon that was never meant to be in the game, waiting the moment you close the START menu on the route you flew away from. Run the encounter.

A wild Mew
Special is dialed to 21. Press the button.
Special 21 is Mew's internal index, so the encounter summons a genuine level 7 Mew you can catch and keep, no different from a legitimately caught one. The full route is in the steps at the top of this page, and the Mew glitch page walks through the classic version, which uses a trainer's Slowpoke instead of a Ditto. This is just the payoff.

Meet it in the battler: type any Special from 1 to 255 and battle what the waiting battle becomes, Mew at 21. The values that freeze the game show the freeze instead.

What Transform copies

Ditto's whole gimmick is Transform: it becomes whatever it is looking at, copying that Pokemon's Attack, Defense, Speed and Special onto itself while keeping its own HP. Ditto starts life as five flat 48s. Send out one of your Pokemon, let the wild Ditto Transform, and four of its stats snap to match. Only one of those copied numbers will matter in a moment, the Special stat, so keep your eye on it.

YOUR POKEMON
TRANSFORM →
DITTO
Ditto is sitting on its own base stats, a famous flat 48 across the board. Press the button and let it copy yours.
Transform copies Attack, Defense, Speed and Special onto Ditto and skips its level and HP (engine/battle/move_effects/transform.asm). Ditto's own base stats are a flat 48 each, straight from the ROM. The Special stat is the only one the Mew glitch reads later, so it is the number to watch. The values here are an example: the real Special depends on the Pokemon's level and DVs, which is exactly the knob you tune.

From the ROM

Two facts from the game's own source hold this whole page up. The first is the stat formula, the ordinary arithmetic that turns a base stat and a level into the Special number. The second is the internal index list, where Mew sits at position 21, so a Special of exactly 21 points the wild-encounter read straight at it.

; home/move_mon.asm  - CalcStat, with no stat experience
Special = ((base + DV) * 2) * level / 100 + 5   ; every stat but HP

; constants/pokemon_constants.asm  - the internal index list
    const MEW   ; internal index 21 ($15)  <- not its Pokedex number, 151

; the glitch wild encounter reads the leftover Special stat as an index
    ; Special 21 -> index 21 -> MEW. A gap in the list -> MissingNo.
    ; 0 -> no opponent. 200 and up -> trainer class (Special - 200), OPP_ID_OFFSET.

That is the entire trick: a normal stat, copied by a Transform, read in a place the game meant for a species number. Line those two facts up and a wild Ditto becomes a dial with the whole Pokedex on it.

A wild Ditto does not know it is a key. It just copies a number, and the game, reaching for a Pokemon, reads that number and believes it.

Related specimens

Go deeper: the Mew glitch | ZZAZZ | browse the Glitchhouse.