ZZAZZ glitch: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
>Torchickens
>Torchickens
No edit summary
Line 19: Line 19:
In Pokémon Red/Blue/Yellow, money is stored so that a hexadecimal value represents a decimal value, which is related to why the ZZAZZ glitch writes 99 (normally dec:153) to things.
In Pokémon Red/Blue/Yellow, money is stored so that a hexadecimal value represents a decimal value, which is related to why the ZZAZZ glitch writes 99 (normally dec:153) to things.


A base money payout will be multiplied by the level of the last Pokémon and the result, capped at "009999" will be stored at D079 (D078 in Yellow).
Upon encountering a ZZAZZ glitch Trainer, its base money payout will be multiplied by the level of the last Pokémon and the result, capped at "009999" will be stored at D079 (D078 in Yellow).


Despite the cap, the larger the 'potential' payout the greater corruption is caused. For ZZAZZ glitch causing glitch Trainers the potential payout is way over 9999; the payout cap.
Despite the cap, the larger the 'potential' payout the greater corruption is caused. For ZZAZZ glitch causing glitch Trainers the potential payout is way over 9999; the payout cap.
Line 29: Line 29:
==Effects==
==Effects==


When the player encounters a [[glitch trainer]] which can trigger the '''ZZAZZ glitch''' (see above for examples) many in-game variables will be changed to a constant of 153. This explains why most of the player's name are changed to include 'Z' because the letter Z has a [[hexadecimal]] identifier of 99 or 153 in [[decimal]].
When the player encounters a [[glitch trainer]] which can trigger the ZZAZZ glitch (see above for examples) many in-game variables will be changed to a constant of 153. This explains why most of the player's name are changed to include 'Z' because the letter Z has a [[hexadecimal]] identifier of 99 or 153 in [[decimal]].


When the player is about to make a move all of his or her moves will have been changed to Explosion except for the third move because it is a multiple of three. The player's Pokémon except for those in slot 3 and 6 are also changed to be level 153 Bulbasaurs.
When the player is about to make a move all of his or her moves will have been changed to Explosion except for the third move because it is a multiple of three. The player's Pokémon except for those in slot 3 and 6 are also changed to be level 153 Bulbasaurs.