Add Hidden Grotto Encounter method, Location Areas, and Encounters.#1507
Add Hidden Grotto Encounter method, Location Areas, and Encounters.#1507Naramsim merged 4 commits intoPokeAPI:masterfrom
Conversation
Rate has been scaled up so all pokemon in a single location-area add up to ~100. The 20% chance for a pokemon to spawn in a hidden grotto is instead acounted for in the rate field of location_area_encounter_rates.csv The following pokemon had decimals after scaling, so they have been rounded: Zangoose, Seviper (Route 7, Route 23): 37.5 -> 38 Kingler, Corsola (Route 18): 37.5 -> 38 Pinsir, Heracross (Lostlorn Forest) : 3.75 -> 4 / 1.25 -> 1 Breloom (Pinwheel Forest - Inner): 18.75 -> 19 Amoonguss (Pinwheel Forest - Inner): 56.25 -> 56 Data sourced from https://wiki.pokemonwiki.com/ but adjusted to match Bulbapedia, with one exception: Mienfoo levels are listed as 50-54 in bulbapedia. This seems to be a mistaken entry as all other Pokemon share the same level range within a hidden grotto. Adjusted to match other Route 22 grotto levels.
jemarq04
left a comment
There was a problem hiding this comment.
Looks great - thanks for the contributions!
As far as the Funfest Missions go, I think we can leave that for another PR later down the line. The only encounters that weren't restricted to certain events in 2012 are Stunky and Glameow, and neither Bulbapedia nor Serebii can give much information on the rates of these Pokemon during these missions.
|
A PokeAPI/api-data refresh has started. In ~45 minutes the staging branch of PokeAPI/api-data will be pushed with the new generated data. |
|
The updater script has finished its job and has now opened a Pull Request towards PokeAPI/api-data with the updated data. |
Change description
Addresses #1455
Adds the Black 2 / White 2 Hidden Grotto mechanic, adding to:
Data was originally sourced from : https://wiki.pokemonwiki.com/wiki/%E3%81%8B%E3%81%8F%E3%81%97%E3%81%82%E3%81%AA
but adjusted to match https://bulbapedia.bulbagarden.net/wiki/Hidden_Grotto
With some exceptions:
Funfest Mission Hidden Grotto encounters have not been added here; I'm not sure how to reflect them. They have an additional condition of a relevant funfest mission being active, some required a Japanese-only distribution, and they can show up in any hidden grotto.
AI coding assistance disclosure
Copilot was used to assist in the creation of a side program that would scrape the wiki and read copies of the relevant .csv files to generate new rows.
That program was then tested and adjusted until it matched expectations, and then used to generate preliminary row additions for the .csv files.
I then manually verified all additions, adjusting the rows when I would find discrepancies. By my understanding, this usage is in-line with the principles of the AI Assisted Contribution guidelines.
Contributor check list