Merge pull request #2127 from AsparagusEduardo/_pret/maxLinkPlayers

Fix other missing instances of MAX_LINK_PLAYERS
This commit is contained in:
GriffinR
2025-06-25 22:05:13 -04:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
+1 -1
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];