-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Conversation
...-route-2-main fishing
... for certain encounters
.../add-sword-shield-encounters
jemarq04
commented
Jun 9, 2026
I just encountered a location area (glimwood-tangle) that can't use the encounter slots I set up... I need to re-distribute the encounter slots and re-do these encounters. :(
Naramsim
commented
Jun 10, 2026
Great additions @jemarq04 . Did you scrape the data from the internet or by looking into some game files?
Naramsim
commented
Jun 10, 2026
I just encountered a location area (
glimwood-tangle) that can't use the encounter slots I set up... I need to re-distribute the encounter slots and re-do these encounters. :(
Ouch, I'm sorry!
jemarq04
commented
Jun 10, 2026
Great additions @jemarq04 . Did you scrape the data from the internet or by looking into some game files?
I just looked through Serebii/Bulbapedia pages and inputted values into my script which translated them into entries into encounters.csv. The hardest part was determining the shared encounter slots for the game, which I've found to be incorrect twice now lol
I did notice though that in the API, we have multiple sets of encounter slots for black and white with varying encounter rates instead of one set of slots used by each area. It wouldn't be accurate to the in-game encounter slots, but functionally it would give us accurate encounters in each location area.
If organizing the slots that way is good with you @Naramsim, then I can easily edit my script and get these encounters in. Otherwise I'll need to take more time to design the slots to work with every location area encounter in the game before making any PRs.
(I'll also ping @notblisy, since they've done a lot of Pokemon RNG stuff and may know about the specifics of sword/shield encounter slots.)
...etup across location areas. add galar-route-1 and wedgehurst
.../add-sword-shield-encounters
I've gone ahead with the same structure as those for black and white and added each unique set of encounter slots as needed for the location areas in sword/shield. I'll update the description of this PR. I figured if we wanted to change that, we'd also want to change it for some past encounters, and I'd be willing to do that as a big project. For now, this was the quickest way to get SWSH encounters into the API.
This PR is now ready for review!
Uh oh!
There was an error while loading. Please reload this page.
Change description
This is the first in a series of PRs adding encounters for the
sword-shieldversion group as a follow-up to #1459. I'm trying to chunk them up into pieces that are easier to review, and this felt like a good break in my current progress. I'll make more PRs as I make more progress later on. I'm skipping Wild Areas and gift/trades until later PRs.This PR contains encounters for Route 1-5, Wedgehurst, Motostoke, Turffield, Hulbury, Galar Mine, Galar Mine No. 2, and Motostoke Outskirts. New location areas (and their prose) were added as well.
I did rename the
berry-pilesencounter method toberry-trees, since the piles were always at trees in Alola and Galar only has trees. This was just so that this one method could be used for both games without adding a new one.As was done for encounters for
blackandwhite, I've added each unique set of encounter slots used in the game for use in the location areas' encounters. For instance, if multiple location areas had a 50%/40%/10% split, then only one set of slots are created with those rarities and are used by both location areas.All of this was done with a custom interactive helper script, no AI used. Some human error may have been introduced then, but I tried to double-check each location area as I added them. If we need to hold off to merge other encounter PRs, I have some code to increment my encounter IDs.
Contributor check list