summaryrefslogtreecommitdiff
path: root/src/battle_controllers.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2021-03-18 18:23:41 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2021-03-18 18:23:41 -0400
commit815636f271584b06b778c0d7a3046458e1f42276 (patch)
tree56c893d7f09e862e3fae3cf00270d5b01496934d /src/battle_controllers.c
parent27897b05812638d0648163c01b37341d09694aad (diff)
Document ShouldIgnoreDeoxysForm
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 a0495ac15..c0cb6fe71 100644
--- a/src/battle_controllers.c
+++ b/src/battle_controllers.c
@@ -487,7 +487,7 @@ void TryReceiveLinkBattleData(void)
s32 j;
u8 *recvBuffer;
- if (gReceivedRemoteLinkPlayers && (gBattleTypeFlags & BATTLE_TYPE_20) && (gLinkPlayers[0].linkType == 0x2211))
+ if (gReceivedRemoteLinkPlayers && (gBattleTypeFlags & BATTLE_TYPE_LINK_ESTABLISHED) && (gLinkPlayers[0].linkType == 0x2211))
{
LinkRfu_DestroyIdleTask();
for (i = 0; i < GetLinkPlayerCount(); ++i)