Jump to content

Trainer escape glitch: Difference between revisions

(Rm an error)
 
(10 intermediate revisions by 4 users not shown)
Line 9:
 
==Long-range Trainer==
A long-range Trainer is a Trainer who can be forced one tile off -screen from the first tile adjacent to them, and who will walk up to the player and challenge them to a battle when they appear.
 
The player doesn't actually have to use a long-range Trainer; there are two alternatives to using one for the glitch.
Line 27:
You will need a Pokémon with Fly, Teleport, Dig, or an Escape Rope if it is possible to use it in the place where the Trainer is.
 
Once you've chosen a long -range Trainer or one of the Trainers you can escape from using the RIVAL's effect, or decided to use the Viridian Forest wild encounter method, follow these steps:
 
===Long-range Trainer method===
The long-range Trainer method involves opening the Start menu while walking up to a Trainer who is initially off the screen (known as a "long-range Trainer") but is forced on the screen after the Start menu was opened. The player then uses Fly, Teleport, or an Escape Rope to escape from the original location before the battle begins.
 
Steps:
Line 38:
 
===Death-warp===
The death-warp method (documented by Vimgur) is notable for being a method in which the player's Start menu isn't disabled and the A/B buttons aren't partially disabled. This enables a Special stat encounter without the player having to fight another Trainer or change boxes (see the [[:#Special stat encounter|relevant section]]), as long asalthough the player ismay need to be guided by the Pewter City museum NPC or pushespush a Strength boulder if the trainer needed to walk up to the player, and also may need to flash the Start menu to prevent unwanted [[#Text box ID matching|text box ID matching]].
 
The death-warp involves the player blacking out in the grass or in a cave within a Trainer's vision. This can cause the "!" mark to appear but the battle will never begin.
Line 72:
This trick can be performed after completing one of the Trainer escape methods above in the '[[Trainer escape glitch#Initial steps of the glitch|initial steps of the glitch]]' section and may temporarily remove the ability to open the start menu.
 
There are two obstacles that usually need to be cleared before a Special stat encounter could work, [httphttps://forumsarchives.glitchcity.info/index.php?topic=forums/board-107/thread-7256/page-0.msg198353html#msg198353 as documented by Háčky].
 
*Bit 0 of $CD60 needs to be unset. This bit is set when a Trainer spots the player and when it is set disables use of the Start menu, and partially disables the A and B buttons except for certain actions like using a PC. There is no known method to clear the following obstacle without clearing this one either beforehand or in the process (except by cheating or utilizing other glitches).
*Bit 0 of $D730 needs to be unset. This bit is set while a Trainer walks up to the player and is supposed to be cleared when they finish walking. The map script DisplayEnemyTrainerTextAndStartBattle will wait for this bit to clear before actually displaying the text box and starting the fight.
 
Line 134:
 
===Ditto trick===
The '''Ditto trick''' (also known as 'Mew glitch method #4', even though Mew is not the only Pokémon that can be encountered with it) is one of the most useful glitches in the first generation of the main series Pokémon games, and it can be used to obtain non-freezing glitch Pokémon with index numbers greater than hex:00 but lower than hex:C8 (dec:200), because index numbers that are 200 or greater bring up Trainers (see the [[Trainer escape glitch#Encountering Trainers|Encountering Trainers]] section for more information).
 
This glitch takes advantage of Ditto's Transform instead of requiring that specific Trainers be encountered.
Line 171:
This [[:#Death-warp|death-warp]] trick is only possible if you haven't beaten the final Bug Catcher in Viridian Forest.
 
It is the only known way to get level 100 Pokémon before Brock in Pokémon Red and Blue without trading, grinding for an extremely long time, or skipping Brock (see [[skip Pewter Gym]]), because a long-range Trainer in Viridian Forest is present in Pokémon Yellow but not in Pokémon Red and Blue.
 
Steps:
Line 195:
#Purchase an Escape Rope at Pewter City's Poké Mart, and optionally Potions to survive a level 9 Diglett.
#Heal at the Pewter City Pokémon Center and leave the Jr. Trainer♂ in Brock's gym as an available Trainer.
#Go back to the long-range Trainer in Viridian Forest and escape from them using an Escape Rope (see [[:#long-range Trainer method|long -range Trainer method]]) to warp back to Viridian City.
#Battle the Jr. Trainer♂ in Brock's gym and use Growl six times on his level 9 Diglett, then black out to him without defeating the Diglett.
#Return to Viridian Forest and a level 1 Gengar will appear, which can be caught and leveled up to 100 using the [[experience underflow glitch]].
Line 229:
 
==Infinite Trainer escape glitch==
If you lose to the Trainer you battle after flying away, that Trainer will not be used up, and neither will the the Trainer you flew away from, meaning that the glitch can be repeated an unlimited number of times as long as you have one spare Trainer that can walk up to you other than the Elite Four and Blue. It is a good idea to use only a low -level Pokémon with Fly.
 
If you have no available Trainers that can walk up to you, the player can change boxes after flying away, reset the game, and then defeat the Elite Four and Blue. Then, the player can encounter the Ditto and get the Pokémon they want. Encountering no Pokémon after the player is sent back to Pallet Town will not let the player encounter any Pokémon; the start menu will pop up if it was the last message box, but no Pokémon will appear.
 
===Trainerless method===
This method can be pulled off without any Trainer at all and on routes without long-range Trainers (as long as at least one Trainer is present on the map). It also doesn't require a Pokémon with Fly, Teleport, Dig, or an Escape Rope.
 
Requirements :
Line 242:
For the method on how to obtain a stack of 255 items, see [[item stack duplication glitch#Requirements|this article]].
 
WARNING : It is NOT recommended to have any items in your PC except two cheap items.
 
Steps :
# Deposit the 255 items in your PC.
# Have your first PC slots as follows : Cheap item 1 x??, Cheap item 2 x??, Items x255.
# Toss / withdraw the first item [Number of items in your PC -2] times.
# Swap item slots 1 and 2 twice.
# Item 1's quantity should be 0.
# WARNING : from now onwards, do NOT mess up with items beyond the 50th, as you may corrupt your save file !
# Scroll to item number 100, which should be "j." x00 ("x." x00 in Yellow).
# Toss 255 of it to turn it into "j." x01 ("x." x01 in Yellow).
# Perform the glitch normally using the Mew / Ditto / text box matching method, and go north of Cerulean City to get the encounter (do not forget to flash the START menu).
 
Alternatively, if the player tossed Master Ball x255 in the PC, swapping the resulting Master Ball x00 with the "j." x00 ("x." x00 in Yellow) will trigger the encounter on Route 8 instead of Route 24. Swapping Master Ball x01 will trigger encounters in both routes (separately).
Line 261:
 
If the equivalent text box brought up an undefeated Trainer, it may cause the [[walking lag glitch]] (see the article for steps).
 
===Viridian Forest arbitrary text box===
Exclusively to Yellow, the Town Map in the house with Speary the Spearow (predefined text box 0x41) will load an arbitrary text box from C331 in RAM. This is the x-position of OAM entry 13 (decimal) (FE31). OAM entry 13 will vary, sometimes depending on which NPCs are visible on the screen (if not all NPCs are present), it will correspond to the x-position of the left-half of the note on the wall about Speary instead. It is possible to manipulate C331 to values which are not actually on the screen. i.e. when Speary walks left off the screen, the game may load a very high x-position for it into memory.
 
In speedruns, this is manipulated to be 0xFE, because the starting 0xFE is a text command to open a Poké Mart; which can then be used for further glitches as part of the process to warp to the Hall of Fame (such as buffer overflow of the mart due to late 0xFF byte or the use of glitch items such as [[ItemDex/Y:089|4F]]). The tile number of the NPC corresponds with the number of items in the Mart, and the rest of the OAM data which follow (including for entries 14 and onward) control individual items which appear in the Mart.
 
The run usually includes a lot of luck manipulation. The [[Pokémon Yellow reverse badge acquisition no underflow route]] article also offers the following backup strategies:
 
<pre>
There are two backup manipulation sequences, to be used when the NPCs move in unexpected ways when the player enters the house, indicating an unfavorable IGT. The player needs to load the same save file, but walk to the house in different ways:
If the girl walked up and the bird walked right, do U11, R2, U3, with A presses at U8/U10/R1.
If the girl walked down and the bird walked left, do U13, R2, U1, with A presses at U1/U9/R1.
(For comparison, in the standard manipulation, do U13, R2, U1, with A presses at U8/U10/R1. Ideally the girl should walk up and the bird should walk left.)
</pre>
 
===Route 11 glitch Poké Mart===
Line 287 ⟶ 301:
 
==Trade NPC Pokémon and resulting Pokémon==
For some reason, whenWhen you talk to a trade NPC after enabling a potential Special stat encounter (so an instant encounter when you return to the route you escaped from), it will change the Pokémon you encounter to be no longer based on the Special stat, but rather, [httphttps://forums.glitchcity.info/index.php?topic=6618.0 the identifiers of the fifth and sixth characters (including end name markers) of the trade Pokémon's nickname] (CD2D and CD2E) (in fact, CD2D is also wEngagedTrainerClass and CD2E is wEngagedTrainerSet), but encountering a wild Pokémon or Trainer afterwards will 'overwrite' the Pokémon to be based on the enemy's Special stat again.
 
This trick does not work in the Japanese Pokémon Red/Green/Blue.
Line 294 ⟶ 308:
 
The fifth character controls the species, and the sixth character controls the level. It is possible to obtain certain Pokémon over level 100 this way. Below are the possible encounters.
 
To get other encounters, the player may also be able to modify CD2D and CD2E with [[Brock through walls#Brock Fly|Brock Fly]].
 
===Red/Blue yields===
Line 316 ⟶ 332:
 
==Explanation==
Specifically for Special stat encounter, the disabled Start menu, and prevented battles, [https://forumsarchives.glitchcity.info/index.php?topic=forums/board-107/thread-7256/page-0.msg198353html#msg198344 Háčky provided the following explanations].
 
"When a Trainer spots you, the game loads the Trainer class into $CD2D and team number into $CD2E, and sets a map script that will have the Trainer give his/her dialogue and start the battle. When you leave the map, the current script for that map is saved, and will be run again when you re-enter that map.
Line 331 ⟶ 347:
[[Category:Major glitches]]
[[Category:Generation I glitches]]
[[Category:Speed runnerSpeedrunner glitches]]
[[Category:Speed runnerSpeedrunner glitches (Red/Blue/Yellow)]]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.