Use updated i18n key

This commit is contained in:
NightKev 2024-10-14 22:42:18 -07:00 committed by GitHub
parent 58060dd29f
commit e38af2c035
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -446,7 +446,7 @@ class TypeImmunityAddBattlerTagAbAttr extends TypeImmunityAbAttr {
if (!simulated) {
if (!pokemon.getTag(this.tagType)) {
pokemon.addTag(this.tagType, this.turnCount, undefined, pokemon.id);
pokemon.scene.queueMessage(i18next.t("abilityTriggers:flashFire", { pokemonNameWithAffix: getPokemonNameWithAffix(pokemon), typeName: typeName: i18next.t(`pokemonInfo:Type.${Type[attacker.getMoveType(move)]}`) }));
pokemon.scene.queueMessage(i18next.t("abilityTriggers:typeImmunityPowerBoost", { pokemonNameWithAffix: getPokemonNameWithAffix(pokemon), typeName: i18next.t(`pokemonInfo:Type.${Type[attacker.getMoveType(move)]}`) }));
} else {
pokemon.scene.queueMessage(i18next.t("abilityTriggers:moveImmunity", { pokemonNameWithAffix: getPokemonNameWithAffix(pokemon) }));
}