Fix incorrect old stats when leveling up

This commit is contained in:
JappaWakka 2024-08-07 11:32:13 +02:00
parent 9fae5d2dfc
commit 1c6f8cf00f
1 changed files with 1 additions and 1 deletions

View File

@ -8355,7 +8355,7 @@
For e = 1 To EXP
Dim oldStats() As Integer
With Core.Player.Pokemons(PokeIndex)
If .IsTransformed = False Then
If .IsTransformed = True Then
oldStats = { .MaxHP, .OriginalStats(0), .OriginalStats(1), .OriginalStats(2), .OriginalStats(3), .OriginalStats(4)}
Else
oldStats = { .MaxHP, .Attack, .Defense, .SpAttack, .SpDefense, .Speed}