mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 22:09:27 +02:00
Fix visual bug with level text remaining the same when pokemon levels are reduced
This commit is contained in:
parent
2bf8acea06
commit
ec7e212a90
@ -312,6 +312,7 @@ export const WeirdDreamEncounter: MysteryEncounter =
|
||||
pokemon.levelExp = 0;
|
||||
|
||||
pokemon.calculateStats();
|
||||
pokemon.getBattleInfo().setLevel(pokemon.level);
|
||||
await pokemon.updateInfo();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user