Catch rate/Capture method (Generation I)/Approximate probability

By working through the above capture algorithm an exact probability for catching a Pokémon in many situations can be found. When using a Poké ball it's exact for Pokémon with a catch rate of at most 230, for a Great Ball it's exact for Pokémon with a catch rate of at most 175 while for Ultra and Safari Balls it is exact for Pokémon with a catch rate of at most 125. It will give results which are too high if the catch rates are more than this; however it remains a useful approximation as has been verified by using a simulation of the capture algorithm. Probability of Capture = p0 + p1 where p0 = statusAilment / (ballMod+1) and p1 = ( (catchRate+1)/(ballMod+1) ) * ( (f+1)/256 )
 * statusAilment = 12 if poisoned, burned, or paralyzed, 25 if frozen or asleep, 0 otherwise.
 * ballMod = 255 if using a Poké Ball, 200 if using a Great Ball, and 150 otherwise.
 * f is defined in the above section for the capture method.
 * catchRate (given as an integer value) is stated on each individual Pokémon's article.