[Bug][Hotfix] Fix Flower Gift/Forecast flyout (#5599)

Fix Flower Gift flyout
This commit is contained in:
Dean 2025-03-31 18:01:30 -07:00 committed by GitHub
parent 4afac11814
commit 136ea70a6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -2822,7 +2822,7 @@ export class PostSummonFormChangeByWeatherAbAttr extends PostSummonAbAttr {
private ability: Abilities;
constructor(ability: Abilities) {
super(false);
super(true);
this.ability = ability;
}
@ -2846,7 +2846,6 @@ export class PostSummonFormChangeByWeatherAbAttr extends PostSummonAbAttr {
if (!simulated) {
globalScene.triggerPokemonFormChange(pokemon, SpeciesFormChangeWeatherTrigger);
globalScene.triggerPokemonFormChange(pokemon, SpeciesFormChangeRevertWeatherFormTrigger);
globalScene.queueAbilityDisplay(pokemon, passive, true);
}
}
}