ZZAZZ glitch: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
>Torchickens
No edit summary
>Bbbbbbbbba
(→‎Effects: More correct description of the normal function of D11C.)
Line 32: Line 32:
The first byte in the series (XX 99 99) is never written to, meaning that some values stay the way they were. Bytes may not be kept at 99 if they change naturally in battle. An example is the address D083 (D082 in Yellow), which may be constantly changing before the player sends out their Pokémon so that the low HP noise is played.
The first byte in the series (XX 99 99) is never written to, meaning that some values stay the way they were. Bytes may not be kept at 99 if they change naturally in battle. An example is the address D083 (D082 in Yellow), which may be constantly changing before the player sends out their Pokémon so that the low HP noise is played.


(Thanks to the user TheZZAZZGlitch and Bbbbbbbbba for the cause from the forums)
(Thanks to the user TheZZAZZGlitch and bbbbbbbbba for the cause from the forums)


==Effects==
==Effects==
Line 44: Line 44:
Though ZZAZZ glitch Trainers have AI that can freeze the game, the player can easily escape the battle if he or she uses any type of Pokéball as the battle will suddenly end even after the Trainer blocks the ball.
Though ZZAZZ glitch Trainers have AI that can freeze the game, the player can easily escape the battle if he or she uses any type of Pokéball as the battle will suddenly end even after the Trainer blocks the ball.


The reason why using a type of Poké Ball will end the battle is because the memory address D11C (D11B in Yellow) is set to hex:99 and this address is responsible for ending the battle in the old man's Pokémon catching demonstration when it is a non 00 value.
The reason why using a type of Poké Ball will end the battle is because the memory address D11C (D11B in Yellow) is set to hex:99. This address is normally initialized to 0, and set to the index number of a wild Pokémon when it is caught. After an item is successfully used in battle (this just means that a turn is spent, so a blocked Poké Ball is still considered successfully used), the battle will end if this address is a non-zero value.


"[[Jacred]]" (Trainer C8)'s fifth and eighth rosters in Pokémon Red and Blue cause a much greater degree of corruption than regular ZZAZZ glitch Trainers ([https://www.youtube.com/watch?v=Wll51o2gt1s video]). They replace the item count with 153, and set 153 to various other item bytes. This gives the player many "POKéTRAINER" glitch items, plus some item quantities get changed to 153. When the player exits battle via an item like a Master Ball the map will be corrupted.
"[[Jacred]]" (Trainer C8)'s fifth and eighth rosters in Pokémon Red and Blue cause a much greater degree of corruption than regular ZZAZZ glitch Trainers ([https://www.youtube.com/watch?v=Wll51o2gt1s video]). They replace the item count with 153, and set 153 to various other item bytes. This gives the player many "POKéTRAINER" glitch items, plus some item quantities get changed to 153. When the player exits battle via an item like a Master Ball the map will be corrupted.