through sub_8090FC4
This commit is contained in:
@@ -1980,11 +1980,11 @@ u16 GetPCBoxToSendMon(void)
|
||||
|
||||
bool8 ShouldShowBoxWasFullMessage(void)
|
||||
{
|
||||
if (FlagGet(FLAG_SYS_CHANGED_BOX_TO_STORE_MON))
|
||||
if (FlagGet(FLAG_SHOWN_BOX_WAS_FULL_MESSAGE))
|
||||
return FALSE;
|
||||
if (StorageGetCurrentBox() == VarGet(VAR_PC_BOX_TO_SEND_MON))
|
||||
return FALSE;
|
||||
FlagSet(FLAG_SYS_CHANGED_BOX_TO_STORE_MON);
|
||||
FlagSet(FLAG_SHOWN_BOX_WAS_FULL_MESSAGE);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@@ -2001,7 +2001,7 @@ bool8 IsDestinationBoxFull(void)
|
||||
if (GetBoxMonData(GetBoxedMonPtr(i, j), MON_DATA_SPECIES, NULL) == SPECIES_NONE)
|
||||
{
|
||||
if (GetPCBoxToSendMon() != i)
|
||||
FlagClear(FLAG_SYS_CHANGED_BOX_TO_STORE_MON);
|
||||
FlagClear(FLAG_SHOWN_BOX_WAS_FULL_MESSAGE);
|
||||
VarSet(VAR_PC_BOX_TO_SEND_MON, i);
|
||||
return ShouldShowBoxWasFullMessage();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user