From 5d62d0bb257143103e41c581ab5eca85c8aecf17 Mon Sep 17 00:00:00 2001 From: Greenlamp Date: Fri, 10 May 2024 16:32:19 +0200 Subject: [PATCH] fix speed level up notification --- src/phases.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phases.ts b/src/phases.ts index b697f7acb..71de11579 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -3752,7 +3752,7 @@ export class ShowPartyExpBarPhase extends PlayerPartyMemberPokemonPhase { // instead of displaying the exp gain in the small frame, we display the new level // we use the same method for mode 0 & 1, by giving a parameter saying to display the exp or the level this.scene.partyExpBar.showPokemonExp(pokemon, exp.value, this.scene.expParty === 1, newLevel).then(() => { - setTimeout(() => this.end(), 800 / Math.pow(2, this.scene.expGainsSpeed/2)); + setTimeout(() => this.end(), 800 / Math.pow(2, this.scene.expGainsSpeed)); }); } else { this.end();