Skip to content

Commit

Permalink
revert spurious constant usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurausukun committed Apr 14, 2024
1 parent 28caaaf commit 65deb0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pokemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -6041,7 +6041,7 @@ void RandomlyGivePartyPokerus(struct Pokemon *party)
rnd = Random() % PARTY_SIZE;
mon = &party[rnd];
}
while (!GetMonData(mon, MON_DATA_SPECIES, SPECIES_NONE) || GetMonData(mon, MON_DATA_IS_EGG, 0));
while (!GetMonData(mon, MON_DATA_SPECIES, 0) || GetMonData(mon, MON_DATA_IS_EGG, 0));

if (!(CheckPartyHasHadPokerus(party, gBitTable[rnd])))
{
Expand Down

0 comments on commit 65deb0d

Please sign in to comment.