Replicates the classic Trainer Fly / Teleport Mew Glitch from Pokémon Red, Blue, and Yellow natively in gen1recomp.
Detection (Trainer Fly/Teleport): Walk into a trainer's sight line (e.g. the Gambler on Route 8 or the Jr. Trainer on Route 24 / Nugget Bridge) and press Start on the exact frame/step they spot you.
- The exclamation mark (
!) appears over the trainer. - The Start Menu opens, pausing the overworld.
- Open Pokémon menu and select FLY or TELEPORT to warp away. The glitch state is now armed!
Special Stat Memory: Battle any Pokémon (wild or trainer). The mod saves the Special attribute value of the last Pokémon fought (e.g. the Youngster's Slowpoke on Route 25, which has a Special stat of 21).
Encounter Trigger: Return to the route where you escaped from the trainer (e.g. Route 8 or Route 24). Upon entering/stepping onto the map, a wild encounter is forced using the saved Special stat as the Pokémon species index:
- Special stat 21 -> MEW (Level 7).
Full tutorial on Bulbapedia.
python tools/modkit.py validate ../mewmod --base imported
python tools/modkit.py lint ../mewmod