From 0e92366cacc0e4d71313cfa6d1508d80dffefc05 Mon Sep 17 00:00:00 2001 From: AJ Fontaine <36677462+Fontbane@users.noreply.github.com> Date: Sat, 17 Aug 2024 21:23:02 -0400 Subject: [PATCH] Fixed egg moves being relearnable in daily runs (#3604) --- src/field/pokemon.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index b19fe7ce678..f1721299ad0 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -922,7 +922,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container { */ getLearnableLevelMoves(): Moves[] { let levelMoves = this.getLevelMoves(1, true).map(lm => lm[1]); - if (this.metBiome === -1 && !this.scene.gameMode.isFreshStartChallenge()) { + if (this.metBiome === -1 && !this.scene.gameMode.isFreshStartChallenge() && !this.scene.gameMode.isDaily) { levelMoves = this.getUnlockedEggMoves().concat(levelMoves); } return levelMoves.filter(lm => !this.moveset.some(m => m?.moveId === lm));