battle_controller_link_opponent

This commit is contained in:
jiangzhengwenjz
2019-08-22 14:21:56 +08:00
parent 08e8856f10
commit 5f6a55e4fd
14 changed files with 1711 additions and 6291 deletions
+1 -1
View File
@@ -1482,7 +1482,7 @@ bool8 HasNoMonsToSwitch(u8 battler, u8 partyIdBattlerOn1, u8 partyIdBattlerOn2)
{
if (gBattleTypeFlags & BATTLE_TYPE_MULTI)
{
playerId = GetBankMultiplayerId(battler);
playerId = GetBattlerMultiplayerId(battler);
if (GetBattlerSide(battler) == B_SIDE_PLAYER)
party = gPlayerParty;
else