adding localization

This commit is contained in:
DustinLin 2024-08-06 11:51:30 -04:00
parent 082d723c94
commit 64d63b6fb6
2 changed files with 2 additions and 2 deletions

View File

@ -8653,8 +8653,7 @@ export function initMoves() {
new SelfStatusMove(Moves.SHED_TAIL, Type.NORMAL, -1, 10, -1, 0, 9)
.unimplemented(),
new SelfStatusMove(Moves.CHILLY_RECEPTION, Type.ICE, -1, 10, -1, 0, 9)
//.attr(MessageHeaderAttr, )
.attr(PreMoveMessageAttr, (user, move) => getPokemonMessage(user, " is preparing to tell a chillingly bad joke!"))
.attr(PreMoveMessageAttr, (user, move) => i18next.t("moveTriggers:chillyReception", {pokemonName: getPokemonNameWithAffix(user)}))
.attr(StatusForceSwitchOutAttr, true, false,
(user: Pokemon, target: Pokemon, move: Move, args: any[]) => user.scene.arena.trySetWeather(WeatherType.SNOW, true),
(user, target, move) => (user.scene.arena.weather?.weatherType === WeatherType.SNOW) ? false : true

View File

@ -59,4 +59,5 @@ export const moveTriggers: SimpleTranslationEntries = {
"copyType": "{{pokemonName}}'s type became the same as\n{{targetPokemonName}}'s type!",
"suppressAbilities": "{{pokemonName}}'s ability\nwas suppressed!",
"swapArenaTags": "{{pokemonName}} swapped the battle effects affecting each side of the field!",
"chillyReception": "{{pokemonName}} is preparing to tell a chillingly bad joke!",
} as const;