mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-26 00:36:25 +00:00
[Bug] Eiscue changing form regardless of previous form on arena reset (#2572)
* fix eiscue (again) * hardcode eiscue check
This commit is contained in:
parent
587ee7e103
commit
71299a731c
@ -1122,7 +1122,9 @@ export default class BattleScene extends SceneBase {
|
|||||||
playerField.forEach((_, p) => this.unshiftPhase(new ReturnPhase(this, p)));
|
playerField.forEach((_, p) => this.unshiftPhase(new ReturnPhase(this, p)));
|
||||||
|
|
||||||
for (const pokemon of this.getParty()) {
|
for (const pokemon of this.getParty()) {
|
||||||
if (pokemon.hasAbility(Abilities.ICE_FACE)) {
|
// Only trigger form change when Eiscue is in Noice form
|
||||||
|
// Hardcoded Eiscue for now in case it is fused with another pokemon
|
||||||
|
if (pokemon.species.speciesId === Species.EISCUE && pokemon.hasAbility(Abilities.ICE_FACE) && pokemon.formIndex === 1) {
|
||||||
this.triggerPokemonFormChange(pokemon, SpeciesFormChangeManualTrigger);
|
this.triggerPokemonFormChange(pokemon, SpeciesFormChangeManualTrigger);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user