Colosseum / XD Locations, location areas, and encounter types are missing.
Colosseum and XD have version_group_ids in versions.csv, but are missing a few key things to be able to support the encounters within them!
-
All the locations and locations_areas are missing for both games.
-
I would consider the way you capture Pokemon in Colosseum and XD to be unique. There's two methods-- 2a. Snagging a Pokemon from an enemy trainer 2b. In XD Only, finding Pokemon in a "Pokespot"
Pokespot Pokemon are a form of "wild" random encounters in XD, and are pretty unique to the series.
However, snagging a Pokemon from an enemy trainer I could also see as being marked as "only-one" from encounter_methods.csv. Since there is only one of each shadow Pokemon.
I think in order to fully support these games, all of these things will need to be added. I'm interested in doing this, but I'm unsure of a few things.
Adding new locations and location areas is a bit confusing to me. What do I need to add to? Is it:
Locations.csv Location_areas.csv Location_areas_prose.csv Location_game_indices.csv
and then after that, adding the encounters to: encounters.csv?
I'd have the same question for adding new methods, is that as simple as adding one to encounter_methods.csv.
Thanks, I hope to be able to have Colo and XD fully supported in the API soon!
EDIT Things I forgot to mention:
Held items in Colo and XD. Each Pokemon also has or does not have a held item at a rate of 100%. That data should be included as well.
Lastly, it also seems the games have altered catch rates compared to the main series, which is something I don't think the API can handle at the moment.
DOUBLE EDIT:
It actually looks like the API can't do any changes at all to capture rate even though it varies by game, not just gen. source
I'll make a separate issue for this, since I don't think the current "past" system would work for it.
I've begun mapping this out, and I realized during it that there are rematches in Colo and XD in-case you KO a shadow Pokemon. My planned solution for this is to have two different encounter methods for shadows.
- Snag
- Snag-Rematch
The rematches in different locations will have the snag-rematch encounter method.
Finally got around to this:
https://github.com/PokeAPI/pokeapi/pull/1444
Once this is approved I'll begin on XD immediately, should be much quicker. I'll only close after XD is added.
According to my testing everything has been successfully added for both games. Colosseum and XD are now fully supported.