Pokémon Ruby Version, Sapphire Version, and Emerald Version - Encounters
In the methods below, the "first Pokémon in party" means the Pokémon or Egg on the top of the player’s Pokémon party. An Egg is treated as having no ability or item for the purposes of these methods.
Pokémon Ruby Version and Pokémon Sapphire Version
Each area has a probability of Pokémon appearing, expressed as a value of 1, 4, 9, 10, 20, 25, 30, and 35. Whenever the player takes a step in which Pokémon could appear, the game uses this formula:
X = Y * 16
where:
- Y = Encounter value
- If a random integer from 0 through 2873 is less than X, a Pokémon will appear.
Modifications
- If the Mach Bike or Acro Bike is used, multiply by 4/5.
- If the Black Flute had been used, multiply by 1/2. If the White Flute had been used, multiply by 3/2.
- If the first Pokémon in party has a Cleanse Tag, multiply by 2/3.
- If the first Pokémon in party has Stench, multiply by 1/2. If the first Pokémon in party has Illuminate, multiply by 2. (In either case, ignore if the Pokémon holds a Cleanse Tag.)
An encounter check is not done for the first three steps after a battle ends.
Pokémon FireRed Version and Pokémon LeafGreen Version
Each area has a probability of Pokémon appearing, expressed as a value from 1 through 60. The game uses two variables, X and Y. Both variables reset to 0 when a Pokémon is encountered or when a new map is entered. Whenever the player takes a step in which Pokémon could appear, the game carries out stage 1:
Stage 1
- A = (8 - ((Encounter rate) / 10)) * 256
- B = 1280
- If the Black Flute was used, multiply A by 2 and B by 0.5.
- If the White Flute was used, multiply A by 0.5 and B by 1.5.
- If the first Pokémon in party has a Cleanse Tag, multiply A by 4/3 and B by 2/3.
- If the first Pokémon in party has Stench, multiply A by 2 and B by 0.5.
- If the first Pokémon in party has Illuminate, multiply A by 0.5 and B by 1.5.
- Divide A and B each by 256.
- If X is less than A, X rises by 1 and the process stops (no Pokémon is encountered). Otherwise, if a random integer from 0 through 99 is greater than or equal to B, Y rises by the map’s encounter rate and the process stops. Otherwise, the game moves on to stage 2.
Stage 2
- C = Encounter rate
- If the player is on a bicycle, multiply C by 4/5.
- C = (C + ((Y * 16) / 200)
- If the Black Flute was used, multiply C by 0.5.
- If the White Flute was used, multiply C by 1.5.
- If the first Pokémon in party has a Cleanse Tag, multiply C by 2/3.
- If the first Pokémon in party has Stench, multiply C by 2 and B by 0.5.
- If the first Pokémon in party has Illuminate, multiply C by 0.5 and B by 1.5.
- If a random integer from 0 through 1599 is less than C, a Pokémon is encountered.
Emerald Version
In Pokémon Emerald Version the encounter check is a bit more complicated.
An encounter check is done only if the player moves to a tile where Pokémon could appear, but that check is done at a 60% chance if the player moves from one kind of tile to a different kind of tile in which Pokémon could appear (for example, from plain ground to grass). An encounter check is not done for the first three steps after a new map is entered or after a battle ends..
The first step in the check is to determine whether a Pokémon will appear at all. This involves doing the following:
- Let X equal 16 times the current map’s encounter rate.
- If the Mach Bike or Acro Bike is used, multiply X by 4/5.
- If the Black Flute had been used, multiply X by 1/2. If the White Flute had been used, multiply X by 3/2.
-
If the first Pokémon in party has a Cleanse Tag, multiply X by 2/3.
Otherwise:
- If the first Pokémon in party has Stench, multiply X by 1/2 (or by 3/4 in the Battle Pyramid). If the first Pokémon in party has Illuminate, multiply X by 2. If the first Pokémon in party has White Smoke, multiply X by 1/2. If the encounter occurs during a sandstorm and the first Pokémon in party has Sand Veil, multiply X by 1/2. If the first Pokémon in party has Arena Trap, multiply X by 2.
- If a random integer from 0 through 2873 is less than X, a Pokémon will appear.
Then the game determines which Pokémon will appear. However, if the player beat the game and Latios or Latias has reached the current map, Latios or Latias (as the case may be) will appear instead at a 25% chance.
After determining which Pokémon will appear, the game now determines whether that Pokémon doesn’t appear because of its attributes. In the process below, the first Pokémon in the party is checked for relevant abilities. (Indoors means "in caves, in buildings, and the like.") If a mass outbreak occurs, this entire process except the Cute Charm effect is ignored.
- Outdoors, Battle Pyramid, Battle Pike: If the first Pokémon has Magnet Pull, at a 50% chance, if some but not all Pokémon in each encounter slot are Steel-type Pokémon, one encounter slot from among all slots with Steel-type Pokémon is chosen at random with an equal probability.
- Outdoors, indoors, Battle Pyramid, Battle Pike: If the first Pokémon has Static, at a 50% chance, if some but not all Pokémon in each encounter slot are Electric-type Pokémon, one encounter slot from among all slots with Electric-type Pokémon is chosen at random with an equal probability.
- Outdoors, indoors, Battle Pyramid, Battle Pike: If the first Pokémon has Hustle, Pressure, or Vital Spirit, at a 50/50 chance either the encountered Pokémon’s level is set to the maximum level possible for that encounter slot; or the encountered Pokémon’s level is reduced by 1 when the reduced level would not be less than the minimum level possible for that encounter slot.
- Outdoors, indoors: If a Repel is in effect, the encountered Pokémon won’t appear if its level is equal to or less than the the level of the first Pokémon in the player’s party that hasn’t fainted and isn’t an Egg. (Repel lasts for 100 steps after use; Super Repel for 200 steps; and Max Repel for 250 steps.)
- Outdoors, indoors, Battle Pyramid, Battle Pike: If the first Pokémon has Intimidate or Keen Eye, at a 50% chance the encountered Pokémon won’t appear if its level is equal to or less than the first Pokémon’s level minus 5. If the first Pokémon has Cute Charm, the encountered Pokémon’s gender is changed to match that of the first Pokémon (if possible) at a 2/3 chance. If the first Pokémon has Synchronize, the encountered Pokémon’s nature is changed to match that of the first Pokémon at a 50% chance.