apathy
Well-known member
I'll look into this, it could be a conflict between PokeAPI and Smogon's Pokemon Showdown API (we use both for Abilities, Moves & Pokemon) but it should be solvable.
- Gender rates are inconsistent. Weedle for example just has "Gender rate" listed but Bulbasaur has both Gender rate and Gender (%). Pokémon like Tauros (who have a 100% gender rate for one gender) don't have the Gender rate/Gender sections listed at all.
This is another issue on PokeAPI's end it looks like: https://pokeapi.co/api/v2/move/burning-jealousy
- The move Burning Jealousy says: "Inflicts regular damage." But this is incorrect, it's a Fire move and can be Super/Not Very Effective.
The effect_entries looks like
effect | "Inflicts regular damage." |
language | |
name | "en" |
url | "https://pokeapi.co/api/v2/language/9/" |
short_effect | "Inflicts regular damage with no additional effect." |
So I don't think there's much I can do about this one.
It definitely should be, but maybe its only parsing in certain instances, so I'll also look into this.
- Effect chances seem to not be formatting, here is Discharge for example: "Inflicts regular damage. Has a $effect_chance% chance to paralyze the target."
I think this is happening when a Pokemon exists in PokeAPI but not Smogon's Showdown one, because the main ones like gigantamax seem to be alright, but the rainbow swirl alcremie etc as you said are all 0. From what i see the stats are missing from PokeAPI so I'm guessing this means they share the same stats as their parent form, but I'll look into it to be sure. If this is the case it'll be easy to fall back to the parent form's stats instead of the 0's & missing rows.
- Alternate forms seem to have 0s for stats, height, and weight (all the Alcremie forms for examples).
- For the moves listed at the bottom of a Pokémon's Pokédex page, changing the "Generation" dropdown to another gen does not actually show the moves from that generation. For example, for Weedle, it always lists "Electroweb" and "Bug Bite" in the "Past generations" move area. If I change to, say, gen 2 in the right-side "Generation" dropdown, it still only shows those moves (and if I click More they just repeat, which you said is a known issue).
Right now it's using the Smogon data for a Pokemon's "learnset" but they're using odd codes to determine things like generation etc... pretty sure I had it correct a few months ago but maybe I needed to make more changes to adapt to gen 9.
This should be solvable anyway, I may swap over to using PokeAPI instead if it looks like it'd be an easier way to handle learnsets.
Thanks a lot for all these reports, it's not an addon I get a whole lot of feedback on and I'd certainly like it to be as accurate as it can be, so if you spot anything else please let me know.