[i18n] Pokemon#getOpponentDescriptor no longer returns a pokemon name

https://github.com/pagefaultgames/pokerogue/pull/6053
This commit is contained in:
NightKev 2025-07-18 16:42:51 -07:00 committed by GitHub
parent def80f2e10
commit a81e187164
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 5 deletions

View File

@ -1117,7 +1117,6 @@ export class TrickRoomTag extends ArenaTag {
globalScene.phaseManager.queueMessage(
i18next.t("arenaTag:trickRoomOnAdd", {
moveName: this.getMoveName(),
opponentDesc: source.getOpponentDescriptor(),
}),
);
}

View File

@ -3382,10 +3382,6 @@ export abstract class Pokemon extends Phaser.GameObjects.Container {
}
getOpponentDescriptor(): string {
const opponents = this.getOpponents();
if (opponents.length === 1) {
return opponents[0].name;
}
return this.isPlayer() ? i18next.t("arenaTag:opposingTeam") : i18next.t("arenaTag:yourTeam");
}