Glitch Dimension: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
>Torchickens
No edit summary
>Ryccardo
(new simpler but (hopefully) clearer and omnicomprensive intro)
Line 1: Line 1:
{{Summary page}}
{{Summary page}}
{{researchneeded|Does it happen in Pokémon Red and Blue; DMG (00) games?}}
<br clear=all>
<br clear=all>
'''Glitch Dimension''' is an effect in {{GSC}} and {{Y}} that happens when the game is played in Game Boy Color mode, where the game resets itself but the colors of the game are temporarily changed until the game is reset normally.
'''Glitch Dimension''' is a side effect of a Game Boy Color enhanced game (such as {{GSC}} and {{Y}}) having program execution restart from the initial entrypoint (as could happen as a consequence of glitches, arbitrary code execution, or cartridge tilting) while being played in Game Boy Color mode, that manifests as incorrect colors until the system is reset normally; a Game Boy Color exclusive title will also display a "[[This Game Pak is designed only for use on the Game Boy Color.]]" screen.


It is caused by the game's inability to detect the system as GBC compatible, due to this detection relying on the now broken assumption that the console's bootrom (the piece of software responsible for, among other functions, displaying the Game Boy logo) had just finished running.
It appears more commonly and is easier to access in Pokémon Gold and Silver compared to Pokémon Yellow.


It is so named due to being one of the earliest discovered applications of the [[Coin Case glitch]] and hence a Generation II parallel to Generation I's [[Glitch City]], despite the fact it does not place the player within in a glitchy collection of tiles in the way that Glitch City does, nor do they share any technical details.
This effect is not unique to the Pokémon games, as it can happen in unrelated Game Boy games such as [[wikipedia:Tetris|Tetris]] (with cheats).{{clarify}}

Despite the name's origin this effect is not unique to the Pokémon games, but can potentially happen in any GBC game; in fact, the term has seen moderate acceptance outside the Pokémon glitch community. Conversely, [https://tcrf.net/The_Cutting_Room_Floor:Common_Things#Game_Boy_Color.2FNintendo_DSi it is not an issue on Nintendo DSi software due to a completely different implementation].


It does not place the player within in a glitchy collection of tiles in the way that [[Glitch City]] does.


Glitch Dimensions exist in Pokémon Crystal (or any game which is incompatible with the Game Boy or Super Game Boy), but are harder to access than in Pokémon Gold and Silver, plus the player cannot actually play the game as they are stopped by the "[[This Game Pak is designed only for use on the Game Boy Color.]]" screen.


==Explanation==
==Explanation==
More information can be found [http://forums.glitchcity.info/index.php/topic,6645.msg189597.html#msg189597 here].
More information can be found [http://forums.glitchcity.info/index.php/topic,6645.msg189597.html#msg189597 here].


When the game is run on a Game Boy Color or Game Boy Advance/SP register 'a' is initialized as '11', and this value causes the game to use Game Boy Color mode. If the game was run on a Game Boy or Super Game Boy, register 'a' is initialized as '01' instead.
When the game is run on a Game Boy Color or Game Boy Advance/SP, the console's bootrom passes control to the cartridge with register 'a' is initialized as '11', and this value causes the game to use Game Boy Color mode. If the game was run on a Game Boy or Super Game Boy, register 'a' is initialized as '01' instead.


After checking 'a', the game also sets memory address FFE8 to 01 if the game is run on the Game Boy Color or Game Boy Advance/SP, or to 00 if the game is run on another system.
After checking 'a', the game also sets memory address FFE8 to 01 if the game is run on the Game Boy Color or Game Boy Advance/SP, or to 00 if the game is run on another system. (A soft reset will skip this initialization.)


Glitch Dimensions occur because after the unexpected reset the register 'a' is no longer '11', and this causes the game to think that the system used is not a Game Boy Color or Game Boy Advance/SP.
Glitch Dimensions occur because after the unexpected reset the register 'a' is no longer '11', and this causes the game to think that the system used is not a Game Boy Color or Game Boy Advance/SP.