mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-27 17:26:11 +00:00
[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:
parent
198ac2431d
commit
265b3cb938
@ -312,6 +312,7 @@ export const WeirdDreamEncounter: MysteryEncounter =
|
|||||||
pokemon.levelExp = 0;
|
pokemon.levelExp = 0;
|
||||||
|
|
||||||
pokemon.calculateStats();
|
pokemon.calculateStats();
|
||||||
|
pokemon.getBattleInfo().setLevel(pokemon.level);
|
||||||
await pokemon.updateInfo();
|
await pokemon.updateInfo();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user