mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-21 15:52:18 +02:00
Update locale key usage
This commit is contained in:
parent
282d11ebcb
commit
7333ced321
@ -1239,7 +1239,7 @@ export class SuppressAbilitiesTag extends ArenaTag {
|
|||||||
onAdd(arena: Arena): void {
|
onAdd(arena: Arena): void {
|
||||||
const pokemon = this.getSourcePokemon();
|
const pokemon = this.getSourcePokemon();
|
||||||
if (pokemon) {
|
if (pokemon) {
|
||||||
globalScene.queueMessage(i18next.t("abilityTriggers:postSummonNeutralizingGas", { pokemonNameWithAffix: getPokemonNameWithAffix(pokemon) }));
|
globalScene.queueMessage(i18next.t("arenaTag:neutralizingGasOnAdd", { pokemonNameWithAffix: getPokemonNameWithAffix(pokemon) }));
|
||||||
|
|
||||||
for (const fieldPokemon of globalScene.getField()) {
|
for (const fieldPokemon of globalScene.getField()) {
|
||||||
if (fieldPokemon && fieldPokemon.id !== pokemon.id) {
|
if (fieldPokemon && fieldPokemon.id !== pokemon.id) {
|
||||||
@ -1262,7 +1262,7 @@ export class SuppressAbilitiesTag extends ArenaTag {
|
|||||||
|
|
||||||
onRemove(arena: Arena, quiet: boolean = false) {
|
onRemove(arena: Arena, quiet: boolean = false) {
|
||||||
if (!quiet) {
|
if (!quiet) {
|
||||||
globalScene.queueMessage(i18next.t("abilityTriggers:neutralizingGasEnded"));
|
globalScene.queueMessage(i18next.t("arenaTag:neutralizingGasOnRemove"));
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const pokemon of globalScene.getField()) {
|
for (const pokemon of globalScene.getField()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user