Time Capsule exploit

The Time Capsule exploit, also known as the Johto guard glitch, is a method used in that works around the programming checks put in place on the Time Capsule to prevent players from trading to Pokémon Red, Green, , and . The Pokémon sent over to the older game is either recognized as a glitch Pokémon or a , depending on its index number.
==Requirements==
To exploit the Time Capsule checks, a Generation I and game as well as a Game Link Cable are required.
In-game, the player will need a . There are multiple ways to obtain a ????? with an index number of 0xFF. The can be used to get any version of ?????. To do this, the Celebi Egg glitch should be done with a that has only two moves. This will produce an that will hatch into a "bad clone" of ????? (00), likely though there are ways to obtain a or . If the player has a ????? (00), the player must deposit said "bad clone" into the Pokémon Day Care on . Should everything go correctly, the "bad clone" will become a ????? (FF). If the Egg hatched into ????? (FC) or ????? (FE), the player will need to train them to level 3 or 18, respectively, to have them evolve into ????? (00) before depositing the "bad clone" into the Day Care. A second, though more random, method is to use to create a "bad clone" on the save file. The "bad clone" must then be taken to the Day Care to attempt a ????? (00) "bad clone" after withdrawing it. If the withdrawn Pokémon is a ????? (00), it can be deposited back into the Day Care and withdrawn again to become a ????? (FF).
==Hiding Generation II Pokémon==
This exploit takes advantage of ????? (FF)'s "cloaking" capabilities. If the ????? (FF) is switched above a Generation II Pokémon, it is possible to bring Generation II Pokémon into the Time Capsule, as long as each Generation II Pokémon in the party is hidden below the ?????. This is because Pokémon below ????? (FF) are temporarily regarded as being of index number 0x00, and ????? (00), being number 0x00, is not considered as a Generation II Pokémon by the game. In addition, ????? (FF) is regarded as index number FF, which becomes the CANCEL function. As such, Pokémon below the ????? (FF) will be regarded as 'M (00) or 3TrainerPoké $.
However, the game will still block the Pokémon if it has any moves which originated from Generation II even if ????? (FF) is above it, so any moves which originated from Generation II must still be removed Āif they are known by a Pokémon to be hidden by the ????? (FF).
==Applications==
The exploit is useful for obtaining glitch Pokémon in Generation I games, and can be used to obtain almost any glitch Pokémon in Generation I, including glitch Pokémon previously unobtainable via the and old man glitch because of a procedure where an equivalent class is fought if glitch Pokémon with index numbers of 200 and above are in the .
==Reverting 'M (00)/3TrainerPoké $ into an equivalent species==
If ????? (FF) is switched back underneath the Generation II Pokémon after entering the Time Capsule, its original species is restored, meaning that Generation II Pokémon can be taken into the Time Capsule.
If the Pokémon is traded as an 'M (00) or 3TrainerPoké $, it is actually an unstable hybrid of 'M (00) or 3TrainerPoké $ and the actual glitch Pokémon, with the actual Pokémon as the recipient and the 'M (00) or 3TrainerPoké $ as the donor. To stabilize an unstable hybrid Pokémon, a Pokémon can be evolved (in the way the recipient would), traded to , or deposited and withdrawn from the Day Care. A stabilized hybrid will be the species and level of the recipient Pokémon (or its evolved form if it was evolved), but have the stats, nickname, and moves of the donor. Once stabilized, the Pokémon can be traded to the Generation II games.
Since Generation II Pokémon do not exist in Generation I, the received Generation I Pokémon is determined by a conversion table for index numbers 0x01-0xFA which is hardcoded in the ROM of Gold, Silver, and Crystal. It is currently unknown what determines the equivalent Pokémon in Generation I for a Generation II Pokémon with index numbers 0x00 and 0xFB-0xFF because the equivalent Generation I Pokémon is not consistent on the species for these Pokémon.
Most cases require arbitrary code execution, since the trade is considered illegal if the Pokémon received from Generation I changes its type (except and ).
===Conversion===
{| border=1 width="100%" style="background: #FFF; border:1px solid #; border-collapse:collapse; margin:auto"	 	 	 	 		
Generation II	Generation II	Generation I	Generation I	Generation I 		
Hex 	Pokémon 	Hex 	Pokémon 	Pokémon 		
98 	 	BF 	▶ A 	4 4 		
99 	 	C0 	a 	4 4Hy 		
9A 	 	C1 	ゥ (C1) 	♀ . 		
9B 	 	C2 	ゥ .4 	Pp' ' 		
9C 	 	C3 	h POKé 	ゥ ( Z4 		
9D 	 	C4 	PokéWTrainer	X ゥ- xゥ, 		
9E 	 	C5 	(C5) 	4. . 		
9F 	 	C6 	ゥL ゥM 4 	7g 		
A0 	 	C7 	♀Pゥ ゥゥT 	u 		
A1 	 	C8 	ゥU? 	g g 		
A2 	 	C9 	◣ゥ 8 	ァ / g J 1 		
A3 	 	CA 	PC4SH 	Glitch (CA) 		
A4 	 	CB 	p 	. pゥ 		
A5 	 	CC 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		
CB 	 	F2 	ゥ l (F2) 	ゥ ゥェ ゥ ▷ 		
CC 	 	F3 	ゥ l (F3) 	ゥ $ A (F3) 		
CD 	 	F4 	ゥ$ (F4) 	♂ p ゥ 		
CE 	 	F5 	ゥ (F5) 	▼ pゥ 		
CF 	 	F6 	G'Mp 	ゥ $ A (F6) 		
D0 	 	F7 	'Ng'Mp 	(F7) 		
D1 	 	F8 	'Ng ゥ$ 	ゥ 4- 4 		
D2 	 	F9 	94 h 	 		
D3 	 	FA 	Glitch (FA) 	ゥ▾ ゥ♂ 		
==== MissingNo. forms ====
None of them can be traded between Generations I and II without arbitrary code execution because their type is Bird/Normal or Normal/999.
{| border=1 width="100%" style="background: #FFF; border:1px solid #; border-collapse:collapse; margin:auto"	 	 	 	
Generation II	Generation II	Generation I	Generation I	Generation I
Hex 	Pokémon 	Hex 	Pokémon 	Pokémon
D4 	 	1F 	MissingNo.()	MissingNo.()
D5 	 	20 	MissingNo.()	MissingNo.()
D6 	 	32 	MissingNo.()	MissingNo.()
D7 	 	38 	MissingNo.()	MissingNo.()
D8 	 	3D 	MissingNo.()	MissingNo.()
D9 	 	3E 	MissingNo.()	MissingNo.()
DA 	 	3F 	MissingNo.()	MissingNo.()
DB 	 	43 	MissingNo.()	MissingNo.()
DC 	 	44 	MissingNo.()	MissingNo.()
DD 	 	45 	MissingNo.()	MissingNo.()
DE 	 	4F 	MissingNo.()	MissingNo.()
DF 	 	50 	MissingNo.()	MissingNo.()
E0 	 	51 	MissingNo.()	MissingNo.()
E1 	 	56 	MissingNo.()	MissingNo.()
E2 	 	57 	MissingNo.()	MissingNo.()
E3 	 	5E 	MissingNo.()	MissingNo.()
E4 	 	5F 	MissingNo.()	MissingNo.()
E5 	 	73 	MissingNo.()	MissingNo.()
E6 	 	79 	MissingNo.()	MissingNo.()
E7 	 	7A 	MissingNo.()	MissingNo.()
E8 	 	7F 	MissingNo.()	MissingNo.()
E9 	 	86 	MissingNo.()	MissingNo.()
EA 	 	87 	MissingNo.()	MissingNo.()
EB 	 	89 	MissingNo.()	MissingNo.()
EC 	 	8C 	MissingNo.()	MissingNo.()
ED 	 	92 	MissingNo.()	MissingNo.()
EE 	 	9C 	MissingNo.()	MissingNo.()
EF 	 	9F 	MissingNo.()	MissingNo.()
F0 	 	A0 	MissingNo.()	MissingNo.()
F1 	 	A1 	MissingNo.()	MissingNo.()
F2 	 	A2 	MissingNo.()	MissingNo.()
F3 	 	AC 	MissingNo.()	MissingNo.()
F4 	 	AE 	MissingNo.()	MissingNo.()
F5 	 	AF 	MissingNo.()	MissingNo.()
F6 	 	B5 	MissingNo.()	MissingNo.()
F7 	 	B6 	MissingNo.()	MissingNo.()
F8 	 	B7 	MissingNo.()	MissingNo.()
F9 	 	B8 	MissingNo.()	MissingNo.()
FA 	 	34 	MissingNo.()	MissingNo.()
==Video==
==External links==
* Glitch City Laboratories wiki article
* Glitch City Laboratories thread
==Related articles==
it:Glitch della guardia di Johto
zh:城都宝可梦错误（漏洞）