Grip Claw now shows the proper pokemon nickname (#3634)

Co-authored-by: frutescens <info@laptop>
This commit is contained in:
Mumble 2024-08-18 18:06:52 -07:00 committed by GitHub
parent 747e4f9360
commit bdde03b0d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2414,7 +2414,7 @@ export class ContactHeldItemTransferChanceModifier extends HeldItemTransferModif
}
getTransferMessage(pokemon: Pokemon, targetPokemon: Pokemon, item: ModifierTypes.ModifierType): string {
return i18next.t("modifier:contactHeldItemTransferApply", { pokemonNameWithAffix: getPokemonNameWithAffix(targetPokemon), itemName: item.name, pokemonName: pokemon.name, typeName: this.type.name });
return i18next.t("modifier:contactHeldItemTransferApply", { pokemonNameWithAffix: getPokemonNameWithAffix(targetPokemon), itemName: item.name, pokemonName: getPokemonNameWithAffix(pokemon), typeName: this.type.name });
}
getMaxHeldItemCount(pokemon: Pokemon): integer {