[P3] Fix visual bug with level text remaining the same when pokemon levels are reduced in weird dream ME (#4837)

This commit is contained in:
Payton Rogers 2024-11-09 23:35:16 -06:00 committed by GitHub
parent 198ac2431d
commit 265b3cb938
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -312,6 +312,7 @@ export const WeirdDreamEncounter: MysteryEncounter =
pokemon.levelExp = 0;
pokemon.calculateStats();
pokemon.getBattleInfo().setLevel(pokemon.level);
await pokemon.updateInfo();
}