Anonymous user
ZZAZZ glitch: Difference between revisions
→Cause
>Torchickens (→Cause) |
>Torchickens (→Cause) |
||
Line 23:
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.
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:
The first byte in the series (XX 99 99) is never written to, meaning that some values stay the way they were. The extent of corruption depends on how many additions the game used. Bytes may not be kept at 99 if they change naturally in battle. An example is the address D083 (D082 in Yellow), which is 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)
|