## pokemon demotivational poster

Demotivator description: Some text from bulbapedia which has some formulas for possibility of catching wild pokemon in game. Text is:

Catch rate

From Bulbapedia, the community-driven Pokémon encyclopedia.

When a Poké Ball is thrown at a wild Pokémon, the game uses a formula based on the wild Pokémon's current health, any status effect it may have, and that Pokémon's catch rate, to determine the chances of catching that Pokémon. The formula is as follows:

WTF FORMULA

Where
HPmax is the number of hit points the Pokémon has at full health,
HPcurrent is the number of hit points the Pokémon has at the moment,
rate is the catch rate of the Pokémon,
bonusball is the multiplier for the Poké Ball used, and
bonusstatus is the multiplier for any status ailment the Pokémon has (2 for sleep and freeze, 1.5 for paralyze, poison and burn).

Given this formula, the maximum value for a (if the Pokémon could have 0 HP) would be catch rate × bonusball × bonusstatus. The minimum value for a (for a Pokémon with full health) would be ⅓ × catch rate.

If a is greater than or equal to 255, then the Pokémon is caught. If not, then calculate b as follows:

WTF FORMULA

Then generate 4 random numbers between 0 and 65535, inclusive. If the random numbers are less than or equal to b, then the Pokémon is caught; otherwise the ball shakes n times, where n is the number of random numbers that are less than b. Note that b ≥ 65535 if a ≥ 255.

Therefore, the probability p of catching a Pokémon, given the values a and b calculated above, is:

WTF FORMULA