ZZAZZ glitch: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
>Torchickens
No edit summary
>Torchickens
Line 15: Line 15:
==Cause==
==Cause==


Whether or not a Trainer causes the ZZAZZ glitch or not is controlled by two things; firstly their Trainer class (controlled by byte D059 in Red/Blue or D058 in Yellow) and secondly their roster (controlled by byte D05D in Red/Blue or D05C in Yellow). For the effect to be noticeable the Trainer class may have to be a glitch Trainer, because glitch Trainers in Generation I typically have large base money payouts.
Whether or not a Trainer causes the ZZAZZ glitch is controlled by two things; firstly their Trainer class (controlled by byte D059 in Red/Blue or D058 in Yellow) and secondly their roster (controlled by byte D05D in Red/Blue or D05C in Yellow). For the effect to be noticeable the Trainer class may have to be a glitch Trainer, because glitch Trainers in Generation I typically have large base money payouts.


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.