Review changes
This commit is contained in:
parent
9250f8c994
commit
c5ea97ecc3
1 changed files with 5 additions and 5 deletions
|
@ -743,9 +743,9 @@ void RejectEggFromDayCare(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct {
|
static const struct {
|
||||||
u16 noIncenseSpecies;
|
u16 currSpecies;
|
||||||
u16 item;
|
u16 item;
|
||||||
u16 incenseSpecies;
|
u16 babySpecies;
|
||||||
} IncenseBabyTable[][3] =
|
} IncenseBabyTable[][3] =
|
||||||
{
|
{
|
||||||
// Regular offspring, Item, Incense Offspring
|
// Regular offspring, Item, Incense Offspring
|
||||||
|
@ -769,8 +769,8 @@ static void AlterEggSpeciesWithIncenseItem(u16 *species, struct DayCare *daycare
|
||||||
|
|
||||||
for (i = 0; i < ARRAY_COUNT(IncenseBabyTable); i++)
|
for (i = 0; i < ARRAY_COUNT(IncenseBabyTable); i++)
|
||||||
{
|
{
|
||||||
if (IncenseBabyTable[i]->incenseSpecies == *species && motherItem != IncenseBabyTable[i]->item && fatherItem != IncenseBabyTable[i]->item)
|
if (IncenseBabyTable[i]->babySpecies == *species && motherItem != IncenseBabyTable[i]->item && fatherItem != IncenseBabyTable[i]->item)
|
||||||
*species = IncenseBabyTable[i]->noIncenseSpecies;
|
*species = IncenseBabyTable[i]->currSpecies;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -780,7 +780,7 @@ static const struct {
|
||||||
u16 move;
|
u16 move;
|
||||||
} BreedingSpecialMoveItemTable[][3] =
|
} BreedingSpecialMoveItemTable[][3] =
|
||||||
{
|
{
|
||||||
// Offspring Item Move
|
// Offspring, Item, Move
|
||||||
{ SPECIES_PICHU, ITEM_LIGHT_BALL, MOVE_VOLT_TACKLE },
|
{ SPECIES_PICHU, ITEM_LIGHT_BALL, MOVE_VOLT_TACKLE },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue