summaryrefslogtreecommitdiff
path: root/src/pokemon_size_record.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2019-11-01 19:46:38 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2019-11-01 19:46:38 -0400
commita20a2b415c89e94c8bae0c9b1b678469db81c9a1 (patch)
tree954cdbe5cf6abdfece1b99c441414b53e9fb2d4a /src/pokemon_size_record.c
parentb5de3ab0123def8c6de850ddb19df03c1214ebcc (diff)
Address review comments
Diffstat (limited to 'src/pokemon_size_record.c')
-rw-r--r--src/pokemon_size_record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pokemon_size_record.c b/src/pokemon_size_record.c
index c5223c153..06e23618d 100644
--- a/src/pokemon_size_record.c
+++ b/src/pokemon_size_record.c
@@ -209,7 +209,7 @@ void GiveGiftRibbonToParty(u8 index, u8 ribbonId)
{
struct Pokemon * mon = &gPlayerParty[i];
- if (GetMonData(mon, MON_DATA_SPECIES) != 0 && GetMonData(mon, MON_DATA_SANITY_IS_EGG) == 0)
+ if (GetMonData(mon, MON_DATA_SPECIES) != SPECIES_NONE && !GetMonData(mon, MON_DATA_SANITY_IS_EGG))
{
SetMonData(mon, array[index], &data);
gotRibbon = TRUE;