Skip to content

Add the pre-Generation IX PP of Rest, Roost, Slack Off, Soft-Boiled, Milk Drink and Recover - #1745

Merged
FallenDeity merged 1 commit into
PokeAPI:masterfrom
smiei:fix-heal-move-pp
Dec 3, 2026
Merged

FallenDeity merged 1 commit into
PokeAPI:masterfrom
smiei:fix-heal-move-pp

Conversation

@smiei

@smiei smiei commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Change description

Generation IX lowered the PP of Rest, Roost, Slack Off, Soft-Boiled, Milk Drink and Recover from 10 to 5. move_changelog.csv has no row for the old value (Recover only has 105,8,,,20,,,,,, its 20 PP before Diamond/Pearl), so /api/v2/move/<name> reports 5 PP for every older version group, e.g. Rest in Sword/Shield.

This adds one row per move with 10 PP from before Scarlet/Violet (version group 25): 156 Rest, 135 Soft-Boiled, 208 Milk Drink, 105 Recover, 355 Roost, 303 Slack Off. A row holds the values from before the listed version group, so Legends: Arceus (also 10 PP) is covered. Recover's existing 105,8 row stays: Bulbapedia has 20 PP in Generations I-III and 10 PP from Generation IV on.

Sources: Pokemon Showdown's data/mods/gen8/moves.ts (pp: 10 for all six) and Bulbapedia's move pages for Rest, Recover, Soft-Boiled, Milk Drink, Roost and Slack Off (all lowered to 5 PP in Generation IX).

AI coding assistance disclosure

I found and checked this with Claude Code (an AI assistant): it compared the CSV against the live API, Showdown's data and Bulbapedia. 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.

…Milk Drink and Recover

Generation IX lowered these six healing moves from 10 to 5 PP, but move_changelog.csv had no row for the old value, so the API reported 5 PP for Sword/Shield, BDSP and Legends: Arceus. Each move gets a row holding 10 PP from before Scarlet/Violet. Recover keeps its existing 20 PP row (before Diamond/Pearl).
@FallenDeity

Copy link
Copy Markdown
Contributor

thanks :)

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

Copy link
Copy Markdown

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.

1 similar comment
@pokeapi-machine-user

Copy link
Copy Markdown

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
Copy Markdown

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).

pokeapi-machine-user added a commit to PokeAPI/api-data that referenced this pull request Dec 3, 2026
@pokeapi-machine-user

Copy link
Copy Markdown

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).

@pokeapi-machine-user

Copy link
Copy Markdown

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 added a commit to PokeAPI/api-data that referenced this pull request Dec 3, 2026
@pokeapi-machine-user

Copy link
Copy Markdown

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).

Naramsim pushed a commit to PokeAPI/api-data that referenced this pull request Dec 4, 2026
@pokeapi-machine-user

Copy link
Copy Markdown

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
Copy Markdown

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).

FallenDeity pushed a commit to PokeAPI/api-data that referenced this pull request Dec 4, 2026
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.

3 participants