From fb8f9414001599647479964fbcedfce4286fa7a3 Mon Sep 17 00:00:00 2001 From: Greenlamp Date: Fri, 10 May 2024 01:43:03 +0200 Subject: [PATCH] better duration for the 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 b96db053b08..d141444f6ed 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -3680,7 +3680,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(), 500 / Math.pow(2, this.scene.expGainsSpeed)); + setTimeout(() => this.end(), 800 / Math.pow(2, this.scene.expGainsSpeed/2)); }); } else { this.end();