mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-26 00:36:25 +00:00
Fix using wrong variant value when fusing
This commit is contained in:
parent
4607782578
commit
00150fd0bb
@ -1071,6 +1071,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
||||
this.fusionFormIndex = 0;
|
||||
this.fusionAbilityIndex = 0;
|
||||
this.fusionShiny = false;
|
||||
this.fusionVariant = 0;
|
||||
this.fusionGender = 0;
|
||||
this.fusionLuck = 0;
|
||||
|
||||
@ -2486,7 +2487,7 @@ export class PlayerPokemon extends Pokemon {
|
||||
this.fusionFormIndex = pokemon.formIndex;
|
||||
this.fusionAbilityIndex = pokemon.abilityIndex;
|
||||
this.fusionShiny = pokemon.shiny;
|
||||
this.fusionVariant = pokemon.fusionVariant;
|
||||
this.fusionVariant = pokemon.variant;
|
||||
this.fusionGender = pokemon.gender;
|
||||
this.fusionLuck = pokemon.luck;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user