mirror of
https://github.com/pret/pokeemerald.git
synced 2026-09-10 03:56:24 -05:00
Fixed wrong generation in check
This commit is contained in:
@@ -1029,7 +1029,7 @@ static void _GiveEggFromDaycare(struct DayCare *daycare)
|
||||
InheritIVs(&egg, daycare);
|
||||
InheritPokeball(&egg, &daycare->mons[parentSlots[1]].mon, &daycare->mons[parentSlots[0]].mon);
|
||||
BuildEggMoveset(&egg, &daycare->mons[parentSlots[1]].mon, &daycare->mons[parentSlots[0]].mon);
|
||||
#if P_ABILITY_INHERITANCE >= GEN_8
|
||||
#if P_ABILITY_INHERITANCE >= GEN_6
|
||||
InheritAbility(&egg, &daycare->mons[parentSlots[1]].mon, &daycare->mons[parentSlots[0]].mon);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user