Contribute to Me Now - Share via - - Google+ - E-mail

Pokémon Ruby Version, Sapphire Version, and Emerald Version - Chance of Running in Wild Battles

Pokémon Ruby Version, Sapphire Version, and Emerald Version - Chance of Running in Wild Battles

Tags: pokemon-ruby-sapphire-and-emerald, battle-system, in-depth-guides, chance-of-running-in-wild-battles

In a wild Pokémon battle, if the unmodified Speed of the Pokémon trying to run is equal to or greater than the target’s, running is successful. Otherwise, the formula below is used.

X=(int(A*128/B)+(30*C)) % 256

where:

  • A = Unmodified Speed of Pokémon trying to run
  • B = Unmodified Speed of the target. If this value is 0, it becomes 1 instead.
  • C = Number of times the player already tried to run this battle, not counting the current attempt. Doesn’t count attempts to run when an effect (such as Mean Look) prevents the Pokémon from running. This variable doesn’t change when the player’s Pokémon changes or when the Pokémon chooses an attack.
  • "%" is the remainder operator.

If a random integer from 0 through 255 is less than X, running is successful. Otherwise, running fails.