Fix fusion move merge happening after wave end
This commit is contained in:
parent
d05fab041c
commit
d50521755e
|
@ -2319,7 +2319,7 @@ export class PlayerPokemon extends Pokemon {
|
||||||
this.generateName();
|
this.generateName();
|
||||||
this.calculateStats();
|
this.calculateStats();
|
||||||
this.generateCompatibleTms();
|
this.generateCompatibleTms();
|
||||||
this.updateInfo(true).then(() => {
|
this.updateInfo(true);
|
||||||
const fusedPartyMemberIndex = this.scene.getParty().indexOf(pokemon);
|
const fusedPartyMemberIndex = this.scene.getParty().indexOf(pokemon);
|
||||||
let partyMemberIndex = this.scene.getParty().indexOf(this);
|
let partyMemberIndex = this.scene.getParty().indexOf(this);
|
||||||
if (partyMemberIndex > fusedPartyMemberIndex)
|
if (partyMemberIndex > fusedPartyMemberIndex)
|
||||||
|
@ -2340,7 +2340,6 @@ export class PlayerPokemon extends Pokemon {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
unfuse(): Promise<void> {
|
unfuse(): Promise<void> {
|
||||||
|
|
Loading…
Reference in New Issue