remove obsolete check for steven when retrieving partner name (#6283)

This commit is contained in:
Salem 2025-02-17 10:02:28 +01:00 committed by GitHub
parent 7cd614a0cd
commit 444437274c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6056,15 +6056,8 @@ const u8 *GetTrainerPartnerName(void)
{
if (gBattleTypeFlags & BATTLE_TYPE_INGAME_PARTNER)
{
if (gPartnerTrainerId == TRAINER_PARTNER(PARTNER_STEVEN))
{
return GetTrainerNameFromId(TRAINER_STEVEN);
}
else
{
GetFrontierTrainerName(gStringVar1, gPartnerTrainerId);
return gStringVar1;
}
GetFrontierTrainerName(gStringVar1, gPartnerTrainerId);
return gStringVar1;
}
else
{