arleypadua / PKHeX.Everywhere

Cross platform tools for interacting with Pokemon save files. The web version runs everywhere and the CLI works with Mac OS, Linux and Windows
https://pkhex-web.github.io
MIT License
34 stars 2 forks source link

Base stats are all 0 #88

Closed john-champagne closed 2 weeks ago

john-champagne commented 2 weeks ago

Testing out the web version, I opened my Pokemon Platinum save file. When I hit Pokemon Box > Action > View > Stats, the 'Base' column is all zero.

image

This appears to be the case for all my Pokemon in the Pokemon Box. Weirdly, Pokemon in my party do not have the same issue.

arleypadua commented 2 weeks ago

This is not a bug, it is the nature some of the games store the data in the save files.

For most games, the base stats of Pokemon in your box are not stored, only the ones in your party.

One game I could see is an exception to this rule is for instance Let's Go Pikachu, where I could see those values in the box as well

john-champagne commented 2 weeks ago

Interesting; thanks for the quick response. I believe the PKHeX windows build shows base stats for Pokemon in the box. I presume it's just reading from a large table of base stats?

arleypadua commented 2 weeks ago

That could be the case, will try to investigate a bit further and see if I can add the same functionality

arleypadua commented 2 weeks ago

Thanks for the input on this @john-champagne

Just pushed c9c30de, which should always calculate a base stats when one is not available

now you will see them as a read-only info

image

john-champagne commented 2 weeks ago

💯 thanks Arley!