summaryrefslogtreecommitdiff
path: root/src/battle_controllers.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-11-12 21:31:08 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2017-11-12 21:31:08 -0500
commitb346bac98b9328ad2da85e89b885ea09f247e98d (patch)
treeb7882177748182e6716904b2d2acb7b43a7f46f0 /src/battle_controllers.c
parent5ec0fc9aa0b62ee15bf7fea44371f928ed222371 (diff)
through GetLinkPlayerCount_2
Diffstat (limited to 'src/battle_controllers.c')
-rw-r--r--src/battle_controllers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_controllers.c b/src/battle_controllers.c
index ce96fff6a..431f5d97a 100644
--- a/src/battle_controllers.c
+++ b/src/battle_controllers.c
@@ -791,7 +791,7 @@ static void Task_HandleSendLinkBuffersData(u8 taskId)
else
var = (gBattleTypeFlags & BATTLE_TYPE_MULTI) ? 4 : 2;
- if (sub_800ABAC() >= var)
+ if (GetLinkPlayerCount_2() >= var)
{
if (sub_800ABBC())
{