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

PKHeX doesn't update Pokemon Stats in LGPE #2218

Closed
ReclaimerShawn opened this issue Dec 30, 2018 · 3 comments
Closed

PKHeX doesn't update Pokemon Stats in LGPE #2218

ReclaimerShawn opened this issue Dec 30, 2018 · 3 comments

Comments

@ReclaimerShawn
Copy link

ReclaimerShawn commented Dec 30, 2018

I set the Level of all of my Pokemon to 100 via this batch script:

.CurrentLevel=100
.Stat_Level=100

This sets the Pokemon to Level 100, but the stats remain the same. It shows the stats being updated in PKHeX, but shows the same stats as before in-game. Using PKHaX shows the actual values of the pokemon's stats. Using PKHaX, you can get a Pokemon to have 65535 on all stats. My guess is the game doesn't automatically update stats like was done in the previous games. The fix to this would be to just set the stats of the Pokemon automatically in the .pk file in PKHeX, but leave the ability to set custom stats in PKHaX. If there's a batch script that'd let me automatically set my stats to those shown in PKHeX, please post it below. (Currently I'm on the updated version of LGPE. Don't know if that has anything to do with it or not.)

@kwsch
Copy link
Owner

kwsch commented Dec 30, 2018

Has already been added since the last release:

1d76d79
f6da84b

Add the following lines to the batch script:

.Stats=$suggest
.Stat_CP=$suggest

@kwsch kwsch closed this as completed Dec 30, 2018
@kwsch
Copy link
Owner

kwsch commented Dec 30, 2018

CurrentLevel only updates the experience, and Stat_Level only updates the party stat value (which is saved for all stored pkm in LGPE, but only for party format mons in games prior). Stats have to be individually set; recalculating is done manually rather than on every single input's set method, in order to keep things fast.

The $suggest wildcard is the way to do more advanced auto-updates to things like stats :)

@ReclaimerShawn
Copy link
Author

CurrentLevel only updates the experience, and Stat_Level only updates the party stat value (which is saved for all stored pkm in LGPE, but only for party format mons in games prior).

The $suggest wildcard is the way to do more advanced auto-updates to things like stats :)

Thank you! That was a rather quick response. I'll do it now.

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

No branches or pull requests

2 participants