Glitch Trainer

Glitch Trainers are s that can only be battled via the use of glitches.
==Generation I==
Glitch Trainers can be battled in one of two ways: the old man glitch (if the player's name contains certain special characters in the 3rd, 5th, or 7th slot) or the (using stats ranging from 201-255 or 201-253). Unlike other s, glitch Trainers say nothing before or after the battle, and often use glitch Pokémon.
===Old man glitch method===
If the player encounters a glitch Trainer via the old man glitch, the team used by said trainer will be determined by the last team index number loaded, and the team will be always read from a nonexistent #256 - so if a Gambler with team number 3 was fought last time and the player encounters a trainer via old man glitch, the game will load team #3 of trainer #256, regardless of the encountered Trainer class. 
Below is a list of the first 10 teams of the trainers encountered via the old man glitch.
Team ID	Pokémon 1 	Pokémon 2 	Pokémon 3 	Pokémon 4 	Pokémon 5 	Pokémon 6
0 	◣ゥ 8 Lv. 32 	Glitch (FA) Lv. 32	Lv. 32 	◣ n Lv. 32 	Lv. 32 	Glitch (FA) Lv. 32
1 	Lv. 111 	Lv. 111 	Lv. 111 	Lv. 111 	Lv. 111 	ゥ$ (F0) Lv. 111
2 	ゥ (C1) Lv. 9 	Lv. 9 	Lv. 9 	Glitch (EB) Lv. 9	◣ゥ 8 Lv. 9 	Lv. 9
3 	Lv. 215 	Lv. 215 	Lv. 215 	Lv. 215 	Lv. 215 	Lv. 215
4 	Lv. 128 	Lv. 128 	Lv. 128 	a Lv. 128 	Lv. 128 	Lv. 128
5 	Lv. 128 	Lv. 128 	Lv. 128 	 	 	
6 	Lv. 64 	 	 	 	 	
7 	Pゥ ゥ ゥ Lv. 128 	Lv. 128 	Lv. 128 	Lv. 128 	Lv. 128 	Lv. 128
8 	Lv. 14 	Lv. 14 	'M (FF) Lv. 14	Lv. 14 	Lv. 14 	Lv. 14
9 	Lv. 42 	Lv. 42 	Lv. 42 	Lv. 42 	Lv. 42 	Lv. 42
===Ditto glitch method===
If the player encounters a glitch Trainer via the Ditto glitch, the Attack stage modifier of the Ditto used will determine which team will be used. This modifier is normally 7, causing the game to attempt to load the 'seventh' team; as most Trainers only have one set team, this almost always results in a glitchy team with several glitch Pokémon. If a move like is used six times to lower the Ditto's Attack stage modifier to 1, then the loaded team will be valid.
Two particular Trainers, Prof. Oak and , have three different possible teams based on the 's first partner Pokémon; therefore any Attack stage modifier from 1 to 3 will work. This is the easiest way to battle Prof. Oak with his original, dummied-out team.
===ZZAZZ glitch===
If the player performs the Ditto glitch and uses a stat of either 251, 252, 254, or 255, the ZZAZZ glitch (a.k.a. The Exploding Bulbasaur Glitch) will be triggered. This glitch heavily corrupts the game's save file and memory, changing several in-game bytes to have a value of 153; most noticeably, parts of the player's name will be overwritten with multiples of the letter "Z" (index number 153), and most of the player's Pokémon will be changed to level 153 (index number 153) with several copies of the move (index number 153).
===Jacred===
Jacred is a glitch . Its name is derived from parts of the preset names that the player can choose for themselves and their rival, specifically "Jack" and "Red". 'Jacred' can be battled by performing the with a stat of 200. Unlike other glitch Trainers, Jacred has no defined sprite and can instantly crash the game when the player's Pokémon uses a move or when the player accesses their party or uses an item.
There is also a ZZAZZ variant of Jacred, caused by using the Ditto glitch with a Special stat of 200 and Growl one or two times. Because this is a ZZAZZ variant, battles can be escaped using a Poké Ball, though the Bag will be corrupted. The screen is almost fully covered by PokéTrainer, but it is still possible to scroll down over Cancel, find a Poké Ball, and escape the battle. After escaping the battle, the player will be in a different Glitch City. The game will not be able to be saved, because when the party is opened, the game will lock. The city has no PC to indirectly save the game, nor a Pokémon Center where the save option can be restored by healing the player's party.
====Video====
=====Regular=====
=====ZZAZZ variant=====
==Generation II==
Glitch Trainers may appear in the Trainer House as a result of the Trainer House glitch.
==Unused Trainer classes==
===Prof. Oak===
Unused Trainer data for Prof. Oak (Japanese: Teacher Oak) exists in all Generation I games. He can be battled in different ways.
* By performing the using a with a stat of 226 if the wild 's is lowered by 4, 5, or 6 stages (each number of stages will yield a different team; in order: Charizard, Venusaur, or Blastoise).
* By performing the Old man glitch with a player's name containing the character in the third, fifth or seventh slots, Professor Oak can be battled as a glitch Trainer; however, he will not have a defined roster.
* By performing a specific select button glitch in the Japanese .
===Chief===
Chief is an unused Trainer class in the Generation I games. He has neither a defined sprite nor a programmed party. When battled, his sprite appears as that of a due to its Trainer class being directly after Chief in the game's data.
Chief can be battled using the and a with a stat of 227, or through the use of the old man glitch when the player's name contains a dash in the third, fifth, or seventh letter slot in English .
==Related articles==
Category:Glitches
Category:Trainer classes
it:Allenatori glitch
zh:错误训练家