Add Hidden Grotto Encounter method, Location Areas, and Encounters.#1507
Open
coreyJim wants to merge 4 commits intoPokeAPI:masterfrom
Open
Add Hidden Grotto Encounter method, Location Areas, and Encounters.#1507coreyJim wants to merge 4 commits intoPokeAPI:masterfrom
coreyJim wants to merge 4 commits intoPokeAPI:masterfrom
Conversation
added 4 commits
April 25, 2026 11:03
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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