Fixed usage of B_MULTI_BATTLE_WHITEOUT

This commit is contained in:
LOuroboros 2022-01-09 14:57:45 -03:00 committed by GitHub
parent eba4c36189
commit 352523403a
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())