Skip to content

Fix Cryogonal past stat: defense, not attack - #1743

Merged
FallenDeity merged 1 commit into
PokeAPI:masterfrom
smiei:fix-cryogonal-past-stat
Dec 3, 2026
Merged

FallenDeity merged 1 commit into
PokeAPI:masterfrom
smiei:fix-cryogonal-past-stat

Conversation

@smiei

@smiei smiei commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Change description

pokemon_stats_past.csv has the row 615,6,2,30,0, so the API reports Cryogonal's Attack as 30 up to Generation VI. Attack is 50 today and has never been 30. What changed in Generation VII is Defense (30 to 50) and HP (70 to 80). The row should use stat_id 3 (defense).

This is the same kind of error as #1646/#1647 (Roserade). Sources: Pokemon Showdown's data/mods/gen6/pokedex.ts (Cryogonal: hp 70, atk 50, def 30) and its current pokedex.ts (hp 80, atk 50, def 50).

One-line CSV change: 615,6,2,30,0 -> 615,6,3,30,0.

AI coding assistance disclosure

I found and checked this with Claude Code (an AI assistant): it compared the CSV against current values and Showdown's data. I reviewed the data and sources myself, and the commit was prepared with the assistant's help.

Contributor check list

  • I have written a description of the contribution and explained its motivation.
  • I have written tests for my code changes (if applicable).
  • I have read and understood the AI Assisted Contribution guidelines.
  • I will own this change in production, and I am prepared to fix any bugs caused by my code change.

Cryogonal's Gen VII buff raised its HP (70 to 80) and Defense (30 to 50); Attack has always been 50. pokemon_stats_past.csv recorded the old Defense 30 under stat_id 2 (attack) instead of 3 (defense).
@FallenDeity FallenDeity added the no-deploy Instructs the updater-bot not to deploy this PR label Dec 3, 2026
@FallenDeity

Copy link
Copy Markdown
Contributor

thanks

@FallenDeity
FallenDeity merged commit 10fece7 into PokeAPI:master Dec 3, 2026
19 checks passed
@pokeapi-machine-user

Copy link
Copy Markdown

This Pull Request won't be deployed since the label no-deploy was found in its meta-data.

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

Labels

no-deploy Instructs the updater-bot not to deploy this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants