From 00150fd0bb9b7416da808fdd34c0f12f684be13b Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Fri, 26 Apr 2024 20:11:37 -0400 Subject: [PATCH] Fix using wrong variant value when fusing --- src/field/pokemon.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index cd6ab257a..d834ffb35 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -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;