From 7ab0bbbd94014a8a4809e408f01d3e86381cf015 Mon Sep 17 00:00:00 2001 From: James Diefenbach <105332964+j-diefenbach@users.noreply.github.com> Date: Sun, 8 Sep 2024 16:45:30 +1000 Subject: [PATCH] [Hotfix] Fix cases where hatched Pokemon don't get an egg move (#4102) Co-authored-by: James Diefenbach --- src/phases/egg-hatch-phase.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/phases/egg-hatch-phase.ts b/src/phases/egg-hatch-phase.ts index 4b03aa62f02..90aceeb46bc 100644 --- a/src/phases/egg-hatch-phase.ts +++ b/src/phases/egg-hatch-phase.ts @@ -448,6 +448,7 @@ export class EggHatchPhase extends Phase { */ generatePokemon(): PlayerPokemon { this.eggHatchData = this.eggLapsePhase.generatePokemon(this.egg); + this.eggMoveIndex = this.eggHatchData.eggMoveIndex; return this.eggHatchData.pokemon; } }