Fandom

Pokémon Essentials Wiki

Roaming Pokémon

228pages on
this wiki
Add New Page
Talk0 Share

This article describes how roaming Pokémon roam. It explains how to define where and when a roaming Pokémon can go.

See also Edit

Encounters

  • If the player encounters a roaming Pokémon, the battle with that roamer replaces the usual wild encounter.

Roaming Pokémon Edit

Roaming Pokémon is the term given to Pokémon, typically legendaries, that randomly appear as wild encounters every so often, rather than appear as an event encounter. They will flee from battle at the earliest opportunity (but will fight if they cannot). Roaming Pokémon can travel between different maps.

If a roaming Pokémon is on the same map as the player, then the player may encounter that roaming Pokémon.

Defining the roaming locations Edit

Roaming Pokémon can be encountered on various different maps, but the pattern they roam in is not entirely random. Each map that a roaming Pokémon can be on will lead to one or more other maps, and the roamer will move to one of those (chosen at random) each time the player steps onto a new map.

The paths between maps form an often complex pattern.

Paths are defined in the script section Settings, in the hash RoamingAreas, e.g.

RoamingAreas = {
   20 => [21, 22],
   21 => [20, 22],
   22 => [20, 21]
}

In this example, a roaming Pokémon on map 20 can go to either map 21 or map 22, and so on. Map 20 is the path to maps 21 and 22.

When defining paths, it is important that there are no dead ends - any map that can be reached should be a path to at least one other map.

You should only make a map a path if it is reasonable that a roaming Pokémon will show up there. For example, land-based Pokémon shouldn't be able to go on a water route. On the other hand, you can make a map a path even if there cannot be a wild encounter on it.

As mentioned below, these paths are the "default" paths. If a roamer has no paths of its own, it will use these ones.

Defining the roamers Edit

Roaming Pokémon are listed in the script section Settings, in an array called RoamingSpecies, e.g.

RoamingSpecies = [
   [:LATIAS, 30, 36, 0, "002-Battle02x"],
   [:LATIOS, 30, 36, 0, "002-Battle02x"],
   [:KYOGRE, 40, 37, 2, nil,{
       2  => [21,31],
       21 => [2,31,69],
       31 => [2,21,69],
       69 => [21,31] }],
   [:ENTEI, 40, 38, 1, nil]
]

Each line corresponds to one roaming Pokémon, where the information in each line is as follows:

  1. Its species.
  2. Its level.
  3. A Global Switch number.
  4. The kind of encounters the roamer can appear in - one of:
    • 0 - Walking in grass, walking in caves or surfing.
    • 1 - Walking in grass or walking in caves.
    • 2 - Surfing.
    • 3 - Fishing.
    • 4 - Surfing or fishing.
  5. The name of a BGM file to play during the encounter.
  6. A set of roaming paths unique to this roamer.

A Pokémon will only start roaming if its Global Switch is ON. Several roaming Pokémon can depend on the same Global Switch.

Roamers that do not have any paths defined specifically for them will use the default paths mentioned above. If the roamer has its own roaming paths, they should be laid out as in the example above. You can use unique paths to make sure a roamer will appear only where you want it to, e.g. in just one region, or only on one island/cave. It is recommended that you do this if you have multiple regions, to make sure the roamer stays in the intended region.

Roaming behaviour Edit

Roaming Pokémon only move to a different map when the player enters a new map.

Roamers cannot move to the last 2 maps that the player has visited (not including the new map). In addition to the paths as mentioned above, there is a small chance that the roamer will go to any other map it could possibly ever visit. If a roamer doesn't have any valid destinations, then it will remain on its current map until it can move again.

If the player has a partner trainer, they will never encounter a roaming Pokémon. There is a 25% chance that any wild Pokémon encounter will be with a roamer on the current map, unless the player has already encountered a roamer on that map. The player can only encounter one roamer per map, regardless of how many roamers are currently on that map.

Different maps in the same region with the same name (i.e. ones depicting long routes) are considered to be the same map for the purpose of encountering a roamer.

Once a roaming Pokémon has been encountered, it will remain the exact same Pokémon in all subsequent encounters (i.e. same personal ID/health/shininess/moveset/IVs/etc.). Its information is stored in the array $PokemonGlobal.roamPokemon[index].

When a roaming Pokémon is defeated/captured, it can no longer be encountered.

The script pbResetAllRoamers will erase the information of all fainted roamers that had not been caught. This starts them roaming again (assuming their Global Switches are still ON), as fresh Pokémon with new information.

Start a Discussion Discussions about Roaming Pokémon

  • Roaming Pokemon

    2 messages
    • Hi! I'm trying to setup a roaming trio but it's not working out, Entei is stuck on the Essentials Starter Kit Route 3 and Suicune ...
    • it's been a while, bumparino

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.