Allowed double battles to occur with only one Pokemon by talking to the trainers (#4848)

This commit is contained in:
Frank DeBlasio 2024-06-26 04:45:27 -04:00 committed by GitHub
parent 41583673a5
commit f19948312e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3398,6 +3398,9 @@ u8 GetMonsStateToDoubles(void)
s32 i;
CalculatePlayerPartyCount();
if (OW_DOUBLE_APPROACH_WITH_ONE_MON)
return PLAYER_HAS_TWO_USABLE_MONS;
if (gPlayerPartyCount == 1)
return gPlayerPartyCount; // PLAYER_HAS_ONE_MON