Jump to content

ZZAZZ glitch: Difference between revisions

m
>Sherkel
m (Template)
 
(48 intermediate revisions by 8 users not shown)
Line 1:
{{MiscMajor R/Bglitches}}
{{Bulbapedia}}
[[Image:ZZAZZ glitch Trainer.png|frame|right|Encountering [[TrainerDex/RB:055|14S]] (Trainer class 55)'s roster 7 in Red.]]
 
The '''ZZAZZ glitch''' is a major glitch which occurs when the player encounters a certain roster of a [[glitch trainer]].
 
In Pokémon Red and Blue, using a Special stat of either 248, 251, 252, 254, 255 for the [[Ditto Trick]] and not altering the attack stage of the enemy Pokémon (7 by default) can cause the glitch. Likewise, in Pokémon Yellow if the attack stage is not changed (left at 7), Special stats of 248, 249, 250, 252, 253, 254 and 255 will work.
 
When the glitch happens, the player encounters a glitch trainer that turns all of the player's Pokémon into Level 153 Bulbasaur knowing Explosion, except for the 3rd and 6th Pokémon. All of the letters in the player's name, except at spaces that are multiples of 3, are replaced with Zs.
 
==Name origin==
 
The name "ZZAZZ glitch" came from the player using the name "OLD MAN" which resulted in this glitch editing part of the player's name to be "ZZAZZ".
 
==NotesCause==
 
Whether 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).
 
The Trainer class is important because each Trainer class has a certain base money payout, and the roster is important because the last level{{clarify}} in the roster is multiplied by the base money payout to calculate the Trainer's prize money.
 
The following factors will cause greater ZZAZZ glitch corruptions:
 
*If the Trainer is from a glitch Trainer class, because glitch Trainer classes in Generation I typically have large base money payouts.
*If the last level of the Pokémon is high or 0 (technically 256).
 
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.
 
Upon encountering a ZZAZZ glitch Trainer (or any Trainer), its base money payout will be multiplied by the level of the last Pokémon and the result (the prize money) will be stored at D079 (D078 in Yellow), capped at "009999".
 
Multiplication in the winning money calculation is implemented as a consecutive addition (like 3*4 is 3+3+3+3), but a glitch occurs when the money caps at 9999. Every time the game resets the payout back to 9999, the game moves the payout money pointer 3 bytes forward, so the game keeps writing hex:9999 to memory addresses located past the winning money bytes when it still has additions left to do and encounters another cap.
 
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 for the cause from the forums)
 
==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 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 tries to order one of their level 153 Pokémon to use a move they will commonly disobey the trainer and use a different move; this is because the player's name changed, so the game thinks that you are now a different Trainer to the old Trainer. In other words, your Pokémon are now 'traded Pokémon'. This is the case even if the player owns all of the normal eight badges because the Earth Badge was never programmed to account for traded Pokémon over level 100.
 
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. 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's fifth roster is accessible by performing the Ditto glitch with a Special stat of 200 and lowering the last enemy Pokémon's Attack by one stage via the move Growl.
 
===Effects outside of battle===
 
If the player manages to escape the battle with the glitch trainer he or she will be left with a team of level 153 Bulbasaurs with the move Explosion. 'Pokémon' beyond the sixth slot will be changed and this affects unrelated bytes.
 
If the ZZAZZ Glitch changed the end Pokémon variable in the player's name (usually this corresponds to [[GlitchDex/RB:255|Charizard 'M]] or [[GlitchDex/Y:255|Q]] depending on the player's version) to a level 153 Bulbasaur with Explosion poison damage may occur, and this will decrease unrelated memory addresses by one every four steps the player takes.
 
If the player saves after performing this glitch, the save file will be erased if an end byte (0x50) is not present on the eleventh character of the player's name or less. However, the ZZAZZ glitch may corrupt your box-set, i.e. message box options used for things like saving.
 
In order to save the game, the player must restore their box-set ID back to a normal value. This can be done by talking to a Pokémon Center nurse then cancelling. The [[glitch boxset]] with an index number of hex:99 [https://archives.glitchcity.info/forums/board-107/thread-6629/page-0.html#msg189356 has a height of 250], so it corrupts memory addresses past the screen data due to the box being too large.
 
If the player battles another trainer after escaping a ZZAZZ glitch Trainer, they will actually battle a 'link battle' Trainer (nicknamed the 'death trainer'), which may have a Charizard 'M or Q with extremely high HP.
 
This is because after the ZZAZZ glitch corruption occurs, one of the values that is changed to hex:99 is memory address D12B (D12A in Yellow); which is responsible for whether the Trainer is a link battle Trainer or not.
 
The '''ZZAZZ Glitch''' is what occurs when the player encounters a [[glitch Trainer]] by using [[HEX]] 251, 252, 254, or 255 in the [[Ditto Trick]]. The player encounters a glitch trainer that turns all of the player's Pokémon into Level 153 Bulbasaur knowing Explosion, and all of the letters in the player's name, except at spaces that are multiples of 3, are replaced with Z's. The name "ZZAZZ Glitch" came from using the name OLD MAN (part of the edited name was ZZAZZ). The player can not fight this Trainer, because the game freezes if the player's Pokémon attack. However, there is a way to escape the battle with the player's Pokémon turned into Bulbasaur. Use any item, and the battle will end. The player will be left with a team of "exploding Bulbasaurs" and sometimes [[Super Glitch]]-like effects. If the player saves after performing this glitch, the game will probably be erased, unless the player's name is three characters long or less, not causing a name that is too long for the game to store when saving. Also, if the player battles another trainer after this, he fights the [[death trainer]], who is usually undefeatable (even with codes from a [[game-altering device]]), but can sometimes be encountered with a beatable team. Even if he is defeated, the next trainer the player fights will be the death trainer.
==Procedure==
===Up to name and party change===
#Follow the steps for the [[Ditto Trick]], using a PokémonSpecial withstat anyand specialenemy statattack stage for a ZZAZZ glitch compatible fromTrainer 251(examples todescribed 255.above)
#The player should encounter the glitch trainer.
===Up to deaththe trainerZZAZZ glitch Trainer===
#Use any item. The battle should end.
#Battle any trainer to see the 'death Trainer'.
 
==Notes==
==Party Pokémon box data shift glitch==
* Bulbasaur, Explosion, the capital Z, and the Level of the Bulbasaur all share HEX 153.
The party Pokémon box data shift glitch is available with the ZZAZZ glitch and is closely related to the [[large storage box byte shift glitch]]. More information about it can be found [https://archives.glitchcity.info/forums/board-107/thread-1386/page-14.html#msg194252 here]. It involves data between the Pokémon data and a certain point (most favorably the items terminator) being shifted upwards, with D164 (Pokémon 1) taking the first shifted up value.
* Neither the third Pokémon in the player's party, nor each third letter in his name, nor the third move of each of the player's Pokémon are changed by this glitch.
 
It is possible to change the first item identifier to the number of items, the first item quantity to the first item identifier, etc. and this makes it possible to work with the 'post 20' item bytes that are actually unrelated data, and this way it is possible to do things like warp to the Hall of Fame.
 
The player needs to perform the ZZAZZ glitch to make all FF up to the items terminator (or the point they want) disappear. If they're on the right tracks, the game will freeze on opening the Pokémon menu because the game can't find a terminator.
 
Working values are one Pokémon (01 xx FF), three Pokémon (03 xx yy zz FF), four Pokémon (04 ww xx yy zz FF) and six Pokémon (06 uu vv ww xx yy zz FF). (the FFs will get replaced with hex:99)
 
The items changing glitch may become impossible after certain progress is made in the game (though the game still technically shifts the bytes above the first FF), due to the possibility of there being FF values before the items terminator. If the player has a Charizard 'M or Q in the party, it may prevent the party Pokémon box data shift glitch from working.
 
If you want to perform the items changing glitch, when you are confident that there will be no FFs other than the items terminator (this is only possible through memory viewer, unfortunately), perform the ZZAZZ glitch, choose an item identifier greater than hex:14 (dec:20), go to a PC, and deposit the first Pokémon. You may need to walk around for a few steps so that you don't get stuck in the Pokémon Center due to map corruption.
 
==External links==
#[https://forums.glitchcity.info/index.php?topic=1386.0.html Thread on Glitch City Laboratories Forums on the ZZAZZ glitch].
#[http://www.youtube.com/watch?v=D3iVFfKjklk Video demonstration by Newo].
 
==More derivative glitches==
*[[Jacred inventory corruption]]
 
==Trivia==
*This glitch also occurs in the Japanese version, but instead of the player's name characters being replaced with "Z" they are replaced with "ハ" (ha) which could be read as an expression of laughing.
 
[[Category:Generation I glitches]]
[[Category:Glitches that allow Pokémon with unobtainable moves]]
[[Category:Instant victory glitches]]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.