Understanding Pokemon (must be smart to understand)

This topic is locked from further discussion.

Avatar image for irelevent
irelevent

1497

Forum Posts

0

Wiki Points

0

Followers

Reviews: 7

User Lists: 0

#1 irelevent
Member since 2005 • 1497 Posts

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:

Image:Catch formula 1.png

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 1/3 * catch rate.

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

Image:Catch formula 2.png

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:

Image:Catch formula 3.png

The second expression for p may be expanded as follows:

Image:Catch formula 3 expansion.png

Since (216 - 1)4 ≈ 264, we can approximate p with the following expression:

Image:Catch formula 3 approximation.png

The percentage error in this approximation approaches 0 as a approaches 255, and does not exceed 0.02%.

For a constant probability p, the probability P that a player can capture the Pokémon with no more than r tries is:

Image:Catch formula 4.png

Note that this is the cumulative probability function for a geometric distribution. The expected value of r is 1/p, that is to say, on average, a Pokémon that can be caught with probability p will be caught with 1/p tries.

The inverse problem, the number of tries, r, needed to have a probability P of capturing a Pokémon is:

Image:Catch formula 5.png
Avatar image for Legendaryscmt
Legendaryscmt

12532

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#2 Legendaryscmt
Member since 2005 • 12532 Posts
Are you really that bored?
Avatar image for CRS98
CRS98

9036

Forum Posts

0

Wiki Points

0

Followers

Reviews: 7

User Lists: 0

#3 CRS98
Member since 2004 • 9036 Posts
Hmm... I'm going to say what your username says, but spelled correctly.
Avatar image for 123625
123625

9035

Forum Posts

0

Wiki Points

0

Followers

Reviews: 6

User Lists: 0

#4 123625
Member since 2006 • 9035 Posts
I hate maths.
Avatar image for DarkPrinceXC
DarkPrinceXC

5921

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#5 DarkPrinceXC
Member since 2003 • 5921 Posts
Yes! Now I can be a TRUE Pokemon Master!
Avatar image for Andrn
Andrn

2098

Forum Posts

0

Wiki Points

0

Followers

Reviews: 4

User Lists: 0

#6 Andrn
Member since 2008 • 2098 Posts

I don't get it...what's the point?

Avatar image for tri-edge99
tri-edge99

7501

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#7 tri-edge99
Member since 2007 • 7501 Posts
Who would go through all that math just to see if you can catch a pokemon? fail.
Avatar image for irelevent
irelevent

1497

Forum Posts

0

Wiki Points

0

Followers

Reviews: 7

User Lists: 0

#8 irelevent
Member since 2005 • 1497 Posts

Hmm... I'm going to say what your username says, but spelled correctly.CRS98

oooh, i haven't heard that 1000 times before, at least my name isn't either crazy random symbols, or your name and the day you were born, in that case, please leave the OT, and if it's your date of graduation, god help us.

Avatar image for _LiquidFlame_
_LiquidFlame_

13736

Forum Posts

0

Wiki Points

0

Followers

Reviews: 7

User Lists: 0

#9 _LiquidFlame_
Member since 2007 • 13736 Posts
And I thought I knew people who do weird things in their spare time... :shock:
Avatar image for the_foreign_guy
the_foreign_guy

22657

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#10 the_foreign_guy
Member since 2005 • 22657 Posts
Thanks! I'm going to go through all that math just to catch a pokemon. It'll save me pokeballs. :D
Avatar image for Nerd_Man
Nerd_Man

13819

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#11 Nerd_Man
Member since 2007 • 13819 Posts

Who would go through all that math just to see if you can catch a pokemon? fail.tri-edge99

2 b sur u have enuf ultra ballz 2 catch teh legendaryz

Avatar image for BladeOfHeaven
BladeOfHeaven

6027

Forum Posts

0

Wiki Points

0

Followers

Reviews: 1

User Lists: 0

#12 BladeOfHeaven
Member since 2006 • 6027 Posts
I'm already a better pokemon trainer than Ash :o
Avatar image for CRS98
CRS98

9036

Forum Posts

0

Wiki Points

0

Followers

Reviews: 7

User Lists: 0

#13 CRS98
Member since 2004 • 9036 Posts

[QUOTE="CRS98"]Hmm... I'm going to say what your username says, but spelled correctly.irelevent

oooh, i haven't heard that 1000 times before, at least my name isn't either crazy random symbols, or your name and the day you were born, in that case, please leave the OT, and if it's your date of graduation, god help us.

I have no idea if you're trying to insult me, or trying to look stupid...

Avatar image for milosbeli
milosbeli

1045

Forum Posts

0

Wiki Points

0

Followers

Reviews: 23

User Lists: 0

#14 milosbeli
Member since 2007 • 1045 Posts
interesting :)
Avatar image for irelevent
irelevent

1497

Forum Posts

0

Wiki Points

0

Followers

Reviews: 7

User Lists: 0

#15 irelevent
Member since 2005 • 1497 Posts
[QUOTE="irelevent"]

[QUOTE="CRS98"]Hmm... I'm going to say what your username says, but spelled correctly.CRS98

oooh, i haven't heard that 1000 times before, at least my name isn't either crazy random symbols, or your name and the day you were born, in that case, please leave the OT, and if it's your date of graduation, god help us.

I have no idea if you're trying to insult me, or trying to look stupid...

Face it CRS98, we live in a material world, and you are a material girl. (which means):

The Most Arrogant one in a conversation, regardless of use of intelligence, or logic used, will win the conversation, this is especially true on the Off-Topic boards. Understanding this ,it's the only way you can become a true Pokemon Master.

Avatar image for Big_player
Big_player

6187

Forum Posts

0

Wiki Points

0

Followers

Reviews: 3

User Lists: 0

#16 Big_player
Member since 2004 • 6187 Posts
And you ruined the last shreds of my childhood:(
Avatar image for metalmouth14
metalmouth14

415

Forum Posts

0

Wiki Points

0

Followers

Reviews: 3

User Lists: 0

#17 metalmouth14
Member since 2008 • 415 Posts
Yes that is why I got Pokemon Diamond to do math :roll:.
Avatar image for felixworks
felixworks

337

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#18 felixworks
Member since 2005 • 337 Posts
You are a GOD!