Pokédex flags: Difference between revisions
m (typos fixed: the the → the) |
mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
==Glitch Pokédex flags in [[Generation I]]== | ==Glitch Pokédex flags in [[Generation I]]== | ||
[[Glitch]] Pokédex flags are most known in the [[Generation I]] games for the effects that they can have on the player's item pack. The [[glitch Pokémon]] [[ | [[Glitch]] Pokédex flags are most known in the [[Generation I]] games for the effects that they can have on the player's item pack. The [[glitch Pokémon]] [[MissingNo.]] along with [['M (00)]], [[g g]], and [[$ (glitch Pokémon)|$]] are notorious for increasing the sixth Bag slot by 128 unless the number of items in the slot is greater than or equal to 128. This is due to their Pokédex number of #000, which is considered by the game as #256. Encounter flags are normally stored in 19 bytes [D30A-D31C] (the bytes are offset by -1 in Yellow), each which can hold 8 bits (2^0+2^1+...2^7). These addresses account for seeing Pokémon #001-#152 (the last bit is unused, but it appears in the Pokédex as {{p|Farfetch'd}}{{sup/1|RB}}, [[MissingNo.]]{{sup/1|RG}}, or {{p|Scyther}}{{sup/1|Y}}). When the game attempts to account for seeing Pokémon with [[Glitch Pokémon family|Pokédex numbers greater than 152]], the game writes to bytes beginning from D31D (D31C in Yellow) which mark addresses in the player's Bag. Due to this effect, when the player encounters a #000 (#256), the game sets the upper bit (2^7) on to address D329 (D328 in Yellow) - adding 128 items to the sixth position in the player's bag. | ||
===Encounter flags=== | ===Encounter flags=== | ||
Line 11: | Line 11: | ||
|- | |- | ||
| | | | ||
{| border=1 width="100%" class="sortable" style="background: # | {| border=1 width="100%" class="sortable" style="background: #FFF; border:1px solid #{{unknown color light}}; border-collapse:collapse;" | ||
|-style="background: #{{unknown color light}};" | |-style="background: #{{unknown color light}};" | ||
! # | ! # | ||
Line 23: | Line 23: | ||
|2^7 | |2^7 | ||
|Add 128 to the quantity of the sixth slot in the player's bag if the quantity is less than 128 | |Add 128 to the quantity of the sixth slot in the player's bag if the quantity is less than 128 | ||
|[['M (00)]]{{sup/1|RB}}, [[ | |[['M (00)]]{{sup/1|RB}}, [[MissingNo.]], [[g g]]{{sup/1|Y}}, and [[$ (glitch Pokémon)|$]]{{sup/1|Y}} | ||
|- | |- | ||
|152 | |152 | ||
Line 64: | Line 64: | ||
|D31D{{sup/1|RB}}/D31C{{sup/1|Y}} | |D31D{{sup/1|RB}}/D31C{{sup/1|Y}} | ||
|2^5 | |2^5 | ||
|Add 32 to the number of items in the player's bag if the amount<br>does not have one of the following hexadecimal identifiers: $2X $3X $6X $7X $AX $BX $EX $FX | |Add 32 to the number of items in the player's bag if the amount<br>does not have one of the following hexadecimal identifiers: $2X $3X $6X $7X $AX $BX $EX $FX | ||
|None | |None | ||
|- | |- | ||
Line 112: | Line 112: | ||
|D31E{{sup/1|RB}}/D31D{{sup/1|Y}} | |D31E{{sup/1|RB}}/D31D{{sup/1|Y}} | ||
|2^5 | |2^5 | ||
|Add 32 to the identifier of the first slot in the player's bag if the item<br>does not have one of the following hexadecimal identifiers: $2X $3X $6X $7X $AX $BX $EX $FX | |Add 32 to the identifier of the first slot in the player's bag if the item<br>does not have one of the following hexadecimal identifiers: $2X $3X $6X $7X $AX $BX $EX $FX | ||
|None | |None | ||
|- | |- | ||
Line 160: | Line 160: | ||
|D31F{{sup/1|RB}}/D31E{{sup/1|Y}} | |D31F{{sup/1|RB}}/D31E{{sup/1|Y}} | ||
|2^5 | |2^5 | ||
|Add 32 to the quantity of the first slot in the player's bag if the quantity<br>does not have one of the following hexadecimal identifiers: $2X $3X $6X $7X $AX $BX $EX $FX | |Add 32 to the quantity of the first slot in the player's bag if the quantity<br>does not have one of the following hexadecimal identifiers: $2X $3X $6X $7X $AX $BX $EX $FX | ||
|[[Pゥ 4$]]{{sup/1|RB}}, [[ゥ$ (F0)]]{{sup/1|RB}} | |[[Pゥ 4$]]{{sup/1|RB}}, [[ゥ$ (F0)]]{{sup/1|RB}} | ||
|- | |- | ||
Line 256: | Line 256: | ||
|D321{{sup/1|RB}}/D320{{sup/1|Y}} | |D321{{sup/1|RB}}/D320{{sup/1|Y}} | ||
|2^5 | |2^5 | ||
|Add 32 to the quantity of the second slot in the player's bag if the quantity<br>does not have one of the following hexadecimal identifiers: $2X $3X $6X $7X $AX $BX $EX $FX | |Add 32 to the quantity of the second slot in the player's bag if the quantity<br>does not have one of the following hexadecimal identifiers: $2X $3X $6X $7X $AX $BX $EX $FX | ||
|None | |None | ||
|- | |- | ||
Line 304: | Line 304: | ||
|D322{{sup/1|RB}}/D321{{sup/1|Y}} | |D322{{sup/1|RB}}/D321{{sup/1|Y}} | ||
|2^5 | |2^5 | ||
|Add 32 to the identifier of the third slot in the player's bag if the item<br>does not have one of the following hexadecimal identifiers: $2X $3X $6X $7X $AX $BX $EX $FX | |Add 32 to the identifier of the third slot in the player's bag if the item<br>does not have one of the following hexadecimal identifiers: $2X $3X $6X $7X $AX $BX $EX $FX | ||
|None | |None | ||
|- | |- | ||
Line 352: | Line 352: | ||
|D323{{sup/1|RB}}/D322{{sup/1|Y}} | |D323{{sup/1|RB}}/D322{{sup/1|Y}} | ||
|2^5 | |2^5 | ||
|Add 32 to the quantity of the third slot in the player's bag if the quantity<br>does not have one of the following hexadecimal identifiers: $2X $3X $6X $7X $AX $BX $EX $FX | |Add 32 to the quantity of the third slot in the player's bag if the quantity<br>does not have one of the following hexadecimal identifiers: $2X $3X $6X $7X $AX $BX $EX $FX | ||
|None | |None | ||
|- | |- | ||
Line 400: | Line 400: | ||
|D324{{sup/1|RB}}/D323{{sup/1|Y}} | |D324{{sup/1|RB}}/D323{{sup/1|Y}} | ||
|2^5 | |2^5 | ||
|Add 32 to the identifier of the fourth slot in the player's bag if the item<br>does not have one of the following hexadecimal identifiers: $2X $3X $6X $7X $AX $BX $EX $FX | |Add 32 to the identifier of the fourth slot in the player's bag if the item<br>does not have one of the following hexadecimal identifiers: $2X $3X $6X $7X $AX $BX $EX $FX | ||
|None | |None | ||
|- | |- | ||
Line 496: | Line 496: | ||
|D326{{sup/1|RB}}/D325{{sup/1|Y}} | |D326{{sup/1|RB}}/D325{{sup/1|Y}} | ||
|2^5 | |2^5 | ||
|Add 32 to the identifier of the fifth slot in the player's bag if the item<br>does not have one of the following hexadecimal identifiers: $2X $3X $6X $7X $AX $BX $EX $FX | |Add 32 to the identifier of the fifth slot in the player's bag if the item<br>does not have one of the following hexadecimal identifiers: $2X $3X $6X $7X $AX $BX $EX $FX | ||
|[[pPkMnp' ']]{{sup/1|Y}} | |[[pPkMnp' ']]{{sup/1|Y}} | ||
|- | |- | ||
Line 544: | Line 544: | ||
|D327{{sup/1|RB}}/D326{{sup/1|Y}} | |D327{{sup/1|RB}}/D326{{sup/1|Y}} | ||
|2^5 | |2^5 | ||
|Add 32 to the quantity of the fifth slot in the player's bag if the quantity<br>does not have one of the following hexadecimal identifiers: $2X $3X $6X $7X $AX $BX $EX $FX | |Add 32 to the quantity of the fifth slot in the player's bag if the quantity<br>does not have one of the following hexadecimal identifiers: $2X $3X $6X $7X $AX $BX $EX $FX | ||
|None | |None | ||
|- | |- | ||
Line 592: | Line 592: | ||
|D328{{sup/1|RB}}/D327{{sup/1|Y}} | |D328{{sup/1|RB}}/D327{{sup/1|Y}} | ||
|2^5 | |2^5 | ||
|Add 32 to the identifier of the sixth slot in the player's bag if the item<br>does not have one of the following hexadecimal identifiers: $2X $3X $6X $7X $AX $BX $EX $FX | |Add 32 to the identifier of the sixth slot in the player's bag if the item<br>does not have one of the following hexadecimal identifiers: $2X $3X $6X $7X $AX $BX $EX $FX | ||
|None | |None | ||
|- | |- | ||
Line 640: | Line 640: | ||
|D329{{sup/1|RB}}/D328{{sup/1|Y}} | |D329{{sup/1|RB}}/D328{{sup/1|Y}} | ||
|2^5 | |2^5 | ||
|Add 32 to the quantity of the sixth slot in the player's bag if the quantity<br>does not have one of the following hexadecimal identifiers: $2X $3X $6X $7X $AX $BX $EX $FX | |Add 32 to the quantity of the sixth slot in the player's bag if the quantity<br>does not have one of the following hexadecimal identifiers: $2X $3X $6X $7X $AX $BX $EX $FX | ||
|[[ゥ (D9)]]{{sup/1|Y}} | |[[ゥ (D9)]]{{sup/1|Y}} | ||
|- | |- | ||
Line 653: | Line 653: | ||
===Capture flags=== | ===Capture flags=== | ||
Below is a table indexing the effects of capturing glitch Pokémon with invalid Pokédex numbers. With the exception of [[Glitch Pokémon family|family]] #152, the capture flags of non-hybrid glitch Pokémon correspond to seeing a valid Pokémon. For example, the capture flag for [[ | Below is a table indexing the effects of capturing glitch Pokémon with invalid Pokédex numbers. With the exception of [[Glitch Pokémon family|family]] #152, the capture flags of non-hybrid glitch Pokémon correspond to seeing a valid Pokémon. For example, the capture flag for [[MissingNo.]] and other #000 Pokémon corresponds to seeing {{p|Cubone}}. In this case, if the player has already encountered {{p|Cubone}} and captures a #000 Pokémon, the player can prevent its Pokédex entry from loading and avoid the [[Rhydon glitch]]. | ||
{| style="margin:auto; background: #{{unknown color light}}; {{roundy|1em}}; border: 5px solid #{{unknown color}};" | {| style="margin:auto; background: #{{unknown color light}}; {{roundy|1em}}; border: 5px solid #{{unknown color}};" | ||
|- | |- | ||
| | | | ||
{| border=1 width="100%" class="sortable" style="background: # | {| border=1 width="100%" class="sortable" style="background: #FFF; border:1px solid #{{unknown color light}}; border-collapse:collapse;" | ||
|-style="background: #{{unknown color light}};" | |-style="background: #{{unknown color light}};" | ||
! # | ! # | ||
Line 670: | Line 670: | ||
|2^7 | |2^7 | ||
|Set {{p|Cubone}} in the Pokédex as 'seen' | |Set {{p|Cubone}} in the Pokédex as 'seen' | ||
|[['M]]{{sup/1|RB}}, [[ | |[['M (00)]]{{sup/1|RB}}, [[MissingNo.]], [[g g]]{{sup/1|Y}}, and [[$ (glitch Pokémon)|$]]{{sup/1|Y}} | ||
|- | |- | ||
|152 | |152 |
Latest revision as of 06:15, 6 March 2016
Pokédex flags are memory addresses in the Pokémon games that mark whether a Pokémon is categorized as 'seen' or 'own' in the Pokédex. Pokédex flags can therefore be categorized into two types - 'encounter' and 'capture' flags. Encounter flags are written to whenever the player has seen a certain Pokédex number, while capture flags are written to whenever the player has captured a Pokémon with a certain Pokédex number. If a capture flag is on, capturing a Pokémon with the relevant Pokédex number will not bring up the Pokédex.
Glitch Pokédex flags in Generation I
Glitch Pokédex flags are most known in the Generation I games for the effects that they can have on the player's item pack. The glitch Pokémon MissingNo. along with 'M (00), g g, and $ are notorious for increasing the sixth Bag slot by 128 unless the number of items in the slot is greater than or equal to 128. This is due to their Pokédex number of #000, which is considered by the game as #256. Encounter flags are normally stored in 19 bytes [D30A-D31C] (the bytes are offset by -1 in Yellow), each which can hold 8 bits (2^0+2^1+...2^7). These addresses account for seeing Pokémon #001-#152 (the last bit is unused, but it appears in the Pokédex as Farfetch'dRB, MissingNo.RG, or ScytherY). When the game attempts to account for seeing Pokémon with Pokédex numbers greater than 152, the game writes to bytes beginning from D31D (D31C in Yellow) which mark addresses in the player's Bag. Due to this effect, when the player encounters a #000 (#256), the game sets the upper bit (2^7) on to address D329 (D328 in Yellow) - adding 128 items to the sixth position in the player's bag.
Encounter flags
Below is a table indexing the effects of seeing glitch Pokémon with invalid Pokédex numbers. Invalid encounter flags, with the exception of family #152 will affect the player's bag in some way. These effects range from the changing the number of items in the bag (though the only glitch Pokémon in English versions that is known to affect this byte; 4(h4? freezes the game when it appears on the opponent's side), up to changing the quantity of item 6.
|
Capture flags
Below is a table indexing the effects of capturing glitch Pokémon with invalid Pokédex numbers. With the exception of family #152, the capture flags of non-hybrid glitch Pokémon correspond to seeing a valid Pokémon. For example, the capture flag for MissingNo. and other #000 Pokémon corresponds to seeing Cubone. In this case, if the player has already encountered Cubone and captures a #000 Pokémon, the player can prevent its Pokédex entry from loading and avoid the Rhydon glitch.
|
This glitch Pokémon article is part of Project GlitchDex, a Bulbapedia project that aims to write comprehensive articles on glitches in the Pokémon games. |