mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-12 19:32:17 +02:00
adding localization
This commit is contained in:
parent
082d723c94
commit
64d63b6fb6
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user