Glitch City Laboratories Forums

Lab γ: Video Games and Glitches Discussion => Pokémon Glitch Discussion => Generation II Glitch Discussion => Topic started by: Evie (retired from head adminship) on April 10, 2018, 04:52:09 pm

Title: Why does ????? (00) break out of a Master Ball?
Post by: Evie (retired from head adminship) on April 10, 2018, 04:52:09 pm
????? (00) surprisingly can break out of a Master Ball if you throw a Master Ball at it.

I was wondering whether anyone knows why this occurs?

This isn't to be confused with the low or 1/256 Master Ball miss on other Pokémon which is false.

You can test this with the following GameShark codes:

Pokémon Gold and Silver:

0101FDD5 - Have Master Ball in Balls pocket
0163FED5  - x255

0100EDD0 - Wild Pokémon is ????? (00)
010042D0 - Prevent in Link Battle glitch

Pokémon Crystal:

0101D8D8 - Have Master Ball in Balls pocket
01FFD9D8 - x255

010004D2 - Wild Pokémon is ????? (00)
Title: Re: Why does ????? (00) break out of a Master Ball?
Post by: Bert on April 10, 2018, 05:29:34 pm
I gave this a go on my dead Crystal cart and it broke out of every single Master Ball I threw before struggling itself and my starter to death. Is it possible for Glitchmon to have glitched catch rates?
Title: Re: Why does ????? (00) break out of a Master Ball?
Post by: Evie (retired from head adminship) on April 10, 2018, 05:36:19 pm
I gave this a go on my dead Crystal cart and it broke out of every single Master Ball I threw before struggling itself and my starter to death. Is it possible for Glitchmon to have glitched catch rates?

Definitely, but for some reason those with 0 in the catch rate constant data for Red/Blue/Yellow still can't break out of a Master Ball (for example https://glitchcity.info/wiki/GlitchDex/Y:200).
Title: Re: Why does ????? (00) break out of a Master Ball?
Post by: Háčky on April 10, 2018, 06:50:56 pm
The function PokeBallEffect (https://github.com/pret/pokecrystal/blob/7307fc8dce605823fbdf8e5ec8530d7aaf675cfa/engine/items/item_effects.asm#L200) sets wWildMon to the value of wEnemyMonSpecies when a Pokémon is caught (either because the catch rate check succeeds, the battle is the Dude’s tutorial, or a Master Ball was used), and to 0 when a ball fails to catch the Pokémon. If the species is number 0, wWildMon will be 0, just as if the ball failed.
Title: Re: Why does ????? (00) break out of a Master Ball?
Post by: Evie (retired from head adminship) on April 10, 2018, 07:00:17 pm
The function PokeBallEffect (https://github.com/pret/pokecrystal/blob/7307fc8dce605823fbdf8e5ec8530d7aaf675cfa/engine/items/item_effects.asm#L200) sets wWildMon to the value of wEnemyMonSpecies when a Pokémon is caught (either because the catch rate check succeeds, the battle is the Dude’s tutorial, or a Master Ball was used), and to 0 when a ball fails to catch the Pokémon. If the species is number 0, wWildMon will be 0, just as if the ball failed.

Thank you Háčky! :)