Kept previous check while using gTestRunnerEnabled

This commit is contained in:
Eduardo Quezada 2023-08-06 14:28:02 -04:00
parent 8dafc5e208
commit d9a17467cf

View File

@ -3075,7 +3075,8 @@ static const u8 *BattleStringGetPlayerName(u8 *text, u8 battlerId)
toCpy = gSaveBlock2Ptr->playerName; toCpy = gSaveBlock2Ptr->playerName;
break; break;
case B_POSITION_PLAYER_RIGHT: case B_POSITION_PLAYER_RIGHT:
if (gTestRunnerEnabled) if (((gBattleTypeFlags & BATTLE_TYPE_RECORDED) && !(gBattleTypeFlags & (BATTLE_TYPE_MULTI | BATTLE_TYPE_INGAME_PARTNER)))
|| gTestRunnerEnabled)
{ {
toCpy = gLinkPlayers[0].name; toCpy = gLinkPlayers[0].name;
} }