171
edits
Oneofthosedf (talk | contribs) |
(Added the formula for Generation V onwards.) |
||
Line 24: | Line 24: | ||
===Generation III and IV=== | ===Generation III and IV=== | ||
If the player's active Pokémon's Speed is greater than or equal to the wild Pokémon's Speed, fleeing will always succeed. Otherwise, the chance of successfully fleeing is determined by the following formula | If the player's active Pokémon's Speed is greater than or equal to the wild Pokémon's Speed, fleeing will always succeed. Otherwise, the chance of successfully fleeing is determined by the following formula: | ||
<math display="block">Odds_{Escape} = \left(\left\lfloor {Speed_{Player} \times 128 \over Speed_{Wild}} \right\rfloor + 30 \times Attempts\right) \bmod 256</math> | <math display="block">Odds_{Escape} = \left(\left\lfloor {Speed_{Player} \times 128 \over Speed_{Wild}} \right\rfloor + 30 \times Attempts\right) \bmod 256</math> | ||
where | where | ||
Line 34: | Line 34: | ||
From Generation III onwards, the speed drop from {{status|paralysis}} no longer affects the chance of escaping. | From Generation III onwards, the speed drop from {{status|paralysis}} no longer affects the chance of escaping. | ||
===Generation V onwards=== | |||
If the player's active Pokémon's Speed is greater than or equal to the wild Pokémon's Speed, fleeing will always succeed. Otherwise, the chance of successfully fleeing is determined by the following formula: | |||
:<math display="block">Odds_{Escape} = {\left(\left\lfloor {Speed_{Player} \times 32 \over {Speed_{Wild} / 4}} \right\rfloor + 30 \times Attempts\right) \over 256}</math> | |||
where | |||
* <code>Speed<sub>Player</sub></code> is the unmodified {{Stat|Speed}} of the player's active Pokémon, | |||
* <code>Speed<sub>Wild</sub></code> is the unmodified Speed of the wild Pokémon, | |||
* <code>Attempts</code> is the number of times the player has tried to escape during the battle (counting the current attempt). | |||
===Other factors=== | ===Other factors=== |
edits