Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding effects of missing abilities #1222

Merged
merged 7 commits into from
Mar 19, 2025

Conversation

digitalghost-dev
Copy link
Contributor

Hello, there are about 80 abilities missing from the ability_prose.csv file. I have added every ability from 234 to 307. Only English translation, however.

@Naramsim
Copy link
Member

Thanks! I think you need to add another column. You can check the CSV header

@digitalghost-dev
Copy link
Contributor Author

digitalghost-dev commented Mar 11, 2025

Oh shoot, I didn't see that. I will add a short effect column from pokemondb.net

@digitalghost-dev
Copy link
Contributor Author

@Naramsim - I believe all 4 columns are there now. I couldn't find a short_effect for some of the abilities or some just repeated the long or "standard" effect. Does every ability need a short_effect?

@Naramsim
Copy link
Member

@Naramsim - I believe all 4 columns are there now. I couldn't find a short_effect for some of the abilities or some just repeated the long or "standard" effect. Does every ability need a short_effect?

Hi, yes, so far we have collected both descriptions. As those were in games roms. If now we don't have anymore any distinction, maybe we could make the short_effect optional. Can you reference here a move that you couldn't find both descriptions for?

@digitalghost-dev
Copy link
Contributor Author

One example is for Poison Puppeteer. There is only an effect listed (which could be used as the short_effect and then the flavor_text_entry would be null in this case).

However, we could use the effect listed for both? For example, Pokémon poisoned by Pecharunt’s moves will also become confused. could be used for both the short_effect and the flavor_text_entry.

@Naramsim
Copy link
Member

Naramsim commented Mar 16, 2025

I think the best is to use Bulbapedia: https://bulbapedia.bulbagarden.net/wiki/Poison_Puppeteer_(Ability)

On the right side there's the flavor text which goes to the csv ability_flavor_text.csv.

Below, under Effect -> In battle, we could use that string as the effect in the ability_prose.csv file. short_effect can be a brief summary written by you (if you have the time). Even better the short_effect can be taken from Serebii's Game's text: https://www.serebii.net/abilitydex/poisonpuppeteer.shtml

@digitalghost-dev
Copy link
Contributor Author

@Naramsim - okay, every record has both an effect and short_effect now!

304,9,"When Terapagos enters the battle, it turns into its Terastal Form until the end of the battle. ","When the Pokémon enters a battle, it absorbs the energy around itself and transforms into its Terastal Form."

305,9,"All damage-dealing moves that hit the Pokémon when its HP is full will not be very effective.","The Pokémon’s shell contains the powers of each type. All damage-dealing moves that hit the Pokémon when its HP is full will not be very effective."

Copy link
Member

Choose a reason for hiding this comment

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

The pipeline fails, I think an issue might be all these newlines. Can you remove them?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I assume that a line is needed on 1248?

This Ability is not bypassed by []{ability:mold-breaker}, []{ability:teravolt}, or []{ability:turboblaze}."
233,9,Increases super-effective damage dealt to 1.25×.,Increases super-effective damage dealt to 1.25×.

234,9,"Boosts Attack in battle.","Boosts the Pokémon’s Attack stat the first time the Pokémon enters a battle."
235,9,"Boosts Defense in battle.","Boosts the Pokémon’s Defense stat the first time the Pokémon enters a battle."

That is the only remaining newline that I see now after removing all the others.

Copy link
Member

Choose a reason for hiding this comment

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

No newlines are allowed I think

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay, it took me a second to understand how this is formatted. It looks like there are header sections or comments underneath certain abilities. In other words, the "comment" describes the ability that is above it, not below it. They don't show up in GitHub, only when I cloned the repository and opened it up in my IDE.

I think we are okay now.

@Naramsim Naramsim merged commit 1d14e68 into PokeAPI:master Mar 19, 2025
8 checks passed
@Naramsim
Copy link
Member

Thanks @digitalghost-dev, if you want you can add the script you came up with to the Resources/scripts/data folder.

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

Naramsim pushed a commit to PokeAPI/api-data that referenced this pull request Mar 19, 2025
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