Do you ever browse Bulbapedia via a mobile device? Would you like to help us out? Check out this month's improvement drive, Mobile March!
Please remember to follow the manual of style and code of conduct at all times.
Check BNN and Bulbanews for up-to-date Pokémon news and discuss it on the forums or in our IRC channel #bulbagarden on

Mew glitch

From Bulbapedia, the community-driven Pokémon encyclopedia.
(Redirected from Mew Glitch)
Jump to: navigation, search
050Diglett.png This article is incomplete.
Please feel free to edit this article to add missing information and complete it.
Reason: Some incomplete sections; Ditto glitch encounter table could be made neater, it is also missing a bit of information on glitch Trainers, such as which Specials produce the ZZAZZ glitch, the differences between the various different Trainer classes all named "Blue" (as he normally appears multiple times with different battle sprites), and so on.

A wild Mew being found using the Mew glitch

The Mew glitch (also known as Trainer-Fly glitch) is a famous glitch found in all of the Generation I Pokémon Game Boy games. It was first reported in 2003[1], but was used previously by many who knew it. This glitch famously allows players to easily catch any Pokémon in the game, most notably Mew (hence its common name). In addition, it is the easiest way to catch many unique glitch Pokémon.


Method #1

The first documented and most commonly known method to perform the Mew glitch involves the Gambler on Route 8, who is facing north towards the Underground Path entrance, and the Youngster on Route 25 who is facing north and has a Slowpoke on his team. The player must have defeated neither Trainer before, and must also have a Pokémon who can use Fly on their team.

The player must stand directly beneath the Underground Path entrance door, at which point the aforementioned Gambler will be exactly one tile offscreen. It is recommended that the player save the game at this point in case a mistake occurs in a future step. The player then can begin the glitch by taking one step down, and pressing and holding the Start button while the step is occurring. The Gambler will be scrolled onto the screen during this process and the player will enter his line of sight, but the start menu should appear before the Gambler "sees" the player.

From the start menu, the player must Fly away (with the most convenient location being Cerulean City). If the previous steps have been performed correctly, the Gambler will have the indicative exclamation mark appear above his head, but then the Fly animation will begin before he can walk up and challenge the player.

After landing in Cerulean City, the Start, A, and B buttons will not function properly, as the game believes that the player is currently in a battle. From here, the player should walk to Route 25 and battle the aforementioned Youngster. Importantly, the Youngster must walk up to the player to initiate the battle, or else the game will freeze.

After battling the Youngster, the previously disabled buttons will now work again. The player must now return to Route 8 (with the most convenient method being Flying to Lavender Town and heading west). Upon entering the Route, the start menu will appear by itself; closing the menu will immediately begin a battle with a wild Level 7 Mew.

If the game is saved and reset during the glitch, or the player returns to Route 8 after Flying but before battling, or if any battle occurs or any NPC is interacted with between the time of the Youngster battle and the Mew encounter, then the glitch will not work and the game must be reset to before Flying from the Gambler.

Method #2

This alternate method is sometimes known as the Quick Mew glitch, as it allows the player to obtain Mew at the earliest possible point in the game.

It is very similar to Method #1, except that the Jr. Trainer on Route 24 west of Nugget Bridge should be used in place of the Route 8 Gambler, and the first Swimmer in Cerulean Gym used in place of the Route 25 Youngster. As Fly is not available at this point in the game, the player must catch an Abra and use its Teleport in place of Fly.

At the end of the glitch, the player should return to Route 24 rather than Route 8, as that is the area where the glitch began.

By Wooggle
Videos are currently unavailable on Bulbapedia; instead, you can watch the video on YouTube here.


The reason why the Route 8 Gambler and Route 24 Jr. Trainer can be used to begin the glitch is because they are 'long-range' Trainers; i.e. their vision range is the maximum possible and they will see the player the moment they appear on the screen in the line of sight. When the game draws any NPC on the screen, that NPC is first placed in their default direction (south) for one frame, before being updated to face their correct direction. This allows the start menu to be opened during the one frame that the player is within the Trainer's line of sight but has not yet been seen. The remainder of the steps effectively trick the game into believing that the player is conducting a battle when in fact he/she is not, causing various values to be read improperly and creating the glitch.

The player must battle a Trainer (not just a wild Pokémon) in between the escape and the final encounter, otherwise no encounter will appear. This is because the game initially expects the player to start a Trainer battle (from the 'escaped' Trainer) and the player must 'finish' the battle before the game can begin behaving properly (even if the finished battle is actually a different Trainer).[citation needed] For the same reason, this Trainer must walk up to the player; he/she cannot be talked to directly or walked immediately in front of to initiate the battle, or the game will freeze.

The reason why Mew specifically appears at the end of the glitch is based on the relationship between its index number, which is 21, and the Special stat of the Pokémon last battled. In both of the above cases, the Youngster's level 17 Slowpoke and the Swimmer's level 16 Shellder, the last Pokémon in their respective parties, have a Special stat of 21.

Any method of 'escape' from the long-range Trainer may be used, including Dig and the Escape Rope if the Trainer is in a cave area.


The mechanics of the Mew glitch are rife with possibilities, making it one of the most useful glitches in the game.

Extended Mew glitch

050Diglett.png This section is incomplete.
Please feel free to edit this section to add missing information and complete it.
Reason: Does using moves like Growth, Amnesia, etc. affect the species encountered? Either way it should be documented here.

As the Pokémon that appears from the glitch is based on the Special stat of the Pokémon last battled, the player can easily manipulate which species appears by battling a different Trainer, or even by encountering wild Pokémon after the escape and Trainer battle but before the encounter. For example, the Lass at the top of the first floor of Mt. Moon has a level 11 Bellsprout with a Special stat of 22 last in her party, and so battling her last in the glitch will result in encountering a level 7 Gyarados, whose index number is 22.

Ditto glitch

The easiest way to manipulate the last encountered Special stat when performing the glitch is to first obtain it on one's own Pokémon, and battle a wild Ditto. Send out the Pokémon with the desired Special stat on itself, and wait for the wild Ditto to use Transform. As the move Transform copies all of the target's stats, the Ditto will take on the Special stat of the Pokémon sent out. After defeating it, proceed as normal, being sure to not battle any other Pokémon before the end of the glitch.

The Special stat on the player's own Pokémon can be caused either by natural leveling or by stat experience.

In Pokémon Yellow, as wild Ditto can only be found in the basement of Pokémon Mansion, it is highly recommended to bring an Escape Rope or a Pokémon who knows Dig, in order to leave the Mansion immediately after battling the Ditto. If the player attempts to walk out of the Mansion and encounters another wild Pokémon on the first floor, its Special stat will overwrite that of the Ditto and cause a different Pokémon than the one desired to be encountered.

As it is easily possible for one's Special stat to exceed 190, the highest index number of a valid Pokémon, the Ditto glitch allows easy access to several glitch Pokémon for Special stats of 191 or higher. For example, in Red/Blue, a Special stat of 198 will lead to battling a ゥL ゥM 4. If the Special stat is between 200 and 255, the player will instead battle a glitch Trainer instead of a wild Pokémon. It is even possible to battle Professor Oak in this way. Some Special stats (namely 200 and 248-255) correspond to invalid Trainer classes and may lead to the memory-corrupting ZZAZZ glitch depending on the level/roster value (which defaults to 7; see level and roster manipulation). As the ZZAZZ glitch can be hazardous to the save file, performing the Ditto glitch with these Special stats should be avoided.

Special stats of 256 or higher will wrap around to 0 and continue from there, as index numbers are limited to one byte. For example, a Special stat of 300 will yield exactly the same effects as a Special stat of 44. This is the only way to use the Ditto glitch to encounter Pokémon whose index values are less than 5 (as Special stats cannot normally go lower than that).

List of encounter values

See also: List of Pokémon by index number (Generation I)

Glitch Trainers are in bold.

Level and roster manipulation

A Pokémon encountered at the end of the Mew glitch most commonly appears at level 7. The reason for this is because, just as the previous Pokémon's Special stat corresponds to the index number of the encountered Pokémon, the previous Pokémon's attack stage modifier corresponds to the level of the encountered Pokémon. This attack stage is often expressed as ranging from -6 to +6, but is actually stored internally as a number ranging from 1 to 13, with 7 being the default. Therefore, if the player uses a move like Growl once on the previous Pokémon, the encountered Pokémon will appear at level 6.[2]

Using Growl six times to minimize the attack stage modifier will result in encountering a level 1 Pokémon, which cannot normally be found and can lead to the experience underflow glitch.

If the Ditto glitch is used and a glitch Trainer is encountered, the team that the Trainer class uses corresponds to the attack stage modifier. This usually results in the game attempting to load the 7th possible party of that Trainer, which may not exist (for example, Trainer classes such as Brock, Misty, and Lance have only one valid party). If a Trainer with invalid party data is battled, the Trainer's team will likely contain glitch Pokémon. However, if the attack stage modifier is first lowered to 1, then the game will attempt to load a valid 1st party. Roster manipulation is most notable in the case of battling Professor Oak, who has three valid parties (corresponding to each of the starter Pokémon) and so an attack stage modifier from 1 to 3 will allow the player to battle one of his otherwise inaccessible valid teams. When the game does load an 'out of bounds' roster, the game will take a team from the subsequent Trainer class or classes by index number, if one exists; for example, Bruno (233)'s roster #2 will be the same as Brock (234)'s roster #1, and Bruno (233)'s roster #7 will be the same as Blaine (239)'s roster #1 (as all Trainer classes from 233 to 239 contain only one valid party).

Snorlax skip glitch

050Diglett.png This section is incomplete.
Please feel free to edit this section to add missing information and complete it.
Reason: What is the object removed when performing the Mew glitch on either of the 'standard' two methods above?.

Several areas in the game contain 'removable objects', or a list of sprites that can be permanently deleted from the area. This list includes all item balls, various NPCs such as the Team Rocket Grunts that block buildings in Saffron City, and, importantly, any one-time stationary wild Pokémon, such as the legendary birds. Whenever a player enters an area, if the area contains any removable objects, then the game will load the list from that area into memory.

Whenever the player encounters a wild Pokémon, the game checks to see if it was generated from a random encounter table. If it was not, then the game assumes that the player must be battling a one-time stationary encounter. When making this assumption, the game will automatically delete that stationary sprite from the list of removable objects for the area, to prevent the player from encountering the one-time Pokémon again.

The key is that a wild Pokémon encountered through the Mew glitch has not been generated from a random encounter table, and thus the game will assume that the player is battling a stationary encounter and attempt to delete a sprite. However, if the player is currently not in an area that contains any removable objects, the game will simply use whatever list is currently in memory - namely, the list from the most recent area the player was in that contained removable objects. This behavior can be used to bypass various obstacles in the game, most notably allowing the player to remove the Snorlax on Route 12 and thus skipping not only the Pokémon Tower in Lavender Town (as the player no longer has to pick up the Poké Flute), but also the entirety of Route 9, Route 10, and Rock Tunnel, as well as postponing the Cerulean Gym and the S.S. Anne until the end of the game (as the player no longer needs HM01 (Cut) to get access to Route 9).

To perform the above particular Snorlax skip glitch (assuming the goal is to complete the game as fast as possible), the player must first enter Route 12 (from the Route 11 side), in order to load its removable objects list into memory including Snorlax. The player must then head through Vermillion City and perform the Trainer-Fly glitch from a long-range Trainer on Route 6, escaping back to Vermillion City. The player can complete the Trainer-Fly glitch by battling any Trainer on Route 11 and returning to Route 6 to trigger the Special encounter. Upon battling whatever wild Pokémon was generated on Route 6, the game will attempt to delete a sprite from the removable objects list currently in memory. As none of Route 11, Vermillion City, or Route 6 have any removable objects, the list currently in memory will be that of Route 12, and the Snorlax will disappear after the battle ends.

When performing the Mew glitch in general, care must be taken to avoid accidentally deleting an undesired sprite. If the list of removable objects in memory at the time of the Special encounter does not properly contain a stationary Pokémon encounter sprite as expected, the game may end up deleting item balls or other desirable objects, if the player has not picked them up already.

Mew glitch without a long-range Trainer

If there is tall grass in the tile immediately in front of a Trainer's line of sight, or a Trainer is in a cave, then the 'Trainer-Fly' effect can be initiated even if that Trainer is not a long-range Trainer. This can only occur if the player is lucky enough to generate a (natural) wild encounter on the exact tile immediately in front of the Trainer. If the player then blacks out from this wild battle, they will be warped back to the Pokémon Center as normal, but the Trainer will see the player before he/she warps back (the "!" is visible very briefly during the blackout animation).

A number of glitch items enable the player to move around on the map without being seen by Trainers; if the glitch item's effect is disabled while in front of a Trainer, then a Trainer-Fly effect can begin.

No other Trainers remanining

As the player must battle another Trainer (in a different area) after escaping from the long-range Trainer before the final encounter can appear, this can cause problems if all possible available Trainers have been defeated. The Elite Four can be rebattled indefinitely, but as the A button to talk to characters remains nonfunctional until a Trainer has been defeated, it is not possible to challenge them directly. Nor can the player directly save the game as the start menu cannot be opened.

To remedy this, after escaping the long-range Trainer, the player must visit a PC and save the game indirectly by switching boxes. After saving, the player can reset the game; the Start, A, and B buttons will now be functional. The player can then defeat the entire Elite Four and Champion in place of battling another Trainer (as no such Trainers exist), and finally return to the area of the first long-range Trainer to complete the glitch. It is recommended to flash the start menu right before returning, to prevent a possible text box error (see below).

Note that as long as the player has at least one undefeated Trainer in a different area than the long-range Trainer, they can avoid the above tediousness indefinitely. It is not necessary to defeat another Trainer after escaping, only battle one, so a player can deliberately lose to a Trainer and continue on with the glitch, and that Trainer will remain battleable.

Text box errors and variations

If the player causes a text box to pop up before returning to the area where the long-range Trainer was escaped from, such as by talking to a NPC or reading a sign, then something other than the start menu will pop up at the end of the glitch. This is typically dialogue from Trainers on the route, which may be followed by a wild Pokémon battle, after which the player will no longer be able to move.[citation needed] Alternately, the text may be from interacting with a sign or an item; in the latter case, the item will appear in the player's inventory and disappear from the route as if they had picked it up normally. This may also allow the player to obtain items which are not currently on the route. Finally, instead of a text box, the player may trigger other glitches, such as glitch songs or 0 ERROR.

In other languages

Language Name Translation Origin
Japanese fifth法 "fifth method" Named after user fifthヽ(´ー`)ノ◆Fi3PJTZKLQ who posted about it on 2ch. (source)
Japanese とくしゅエンカウント "Special encounter" Named after the fact the last Special in memory determines the encounter. (source) Less common than "fifth法".

External links


  1. Nation Master - Encyclopedia: Mew glitch
  2. Glitch City Laboratories' page about the Ditto glitch

Cloning glitchesGlitch PokémonGlitch types
Generation I: --0 ERRORCable Club escape glitchError codesExperience underflow glitchGlitch CityGlitch dimension
Glitch movesGlitch TrainersItem duplication glitchJohto guard glitchMew glitchOld man glitchPewter Gym skip glitch
Pokémon merge glitchRhydon glitchSelect glitches (dokokashira door glitch, second type glitch)
Super GlitchZZAZZ glitch
Generation II: Celebi Egg glitchCoin Case glitchesError codesExperience underflow glitchGlitch Egg
Johto guard glitchSketch glitchTeru-samaTrainer House glitchGlitch dimension
Generation III: Berry glitchDive glitchPomeg glitch
Generation IV: Acid rainGlobal Terminal glitchesMimic glitch
Pomeg glitchRage glitchSurf glitchTweaking
Generation V: Sky Drop glitchFrozen Zoroark glitch
Generation VI: Lumiose City save glitch
Glitch effects: Game freezeGlitch battleGlitch song
Gens I/II only: Japanese characters in the international versions
Gen I only: Glitch screenTMTRAINER effectInverted sprites
Gen II only: Glitch dimension
Lists: Glitch movesGlitch types
Glitch Pokémon (Gen IGen IIGen IIIGen IVGen VGen VI)
Glitches (Gen IGen IIGen IIIGen IVGen VGen VISpin-off)

Project GlitchDex logo.png This article is part of Project GlitchDex, a Bulbapedia project that aims to write comprehensive articles on glitches in the Pokémon games.