Merge pull request #2031 from LOuroboros/patch-2

Fixed usage of B_MULTI_BATTLE_WHITEOUT
This commit is contained in:
Eduardo Quezada D'Ottone 2022-01-09 15:04:05 -03:00 committed by GitHub
commit 3afda445ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4147,7 +4147,7 @@ static void Cmd_getexp(void)
}
}
#ifdef B_MULTI_BATTLE_WHITEOUT >= GEN_4
#if B_MULTI_BATTLE_WHITEOUT >= GEN_4
static bool32 NoAliveMonsForPlayerAndPartner(void)
{
u32 i;
@ -4230,7 +4230,7 @@ static void Cmd_checkteamslost(void)
if (gBattleControllerExecFlags)
return;
#ifdef B_MULTI_BATTLE_WHITEOUT >= GEN_4
#if B_MULTI_BATTLE_WHITEOUT >= GEN_4
if (gBattleTypeFlags & (BATTLE_TYPE_MULTI | BATTLE_TYPE_INGAME_PARTNER))
{
if (NoAliveMonsForPlayerAndPartner())