Use PARTY_SIZE for Pokerus Nurse Conversation
This commit is contained in:
1 parent
aa9ccbf194
commit
86881b12ef
1 file changed
+1
-1
@@ -1412,7 +1412,7 @@ bool8 ScriptCheckFreePokemonStorageSpace(void)
|
|||||||
|
|
||||||
bool8 IsPokerusInParty(void)
|
bool8 IsPokerusInParty(void)
|
||||||
{
|
{
|
||||||
if (!CheckPartyPokerus(gPlayerParty, 0x3f))
|
if (!CheckPartyPokerus(gPlayerParty, (1 << PARTY_SIZE) - 1))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|||||||
Reference in new issue
Block a user