Glitch item: Difference between revisions
Content deleted Content added
>Torchickens |
|||
(40 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Arbitrary code execution}} |
|||
'''Glitch items''' are invalid items in the Pokémon games. Unavailable items such as {{FRLG}} key items in {{ |
'''Glitch items''' are invalid items in the Pokémon games. Unavailable items such as {{FRLG}} key items in {{Emerald}} may also be considered to be glitch items, as well as unused/unavailable items such as ????? (hex:07) and BoulderBadge (hex:15) — see [[unused items]]. |
||
Glitch items may have special uses (in Generations I and II), different names (in Generation I and to an extent Generation II) and Poké Mart buy and sell price data. |
Glitch items may have special uses (in Generations I and II), different names (in Generation I and to an extent Generation II) and Poké Mart buy and sell price data. |
||
Line 8: | Line 9: | ||
===In {{RGBY}}=== |
===In {{RGBY}}=== |
||
Glitch items occupy [[index numbers]] hex:00, hex:54 through to hex:C3 and hex:FB through to hex:FF. |
Glitch items occupy [[index numbers]] hex:00, hex:54 through to hex:C3 and hex:FB through to hex:FF. |
||
Types of glitch items: |
|||
*[[Unterminated name glitch item]]s: These are items without a 0x50 byte in the first 20 characters of their name. They can be used for various [[buffer overflow]] techniques with specific tiles on the screen. When the A-Button is pressed on them without a [[0x50 sub-tile]] present on the screen, it is most likely the game will freeze. |
|||
*Lag name glitch items: These cause the items list to temporary freeze until the player taps A or B a specific number of times while scrolling up/down. It is advised to tap B instead of A due to the risk of a game freeze from an unterminated name glitch item, which could freeze the game, and potentially destroy the save data, especially on Nintendo 3DS Virtual Console versions. |
|||
*[[Rival's effect]] glitch items: These glitch items are capable of causing the Rival's effect; an effect that opens a menu and allows the player to walk through impassable tiles once it is closed with B. |
|||
*[[Partial escape glitch item]]s: These allow for the player to partially escape from a wild battle, or restart a Trainer battle. |
|||
*[[:Category:Screen data saving glitch items|Screen data saving glitch items]]: These allow for the player to create a copy of the screen while the items menu is open, which is useful for [[Rival LOL glitch]] or a similar glitch. |
|||
*String printing glitch items: These may include a variable string in the item's name |
|||
*[[Map distortion glitch item]]s: Documented by TheZZAZZGlitch, these glitch items have the capability of corrupting the map when their name is shown, in an area with a lot of grass. A player name that is four characters long or more is also required. |
|||
*[[Arbitrary code execution]] glitch items: These glitch items do not have hard coded effects; instead the effects are sourced from a pointer in rewritable memory, such as [[RAM]]. Depending on the source pointer, it is possible to manipulate the item to do almost anything in game. [[ItemDex/RB:093|8F (0x5D)]] and [[ItemDex/Y:099|ws m (0x63)]] are infamous examples in the English versions. |
|||
*RAM name glitch items: These are glitch items with randomized names. They are not known to exist in the English versions, but an example is [[ItemDexJP/B:000]] from {{JB}}. |
|||
How to obtain glitch items: |
|||
All glitch items: |
|||
*[[Dry underflow glitch]] or original [[item underflow glitch]]>[[Celadon looping map glitch]] |
|||
*[[Glitch City RAM manipulation (Cut abuse)]]: For expanded PC items |
|||
*Other [[expanded items pack]] glitches; namely, [[Super Glitch (Generation I)|Super Glitch]], [[255 Pokémon glitch]], [[ZZAZZ glitch]] and more |
|||
Some glitch items: |
|||
*[[Get glitch items using left-facing shore tile glitch (Red/Blue)]] |
|||
*[[Get glitch items using Trainer escape glitch (Yellow)]] |
|||
*[[Glitch City RAM manipulation (buffer overflow techniques)]]: For [[move 0x00 corruption]] |
|||
Many glitch items are available with the [[Celadon looping map trick]], [[Item creation glitch]] (a [[Closed menu Select glitch|Select glitch in Red/Green/Blue]]), [[Yami Shop glitch]] and other [[:Category:Poké Mart vendor glitches|Poké Mart vendor glitches]]. |
Many glitch items are available with the [[Celadon looping map trick]], [[Item creation glitch]] (a [[Closed menu Select glitch|Select glitch in Red/Green/Blue]]), [[Yami Shop glitch]] and other [[:Category:Poké Mart vendor glitches|Poké Mart vendor glitches]]. |
||
Line 14: | Line 49: | ||
{| |
{| |
||
{| align=top style="background: grey; -moz-border-radius: 0.5em; border: 5px solid #000000; color: grey" |
|||
|- |
|- |
||
| |
| |
||
{| class="wikitable sortable" |
|||
{| border=1 width="100%" align=left class="sortable" style="background:#f0f0f0; border:1px solid #000000; border-collapse:collapse;" |
|||
|-style="background: silver;" |
|||
| Name || Index number (hexadecimal) || Index number (decimal) || Game || Uses |
| Name || Index number (hexadecimal) || Index number (decimal) || Game || Uses |
||
|- |
|- |
||
| j. || 00 || 0 || Pokémon Red and Blue || One of the most common glitch items, which can be sold for a high price of 414925 Pokédollars. |
| [[ItemDex/RB:000|j.]] || 00 || 0 || Pokémon Red and Blue || One of the most common glitch items, which can be sold for a high price of 414925 Pokédollars. |
||
|- |
|- |
||
| #×## || 00 || 0 || Pokémon Yellow || One of the most common glitch items, which can be sold for a high price of 414925 Pokédollars. |
| [[ItemDex/Y:000|#×##]] || 00 || 0 || Pokémon Yellow || One of the most common glitch items, which can be sold for a high price of 414925 Pokédollars. |
||
|- |
|- |
||
| CascadeBadge || 16 || 22 || Pokémon Red, Blue, Yellow || Throw a rock and double a wild Pokémon's catch rate. |
| [[ItemDex/RGBY:022|CascadeBadge]] || 16 || 22 || Pokémon Red, Blue, Yellow || Throw a rock and double a wild Pokémon's catch rate. |
||
|- |
|- |
||
| |
| [[4F (disambiguation)|4F]] || 59 || 89 || Pokémon Red, Blue, Yellow || Arbitrary code execution (initially runs FA65 in the Echo RAM region, equivalent to DA65 in Day Care data) |
||
|- |
|- |
||
⚫ | |||
| 9F || 5E || 94 || Pokémon Yellow || Reload a map and bring graphics back to normal after a Super Glitch induced Glitch City. |
|||
|- |
|- |
||
| |
| [[ItemDex/RB:093|8F]] || 5D || 93 || Pokémon Red and Blue || Arbitrary code execution (initially runs D163; Pokémon data) |
||
|- |
|- |
||
| |
| [[ItemDex/Y:094|9F]] || 5E || 94 || Pokémon Yellow || Reload a map and bring graphics back to normal after a Super Glitch induced Glitch City. |
||
|- |
|- |
||
⚫ | |||
⚫ | |||
|- |
|- |
||
| |
| [[ItemDexJP/Y:099|かいがらバッヂ (Shell Badge)]] || 63 || 99 || Pokémon Yellow (Japanese) || Arbitrary code execution (initially runs D9B2; stored Pokémon data). |
||
|- |
|- |
||
| |
| [[ItemDex/Y:099|ws m]] || 63 || 99 || Pokémon Yellow || Arbitrary code execution (initially runs DA7F; stored Pokémon data). |
||
|- |
|- |
||
| [[ItemDexJP/Y:101 (v1.1+)|はやぶさバッヂ (FalconBadge)]] || 65 || 101 || Pokémon Yellow (Japanese, v1.1+) || Causes arbitrary code execution at 0xD4CA (ninth PC item). |
|||
| -g m || 6A || 106 || Pokémon Red and Blue || Arbitrary code execution (initially runs DA47; in which Safari Zone data and Day Care data follows. If this is blank; code will 'fall through' to DA80; stored Pokémon data). |
|||
|- |
|- |
||
| [[ItemDexJP/RGB:103|なかよしバッヂ (FriendBadge)]] || 67 || 103 || Pokémon Red, Green, and Pokémon Blue (Japanese) || Arbitrary code execution (initially runs D983, number of Safari Balls and the Day Care data, stored Pokémon data which follows. A special Day Care Pokémon name can be used to redirect the code directly to a location of the player's choice, otherwise if there is no Safari Ball/Day Care data, stored Pokémon data can be used like English Yellow's ws m and English Red/Blue's -g m. |
|||
⚫ | |||
|- |
|- |
||
| |
| [[ItemDexJP/RG:106 (v1.0)|ゴールドバッヂ (GoldBadge)]] || 6A || 106 || Pokémon Red and Green (Japanese, v1.0) || May act as a Poké Mart with 240 items. Can be used to buy Rare Candies (with specific data in RAM) and Master Balls. |
||
|- |
|- |
||
| [[ItemDexJP/Y:106 (v1.1+)|ゴールドバッヂ (GoldBadge)]] || 6A || 106 || Pokémon Yellow (Japanese, v1.1+) || Acts as a Pokémon Center nurse. |
|||
⚫ | |||
|- |
|- |
||
| |
| [[ItemDex/Y:106|-g m]] || 6A || 106 || Pokémon Yellow || Restart a Trainer battle. Partially escape from a wild battle (useful for [[LOL glitch]]) |
||
|- |
|- |
||
| |
| [[ItemDex/RB:106|-g m]] || 6A || 106 || Pokémon Red and Blue || Arbitrary code execution (initially runs DA47; in which Safari Zone data and Day Care data follows. If this is blank; code will 'fall through' to DA80; stored Pokémon data). |
||
|- |
|- |
||
| |
| [[ItemDex/Y:110|Lg-]] || 6E || 110 || Pokémon Yellow || Restart a Trainer battle. Partially escape from a wild battle (useful for [[LOL glitch]]). Make walking Pikachu stay (useful for Pikachu off-screen glitch). |
||
|- |
|- |
||
| [[ItemDex/RGBY:007|?????]] || 07 || 07 || Pokémon Red, Blue, Yellow || Acts outside of battle like using the field move Surf. Can also be used to change to the wrong music bank inside of a battle if used in a battle facing water. |
|||
⚫ | |||
|- |
|- |
||
⚫ | |||
⚫ | |||
|- |
|- |
||
| [[ItemDexJP/RG:123|てへ]] || 7B || 123 || Pokémon Red and Green || Arbitrary code execution (initially runs D806; wild Pokémon data or temporary player name storage for the old man battle) and an [[unterminated name glitch item]]. |
|||
⚫ | |||
|- |
|- |
||
| [[ItemDexJP/B:123|がつ円れにギぅ ぶ ぐどべぇ べあ゙ザ (etc.)]] || 7B || 123 || Pokémon Blue (Japanese) || [[Unterminated name glitch item]]. Arbitrary code execution (initially runs D806; wild Pokémon data or temporary player name storage for the old man battle). |
|||
⚫ | |||
|- |
|||
| [[ItemDexJP/Y:124 (v1.0)|♀へん]] || 7C || 124 || Pokémon Yellow (Japanese, v1.0) || Steal other Trainer's Pokémon. |
|||
|- |
|||
| [[ItemDex/RB:124|8 8]] || 7C || 124 || Pokémon Red and Blue || Create encounter chains from a Trainer escape glitch encounter by using it when the menu pops up in a specific map. Must be used indirectly via [[unterminated name glitch item]], or in combination with a unterminated name glitch item, to avoid a freeze when CFC4 is odd. |
|||
|- |
|||
⚫ | |||
|- |
|||
⚫ | |||
|- |
|||
⚫ | |||
|- |
|||
⚫ | |||
|} |
|} |
||
|} |
|} |
||
Line 69: | Line 114: | ||
{| |
{| |
||
{| align=top style="background: grey; -moz-border-radius: 0.5em; border: 5px solid #000000; color: grey" |
|||
|- |
|- |
||
| |
| |
||
{| class="wikitable sortable" |
|||
{| border=1 width="100%" align=left class="sortable" style="background:#f0f0f0; border:1px solid #000000; border-collapse:collapse;" |
|||
|-style="background: silver;" |
|||
! Hex ID !! Dec ID !! Item |
! Hex ID !! Dec ID !! Item |
||
|- |
|- |
||
| 00 || 0 || [[?]] |
| 00 || 0 || [[?]] |
||
|- |
|- |
||
| 06, 19, 2D, 32, 38, 46 (G/S only), 5A, 64, 73 (G/S only), 74 (G/S only), 78, 81 (G/S only), 87, 88, 89, 8D, 8E, 91, 93, 94, 95, 99, 9A, 9B, A2, AB, B0, B3, BE || 5, 19, 45, 32, 38, 46 (G/S only), 90, 100, 115 (G/S only), 116 (G/S only), 120 (G/S only), 129 (G/S only), 135, 136, 137, 141, 142, 145, 147, 148, 149, 153, 154, 155, 162, 171, 176, 179, 190 || [[Teru- |
| 06, 19, 2D, 32, 38, 46 (G/S only), 5A, 64, 73 (G/S only), 74 (G/S only), 78, 81 (G/S only), 87, 88, 89, 8D, 8E, 91, 93, 94, 95, 99, 9A, 9B, A2, AB, B0, B3, BE || 5, 19, 45, 32, 38, 46 (G/S only), 90, 100, 115 (G/S only), 116 (G/S only), 120 (G/S only), 129 (G/S only), 135, 136, 137, 141, 142, 145, 147, 148, 149, 153, 154, 155, 162, 171, 176, 179, 190 || [[Unused items#Unused items in Generation II|Teru-sama]] |
||
|- |
|- |
||
| C3 || 195 || [[TM04 (useless)]] |
| C3 || 195 || [[TM04 (useless)]] |
||
Line 84: | Line 127: | ||
| DC || 220 || [[TM28 (useless)]] |
| DC || 220 || [[TM28 (useless)]] |
||
|- |
|- |
||
| FA || 250 || [[HM08 ( |
| FA || 250 || [[HM08 (Generation II glitch item)]] |
||
|- |
|- |
||
| FB || 251 || [[HM09 ( |
| FB || 251 || [[HM09 (Generation II glitch item)]] |
||
|- |
|- |
||
| FC || 252 || [[HM10 ( |
| FC || 252 || [[HM10 (Generation II glitch item)]] |
||
|- |
|- |
||
| FD || 253 || [[HM11 ( |
| FD || 253 || [[HM11 (Generation II glitch item)]] |
||
|- |
|- |
||
| FE || 254 || [[HM12 ( |
| FE || 254 || [[HM12 (Generation II glitch item)]] |
||
|- |
|- |
||
| FF || 255 || [[HM13 ( |
| FF || 255 || [[HM13 (Generation II glitch item)|HM13/CANCEL/Berry]] |
||
|} |
|} |
||
|} |
|} |
||
Note that Teru- |
Note that Teru-sama items which are not Teru-sama in Crystal are the key items "Clear Bell" (hex:46), "GS Ball" (hex:73), "Blue Card" (hex:74) and "Egg Ticket" (hex:81) respectively. |
||
====TMs and HMs outside of the correct pocket==== |
====TMs and HMs outside of the correct pocket==== |
||
''Main article: [[Wrong pocket TMs and HMs]]'' |
|||
In addition to the regular glitch items in Gold, Silver, Crystal, all of the normal TMs and HMs will serve as glitch items when used outside of the TM/HM pack, due to having invalid execution pointers. |
In addition to the regular glitch items in Gold, Silver, Crystal, all of the normal TMs and HMs will serve as glitch items when used outside of the TM/HM pack, due to having invalid execution pointers. |
||
Below are a number of useful TMs and HMs to use outside of the relevant pocket. |
Below are a number of useful TMs and HMs to use outside of the relevant pocket. |
||
(Sources: [ |
(Sources: [https://forums.glitchcity.info/index.php?topic=7150.0], [http://wiki.pokemonspeedruns.com/index.php?title=User:Entrpntr/Gold_251#Miscellaneous_TM47_vids], [https://forums.glitchcity.info/index.php?topic=6979.0]) |
||
{| |
{| |
||
{| align=top style="background: grey; -moz-border-radius: 0.5em; border: 5px solid #000000; color: grey" |
|||
|- |
|- |
||
| |
| |
||
{| class="wikitable sortable" |
|||
{| border=1 width="100%" align=left class="sortable" style="background:#f0f0f0; border:1px solid #000000; border-collapse:collapse;" |
|||
|-style="background: silver;" |
|||
! Hex ID !! Dec ID !! Item !! Version !! Use |
! Hex ID !! Dec ID !! Item !! Version !! Use |
||
|- |
|- |
||
Line 120: | Line 163: | ||
|- |
|- |
||
| D0 || 208 || TM17 || Crystal (English) || Executes arbitrary code from FA47 (Echo RAM for DA47, which is somewhere in the expanded Balls pocket. |
| D0 || 208 || TM17 || Crystal (English) || Executes arbitrary code from FA47 (Echo RAM for DA47, which is somewhere in the expanded Balls pocket. |
||
|- |
|||
| D0 || 208 || TM17 || Gold/Silver (English) || Executes arbitrary code from FA47 (Echo RAM for DA47, which is the caught data for party Pokémon 1. The player can make a jump to somewhere more useful (via C3 yy xx), using Pokémon 1 as a [[slide Pokémon]] if necessary. |
|||
|- |
|- |
||
| D4 || 212 || TM21 || Crystal (English) || Executes arbitrary code from FA69 (Echo RAM for DA69, which is somewhere in the expanded Balls pocket; like TM21. |
| D4 || 212 || TM21 || Crystal (English) || Executes arbitrary code from FA69 (Echo RAM for DA69, which is somewhere in the expanded Balls pocket; like TM21. |
||
Line 134: | Line 179: | ||
===In {{RSE}}, {{FRLG}}=== |
===In {{RSE}}, {{FRLG}}=== |
||
There are many glitch items in these games named "????????" with no apparent use other than for arbitrary code execution setup. The hex:FFFF "????????" can be distinguished for having the 'return to menu' sprite as its sprite. |
There are many glitch items in these games named "[[????????]]" with no apparent use other than for arbitrary code execution setup. The hex:FFFF "????????" can be distinguished for having the 'return to menu' sprite as its sprite. |
||
These items are available through a double corruption with the [[Pomeg corruption glitch]] to force a Pokémon holding one. It is also possible to obtain a ???????? with the [[Mail and Trick glitches]] in Japanese {{RS}}. |
|||
One way of obtaining them with the Pomeg corruption glitch is through corrupting the in-game trade Pokémon DOTS the Seedot with Defense and Speed EVs spelling out the index number of the desired items with at least 1 HP EV (so it isn't corrupted into an empty space). |
|||
===In {{DPP}}, {{HGSS}}=== |
===In {{DPP}}, {{HGSS}}=== |
||
Line 145: | Line 186: | ||
==External links== |
==External links== |
||
*[[ItemDex|Link to the ItemDex item database]]. |
*[[ItemDex|Link to the ItemDex item database]]. |
||
==See also== |
|||
*[[Glitch decoration]] |
|||
[[Category:Generation I glitches]] |
[[Category:Generation I glitches]] |
||
[[Category:Generation II glitches]] |
[[Category:Generation II glitches]] |
||
Line 150: | Line 195: | ||
[[Category:Generation IV glitches]] |
[[Category:Generation IV glitches]] |
||
[[Category:Glitch things]] |
[[Category:Glitch things]] |
||
[[Category:Glitch items|*]] |