Fix fusion move merge happening after wave end

pull/93/head
Flashfyre 2024-04-11 16:30:29 -04:00
parent d05fab041c
commit d50521755e
1 changed files with 18 additions and 19 deletions

View File

@ -2319,7 +2319,7 @@ export class PlayerPokemon extends Pokemon {
this.generateName();
this.calculateStats();
this.generateCompatibleTms();
this.updateInfo(true).then(() => {
this.updateInfo(true);
const fusedPartyMemberIndex = this.scene.getParty().indexOf(pokemon);
let partyMemberIndex = this.scene.getParty().indexOf(this);
if (partyMemberIndex > fusedPartyMemberIndex)
@ -2340,7 +2340,6 @@ export class PlayerPokemon extends Pokemon {
});
});
});
});
}
unfuse(): Promise<void> {