Merge branch 'beta' into mystery-encounters
This commit is contained in:
commit
282eee8dd8
|
@ -4069,6 +4069,9 @@ export class PlayerPokemon extends Pokemon {
|
||||||
this.fusionVariant = pokemon.variant;
|
this.fusionVariant = pokemon.variant;
|
||||||
this.fusionGender = pokemon.gender;
|
this.fusionGender = pokemon.gender;
|
||||||
this.fusionLuck = pokemon.luck;
|
this.fusionLuck = pokemon.luck;
|
||||||
|
if ((pokemon.pauseEvolutions) || (this.pauseEvolutions)) {
|
||||||
|
this.pauseEvolutions = true;
|
||||||
|
}
|
||||||
|
|
||||||
this.scene.validateAchv(achvs.SPLICE);
|
this.scene.validateAchv(achvs.SPLICE);
|
||||||
this.scene.gameData.gameStats.pokemonFused++;
|
this.scene.gameData.gameStats.pokemonFused++;
|
||||||
|
|
|
@ -889,7 +889,7 @@ export default class PartyUiHandler extends MessageUiHandler {
|
||||||
this.options.push(PartyOption.SUMMARY);
|
this.options.push(PartyOption.SUMMARY);
|
||||||
this.options.push(PartyOption.RENAME);
|
this.options.push(PartyOption.RENAME);
|
||||||
|
|
||||||
if (pokemon.pauseEvolutions && pokemonEvolutions.hasOwnProperty(pokemon.species.speciesId)) {
|
if (pokemon.pauseEvolutions && (pokemonEvolutions.hasOwnProperty(pokemon.species.speciesId) || (pokemon.isFusion() && pokemon.fusionSpecies && pokemonEvolutions.hasOwnProperty(pokemon.fusionSpecies.speciesId)))) {
|
||||||
this.options.push(PartyOption.UNPAUSE_EVOLUTION);
|
this.options.push(PartyOption.UNPAUSE_EVOLUTION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue