Fix other missing instances of MAX_LINK_PLAYERS

This commit is contained in:
Eduardo Quezada
2025-04-27 22:28:26 -04:00
parent 66c07f9c33
commit 56bd65eb9d
2 changed files with 3 additions and 3 deletions

View File

@@ -1024,7 +1024,7 @@ void InitLinkBattleVsScreen(u8 taskId)
case 0:
if (gBattleTypeFlags & BATTLE_TYPE_MULTI)
{
for (i = 0; i < MAX_BATTLERS_COUNT; i++)
for (i = 0; i < MAX_LINK_PLAYERS; i++)
{
name = gLinkPlayers[i].name;
linkPlayer = &gLinkPlayers[i];