AreaDex/Y:254: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
>Torchickens
>Torchickens
No edit summary
Line 3: Line 3:
{{researchneeded|An explanation of why things get corrupted and how would be great. Research more things that get messed up by the glitch. Is there a way to fix the map problems effect?}}
{{researchneeded|An explanation of why things get corrupted and how would be great. Research more things that get messed up by the glitch. Is there a way to fix the map problems effect?}}
<br clear=left>
<br clear=left>
'''Map 254''' from English {{Y}} is a glitch location with an index number of 254 (FE).
'''Map FE''' from English {{Y}} is a glitch location with an index number of 254 (FE).
[[File:Y Map 254.png|frame|right|One of map 254's appearances]]
[[File:Y Map 254.png|frame|right|One of map 254's appearances]]


When it is entered, it appears like a [[Glitch City]]. The appearance of this map may vary, for unknown reasons. The map's entrance point (which can be altered with the codes 01xxB4D3 01xxB0D3) apparently doesn't affect the appearance.
When it is entered, it appears like a [[Glitch City]]. The appearance of this map may vary, for unknown reasons. The map's entrance point (which can be altered with the codes 01xxB4D3 01xxB0D3) apparently doesn't affect the appearance.


Entering map 254 may result in a freeze due to its invalid level-script pointer (D36D-D36E), which is at DC0E in WRAM (12th stored Pokémon's experience byte 1).
Entering map FE may result in a freeze due to its invalid level-script pointer (D36D-D36E), which is at DC0E in WRAM (12th stored Pokémon's experience byte 1).


It works almost the same in non-English European versions of Pokémon Yellow, although the level-script pointer is still DC0E, which would correspond with Pokémon 12's move 2 in those versions rather than Pokémon 12's experience byte 1.
It works almost the same in non-English European versions of Pokémon Yellow, although the level-script pointer is still DC0E, which would correspond with Pokémon 12's move 2 in those versions rather than Pokémon 12's experience byte 1.
Line 15: Line 15:


==Avoiding a freeze==
==Avoiding a freeze==
Since DC0E is in WRAM, the player can easily hack in a C9 (ret) at DC0E using memory viewer to prevent map 254's freeze.
Since DC0E is in WRAM, the player can easily hack in a C9 (ret) at DC0E using memory viewer to prevent map FE's freeze.


Furthermore, DC0E represents the 12th stored Pokémon in the current box's experience byte 1. While a current experience between 13172736-13238271 (C9 XX XX) is not viable, code like 00 00 C9 (an experience of 201) is. This means the player can simply place a Pokémon with 201 experience in the box as the 12th Pokémon to make map 254 non-freezing. In this example, the 00s make the code fall through to the ret.
Furthermore, DC0E represents the 12th stored Pokémon in the current box's experience byte 1. While a current experience between 13172736-13238271 (C9 XX XX) is not viable, code like 00 00 C9 (an experience of 201) is. This means the player can simply place a Pokémon with 201 experience in the box as the 12th Pokémon to make map FE non-freezing. In this example, the 00s make the code fall through to the ret.


==Effects of entering map 254==
==Effects of entering map FE==
Entering map 254 and avoiding the freeze has various side effects.
Entering map FE and avoiding the freeze has various side effects.


===Easily noticeable effects===
===Easily noticeable effects===
When the player enters map 254 and avoids the freeze, the cycling music will play for a moment.
When the player enters map FE and avoids the freeze, the cycling music will play for a moment.


The player will be warped to map hex:99, which is a house in Fuchsia City with an NPC discussing the warden and two NPCs discussing Bill. Changing the value of D364 from 254 (by tossing the quantity of item 36) to something else may be required to escape, otherwise the exit mats will take the player back to map FE.
The player will be warped to map hex:99, which is a house in Fuchsia City with an NPC discussing the warden and two NPCs discussing Bill. Changing the value of D364 from FE (by tossing the quantity of item 36) to something else may be required to escape, otherwise the exit mats will take the player back to map FE.


The [[perpetual spinning glitch]] will occur, with the effect of tiles having bits of arrow tiles on them.
The [[perpetual spinning glitch]] will occur, with the effect of tiles having bits of arrow tiles on them.
Line 83: Line 83:


==See also==
==See also==
*[[255 hours glitch]] - An effect not specific to map 254.
*[[255 hours glitch]] - An effect not specific to map FE.
[[Category:Generation I glitches]]
[[Category:Generation I glitches]]
[[Category:Glitch areas]]
[[Category:Glitch areas]]