• Hi, Guest!
    Some images might be missing as we move away from using embedded images, sorry for the mess!
    From now on, you'll be required to use a third party to host images. You can learn how to add images here, and if your thread is missing images you can request them here.
    Do not use Discord to host any images you post, these links expire quickly!
Resource icon

v20.1 Pokemon Outbreaks 4.0

This resource pertains to version 20.1 of Pokémon Essentials.
Pokémon Essentials Version
v20.1 ➖
Also compatible with
  1. v19.1
  2. v18.1
  3. v17.2
Sometimes swarms of Pokemon appear on routes they normally don't. This script just replicates the Gen 4 mechanics, for the most part. As long as the switch to activate is on, it will generate a predefined outbreak of Pokemon on one route for the time period you have set up. The script defaults to 24 hours and will persist through a save and quit.

It's a plug and play script, defaulting to being enabled with switch 100, and it has a 40% chance of replacing the normal encounter on a map.

Included are two utility methods, pbGenerateOutbreak and pbOutbreakInformation. pbGenerateOutbreak, just creates a new outbreak and resets the time period, while pbOutbreakInformation takes two arguments, the variable number to save the species and the variable number to save the map name, and it also returns an array containing the map id and species index. pbOutbreakInformation will set the variables to -1 if there is no outbreak and returns [-1,-1].

To create a new possible outbreak, you just need to add another array to OUTBREAKSPECIES. The script comes predefined with two encounters, Doduo on map id 5 that only spawn at level 2 and Voltorb on map id 5 that spawn at level 28-29.

v17/v18 Pastebin:
v19 Pastebin:
Credits
Just me.
Author
Vendily
Downloads
1,545
Views
4,858
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from Vendily

Latest updates

  1. v20 update

    Technically this update existed for a couple of weeks already.
  2. v19

    v19 :)
  3. Fixed a mispelled variable.

    line 49, should be return encounter if !newenc[4].include?($PokemonEncounters.pbEncounterType) ...

Latest reviews

¡Que script más maravilloso! Yo ni siquiera recordaba estos encuentros, pero agregarlos al juego le dará mucha más inmersión
Back
Top