[Hotfix] Fix cases where hatched Pokemon don't get an egg move (#4102)
Co-authored-by: James Diefenbach <z5421232@ad.unsw.edu.au>
This commit is contained in:
parent
8082e6dc58
commit
7ab0bbbd94
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue