Begin adding Sword/Shield encounters#1550
Conversation
…-route-2-main fishing
|
I just encountered a location area ( |
|
Great additions @jemarq04 . Did you scrape the data from the internet or by looking into some game files? |
Ouch, I'm sorry! |
I just looked through Serebii/Bulbapedia pages and inputted values into my script which translated them into entries into I did notice though that in the API, we have multiple sets of encounter slots for (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 This PR is now ready for review! |
|
Hey @jemarq04 , thanks for the data. I really cannot review this data but I trust you did a thorough job. I'm merging, if you/(some one else) spot some errors in the coming days feel free to open another PR. |
|
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. |
@Naramsim If there’s something I can do to make it easier, let me know. Though, if you’re satisfied with me reviewing each location area like I’d usually do for encounter PRs, I can continue doing that and submit larger chunks. I have all SWSH and gifts/trade available aside from the wild areas. I can get that up later today if you’d like. The wild areas will take a bit longer, since each area has 9-10 sets of encounters for the weather conditions for each method, plus a duplicate of all of those for post-game when the wild level is 60. So each area would be larger than this PR for example. I have a helper script that makes it straightforward to enter, but it takes some time to check. |
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