Skip to content

Commit

Permalink
Fix eggs during dailies
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavion3 authored and Flashfyre committed May 3, 2024
1 parent 24a9dba commit bc319a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/system/game-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ export class GameData {
this.gameStats.shinyPokemonHatched++;
}

if (!hasPrevolution && (!pokemon.scene.gameMode.isDaily || hasNewAttr))
if (!hasPrevolution && (!pokemon.scene.gameMode.isDaily || hasNewAttr || fromEgg))
this.addStarterCandy(species, (1 * (pokemon.isShiny() ? 5 * Math.pow(2, pokemon.variant || 0) : 1)) * (fromEgg || pokemon.isBoss() ? 2 : 1));
}

Expand Down

0 comments on commit bc319a8

Please sign in to comment.