mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-03-19 03:58:33 +01:00
Fixed usage of B_MULTI_BATTLE_WHITEOUT
This commit is contained in:
parent
eba4c36189
commit
352523403a
@ -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)
|
static bool32 NoAliveMonsForPlayerAndPartner(void)
|
||||||
{
|
{
|
||||||
u32 i;
|
u32 i;
|
||||||
@ -4230,7 +4230,7 @@ static void Cmd_checkteamslost(void)
|
|||||||
if (gBattleControllerExecFlags)
|
if (gBattleControllerExecFlags)
|
||||||
return;
|
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 (gBattleTypeFlags & (BATTLE_TYPE_MULTI | BATTLE_TYPE_INGAME_PARTNER))
|
||||||
{
|
{
|
||||||
if (NoAliveMonsForPlayerAndPartner())
|
if (NoAliveMonsForPlayerAndPartner())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user