Skip to content

Comments

Fixed pokemon_stats_past#1409

Merged
Naramsim merged 3 commits intoPokeAPI:masterfrom
notblisy:past-stat-changes-fixed
Feb 20, 2026
Merged

Fixed pokemon_stats_past#1409
Naramsim merged 3 commits intoPokeAPI:masterfrom
notblisy:past-stat-changes-fixed

Conversation

@notblisy
Copy link
Contributor

@notblisy notblisy commented Feb 16, 2026

Multiple Pokemon in the pokemon_stats_past.csv file had the wrong stat_id values, causing incorrect stats when referencing past-gen stats.

Pikachu had 2 and 4 marked as changed, which is attack and special attack, when what was actually changed was defense and special defense.

I cross-referenced the list in the API with bulbapedias list.

Full list of Pokemon whose stat_id value was changed:

Gen 5 and earlier:
Pikachu: Atk + SpA -> Def + SpD
Raichu: Spd -> Spe
Clefable: Def -> SpA
Alakazam: SpA -> SpD
Bellossom: Atk -> Def
Ampharos: Atk -> Def
Exploud: SpA -> SpD
Stoutland: HP -> Atk
Gigalith: SpA -> SpD

Gen 6 and earlier:
Dugtrio: HP -> Atk
Arbok: HP -> Atk
Mega Alakazam: SpA -> SpD
Electrode: SpD -> Spe
Delcatty: SpD -> Spe
Volbeat: Atk + SpA -> Def + SpD
Illumise: Atk + SpA -> Def + SpD
Chimecho: Atk + SpA -> Def + SpD
Beartic: HP -> Atk

In addition, a few stat changes were missed entirely, so they have been added.

Chimecho -> HP to 65 in Gen 6 and earlier
Cryogonal -> HP to 70 in Gen 6 and earlier

Kleavors stat change got fully removed as well, because it was from Legends Arceus to SV 1.0 (where it wasn't catchable), and then when it was put into the game, the stat changes had reverted. So there was never a way in practice to have a Kleavor with these stats.

Lastly, I removed all of the legends arceus effort value changes, as there is no way to gain EVs in that game.

Multiple Pokemon in this file had incorrect stat_id values, causing incorrect stats when referencing past-gen stats.

In addition, a few stat changes were missed entirely, so they have been added.

Lastly, all of the legends arceus effort value changes have been removed, as there is no way to gain EVs in that game.
Copy link
Member

@phalt phalt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great data fixes, thank you.

Copy link
Member

@Naramsim Naramsim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the spotting! I reviewed a few changes

@Naramsim Naramsim merged commit 551bcfb into PokeAPI:master Feb 20, 2026
8 of 9 checks passed
@pokeapi-machine-user
Copy link

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 staging branch will be deployed in our staging environment and the entire API will be ready to review.

A Pull Request (master<-staging) will be also created at PokeAPI/api-data and assigned to the PokeAPI Core team to be reviewed. If approved and merged new data will soon be available worldwide at pokeapi.co.

@pokeapi-machine-user
Copy link

The updater script has finished its job and has now opened a Pull Request towards PokeAPI/api-data with the updated data.

The Pull Request can be seen deployed in our staging environment when CircleCI deploy will be finished (check the start time of the last build).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants