Catch rate: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(Merged paragraphs in trivia and the main sections that were about the same thing)
Line 271: Line 271:
:<math>a = \Biggl \lfloor \dfrac {3 \times HP_{max} - 2 \times HP_{current}}{3 \times HP_{max}} \times 4096 \times darkGrass \times rate_{modified} \times bonus_{ball} \Biggr \rfloor \times bonus_{status} \times passPower</math>
:<math>a = \Biggl \lfloor \dfrac {3 \times HP_{max} - 2 \times HP_{current}}{3 \times HP_{max}} \times 4096 \times darkGrass \times rate_{modified} \times bonus_{ball} \Biggr \rfloor \times bonus_{status} \times passPower</math>


In {{g|Sun and Moon}} only, if ''rate<sub>modified<sub>'' is negative, it is instead set to zero; this has the side effect of making {{p|Beldum}} and the [[Guardian deities]] impossible to catch in a Heavy Ball in these games. In {{g|Ultra Sun and Ultra Moon}} onward, ''rate<sub>modified<sub>'' is instead set to 1, making those Pokémon available for capture again.
In {{g|Sun and Moon}} only, if ''rate<sub>modified<sub>'' is negative, it is instead set to zero. As a consequence, a Heavy Ball will always fail to catch a Pokémon whose weight is less than 220.46&nbsp;lbs (100.0&nbsp;kg) and whose catch rate is less than or equal to 20. The only catchable Pokémon that this affects are {{p|Beldum}} and the [[guardian deities]]. In {{g|Ultra Sun and Ultra Moon}} onward, ''rate<sub>modified<sub>'' is instead set to 1, making those Pokémon possible to catch with a Heavy Ball.


As with Generation VI, the only factor that is different is <math>passPower</math>, only being used by [[Roto Catch]], which is 2 if it is active, or 1 otherwise.
As with Generation VI, the only factor that is different is <math>passPower</math>, only being used by [[Roto Catch]], which is 2 if it is active, or 1 otherwise.
Line 750: Line 750:
* If used outside of the Entree Forest prior to [[Generation VIII]] (which was not possible in regular gameplay), the [[Dream Ball]] has a catch rate of 1×.
* If used outside of the Entree Forest prior to [[Generation VIII]] (which was not possible in regular gameplay), the [[Dream Ball]] has a catch rate of 1×.
* The line if a Pokémon escapes at three shakes in [[Generation III]] and {{gen|IV}}, "Shoot! It was so close, too!", remains in the internal data of the [[Generation V]] games despite not being used.
* The line if a Pokémon escapes at three shakes in [[Generation III]] and {{gen|IV}}, "Shoot! It was so close, too!", remains in the internal data of the [[Generation V]] games despite not being used.
* In {{g|Sun and Moon}}, a Heavy Ball will always fail to catch a Pokémon whose weight is less than 220.46&nbsp;lbs (100.0&nbsp;kg) and whose catch rate is less than or equal to 20. This is because the game will set the catch rate to 0 when the catch rate becomes negative due to the -20 modifier that is applied. The only catchable Pokémon that this affects are {{p|Beldum}} and the [[guardian deities]]. This error was corrected in {{g|Ultra Sun and Ultra Moon}}.
* The numbers 255, 4096, and 65536 result from the data types used. 255 is the highest number a single unsigned byte can encode. 4096 is the amount of space an unsigned 12-bit integer can encode. 65536 is the amount of space two unsigned bytes can encode.
* The numbers 255, 4096, and 65536 result from the data types used. 255 is the highest number a single unsigned byte can encode. 4096 is the amount of space an unsigned 12-bit integer can encode. 65536 is the amount of space two unsigned bytes can encode.