Main Menu





Search Wiki


Unterminated name glitch item instant encounter glitch
 Page | Discussion | View source | History

From Glitch City Laboratories

Jump to: navigation, search
Major glitches of the Pokémon series
"Core" glitch Variants and Consequences
Arbitrary code execution see template, remote, cart-swap, unintended ROM code execution
2x2 block encounter glitches Left-facing shore tile glitch (in-game trade shore encounter trick, old man trick, Trade link up shore encounter trick, Fight Safari Zone Pokémon trick)
99 item stack glitch ­
Bad clone glitch ????? party overloading (Type 0xD0 move glitch, ????? map corruption, Celebi trick, Celebi Egg trick, Shiny Celebi trick, glitch move map corruption, overloaded party map corruption, Glitch Unown (Glitch Unown map corruption) Duplicate key items glitch (infinite items and item creation, expanded Balls pocket (TM/HMs outside of the TM/HM pocket, Glitch Pokédex categories))
Berry glitch
Bug-Catching Contest data copy glitch (Japan only)
Ditto DV manipulation
Elite Four door glitch (Japan only)
Expanded party encounter table manipulation
Glitch City Safari Zone exit glitch, RAM manipulation
Glitch meta-map script activation (Generation I)
Infinite Master Balls (Colosseum)
Large storage box byte shift glitch storage box remaining HP glitch, maximum stat glitch
Item duplication glitch
Item stack duplication glitch Generation I expanded items pack (Glitch Rocket HQ maps, Map FE (English and non-English European Yellow), Map script pointer manipulation (arbitrary code execution, map script pointer item ball manipulation), Text pointer manipulation (arbitrary code execution, item ball manipulation, mart buffer overflow), Trainerless instant encounter glitch
Transform held item glitch (Japan only)
Mimic glitch (Japan only)
Out of bounds Glitch City (Generation II) Slowpoke Well out of bounds corruption (French version)
Lumiose City save glitch
Pikachu off-screen glitch Trainer corruption glitch
Pokémon merge glitch
Pomeg glitch Pomeg data corruption glitch
Roaming Pokémon encounter glitch
(Mimic) Transform Rage glitch
Select glitches (Japan only) Closed menu: Dokokashira door glitch (international), Fossil conversion glitch (international), Second type glitch, Skip to Level 100 glitch, Trainer mutation glitch, walk through walls (international) Special menu: Lift glitch, Badge describer glitch)
Sketch glitch
SRAM glitch (Generation I) 255 Pokémon glitch, send party Pokémon to a new game
SRAM glitches (Generation II) Mailbox glitches, Mystery Gift item corruption, Trainer House glitches
Surf down glitch Grass/rock Surfing glitch (Spanish/Italian only) (adaptions: Submerge glitch (international), 8 8 (0x7C) grass/rock surfing glitch (English Red/Blue))
Time Capsule exploit
Trainer escape glitch Death-warp, Mew Trick, Ditto Trick, Experience underflow glitch
Buffer overflow techniques Japanese unterminated name glitch item instant encounter glitch, LOL glitch, Rival LOL glitch, Instant LOL glitch, RAM LOL glitch, oobLG, blockoobLG, Instant encounter infinite chain glitch (LGFly)), Super Glitch (Generation I) (party remaining HP glitch), Super Glitch (Generation III), Text pointer manipulation mart buffer overflow glitch, CoolTrainer♀-type move, Double distort CoolTrainer♀ corruption, Yami Shop glitch
Walk through walls ledge method, museum guy method, Rival's effect, Select glitch method (international), Brock Through Walls
ZZAZZ glitch party Pokémon box data shift glitch

(view, talk, edit)
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.

The Unterminated name glitch item instant encounter glitch (Japanese: ポケモンを呼ぶ笛, Calling Pokémon with the flute) is a glitch in Pokémon Red, Green, Blue, and Yellow involving a unterminated name glitch item. It is closely related to the Yami Shop glitch.


1. Move to an ideal place that contains a 0x50 sub-tile to prevent the unterminated name glitch item from freezing the game upon selection.

2. Order your items so that a Poké Flute is the first in the list, and the unterminated name glitch item is directly below it.

3. Press A on the glitch item and cancel with B to force select the Poké Flute if force selection is enabled (due to corruption of address 0xD05A (0xD059 in Yellow).

4. A wild Pokémon or Trainer will appear based on the title on the screen at BGB coordinates x=01, y=0B.

Step 2 can be replaced with attempting to sell the glitch item (with the proper screen data saved) in a Poké Mart when an unsellable item, such as the Poké Flute, is at the top of the page of the items list.

Below are two examples of locations that give Mew.

LNIJ Mew1.pngLNIJ Mew2.png


When the player presses A on an unterminated name glitch item, its name will be copied from the buffer at CD68 to CF45. As the name is greater than 20 characters with no hex:50, data is copied to CF59 from beyond the buffer, which is the beginning of screen data that is saved after opening menus such as the item pack, party or Pokédex. No data will be copied after a hex:50 (if it exists) in the screen data.

An instant encounter with a Pokémon occurs when a value to D036 is written to, with the Pokémon depending on the tile on the screen at BGB coordinates x=01, y=0B.


Due to the equivalent coordinates being a menu tile, it is not known how to exploit the glitch in the international versions as the only outcome is a Hooked Metapod. However, the glitch oobLG allows the manipulation of D059/8, the English version instant encounter address.

Additionally, other glitches including CoolTrainer♀ corruption, Double distort CoolTrainer♀ corruption, LOL glitch and Rival LOL glitch alternatively allow the player to get many Pokémon by corrupting CFD8/7 (the enemy Pokémon in battle address) and capturing the Pokémon.


YouTube video by ChickasaurusGL