Please donate money and help me raise over $3100 for my education.

Pokemon Gold and Silver - Chance of Escape in Wild Battles

In a wild battle, if the Speed of the Pokemon trying to flee is equal to or greater than the opponent's, escape is successful. Otherwise, the formula below is used.

X=int(A*32/B)+(30*C)

where:

  • A = Current Speed of Pokemon trying to flee
  • B = (int(D/4)%255) where D is the current Speed of the opponent. If B equals 0, escape is successful.
  • C = Number of times the Run command was used this battle before this time. This variable is reset to 0 when the player chooses the Fight command, but doesn't change when the player's Pokemon changes.

If X is greater than 255, escape is successful. Otherwise, if a random number from 0 through 255 is less than or equal to X, escape is successful. Otherwise, escape fails.

Please donate money and help me raise over $3100 for my education.


Discussion