mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 03:34:15 +01:00
Merge pull request #1733 from WhenGryphonsFly/clean__pokeruspartysize
Use PARTY_SIZE for Pokerus Nurse Conversation
This commit is contained in:
commit
cd5a03d4aa
@ -1412,7 +1412,7 @@ bool8 ScriptCheckFreePokemonStorageSpace(void)
|
||||
|
||||
bool8 IsPokerusInParty(void)
|
||||
{
|
||||
if (!CheckPartyPokerus(gPlayerParty, 0x3f))
|
||||
if (!CheckPartyPokerus(gPlayerParty, (1 << PARTY_SIZE) - 1))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user