From 2256b57370cb3af84074701140f8ed9f3baecbcf Mon Sep 17 00:00:00 2001 From: Fabi <192151969+fabske0@users.noreply.github.com> Date: Sat, 20 Dec 2025 21:36:42 +0100 Subject: [PATCH] [UI] [Bug] Correctly update level after Weird Dream ME (#6876) --- src/ui/battle-info/player-battle-info.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/battle-info/player-battle-info.ts b/src/ui/battle-info/player-battle-info.ts index ec6332c54f3..bc9806bef92 100644 --- a/src/ui/battle-info/player-battle-info.ts +++ b/src/ui/battle-info/player-battle-info.ts @@ -207,6 +207,7 @@ export class PlayerBattleInfo extends BattleInfo { this.lastLevelCapped = isLevelCapped; if (this.lastExp !== pokemon.exp || this.lastLevel !== pokemon.level) { + this.lastLevel = Math.min(this.lastLevel, pokemon.level); const durationMultiplier = Math.max( Phaser.Tweens.Builders.GetEaseFunction("Cubic.easeIn")(1 - Math.min(pokemon.level - this.lastLevel, 10) / 10), 0.1,