The game tries to calculate how much money you should receive. Each trainer class has a base payout which is multiplied by the level of the last pokemon in the roster. Now you are fighting a glitch trainer with glitched base payout and glitched roster. This often causes an absurdly high payout. The game meant to cap it at 9999, but the implementation is broken in such a way that it just writes 99 99 all over the RAM, leaving every third value intact. Depending on how a 99 byte is interpreted, it can be the letter Z, the pokemon Bulbasaur, the level 153, that the ball throw was successful and the fight should end (despite the ball was blocked), etc. To wrap it up: The RAM gets absolutely trashed due to bad code and it's honestly absurd that the game survives it.
@@elliot_ratno it’s true, because your name gets changed to Z’s all the Pokémon in your party still retain your original name as their owner, so they are treated as outside Pokémon and disobey you.
nah the ulimate glitch is still the 8F glitch items which let's you do ACE (Arbitary Code Execution) it let's you repprogram the entire game and turn it into an entirley diffrent game of even straight up add mew under the truck
I was screwing around with this glitch earlier on emulator, it's quite jarring seeing the memory after address D07A get trashed with all the Z's. If you want to trigger the glitch yourself just set address D059 to FF or do the Trainer-Fly glitch with a special stat of 255. For those wondering, this bug is caused by certain glitch trainers that have an invalid amount of money that they're supposed to give at the end of the battle, and when the game tries to calculate it, it overflows and writes 153 (hex 99) to the first 2 of every 3 bytes after D07A, but it's inconsistent and doesn't always go very far. Name and party data start at D158 which is why they usually get destroyed. Not sure if the corruption can reach pokedex flags (D27F to D31C) or items (D31D to D346). No, this won't actually ruin your cartridge or even your save file unless you save, as the corrupted name overwrites the terminator. If you have a name thats either 2 or 5 letters long you actually can save and reload the file