From 371b00561ae2a0d046f82088a38d3824cf59c15e Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Fri, 29 Mar 2024 23:16:28 -0400 Subject: [PATCH] Only apply Moxie and Beast Boost when on field --- src/phases.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/phases.ts b/src/phases.ts index 25b34255f..40482b083 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -3011,7 +3011,8 @@ export class VictoryPhase extends PokemonPhase { if (exp) { const partyMemberIndex = party.indexOf(expPartyMembers[pm]); this.scene.unshiftPhase(expPartyMembers[pm].isOnField() ? new ExpPhase(this.scene, partyMemberIndex, exp) : new ShowPartyExpBarPhase(this.scene, partyMemberIndex, exp)); - applyPostVictoryAbAttrs(PostVictoryAbAttr, expPartyMembers[pm]); + if (expPartyMembers[pm].isOnField()) + applyPostVictoryAbAttrs(PostVictoryAbAttr, expPartyMembers[pm]); } } }