Merge branch 'main' into new-ptBR-localization

This commit is contained in:
José Ricardo Fleury Oliveira 2024-05-17 08:41:54 -03:00 committed by GitHub
commit e3e2631188
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
51 changed files with 1630 additions and 969 deletions

BIN
public/images/cg/end_f.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

BIN
public/images/cg/end_m.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@ -1013,6 +1013,7 @@ export default class BattleScene extends SceneBase {
case Species.FURFROU: case Species.FURFROU:
case Species.ORICORIO: case Species.ORICORIO:
case Species.MAGEARNA: case Species.MAGEARNA:
case Species.ZARUDE:
case Species.SQUAWKABILLY: case Species.SQUAWKABILLY:
case Species.TATSUGIRI: case Species.TATSUGIRI:
case Species.PALDEA_TAUROS: case Species.PALDEA_TAUROS:

View File

@ -14,7 +14,8 @@ import { BattlerTagType } from "./enums/battler-tag-type";
import { TerrainType } from "./terrain"; import { TerrainType } from "./terrain";
import { WeatherType } from "./weather"; import { WeatherType } from "./weather";
import { BattleStat } from "./battle-stat"; import { BattleStat } from "./battle-stat";
import { allAbilities } from "./ability" import { allAbilities } from "./ability";
import { Species } from "./enums/species";
export enum BattlerTagLapseType { export enum BattlerTagLapseType {
FAINT, FAINT,
@ -117,7 +118,11 @@ export class TrappedTag extends BattlerTag {
} }
canAdd(pokemon: Pokemon): boolean { canAdd(pokemon: Pokemon): boolean {
return !pokemon.isOfType(Type.GHOST) && !pokemon.getTag(BattlerTagType.TRAPPED); const isGhost = pokemon.isOfType(Type.GHOST);
const isTrapped = pokemon.getTag(BattlerTagType.TRAPPED);
const isAllowedGhostType = pokemon.species.speciesId === Species.PHANTUMP || pokemon.species.speciesId === Species.TREVENANT;
return !isTrapped && (!isGhost || isAllowedGhostType);
} }
onAdd(pokemon: Pokemon): void { onAdd(pokemon: Pokemon): void {

View File

@ -7,6 +7,7 @@ import { BattlerTagType } from "./enums/battler-tag-type";
import { getStatusEffectHealText } from "./status-effect"; import { getStatusEffectHealText } from "./status-effect";
import * as Utils from "../utils"; import * as Utils from "../utils";
import { DoubleBerryEffectAbAttr, ReduceBerryUseThresholdAbAttr, applyAbAttrs } from "./ability"; import { DoubleBerryEffectAbAttr, ReduceBerryUseThresholdAbAttr, applyAbAttrs } from "./ability";
import i18next from '../plugins/i18n';
export enum BerryType { export enum BerryType {
SITRUS, SITRUS,
@ -22,32 +23,12 @@ export enum BerryType {
LEPPA LEPPA
} }
export function getBerryName(berryType: BerryType) { export function getBerryName(berryType: BerryType): string {
return `${Utils.toReadableString(BerryType[berryType])} Berry`; return i18next.t(`berry:${BerryType[berryType]}.name`);
} }
export function getBerryEffectDescription(berryType: BerryType) { export function getBerryEffectDescription(berryType: BerryType): string {
switch (berryType) { return i18next.t(`berry:${BerryType[berryType]}.effect`);
case BerryType.SITRUS:
return 'Restores 25% HP if HP is below 50%';
case BerryType.LUM:
return 'Cures any non-volatile status condition and confusion';
case BerryType.ENIGMA:
return 'Restores 25% HP if hit by a super effective move';
case BerryType.LIECHI:
case BerryType.GANLON:
case BerryType.PETAYA:
case BerryType.APICOT:
case BerryType.SALAC:
const stat = (berryType - BerryType.LIECHI) as BattleStat;
return `Raises ${getBattleStatName(stat)} if HP is below 25%`;
case BerryType.LANSAT:
return 'Raises critical hit ratio if HP is below 25%';
case BerryType.STARF:
return 'Sharply raises a random stat if HP is below 25%';
case BerryType.LEPPA:
return 'Restores 10 PP to a move if its PP reaches 0';
}
} }
export type BerryPredicate = (pokemon: Pokemon) => boolean; export type BerryPredicate = (pokemon: Pokemon) => boolean;

View File

@ -2290,6 +2290,25 @@ export const battleSpecDialogue = {
} }
}; };
export const miscDialogue = {
ending: [
`@c{smile}Oh? You won?@d{96} @c{smile_eclosed}I guess I should've known.\nBut, you're back now.
$@c{smile}It's over.@d{64} You ended the loop.
$@c{serious_smile_fists}You fulfilled your dream too, didn't you?\nYou didn't lose even once.
$@c{neutral}I'm the only one who'll remember what you did.@d{96}\nI guess that's okay, isn't it?
$@c{serious_smile_fists}Your legend will always live on in our hearts.
$@c{smile_eclosed}Anyway, I've had about enough of this place, haven't you? Let's head home.
$@c{serious_smile_fists}Maybe when we get back, we can have another battle?\nIf you're up to it.`,
`@c{shock}You're back?@d{32} Does that mean…@d{96} you won?!\n@c{smile_ehalf}I should have known you had it in you.
$@c{smile_eclosed}Of course I always had that feeling.\n@c{smile}It's over now, right? You ended the loop.
$@c{smile_ehalf}You fulfilled your dream too, didn't you?\nYou didn't lose even once.
$I'll be the only one to remember what you did.\n@c{angry_mopen}I'll try not to forget!
$@c{smile_wave_wink}Just kidding!@d{64} @c{smile}I'd never forget.@d{32}\nYour legend will live on in our hearts.
$@c{smile_wave}Anyway,@d{64} it's getting late…@d{96} I think?\nIt's hard to tell in this place.
$Let's go home. @c{smile_wave_wink}Maybe tomorrow, we can have another battle, for old time's sake?`
]
}
export function getCharVariantFromDialogue(message: string): string { export function getCharVariantFromDialogue(message: string): string {
const variantMatch = /@c\{(.*?)\}/.exec(message); const variantMatch = /@c\{(.*?)\}/.exec(message);
if (variantMatch) if (variantMatch)

View File

@ -1921,7 +1921,7 @@ export class CopyStatsAttr extends MoveEffectAttr {
target.updateInfo(); target.updateInfo();
user.updateInfo(); user.updateInfo();
target.scene.queueMessage(getPokemonMessage(user, 'copied\n') + getPokemonMessage(target, `'s stat changes!`)); target.scene.queueMessage(getPokemonMessage(user, ' copied\n') + getPokemonMessage(target, `'s stat changes!`));
return true; return true;
} }
@ -2129,36 +2129,27 @@ export class WeightPowerAttr extends VariablePowerAttr {
} }
} }
export class BattleStatRatioPowerAttr extends VariablePowerAttr { /**
private stat: Stat; * Attribute used for Electro Ball move.
private invert: boolean; * @extends VariablePowerAttr
* @see {@linkcode apply}
constructor(stat: Stat, invert: boolean = false) { **/
super(); export class ElectroBallPowerAttr extends VariablePowerAttr {
/**
this.stat = stat; * Move that deals more damage the faster {@linkcode BattleStat.SPD}
this.invert = invert; * the user is compared to the target.
} * @param user Pokemon that used the move
* @param target The target of the move
* @param move Move with this attribute
* @param args N/A
* @returns true if the function succeeds
*/
apply(user: Pokemon, target: Pokemon, move: Move, args: any[]): boolean { apply(user: Pokemon, target: Pokemon, move: Move, args: any[]): boolean {
const power = args[0] as Utils.NumberHolder; const power = args[0] as Utils.NumberHolder;
const statRatio = target.getStat(this.stat) / user.getStat(this.stat); const statRatio = target.getBattleStat(Stat.SPD) / user.getBattleStat(Stat.SPD);
const statThresholds = [ 0.25, 1 / 3, 0.5, 1, -1 ]; const statThresholds = [ 0.25, 1 / 3, 0.5, 1, -1 ];
let statThresholdPowers = [ 150, 120, 80, 60, 40 ]; const statThresholdPowers = [ 150, 120, 80, 60, 40 ];
if (this.invert) {
// Gyro ball uses a specific formula
let userSpeed = user.getBattleStat(this.stat);
if (userSpeed < 1) {
// Gen 6+ always have 1 base power
power.value = 1;
return true;
}
let bp = Math.floor(Math.min(150, 25 * target.getBattleStat(this.stat) / userSpeed + 1));
power.value = bp;
return true;
}
let w = 0; let w = 0;
while (w < statThresholds.length - 1 && statRatio > statThresholds[w]) { while (w < statThresholds.length - 1 && statRatio > statThresholds[w]) {
@ -2167,7 +2158,36 @@ export class BattleStatRatioPowerAttr extends VariablePowerAttr {
} }
power.value = statThresholdPowers[w]; power.value = statThresholdPowers[w];
return true;
}
}
/**
* Attribute used for Gyro Ball move.
* @extends VariablePowerAttr
* @see {@linkcode apply}
**/
export class GyroBallPowerAttr extends VariablePowerAttr {
/**
* Move that deals more damage the slower {@linkcode BattleStat.SPD}
* the user is compared to the target.
* @param user Pokemon that used the move
* @param target The target of the move
* @param move Move with this attribute
* @param args N/A
* @returns true if the function succeeds
*/
apply(user: Pokemon, target: Pokemon, move: Move, args: any[]): boolean {
const power = args[0] as Utils.NumberHolder;
const userSpeed = user.getBattleStat(Stat.SPD);
if (userSpeed < 1) {
// Gen 6+ always have 1 base power
power.value = 1;
return true;
}
power.value = Math.floor(Math.min(150, 25 * target.getBattleStat(Stat.SPD) / userSpeed + 1));
return true; return true;
} }
} }
@ -5388,7 +5408,7 @@ export function initMoves() {
.attr(StatChangeAttr, BattleStat.SPD, -1, true) .attr(StatChangeAttr, BattleStat.SPD, -1, true)
.punchingMove(), .punchingMove(),
new AttackMove(Moves.GYRO_BALL, Type.STEEL, MoveCategory.PHYSICAL, -1, 100, 5, -1, 0, 4) new AttackMove(Moves.GYRO_BALL, Type.STEEL, MoveCategory.PHYSICAL, -1, 100, 5, -1, 0, 4)
.attr(BattleStatRatioPowerAttr, Stat.SPD, true) .attr(GyroBallPowerAttr)
.ballBombMove(), .ballBombMove(),
new SelfStatusMove(Moves.HEALING_WISH, Type.PSYCHIC, -1, 10, -1, 0, 4) new SelfStatusMove(Moves.HEALING_WISH, Type.PSYCHIC, -1, 10, -1, 0, 4)
.attr(SacrificialFullRestoreAttr) .attr(SacrificialFullRestoreAttr)
@ -5741,7 +5761,7 @@ export function initMoves() {
.condition(unknownTypeCondition) .condition(unknownTypeCondition)
.attr(hitsSameTypeAttr), .attr(hitsSameTypeAttr),
new AttackMove(Moves.ELECTRO_BALL, Type.ELECTRIC, MoveCategory.SPECIAL, -1, 100, 10, -1, 0, 5) new AttackMove(Moves.ELECTRO_BALL, Type.ELECTRIC, MoveCategory.SPECIAL, -1, 100, 10, -1, 0, 5)
.attr(BattleStatRatioPowerAttr, Stat.SPD) .attr(ElectroBallPowerAttr)
.ballBombMove(), .ballBombMove(),
new StatusMove(Moves.SOAK, Type.WATER, 100, 20, -1, 0, 5) new StatusMove(Moves.SOAK, Type.WATER, 100, 20, -1, 0, 5)
.attr(ChangeTypeAttr, Type.WATER), .attr(ChangeTypeAttr, Type.WATER),

View File

@ -1504,7 +1504,7 @@ export function initSpecies() {
new PokemonForm("Origin Forme", "origin", Type.WATER, Type.DRAGON, 6.3, 659, Abilities.PRESSURE, Abilities.NONE, Abilities.TELEPATHY, 680, 90, 100, 100, 150, 120, 120, 3, 0, 340), new PokemonForm("Origin Forme", "origin", Type.WATER, Type.DRAGON, 6.3, 659, Abilities.PRESSURE, Abilities.NONE, Abilities.TELEPATHY, 680, 90, 100, 100, 150, 120, 120, 3, 0, 340),
), ),
new PokemonSpecies(Species.HEATRAN, 4, true, false, false, "Lava Dome Pokémon", Type.FIRE, Type.STEEL, 1.7, 430, Abilities.FLASH_FIRE, Abilities.NONE, Abilities.FLAME_BODY, 600, 91, 90, 106, 130, 106, 77, 3, 100, 300, GrowthRate.SLOW, 50, false), new PokemonSpecies(Species.HEATRAN, 4, true, false, false, "Lava Dome Pokémon", Type.FIRE, Type.STEEL, 1.7, 430, Abilities.FLASH_FIRE, Abilities.NONE, Abilities.FLAME_BODY, 600, 91, 90, 106, 130, 106, 77, 3, 100, 300, GrowthRate.SLOW, 50, false),
new PokemonSpecies(Species.REGIGIGAS, 4, false, true, false, "Colossal Pokémon", Type.NORMAL, null, 3.7, 420, Abilities.SLOW_START, Abilities.NONE, Abilities.NORMALIZE, 670, 110, 160, 110, 80, 110, 100, 3, 0, 335, GrowthRate.SLOW, null, false), new PokemonSpecies(Species.REGIGIGAS, 4, true, false, false, "Colossal Pokémon", Type.NORMAL, null, 3.7, 420, Abilities.SLOW_START, Abilities.NONE, Abilities.NORMALIZE, 670, 110, 160, 110, 80, 110, 100, 3, 0, 335, GrowthRate.SLOW, null, false),
new PokemonSpecies(Species.GIRATINA, 4, false, true, false, "Renegade Pokémon", Type.GHOST, Type.DRAGON, 4.5, 750, Abilities.PRESSURE, Abilities.NONE, Abilities.TELEPATHY, 680, 150, 100, 120, 100, 120, 90, 3, 0, 340, GrowthRate.SLOW, null, false, true, new PokemonSpecies(Species.GIRATINA, 4, false, true, false, "Renegade Pokémon", Type.GHOST, Type.DRAGON, 4.5, 750, Abilities.PRESSURE, Abilities.NONE, Abilities.TELEPATHY, 680, 150, 100, 120, 100, 120, 90, 3, 0, 340, GrowthRate.SLOW, null, false, true,
new PokemonForm("Altered Forme", "altered", Type.GHOST, Type.DRAGON, 4.5, 750, Abilities.PRESSURE, Abilities.NONE, Abilities.TELEPATHY, 680, 150, 100, 120, 100, 120, 90, 3, 0, 340), new PokemonForm("Altered Forme", "altered", Type.GHOST, Type.DRAGON, 4.5, 750, Abilities.PRESSURE, Abilities.NONE, Abilities.TELEPATHY, 680, 150, 100, 120, 100, 120, 90, 3, 0, 340),
new PokemonForm("Origin Forme", "origin", Type.GHOST, Type.DRAGON, 6.9, 650, Abilities.LEVITATE, Abilities.NONE, Abilities.NONE, 680, 150, 120, 100, 120, 100, 90, 3, 0, 340), new PokemonForm("Origin Forme", "origin", Type.GHOST, Type.DRAGON, 6.9, 650, Abilities.LEVITATE, Abilities.NONE, Abilities.NONE, 680, 150, 120, 100, 120, 100, 90, 3, 0, 340),
@ -1931,7 +1931,7 @@ export function initSpecies() {
new PokemonForm("Active Mode", "active", Type.FAIRY, null, 3, 215, Abilities.FAIRY_AURA, Abilities.NONE, Abilities.NONE, 680, 126, 131, 95, 131, 98, 99, 45, 0, 340) new PokemonForm("Active Mode", "active", Type.FAIRY, null, 3, 215, Abilities.FAIRY_AURA, Abilities.NONE, Abilities.NONE, 680, 126, 131, 95, 131, 98, 99, 45, 0, 340)
), ),
new PokemonSpecies(Species.YVELTAL, 6, false, true, false, "Destruction Pokémon", Type.DARK, Type.FLYING, 5.8, 203, Abilities.DARK_AURA, Abilities.NONE, Abilities.NONE, 680, 126, 131, 95, 131, 98, 99, 45, 0, 340, GrowthRate.SLOW, null, false), new PokemonSpecies(Species.YVELTAL, 6, false, true, false, "Destruction Pokémon", Type.DARK, Type.FLYING, 5.8, 203, Abilities.DARK_AURA, Abilities.NONE, Abilities.NONE, 680, 126, 131, 95, 131, 98, 99, 45, 0, 340, GrowthRate.SLOW, null, false),
new PokemonSpecies(Species.ZYGARDE, 6, true, false, false, "Order Pokémon", Type.DRAGON, Type.GROUND, 5, 305, Abilities.AURA_BREAK, Abilities.NONE, Abilities.NONE, 600, 108, 100, 121, 81, 95, 95, 3, 0, 300, GrowthRate.SLOW, null, false, false, new PokemonSpecies(Species.ZYGARDE, 6, false, true, false, "Order Pokémon", Type.DRAGON, Type.GROUND, 5, 305, Abilities.AURA_BREAK, Abilities.NONE, Abilities.NONE, 600, 108, 100, 121, 81, 95, 95, 3, 0, 300, GrowthRate.SLOW, null, false, false,
new PokemonForm("50% Forme", "50", Type.DRAGON, Type.GROUND, 5, 305, Abilities.AURA_BREAK, Abilities.NONE, Abilities.NONE, 600, 108, 100, 121, 81, 95, 95, 3, 0, 300, false, ""), new PokemonForm("50% Forme", "50", Type.DRAGON, Type.GROUND, 5, 305, Abilities.AURA_BREAK, Abilities.NONE, Abilities.NONE, 600, 108, 100, 121, 81, 95, 95, 3, 0, 300, false, ""),
new PokemonForm("10% Forme", "10", Type.DRAGON, Type.GROUND, 1.2, 33.5, Abilities.AURA_BREAK, Abilities.NONE, Abilities.NONE, 486, 54, 100, 71, 61, 85, 115, 3, 0, 300), new PokemonForm("10% Forme", "10", Type.DRAGON, Type.GROUND, 1.2, 33.5, Abilities.AURA_BREAK, Abilities.NONE, Abilities.NONE, 486, 54, 100, 71, 61, 85, 115, 3, 0, 300),
new PokemonForm("50% Forme Power Construct", "50-pc", Type.DRAGON, Type.GROUND, 5, 305, Abilities.POWER_CONSTRUCT, Abilities.NONE, Abilities.NONE, 600, 108, 100, 121, 81, 95, 95, 3, 0, 300, false, ""), new PokemonForm("50% Forme Power Construct", "50-pc", Type.DRAGON, Type.GROUND, 5, 305, Abilities.POWER_CONSTRUCT, Abilities.NONE, Abilities.NONE, 600, 108, 100, 121, 81, 95, 95, 3, 0, 300, false, ""),
@ -2285,7 +2285,7 @@ export function initSpecies() {
new PokemonSpecies(Species.REGIDRAGO, 8, true, false, false, "Dragon Orb Pokémon", Type.DRAGON, null, 2.1, 200, Abilities.DRAGONS_MAW, Abilities.NONE, Abilities.NONE, 580, 200, 100, 50, 100, 50, 80, 3, 35, 290, GrowthRate.SLOW, null, false), new PokemonSpecies(Species.REGIDRAGO, 8, true, false, false, "Dragon Orb Pokémon", Type.DRAGON, null, 2.1, 200, Abilities.DRAGONS_MAW, Abilities.NONE, Abilities.NONE, 580, 200, 100, 50, 100, 50, 80, 3, 35, 290, GrowthRate.SLOW, null, false),
new PokemonSpecies(Species.GLASTRIER, 8, true, false, false, "Wild Horse Pokémon", Type.ICE, null, 2.2, 800, Abilities.CHILLING_NEIGH, Abilities.NONE, Abilities.NONE, 580, 100, 145, 130, 65, 110, 30, 3, 35, 290, GrowthRate.SLOW, null, false), new PokemonSpecies(Species.GLASTRIER, 8, true, false, false, "Wild Horse Pokémon", Type.ICE, null, 2.2, 800, Abilities.CHILLING_NEIGH, Abilities.NONE, Abilities.NONE, 580, 100, 145, 130, 65, 110, 30, 3, 35, 290, GrowthRate.SLOW, null, false),
new PokemonSpecies(Species.SPECTRIER, 8, true, false, false, "Swift Horse Pokémon", Type.GHOST, null, 2, 44.5, Abilities.GRIM_NEIGH, Abilities.NONE, Abilities.NONE, 580, 100, 65, 60, 145, 80, 130, 3, 35, 290, GrowthRate.SLOW, null, false), new PokemonSpecies(Species.SPECTRIER, 8, true, false, false, "Swift Horse Pokémon", Type.GHOST, null, 2, 44.5, Abilities.GRIM_NEIGH, Abilities.NONE, Abilities.NONE, 580, 100, 65, 60, 145, 80, 130, 3, 35, 290, GrowthRate.SLOW, null, false),
new PokemonSpecies(Species.CALYREX, 8, true, false, false, "King Pokémon", Type.PSYCHIC, Type.GRASS, 1.1, 7.7, Abilities.UNNERVE, Abilities.NONE, Abilities.NONE, 500, 100, 80, 80, 80, 80, 80, 3, 100, 250, GrowthRate.SLOW, null, false, true, new PokemonSpecies(Species.CALYREX, 8, false, true, false, "King Pokémon", Type.PSYCHIC, Type.GRASS, 1.1, 7.7, Abilities.UNNERVE, Abilities.NONE, Abilities.NONE, 500, 100, 80, 80, 80, 80, 80, 3, 100, 250, GrowthRate.SLOW, null, false, true,
new PokemonForm("Normal", "", Type.PSYCHIC, Type.GRASS, 1.1, 7.7, Abilities.UNNERVE, Abilities.NONE, Abilities.NONE, 500, 100, 80, 80, 80, 80, 80, 3, 100, 250), new PokemonForm("Normal", "", Type.PSYCHIC, Type.GRASS, 1.1, 7.7, Abilities.UNNERVE, Abilities.NONE, Abilities.NONE, 500, 100, 80, 80, 80, 80, 80, 3, 100, 250),
new PokemonForm("Ice", "ice", Type.PSYCHIC, Type.ICE, 2.4, 809.1, Abilities.AS_ONE_GLASTRIER, Abilities.NONE, Abilities.NONE, 680, 100, 165, 150, 85, 130, 50, 3, 100, 250), new PokemonForm("Ice", "ice", Type.PSYCHIC, Type.ICE, 2.4, 809.1, Abilities.AS_ONE_GLASTRIER, Abilities.NONE, Abilities.NONE, 680, 100, 165, 150, 85, 130, 50, 3, 100, 250),
new PokemonForm("Shadow", "shadow", Type.PSYCHIC, Type.GHOST, 2.4, 53.6, Abilities.AS_ONE_SPECTRIER, Abilities.NONE, Abilities.NONE, 680, 100, 85, 80, 165, 100, 150, 3, 100, 250), new PokemonForm("Shadow", "shadow", Type.PSYCHIC, Type.GHOST, 2.4, 53.6, Abilities.AS_ONE_SPECTRIER, Abilities.NONE, Abilities.NONE, 680, 100, 85, 80, 165, 100, 150, 3, 100, 250),
@ -2453,10 +2453,10 @@ export function initSpecies() {
new PokemonForm("Unremarkable Form", "unremarkable", Type.GRASS, Type.GHOST, 0.2, 2.2, Abilities.HOSPITALITY, Abilities.NONE, Abilities.HEATPROOF, 508, 71, 60, 106, 121, 80, 70, 60, 50, 178), new PokemonForm("Unremarkable Form", "unremarkable", Type.GRASS, Type.GHOST, 0.2, 2.2, Abilities.HOSPITALITY, Abilities.NONE, Abilities.HEATPROOF, 508, 71, 60, 106, 121, 80, 70, 60, 50, 178),
new PokemonForm("Masterpiece Form", "masterpiece", Type.GRASS, Type.GHOST, 0.2, 2.2, Abilities.HOSPITALITY, Abilities.NONE, Abilities.HEATPROOF, 508, 71, 60, 106, 121, 80, 70, 60, 50, 178), new PokemonForm("Masterpiece Form", "masterpiece", Type.GRASS, Type.GHOST, 0.2, 2.2, Abilities.HOSPITALITY, Abilities.NONE, Abilities.HEATPROOF, 508, 71, 60, 106, 121, 80, 70, 60, 50, 178),
), ),
new PokemonSpecies(Species.OKIDOGI, 9, false, true, false, "Retainer Pokémon", Type.POISON, Type.FIGHTING, 1.8, 92.2, Abilities.TOXIC_CHAIN, Abilities.NONE, Abilities.GUARD_DOG, 555, 88, 128, 115, 58, 86, 80, 3, 0, 276, GrowthRate.SLOW, 100, false), new PokemonSpecies(Species.OKIDOGI, 9, true, false, false, "Retainer Pokémon", Type.POISON, Type.FIGHTING, 1.8, 92.2, Abilities.TOXIC_CHAIN, Abilities.NONE, Abilities.GUARD_DOG, 555, 88, 128, 115, 58, 86, 80, 3, 0, 276, GrowthRate.SLOW, 100, false),
new PokemonSpecies(Species.MUNKIDORI, 9, false, true, false, "Retainer Pokémon", Type.POISON, Type.PSYCHIC, 1, 12.2, Abilities.TOXIC_CHAIN, Abilities.NONE, Abilities.FRISK, 555, 88, 75, 66, 130, 90, 106, 3, 0, 276, GrowthRate.SLOW, 100, false), new PokemonSpecies(Species.MUNKIDORI, 9, true, false, false, "Retainer Pokémon", Type.POISON, Type.PSYCHIC, 1, 12.2, Abilities.TOXIC_CHAIN, Abilities.NONE, Abilities.FRISK, 555, 88, 75, 66, 130, 90, 106, 3, 0, 276, GrowthRate.SLOW, 100, false),
new PokemonSpecies(Species.FEZANDIPITI, 9, false, true, false, "Retainer Pokémon", Type.POISON, Type.FAIRY, 1.4, 30.1, Abilities.TOXIC_CHAIN, Abilities.NONE, Abilities.TECHNICIAN, 555, 88, 91, 82, 70, 125, 99, 3, 0, 276, GrowthRate.SLOW, 100, false), new PokemonSpecies(Species.FEZANDIPITI, 9, true, false, false, "Retainer Pokémon", Type.POISON, Type.FAIRY, 1.4, 30.1, Abilities.TOXIC_CHAIN, Abilities.NONE, Abilities.TECHNICIAN, 555, 88, 91, 82, 70, 125, 99, 3, 0, 276, GrowthRate.SLOW, 100, false),
new PokemonSpecies(Species.OGERPON, 9, false, true, false, "Mask Pokémon", Type.GRASS, null, 1.2, 39.8, Abilities.DEFIANT, Abilities.NONE, Abilities.NONE, 550, 80, 120, 84, 60, 96, 110, 5, 50, 275, GrowthRate.SLOW, 0, false, false, new PokemonSpecies(Species.OGERPON, 9, true, false, false, "Mask Pokémon", Type.GRASS, null, 1.2, 39.8, Abilities.DEFIANT, Abilities.NONE, Abilities.NONE, 550, 80, 120, 84, 60, 96, 110, 5, 50, 275, GrowthRate.SLOW, 0, false, false,
new PokemonForm("Teal Mask", "teal-mask", Type.GRASS, null, 1.2, 39.8, Abilities.DEFIANT, Abilities.NONE, Abilities.NONE, 550, 80, 120, 84, 60, 96, 110, 5, 50, 275), new PokemonForm("Teal Mask", "teal-mask", Type.GRASS, null, 1.2, 39.8, Abilities.DEFIANT, Abilities.NONE, Abilities.NONE, 550, 80, 120, 84, 60, 96, 110, 5, 50, 275),
new PokemonForm("Wellspring Mask", "wellspring-mask", Type.GRASS, Type.WATER, 1.2, 39.8, Abilities.WATER_ABSORB, Abilities.NONE, Abilities.NONE, 550, 80, 120, 84, 60, 96, 110, 5, 50, 275), new PokemonForm("Wellspring Mask", "wellspring-mask", Type.GRASS, Type.WATER, 1.2, 39.8, Abilities.WATER_ABSORB, Abilities.NONE, Abilities.NONE, 550, 80, 120, 84, 60, 96, 110, 5, 50, 275),
new PokemonForm("Hearthflame Mask", "hearthflame-mask", Type.GRASS, Type.FIRE, 1.2, 39.8, Abilities.MOLD_BREAKER, Abilities.NONE, Abilities.NONE, 550, 80, 120, 84, 60, 96, 110, 5, 50, 275), new PokemonForm("Hearthflame Mask", "hearthflame-mask", Type.GRASS, Type.FIRE, 1.2, 39.8, Abilities.MOLD_BREAKER, Abilities.NONE, Abilities.NONE, 550, 80, 120, 84, 60, 96, 110, 5, 50, 275),

View File

@ -8,14 +8,14 @@ export function getSplashMessages(): string[] {
const splashMessages = Array(10).fill(getBattleCountSplashMessage()); const splashMessages = Array(10).fill(getBattleCountSplashMessage());
splashMessages.push(...[ splashMessages.push(...[
i18next.t('splashMessages:joinTheDiscord'), i18next.t('splashMessages:joinTheDiscord'),
i18next.t('splashMessages:infiniteLevel'), i18next.t('splashMessages:infiniteLevels'),
i18next.t('splashMessages:everythingStacks'), i18next.t('splashMessages:everythingStacks'),
i18next.t('splashMessages:optionalSaveScumming'), i18next.t('splashMessages:optionalSaveScumming'),
i18next.t('splashMessages:biomes'), i18next.t('splashMessages:biomes'),
i18next.t('splashMessages:openSource'), i18next.t('splashMessages:openSource'),
i18next.t('splashMessages:playWith5xSpeed'), i18next.t('splashMessages:playWithSpeed'),
i18next.t('splashMessages:liveBugTesting'), i18next.t('splashMessages:liveBugTesting'),
i18next.t('splashMessages:heavyRoR2Influence'), i18next.t('splashMessages:heavyInfluence'),
i18next.t('splashMessages:pokemonRiskAndPokemonRain'), i18next.t('splashMessages:pokemonRiskAndPokemonRain'),
i18next.t('splashMessages:nowWithMoreSalt'), i18next.t('splashMessages:nowWithMoreSalt'),
i18next.t('splashMessages:infiniteFusionAtHome'), i18next.t('splashMessages:infiniteFusionAtHome'),

View File

@ -1,5 +1,5 @@
import { Biome } from "./enums/biome"; import { Biome } from "./enums/biome";
import { getPokemonMessage } from "../messages"; import { getPokemonMessage, getPokemonPrefix } from "../messages";
import Pokemon from "../field/pokemon"; import Pokemon from "../field/pokemon";
import { Type } from "./type"; import { Type } from "./type";
import Move, { AttackMove } from "./move"; import Move, { AttackMove } from "./move";
@ -172,9 +172,9 @@ export function getWeatherLapseMessage(weatherType: WeatherType): string {
export function getWeatherDamageMessage(weatherType: WeatherType, pokemon: Pokemon): string { export function getWeatherDamageMessage(weatherType: WeatherType, pokemon: Pokemon): string {
switch (weatherType) { switch (weatherType) {
case WeatherType.SANDSTORM: case WeatherType.SANDSTORM:
return getPokemonMessage(pokemon, ' is buffeted\nby the sandstorm!'); return i18next.t('weather:sandstormDamageMessage', {pokemonPrefix: getPokemonPrefix(pokemon), pokemonName: pokemon.name});
case WeatherType.HAIL: case WeatherType.HAIL:
return getPokemonMessage(pokemon, ' is pelted\nby the hail!'); return i18next.t('weather:hailDamageMessage', {pokemonPrefix: getPokemonPrefix(pokemon), pokemonName: pokemon.name});
} }
return null; return null;

View File

@ -378,16 +378,29 @@ export default class Trainer extends Phaser.GameObjects.Container {
}; };
const sprites = this.getSprites(); const sprites = this.getSprites();
const tintSprites = this.getTintSprites(); const tintSprites = this.getTintSprites();
sprites[0].play(trainerAnimConfig);
tintSprites[0].play(trainerAnimConfig); // Don't try to play an animation when there isn't one
if (sprites.length > 1) {
sprites[0].play(trainerAnimConfig);
tintSprites[0].play(trainerAnimConfig);
}
else
console.warn(`No animation found for '${this.getKey()}'. Is this intentional?`);
if (this.variant === TrainerVariant.DOUBLE && !this.config.doubleOnly) { if (this.variant === TrainerVariant.DOUBLE && !this.config.doubleOnly) {
const partnerTrainerAnimConfig = { const partnerTrainerAnimConfig = {
key: this.getKey(true), key: this.getKey(true),
repeat: 0, repeat: 0,
startFrame: 0 startFrame: 0
}; };
sprites[1].play(partnerTrainerAnimConfig);
tintSprites[1].play(partnerTrainerAnimConfig); // Don't try to play an animation when there isn't one
if (sprites.length > 1) {
sprites[1].play(partnerTrainerAnimConfig);
tintSprites[1].play(partnerTrainerAnimConfig);
}
else
console.warn(`No animation found for '${this.getKey()}'. Is this intentional?`);
} }
} }

View File

@ -209,6 +209,9 @@ export class LoadingScene extends SceneBase {
this.loadImage('egg_list_bg', 'ui'); this.loadImage('egg_list_bg', 'ui');
this.loadImage('end_m', 'cg');
this.loadImage('end_f', 'cg');
for (let i = 0; i < 10; i++) { for (let i = 0; i < 10; i++) {
this.loadAtlas(`pokemon_icons_${i}`, ''); this.loadAtlas(`pokemon_icons_${i}`, '');
if (i) if (i)

View File

@ -0,0 +1,10 @@
import { SimpleTranslationEntries } from "#app/plugins/i18n";
export const battleMessageUiHandler: SimpleTranslationEntries = {
"ivBest": "Sensationell",
"ivFantastic": "Fantastisch",
"ivVeryGood": "Sehr Gut",
"ivPrettyGood": "Gut",
"ivDecent": "Nicht Übel",
"ivNoGood": "Schlecht",
} as const;

48
src/locales/de/berry.ts Normal file
View File

@ -0,0 +1,48 @@
import { BerryTranslationEntries } from "#app/plugins/i18n";
export const berry: BerryTranslationEntries = {
"SITRUS": {
name: "Sitrus Berry",
effect: "Restores 25% HP if HP is below 50%",
},
"LUM": {
name: "Lum Berry",
effect: "Cures any non-volatile status condition and confusion",
},
"ENIGMA": {
name: "Enigma Berry",
effect: "Restores 25% HP if hit by a super effective move",
},
"LIECHI": {
name: "Liechi Berry",
effect: "Raises Attack if HP is below 25%",
},
"GANLON": {
name: "Ganlon Berry",
effect: "Raises Defense if HP is below 25%",
},
"PETAYA": {
name: "Petaya Berry",
effect: "Raises Sp. Atk if HP is below 25%",
},
"APICOT": {
name: "Apicot Berry",
effect: "Raises Sp. Def if HP is below 25%",
},
"SALAC": {
name: "Salac Berry",
effect: "Raises Speed if HP is below 25%",
},
"LANSAT": {
name: "Lansat Berry",
effect: "Raises critical hit ratio if HP is below 25%",
},
"STARF": {
name: "Starf Berry",
effect: "Sharply raises a random stat if HP is below 25%",
},
"LEPPA": {
name: "Leppa Berry",
effect: "Restores 10 PP to a move if its PP reaches 0",
},
} as const;

View File

@ -13,11 +13,13 @@ import { nature } from "./nature";
import { pokeball } from "./pokeball"; import { pokeball } from "./pokeball";
import { pokemon } from "./pokemon"; import { pokemon } from "./pokemon";
import { pokemonStat } from "./pokemon-stat"; import { pokemonStat } from "./pokemon-stat";
import { splashMessages } from "./splash-messages";
import { starterSelectUiHandler } from "./starter-select-ui-handler"; import { starterSelectUiHandler } from "./starter-select-ui-handler";
import { titles, trainerClasses, trainerNames } from "./trainers";
import { tutorial } from "./tutorial"; import { tutorial } from "./tutorial";
import { titles,trainerClasses,trainerNames } from "./trainers"; import { weather } from "./weather";
import { splashMessages } from "./splash-messages" import { battleMessageUiHandler } from "./battle-message-ui-handler";
import { berry } from "./berry";
export const deConfig = { export const deConfig = {
ability: ability, ability: ability,
@ -26,19 +28,22 @@ export const deConfig = {
commandUiHandler: commandUiHandler, commandUiHandler: commandUiHandler,
egg: egg, egg: egg,
fightUiHandler: fightUiHandler, fightUiHandler: fightUiHandler,
menuUiHandler: menuUiHandler, growth: growth,
menu: menu, menu: menu,
menuUiHandler: menuUiHandler,
modifierType: modifierType,
move: move, move: move,
nature: nature,
pokeball: pokeball, pokeball: pokeball,
pokemonStat: pokemonStat,
pokemon: pokemon, pokemon: pokemon,
pokemonStat: pokemonStat,
splashMessages: splashMessages,
starterSelectUiHandler: starterSelectUiHandler, starterSelectUiHandler: starterSelectUiHandler,
titles: titles, titles: titles,
trainerClasses: trainerClasses, trainerClasses: trainerClasses,
trainerNames: trainerNames, trainerNames: trainerNames,
tutorial: tutorial, tutorial: tutorial,
splashMessages: splashMessages, weather: weather,
nature: nature, battleMessageUiHandler: battleMessageUiHandler,
growth: growth, berry: berry,
modifierType: modifierType, }
}

View File

@ -12,10 +12,10 @@ export const menu: SimpleTranslationEntries = {
"loadGame": "Spiel laden", "loadGame": "Spiel laden",
"newGame": "Neues Spiel", "newGame": "Neues Spiel",
"selectGameMode": "Wähle einen Spielmodus", "selectGameMode": "Wähle einen Spielmodus",
"logInOrCreateAccount": "Logge dich ein oder erstelle einen Account zum starten. Keine Email nötig!", "logInOrCreateAccount": "Melde dich an oder erstelle einen Account zum starten. Keine Email nötig!",
"username": "Benutzername", "username": "Benutzername",
"password": "Passwort", "password": "Passwort",
"login": "Einloggen", "login": "Anmelden",
"register": "Registrieren", "register": "Registrieren",
"emptyUsername": "Benutzername darf nicht leer sein", "emptyUsername": "Benutzername darf nicht leer sein",
"invalidLoginUsername": "Der eingegebene Benutzername ist ungültig", "invalidLoginUsername": "Der eingegebene Benutzername ist ungültig",
@ -26,20 +26,20 @@ export const menu: SimpleTranslationEntries = {
"accountNonExistent": "Der eingegebene Benutzer existiert nicht", "accountNonExistent": "Der eingegebene Benutzer existiert nicht",
"unmatchingPassword": "Das eingegebene Passwort stimmt nicht überein", "unmatchingPassword": "Das eingegebene Passwort stimmt nicht überein",
"passwordNotMatchingConfirmPassword": "Passwort muss mit Bestätigungspasswort übereinstimmen", "passwordNotMatchingConfirmPassword": "Passwort muss mit Bestätigungspasswort übereinstimmen",
"confirmPassword": "Besätige Passwort", "confirmPassword": "Bestätige Passwort",
"registrationAgeWarning": "Mit der Registrierung bestätigen Sie, dass Sie 13 Jahre oder älter sind.", "registrationAgeWarning": "Mit der Registrierung bestätigen Sie, dass Sie 13 Jahre oder älter sind.",
"backToLogin": "Zurück zum Einloggen", "backToLogin": "Zurück zur Anmeldung",
"failedToLoadSaveData": "Speicherdaten konnten nicht geladen werden. Bitte laden Sie die Seite neu.\nWenn dies weiterhin der Fall ist, wenden Sie sich bitte an den Administrator.", "failedToLoadSaveData": "Speicherdaten konnten nicht geladen werden. Bitte laden Sie die Seite neu.\nWenn dies weiterhin der Fall ist, wenden Sie sich bitte an den Administrator.",
"sessionSuccess": "Sitzung erfolgreich geladen.", "sessionSuccess": "Sitzung erfolgreich geladen.",
"failedToLoadSession": "Ihre Sitzungsdaten konnten nicht geladen werden.\nSie könnten beschädigt sein.", "failedToLoadSession": "Ihre Sitzungsdaten konnten nicht geladen werden.\nSie könnten beschädigt sein.",
"boyOrGirl": "Bist du ein Junge oder ein Mädchen?", "boyOrGirl": "Bist du ein Junge oder ein Mädchen?",
"boy": "Junge", "boy": "Junge",
"girl": "Mädchen", "girl": "Mädchen",
"evolving": "What?\n{{pokemonName}} is evolving!", "evolving": "Nanu?\n{{pokemonName}} entwickelt sich!",
"stoppedEvolving": "{{pokemonName}} stopped evolving.", "stoppedEvolving": "Hm? {{pokemonName}} hat die Entwicklung \nabgebrochen.", // "Hm? Entwicklung wurde abgebrochen!" without naming the pokemon seems to be the original.
"pauseEvolutionsQuestion": "Would you like to pause evolutions for {{pokemonName}}?\nEvolutions can be re-enabled from the party screen.", "pauseEvolutionsQuestion": "Die Entwicklung von {{pokemonName}} vorübergehend pausieren?\nEntwicklungen können im Gruppenmenü wieder aktiviert werden.",
"evolutionsPaused": "Evolutions have been paused for {{pokemonName}}.", "evolutionsPaused": "Entwicklung von {{pokemonName}} pausiert.",
"evolutionDone": "Congratulations!\nYour {{pokemonName}} evolved into {{evolvedPokemonName}}!", "evolutionDone": "Glückwunsch!\nDein {{pokemonName}} entwickelte sich zu {{evolvedPokemonName}}!",
"dailyRankings": "Tägliche Rangliste", "dailyRankings": "Tägliche Rangliste",
"weeklyRankings": "Wöchentliche Rangliste", "weeklyRankings": "Wöchentliche Rangliste",
"noRankings": "Keine Rangliste", "noRankings": "Keine Rangliste",
@ -48,4 +48,4 @@ export const menu: SimpleTranslationEntries = {
"empty":"Leer", "empty":"Leer",
"yes":"Ja", "yes":"Ja",
"no":"Nein", "no":"Nein",
} as const; } as const;

View File

@ -44,8 +44,8 @@ export const trainerClasses: SimpleTranslationEntries = {
"depot_agent": "Bahnangestellter", "depot_agent": "Bahnangestellter",
"doctor": "Arzt", "doctor": "Arzt",
"doctor_female": "Ärztin", "doctor_female": "Ärztin",
"fishermen": "Angler", "fisherman": "Angler",
"fishermen_female": "Angler", // Seems to be the same in german but exists in other languages like italian "fisherman_female": "Angler", // Seems to be the same in german but exists in other languages like italian
"gentleman": "Gentleman", "gentleman": "Gentleman",
"guitarist": "Gitarrist", "guitarist": "Gitarrist",
"guitarist_female": "Gitarristin", "guitarist_female": "Gitarristin",
@ -61,15 +61,15 @@ export const trainerClasses: SimpleTranslationEntries = {
"maid": "Zofe", "maid": "Zofe",
"madame": "Madam", "madame": "Madam",
"medical_team": "Mediziner", "medical_team": "Mediziner",
"musican": "Musiker", "musician": "Musiker",
"hex_maniac": "Hexe", "hex_maniac": "Hexe",
"nurse": "Pflegerin", "nurse": "Pflegerin",
"nursery_aide": "Erzieherin", "nursery_aide": "Erzieherin",
"officer": "Polizist", "officer": "Polizist",
"parasol_lady": "Schirmdame", "parasol_lady": "Schirmdame",
"pilot": "Pilot", "pilot": "Pilot",
"poké_fan": "Pokéfan", "pokefan": "Pokéfan",
"poké_fan_family": "Pokéfan-Pärchen", "pokefan_family": "Pokéfan-Pärchen",
"preschooler": "Vorschüler", "preschooler": "Vorschüler",
"preschooler_female": "Vorschülerin", "preschooler_female": "Vorschülerin",
"preschoolers": "Vorschüler", "preschoolers": "Vorschüler",
@ -80,8 +80,12 @@ export const trainerClasses: SimpleTranslationEntries = {
"pokémon_rangers": "Pokémon-Ranger", "pokémon_rangers": "Pokémon-Ranger",
"ranger": "Ranger", "ranger": "Ranger",
"restaurant_staff": "Restaurant Angestellte", "restaurant_staff": "Restaurant Angestellte",
"rich": "Rich",
"rich_female": "Rich",
"rich_boy": "Schnösel", "rich_boy": "Schnösel",
"rich_couple": "Reiches Paar", "rich_couple": "Reiches Paar",
"rich_kid": "Rich Kid",
"rich_kid_female": "Rich Kid",
"rich_kids": "Schnösel", "rich_kids": "Schnösel",
"roughneck": "Raufbold", "roughneck": "Raufbold",
"scientist": "Forscher", "scientist": "Forscher",

View File

@ -0,0 +1,10 @@
import { SimpleTranslationEntries } from "#app/plugins/i18n";
export const battleMessageUiHandler: SimpleTranslationEntries = {
"ivBest": "Best",
"ivFantastic": "Fantastic",
"ivVeryGood": "Very Good",
"ivPrettyGood": "Pretty Good",
"ivDecent": "Decent",
"ivNoGood": "No Good",
} as const;

48
src/locales/en/berry.ts Normal file
View File

@ -0,0 +1,48 @@
import { BerryTranslationEntries } from "#app/plugins/i18n";
export const berry: BerryTranslationEntries = {
"SITRUS": {
name: "Sitrus Berry",
effect: "Restores 25% HP if HP is below 50%",
},
"LUM": {
name: "Lum Berry",
effect: "Cures any non-volatile status condition and confusion",
},
"ENIGMA": {
name: "Enigma Berry",
effect: "Restores 25% HP if hit by a super effective move",
},
"LIECHI": {
name: "Liechi Berry",
effect: "Raises Attack if HP is below 25%",
},
"GANLON": {
name: "Ganlon Berry",
effect: "Raises Defense if HP is below 25%",
},
"PETAYA": {
name: "Petaya Berry",
effect: "Raises Sp. Atk if HP is below 25%",
},
"APICOT": {
name: "Apicot Berry",
effect: "Raises Sp. Def if HP is below 25%",
},
"SALAC": {
name: "Salac Berry",
effect: "Raises Speed if HP is below 25%",
},
"LANSAT": {
name: "Lansat Berry",
effect: "Raises critical hit ratio if HP is below 25%",
},
"STARF": {
name: "Starf Berry",
effect: "Sharply raises a random stat if HP is below 25%",
},
"LEPPA": {
name: "Leppa Berry",
effect: "Restores 10 PP to a move if its PP reaches 0",
},
} as const;

View File

@ -13,12 +13,13 @@ import { nature } from "./nature";
import { pokeball } from "./pokeball"; import { pokeball } from "./pokeball";
import { pokemon } from "./pokemon"; import { pokemon } from "./pokemon";
import { pokemonStat } from "./pokemon-stat"; import { pokemonStat } from "./pokemon-stat";
import { splashMessages } from "./splash-messages";
import { starterSelectUiHandler } from "./starter-select-ui-handler"; import { starterSelectUiHandler } from "./starter-select-ui-handler";
import { titles, trainerClasses, trainerNames } from "./trainers";
import { tutorial } from "./tutorial"; import { tutorial } from "./tutorial";
import { titles,trainerClasses,trainerNames } from "./trainers";
import { splashMessages } from "./splash-messages"
import { weather } from "./weather"; import { weather } from "./weather";
import { battleMessageUiHandler } from "./battle-message-ui-handler";
import { berry } from "./berry";
export const enConfig = { export const enConfig = {
ability: ability, ability: ability,
@ -27,20 +28,22 @@ export const enConfig = {
commandUiHandler: commandUiHandler, commandUiHandler: commandUiHandler,
egg: egg, egg: egg,
fightUiHandler: fightUiHandler, fightUiHandler: fightUiHandler,
menuUiHandler: menuUiHandler, growth: growth,
menu: menu, menu: menu,
menuUiHandler: menuUiHandler,
modifierType: modifierType,
move: move, move: move,
nature: nature,
pokeball: pokeball, pokeball: pokeball,
pokemonStat: pokemonStat,
pokemon: pokemon, pokemon: pokemon,
pokemonStat: pokemonStat,
splashMessages: splashMessages,
starterSelectUiHandler: starterSelectUiHandler, starterSelectUiHandler: starterSelectUiHandler,
titles: titles, titles: titles,
trainerClasses: trainerClasses, trainerClasses: trainerClasses,
trainerNames: trainerNames, trainerNames: trainerNames,
tutorial: tutorial, tutorial: tutorial,
splashMessages: splashMessages,
nature: nature,
growth: growth,
weather: weather, weather: weather,
modifierType: modifierType, battleMessageUiHandler: battleMessageUiHandler,
} berry: berry,
}

View File

@ -44,8 +44,8 @@ export const trainerClasses: SimpleTranslationEntries = {
"depot_agent": "Depot Agent", "depot_agent": "Depot Agent",
"doctor": "Doctor", "doctor": "Doctor",
"doctor_female": "Doctor", "doctor_female": "Doctor",
"fishermen": "Fishermen", "fisherman": "Fisherman",
"fishermen_female": "Fishermen", "fisherman_female": "Fisherman",
"gentleman": "Gentleman", "gentleman": "Gentleman",
"guitarist": "Guitarist", "guitarist": "Guitarist",
"guitarist_female": "Guitarist", "guitarist_female": "Guitarist",
@ -61,15 +61,15 @@ export const trainerClasses: SimpleTranslationEntries = {
"maid": "Maid", "maid": "Maid",
"madame": "Madame", "madame": "Madame",
"medical_team": "Medical Team", "medical_team": "Medical Team",
"musican": "Musician", "musician": "Musician",
"hex_maniac": "Hex Maniac", "hex_maniac": "Hex Maniac",
"nurse": "Nurse", "nurse": "Nurse",
"nursery_aide": "Nursery Aide", "nursery_aide": "Nursery Aide",
"officer": "Officer", "officer": "Officer",
"parasol_lady": "Parasol Lady", "parasol_lady": "Parasol Lady",
"pilot": "Pilot", "pilot": "Pilot",
"poké_fan": "Poké Fan", "pokefan": "Poké Fan",
"poké_fan_family": "Poké Fan Family", "pokefan_family": "Poké Fan Family",
"preschooler": "Preschooler", "preschooler": "Preschooler",
"preschooler_female": "Preschooler", "preschooler_female": "Preschooler",
"preschoolers": "Preschoolers", "preschoolers": "Preschoolers",
@ -80,8 +80,12 @@ export const trainerClasses: SimpleTranslationEntries = {
"pokémon_rangers": "Pokémon Ranger", "pokémon_rangers": "Pokémon Ranger",
"ranger": "Ranger", "ranger": "Ranger",
"restaurant_staff": "Restaurant Staff", "restaurant_staff": "Restaurant Staff",
"rich": "Rich",
"rich_female": "Rich",
"rich_boy": "Rich Boy", "rich_boy": "Rich Boy",
"rich_couple": "Rich Couple", "rich_couple": "Rich Couple",
"rich_kid": "Rich Kid",
"rich_kid_female": "Rich Kid",
"rich_kids": "Rich Kids", "rich_kids": "Rich Kids",
"roughneck": "Roughneck", "roughneck": "Roughneck",
"scientist": "Scientist", "scientist": "Scientist",

View File

@ -0,0 +1,10 @@
import { SimpleTranslationEntries } from "#app/plugins/i18n";
export const battleMessageUiHandler: SimpleTranslationEntries = {
"ivBest": "Best",
"ivFantastic": "Fantastic",
"ivVeryGood": "Very Good",
"ivPrettyGood": "Pretty Good",
"ivDecent": "Decent",
"ivNoGood": "No Good",
} as const;

48
src/locales/es/berry.ts Normal file
View File

@ -0,0 +1,48 @@
import { BerryTranslationEntries } from "#app/plugins/i18n";
export const berry: BerryTranslationEntries = {
"SITRUS": {
name: "Sitrus Berry",
effect: "Restores 25% HP if HP is below 50%",
},
"LUM": {
name: "Lum Berry",
effect: "Cures any non-volatile status condition and confusion",
},
"ENIGMA": {
name: "Enigma Berry",
effect: "Restores 25% HP if hit by a super effective move",
},
"LIECHI": {
name: "Liechi Berry",
effect: "Raises Attack if HP is below 25%",
},
"GANLON": {
name: "Ganlon Berry",
effect: "Raises Defense if HP is below 25%",
},
"PETAYA": {
name: "Petaya Berry",
effect: "Raises Sp. Atk if HP is below 25%",
},
"APICOT": {
name: "Apicot Berry",
effect: "Raises Sp. Def if HP is below 25%",
},
"SALAC": {
name: "Salac Berry",
effect: "Raises Speed if HP is below 25%",
},
"LANSAT": {
name: "Lansat Berry",
effect: "Raises critical hit ratio if HP is below 25%",
},
"STARF": {
name: "Starf Berry",
effect: "Sharply raises a random stat if HP is below 25%",
},
"LEPPA": {
name: "Leppa Berry",
effect: "Restores 10 PP to a move if its PP reaches 0",
},
} as const;

View File

@ -13,12 +13,13 @@ import { nature } from "./nature";
import { pokeball } from "./pokeball"; import { pokeball } from "./pokeball";
import { pokemon } from "./pokemon"; import { pokemon } from "./pokemon";
import { pokemonStat } from "./pokemon-stat"; import { pokemonStat } from "./pokemon-stat";
import { splashMessages } from "./splash-messages";
import { starterSelectUiHandler } from "./starter-select-ui-handler"; import { starterSelectUiHandler } from "./starter-select-ui-handler";
import { titles, trainerClasses, trainerNames } from "./trainers";
import { tutorial } from "./tutorial"; import { tutorial } from "./tutorial";
import { titles,trainerClasses,trainerNames } from "./trainers";
import { splashMessages } from "./splash-messages"
import { weather } from "./weather"; import { weather } from "./weather";
import { battleMessageUiHandler } from "./battle-message-ui-handler";
import { berry } from "./berry";
export const esConfig = { export const esConfig = {
ability: ability, ability: ability,
@ -27,20 +28,22 @@ export const esConfig = {
commandUiHandler: commandUiHandler, commandUiHandler: commandUiHandler,
egg: egg, egg: egg,
fightUiHandler: fightUiHandler, fightUiHandler: fightUiHandler,
menuUiHandler: menuUiHandler, growth: growth,
menu: menu, menu: menu,
menuUiHandler: menuUiHandler,
modifierType: modifierType,
move: move, move: move,
nature: nature,
pokeball: pokeball, pokeball: pokeball,
pokemonStat: pokemonStat,
pokemon: pokemon, pokemon: pokemon,
pokemonStat: pokemonStat,
splashMessages: splashMessages,
starterSelectUiHandler: starterSelectUiHandler, starterSelectUiHandler: starterSelectUiHandler,
titles: titles, titles: titles,
trainerClasses: trainerClasses, trainerClasses: trainerClasses,
trainerNames: trainerNames, trainerNames: trainerNames,
tutorial: tutorial, tutorial: tutorial,
splashMessages: splashMessages,
nature: nature,
growth: growth,
weather: weather, weather: weather,
modifierType: modifierType, battleMessageUiHandler: battleMessageUiHandler,
} berry: berry,
}

View File

@ -44,8 +44,8 @@ export const trainerClasses: SimpleTranslationEntries = {
"depot_agent": "Depot Agent", "depot_agent": "Depot Agent",
"doctor": "Doctor", "doctor": "Doctor",
"doctor_female": "Doctor", "doctor_female": "Doctor",
"fishermen": "Fishermen", "fisherman": "Fisherman",
"fishermen_female": "Fishermen", "fisherman_female": "Fisherman",
"gentleman": "Gentleman", "gentleman": "Gentleman",
"guitarist": "Guitarist", "guitarist": "Guitarist",
"guitarist_female": "Guitarist", "guitarist_female": "Guitarist",
@ -61,15 +61,15 @@ export const trainerClasses: SimpleTranslationEntries = {
"maid": "Maid", "maid": "Maid",
"madame": "Madame", "madame": "Madame",
"medical_team": "Medical Team", "medical_team": "Medical Team",
"musican": "Musician", "musician": "Musician",
"hex_maniac": "Hex Maniac", "hex_maniac": "Hex Maniac",
"nurse": "Nurse", "nurse": "Nurse",
"nursery_aide": "Nursery Aide", "nursery_aide": "Nursery Aide",
"officer": "Officer", "officer": "Officer",
"parasol_lady": "Parasol Lady", "parasol_lady": "Parasol Lady",
"pilot": "Pilot", "pilot": "Pilot",
"poké_fan": "Poké Fan", "pokefan": "Poké Fan",
"poké_fan_family": "Poké Fan Family", "pokefan_family": "Poké Fan Family",
"preschooler": "Preschooler", "preschooler": "Preschooler",
"preschooler_female": "Preschooler", "preschooler_female": "Preschooler",
"preschoolers": "Preschoolers", "preschoolers": "Preschoolers",
@ -80,8 +80,12 @@ export const trainerClasses: SimpleTranslationEntries = {
"pokémon_rangers": "Pokémon Ranger", "pokémon_rangers": "Pokémon Ranger",
"ranger": "Ranger", "ranger": "Ranger",
"restaurant_staff": "Restaurant Staff", "restaurant_staff": "Restaurant Staff",
"rich": "Rich",
"rich_female": "Rich",
"rich_boy": "Rich Boy", "rich_boy": "Rich Boy",
"rich_couple": "Rich Couple", "rich_couple": "Rich Couple",
"rich_kid": "Rich Kid",
"rich_kid_female": "Rich Kid",
"rich_kids": "Rich Kids", "rich_kids": "Rich Kids",
"roughneck": "Roughneck", "roughneck": "Roughneck",
"scientist": "Scientist", "scientist": "Scientist",

View File

@ -1109,7 +1109,7 @@ export const ability: AbilityTranslationEntries = {
name: "Turbine Éolienne", name: "Turbine Éolienne",
description: "Si le Pokémon est touché par une capacité faisant appel au vent, il se charge en électricité.", description: "Si le Pokémon est touché par une capacité faisant appel au vent, il se charge en électricité.",
}, },
zerotoHero: { zeroToHero: {
name: "Supermutation", name: "Supermutation",
description: "Le Pokémon prend sa Forme Super en quittant le combat.", description: "Le Pokémon prend sa Forme Super en quittant le combat.",
}, },
@ -1129,23 +1129,23 @@ export const ability: AbilityTranslationEntries = {
name: "Charge Quantique", name: "Charge Quantique",
description: "Quand un champ électrifié est actif ou que le Pokémon tient une capsule dÉnergie Booster, sa stat la plus élevée augmente.", description: "Quand un champ électrifié est actif ou que le Pokémon tient une capsule dÉnergie Booster, sa stat la plus élevée augmente.",
}, },
goodasGold: { goodAsGold: {
name: "Corps en Or", name: "Corps en Or",
description: "Le corps en or pur et robuste du Pokémon limmunise contre les capacités de statut des autres Pokémon.", description: "Le corps en or pur et robuste du Pokémon limmunise contre les capacités de statut des autres Pokémon.",
}, },
vesselofRuin: { vesselOfRuin: {
name: "Urne du Fléau", name: "Urne du Fléau",
description: "Le pouvoir de lurne qui appelle le fléau affaiblit lAttaque Spéciale de tous les autres Pokémon.", description: "Le pouvoir de lurne qui appelle le fléau affaiblit lAttaque Spéciale de tous les autres Pokémon.",
}, },
swordofRuin: { swordOfRuin: {
name: "Épée du Fléau", name: "Épée du Fléau",
description: "Le pouvoir de lépée qui appelle le fléau affaiblit la Défense de tous les autres Pokémon.", description: "Le pouvoir de lépée qui appelle le fléau affaiblit la Défense de tous les autres Pokémon.",
}, },
tabletsofRuin: { tabletsOfRuin: {
name: "Bois du Fléau", name: "Bois du Fléau",
description: "Le pouvoir du bois qui appelle le fléau affaiblit lAttaque de tous les autres Pokémon.", description: "Le pouvoir du bois qui appelle le fléau affaiblit lAttaque de tous les autres Pokémon.",
}, },
beadsofRuin: { beadsOfRuin: {
name: "Perles du Fléau", name: "Perles du Fléau",
description: "Le pouvoir des perles qui appellent le fléau affaiblit la Défense Spéciale de tous les autres Pokémon.", description: "Le pouvoir des perles qui appellent le fléau affaiblit la Défense Spéciale de tous les autres Pokémon.",
}, },

View File

@ -0,0 +1,10 @@
import { SimpleTranslationEntries } from "#app/plugins/i18n";
export const battleMessageUiHandler: SimpleTranslationEntries = {
"ivBest": "Exceptionnel",
"ivFantastic": "Fantastique",
"ivVeryGood": "Très bon",
"ivPrettyGood": "Bon",
"ivDecent": "Passable…",
"ivNoGood": "Pas top…",
} as const;

48
src/locales/fr/berry.ts Normal file
View File

@ -0,0 +1,48 @@
import { BerryTranslationEntries } from "#app/plugins/i18n";
export const berry: BerryTranslationEntries = {
"SITRUS": {
name: "Baie Sitrus",
effect: "Restaure 25% des PV sils sont inférieurs à 50%",
},
"LUM": {
name: "Baie Prine",
effect: "Soigne tout problème de statut permanant et la confusion",
},
"ENIGMA": {
name: "Baie Enigma",
effect: "Restaure 25% des PV si touché par une capacité super efficace",
},
"LIECHI": {
name: "Baie Lichii",
effect: "Augmente lAttaque si les PV sont inférieurs à 25%",
},
"GANLON": {
name: "Baie Lingan",
effect: "Augmente la Défense si les PV sont inférieurs à 25%",
},
"PETAYA": {
name: "Baie Pitaye",
effect: "Augmente lAtq. Spé. si les PV sont inférieurs à 25%",
},
"APICOT": {
name: "Baie Abriko",
effect: "Augmente la Déf. Spé. si les PV sont inférieurs à 25%",
},
"SALAC": {
name: "Baie Sailak",
effect: "Augmente la Vitesse si les PV sont inférieurs à 25%",
},
"LANSAT": {
name: "Baie Lansat",
effect: "Augmente le taux de coups critiques si les PV sont inférieurs à 25%",
},
"STARF": {
name: "Baie Frista",
effect: "Augmente énormément une statistique au hasard si les PV sont inférieurs à 25%",
},
"LEPPA": {
name: "Baie Mepo",
effect: "Restaure 10 PP à une capacité dès que ses PP tombent à 0",
},
} as const;

View File

@ -13,13 +13,13 @@ import { nature } from "./nature";
import { pokeball } from "./pokeball"; import { pokeball } from "./pokeball";
import { pokemon } from "./pokemon"; import { pokemon } from "./pokemon";
import { pokemonStat } from "./pokemon-stat"; import { pokemonStat } from "./pokemon-stat";
import { splashMessages } from "./splash-messages";
import { starterSelectUiHandler } from "./starter-select-ui-handler"; import { starterSelectUiHandler } from "./starter-select-ui-handler";
import { titles, trainerClasses, trainerNames } from "./trainers";
import { tutorial } from "./tutorial"; import { tutorial } from "./tutorial";
import { titles,trainerClasses,trainerNames } from "./trainers";
import { splashMessages } from "./splash-messages"
import { weather } from "./weather"; import { weather } from "./weather";
import { battleMessageUiHandler } from "./battle-message-ui-handler";
import { berry } from "./berry";
export const frConfig = { export const frConfig = {
ability: ability, ability: ability,
@ -28,21 +28,22 @@ export const frConfig = {
commandUiHandler: commandUiHandler, commandUiHandler: commandUiHandler,
egg: egg, egg: egg,
fightUiHandler: fightUiHandler, fightUiHandler: fightUiHandler,
menuUiHandler: menuUiHandler, growth: growth,
menu: menu, menu: menu,
menuUiHandler: menuUiHandler,
modifierType: modifierType,
move: move, move: move,
nature: nature,
pokeball: pokeball, pokeball: pokeball,
pokemonStat: pokemonStat,
pokemon: pokemon, pokemon: pokemon,
pokemonStat: pokemonStat,
splashMessages: splashMessages,
starterSelectUiHandler: starterSelectUiHandler, starterSelectUiHandler: starterSelectUiHandler,
titles: titles, titles: titles,
trainerClasses: trainerClasses, trainerClasses: trainerClasses,
trainerNames: trainerNames, trainerNames: trainerNames,
tutorial: tutorial, tutorial: tutorial,
splashMessages: splashMessages,
nature: nature,
growth: growth,
weather: weather, weather: weather,
modifierType: modifierType, battleMessageUiHandler: battleMessageUiHandler,
} berry: berry,
}

View File

@ -3,407 +3,407 @@ import { ModifierTypeTranslationEntries } from "#app/plugins/i18n";
export const modifierType: ModifierTypeTranslationEntries = { export const modifierType: ModifierTypeTranslationEntries = {
ModifierType: { ModifierType: {
"AddPokeballModifierType": { "AddPokeballModifierType": {
name: "{{modifierCount}}x {{pokeballName}}", name: "{{pokeballName}} x{{modifierCount}}",
description: "Receive {{pokeballName}} x{{modifierCount}} (Inventory: {{pokeballAmount}}) \nCatch Rate: {{catchRate}}", description: "Recevez {{modifierCount}} {{pokeballName}}s (Inventaire : {{pokeballAmount}}) \nTaux de capture : {{catchRate}}",
}, },
"AddVoucherModifierType": { "AddVoucherModifierType": {
name: "{{modifierCount}}x {{voucherTypeName}}", name: "{{voucherTypeName}} x{{modifierCount}}",
description: "Receive {{voucherTypeName}} x{{modifierCount}}", description: "Recevez {{modifierCount}} {{voucherTypeName}}",
}, },
"PokemonHeldItemModifierType": { "PokemonHeldItemModifierType": {
extra: { extra: {
"inoperable": "{{pokemonName}} can't take\nthis item!", "inoperable": "{{pokemonName}} ne peut pas\nporter cet objet !",
"tooMany": "{{pokemonName}} has too many\nof this item!", "tooMany": "{{pokemonName}} possède trop\ndexemplaires de cet objet !",
} }
}, },
"PokemonHpRestoreModifierType": { "PokemonHpRestoreModifierType": {
description: "Restores {{restorePoints}} HP or {{restorePercent}}% HP for one Pokémon, whichever is higher", description: "Restaure {{restorePoints}} PV ou {{restorePercent}}% des PV totaux dun Pokémon, en fonction duquel des deux est le plus élevé",
extra: { extra: {
"fully": "Fully restores HP for one Pokémon", "fully": "Restaure tous les PV dun Pokémon",
"fullyWithStatus": "Fully restores HP for one Pokémon and heals any status ailment", "fullyWithStatus": "Restaure tous les PV dun Pokémon et soigne tous ses problèmes de statut",
} }
}, },
"PokemonReviveModifierType": { "PokemonReviveModifierType": {
description: "Revives one Pokémon and restores {{restorePercent}}% HP", description: "Réanime un Pokémon et restaure {{restorePercent}}% de ses PV",
}, },
"PokemonStatusHealModifierType": { "PokemonStatusHealModifierType": {
description: "Heals any status ailment for one Pokémon", description: "Soigne tous les problèmes de statut dun Pokémon",
}, },
"PokemonPpRestoreModifierType": { "PokemonPpRestoreModifierType": {
description: "Restores {{restorePoints}} PP for one Pokémon move", description: "Restaure {{restorePoints}} PP à une capacité dun Pokémon",
extra: { extra: {
"fully": "Restores all PP for one Pokémon move", "fully": "Restaure tous les PP à une capacité dun Pokémon",
} }
}, },
"PokemonAllMovePpRestoreModifierType": { "PokemonAllMovePpRestoreModifierType": {
description: "Restores {{restorePoints}} PP for all of one Pokémon's moves", description: "Restaure {{restorePoints}} PP à toutes les capacités dun Pokémon",
extra: { extra: {
"fully": "Restores all PP for all of one Pokémon's moves", "fully": "Restaure tous les PP à toutes les capacités dun Pokémon",
} }
}, },
"PokemonPpUpModifierType": { "PokemonPpUpModifierType": {
description: "Permanently increases PP for one Pokémon move by {{upPoints}} for every 5 maximum PP (maximum 3)", description: "Augmente le max de PP de {{upPoints}} à une capacité dun Pokémon pour chaque 5 PP max (max : 3)",
}, },
"PokemonNatureChangeModifierType": { "PokemonNatureChangeModifierType": {
name: "{{natureName}} Mint", name: "Aromate {{natureName}}",
description: "Changes a Pokémon's nature to {{natureName}} and permanently unlocks the nature for the starter.", description: "Donne la nature {{natureName}} à un Pokémon et la débloque pour le starter lui étant lié.",
}, },
"DoubleBattleChanceBoosterModifierType": { "DoubleBattleChanceBoosterModifierType": {
description: "Doubles the chance of an encounter being a double battle for {{battleCount}} battles", description: "Double les chances de tomber sur un combat double pendant {{battleCount}} combats",
}, },
"TempBattleStatBoosterModifierType": { "TempBattleStatBoosterModifierType": {
description: "Increases the {{tempBattleStatName}} of all party members by 1 stage for 5 battles", description: "Augmente d1 cran {{tempBattleStatName}} pour toute léquipe pendant 5 combats",
}, },
"AttackTypeBoosterModifierType": { "AttackTypeBoosterModifierType": {
description: "Increases the power of a Pokémon's {{moveType}}-type moves by 20%", description: "Augmente de 20% la puissance des capacités de type {{moveType}} dun Pokémon",
}, },
"PokemonLevelIncrementModifierType": { "PokemonLevelIncrementModifierType": {
description: "Increases a Pokémon's level by 1", description: "Fait monter un Pokémon d1 niveau",
}, },
"AllPokemonLevelIncrementModifierType": { "AllPokemonLevelIncrementModifierType": {
description: "Increases all party members' level by 1", description: "Fait monter toute léquipe d1 niveau",
}, },
"PokemonBaseStatBoosterModifierType": { "PokemonBaseStatBoosterModifierType": {
description: "Increases the holder's base {{statName}} by 10%. The higher your IVs, the higher the stack limit.", description: "Augmente de 10% {{statName}} de base de son porteur. Plus les IV sont hauts, plus il peut en porter.",
}, },
"AllPokemonFullHpRestoreModifierType": { "AllPokemonFullHpRestoreModifierType": {
description: "Restores 100% HP for all Pokémon", description: "Restaure tous les PV de toute l'équipe",
}, },
"AllPokemonFullReviveModifierType": { "AllPokemonFullReviveModifierType": {
description: "Revives all fainted Pokémon, fully restoring HP", description: "Réanime et restaure tous les PV de tous les Pokémon K.O.",
}, },
"MoneyRewardModifierType": { "MoneyRewardModifierType": {
description: "Grants a {{moneyMultiplier}} amount of money (₽{{moneyAmount}})", description: "Octroie une {{moneyMultiplier}} somme dargent ({{moneyAmount}}₽)",
extra: { extra: {
"small": "small", "small": "petite",
"moderate": "moderate", "moderate": "moyenne",
"large": "large", "large": "grande",
}, },
}, },
"ExpBoosterModifierType": { "ExpBoosterModifierType": {
description: "Increases gain of EXP. Points by {{boostPercent}}%", description: "Augmente de {{boostPercent}}% le gain de Points dExp",
}, },
"PokemonExpBoosterModifierType": { "PokemonExpBoosterModifierType": {
description: "Increases the holder's gain of EXP. Points by {{boostPercent}}%", description: "Augmente de {{boostPercent}}% le gain de Points dExp du porteur",
}, },
"PokemonFriendshipBoosterModifierType": { "PokemonFriendshipBoosterModifierType": {
description: "Increases friendship gain per victory by 50%", description: "Augmente le gain damitié de 50% par victoire",
}, },
"PokemonMoveAccuracyBoosterModifierType": { "PokemonMoveAccuracyBoosterModifierType": {
description: "Increases move accuracy by {{accuracyAmount}} (maximum 100)", description: "Augmente de {{accuracyAmount}} la précision des capacités (maximum 100)",
}, },
"PokemonMultiHitModifierType": { "PokemonMultiHitModifierType": {
description: "Attacks hit one additional time at the cost of a 60/75/82.5% power reduction per stack respectively", description: "Frappe une fois de plus en échange dune baisse de puissance de respectivement 60/75/82,5% par cumul",
}, },
"TmModifierType": { "TmModifierType": {
name: "TM{{moveId}} - {{moveName}}", name: "CT{{moveId}} - {{moveName}}",
description: "Teach {{moveName}} to a Pokémon", description: "Apprend la capacité {{moveName}} à un Pokémon",
}, },
"EvolutionItemModifierType": { "EvolutionItemModifierType": {
description: "Causes certain Pokémon to evolve", description: "Permet à certains Pokémon dévoluer",
}, },
"FormChangeItemModifierType": { "FormChangeItemModifierType": {
description: "Causes certain Pokémon to change form", description: "Permet à certains Pokémon de changer de forme",
}, },
"FusePokemonModifierType": { "FusePokemonModifierType": {
description: "Combines two Pokémon (transfers Ability, splits base stats and types, shares move pool)", description: "Fusionne deux Pokémon (transfère le Talent, sépare les stats de base et les types, partage le movepool)",
}, },
"TerastallizeModifierType": { "TerastallizeModifierType": {
name: "{{teraType}} Tera Shard", name: "Téra-Éclat {{teraType}}",
description: "{{teraType}} Terastallizes the holder for up to 10 battles", description: "{{teraType}} Téracristallise son porteur pendant 10 combats",
}, },
"ContactHeldItemTransferChanceModifierType": { "ContactHeldItemTransferChanceModifierType": {
description: "Upon attacking, there is a {{chancePercent}}% chance the foe's held item will be stolen", description: "{{chancePercent}}% de chances de voler un objet de ladversaire en lattaquant",
}, },
"TurnHeldItemTransferModifierType": { "TurnHeldItemTransferModifierType": {
description: "Every turn, the holder acquires one held item from the foe", description: "À chaque tour, son porteur obtient un objet de son adversaire",
}, },
"EnemyAttackStatusEffectChanceModifierType": { "EnemyAttackStatusEffectChanceModifierType": {
description: "Adds a {{chancePercent}}% chance to inflict {{statusEffect}} with attack moves", description: "Ajoute {{chancePercent}}% de chances dinfliger le statut {{statusEffect}} avec des capacités offensives",
}, },
"EnemyEndureChanceModifierType": { "EnemyEndureChanceModifierType": {
description: "Adds a {{chancePercent}}% chance of enduring a hit", description: "Ajoute {{chancePercent}}% de chances dencaisser un coup",
}, },
"RARE_CANDY": { name: "Rare Candy" }, "RARE_CANDY": { name: "Super Bonbon" },
"RARER_CANDY": { name: "Rarer Candy" }, "RARER_CANDY": { name: "Hyper Bonbon" },
"MEGA_BRACELET": { name: "Mega Bracelet", description: "Mega Stones become available" }, "MEGA_BRACELET": { name: "Méga-Bracelet", description: "Débloque les Méga-Gemmes" },
"DYNAMAX_BAND": { name: "Dynamax Band", description: "Max Mushrooms become available" }, "DYNAMAX_BAND": { name: "Poignet Dynamax", description: "Débloque le Dynamax" },
"TERA_ORB": { name: "Tera Orb", description: "Tera Shards become available" }, "TERA_ORB": { name: "Orbe Téracristal", description: "Débloque les Téra-Éclats" },
"MAP": { name: "Map", description: "Allows you to choose your destination at a crossroads" }, "MAP": { name: "Carte", description: "Vous permet de choisir votre destination à un croisement" },
"POTION": { name: "Potion" }, "POTION": { name: "Potion" },
"SUPER_POTION": { name: "Super Potion" }, "SUPER_POTION": { name: "Super Potion" },
"HYPER_POTION": { name: "Hyper Potion" }, "HYPER_POTION": { name: "Hyper Potion" },
"MAX_POTION": { name: "Max Potion" }, "MAX_POTION": { name: "Potion Max" },
"FULL_RESTORE": { name: "Full Restore" }, "FULL_RESTORE": { name: "Guérison" },
"REVIVE": { name: "Revive" }, "REVIVE": { name: "Rappel" },
"MAX_REVIVE": { name: "Max Revive" }, "MAX_REVIVE": { name: "Rappel Max" },
"FULL_HEAL": { name: "Full Heal" }, "FULL_HEAL": { name: "Total Soin" },
"SACRED_ASH": { name: "Sacred Ash" }, "SACRED_ASH": { name: "Cendres Sacrées" },
"REVIVER_SEED": { name: "Reviver Seed", description: "Revives the holder for 1/2 HP upon fainting" }, "REVIVER_SEED": { name: "Résugraine", description: "Réanime et restaure la moitié des PV de son porteur sil tombe K.O." },
"ETHER": { name: "Ether" }, "ETHER": { name: "Huile" },
"MAX_ETHER": { name: "Max Ether" }, "MAX_ETHER": { name: "Huile Max" },
"ELIXIR": { name: "Elixir" }, "ELIXIR": { name: "Élixir" },
"MAX_ELIXIR": { name: "Max Elixir" }, "MAX_ELIXIR": { name: "Élixir Max" },
"PP_UP": { name: "PP Up" }, "PP_UP": { name: "PP Plus" },
"PP_MAX": { name: "PP Max" }, "PP_MAX": { name: "PP Max" },
"LURE": { name: "Lure" }, "LURE": { name: "Parfum" },
"SUPER_LURE": { name: "Super Lure" }, "SUPER_LURE": { name: "Super Parfum" },
"MAX_LURE": { name: "Max Lure" }, "MAX_LURE": { name: "Parfum Max" },
"MEMORY_MUSHROOM": { name: "Memory Mushroom", description: "Recall one Pokémon's forgotten move" }, "MEMORY_MUSHROOM": { name: "Champi Mémoriel", description: "Remémore une capacité à un Pokémon" },
"EXP_SHARE": { name: "EXP. All", description: "Non-participants receive 20% of a single participant's EXP. Points" }, "EXP_SHARE": { name: "Multi Exp", description: "Tous les non-participants reçoivent 20% des Points dExp dun participant" },
"EXP_BALANCE": { name: "EXP. Balance", description: "Weighs EXP. Points received from battles towards lower-leveled party members" }, "EXP_BALANCE": { name: "ÉquilibrExp", description: "Équilibre les Points dExp à lavantage des membres de léquipe aux plus bas niveaux" },
"OVAL_CHARM": { name: "Oval Charm", description: "When multiple Pokémon participate in a battle, each gets an extra 10% of the total EXP" }, "OVAL_CHARM": { name: "Charme Ovale", description: "Quand plusieurs Pokémon sont en combat, chacun gagne 10% supplémentaires du total dExp" },
"EXP_CHARM": { name: "EXP. Charm" }, "EXP_CHARM": { name: "Charme Exp" },
"SUPER_EXP_CHARM": { name: "Super EXP. Charm" }, "SUPER_EXP_CHARM": { name: "Super Charme Exp" },
"GOLDEN_EXP_CHARM": { name: "Golden EXP. Charm" }, "GOLDEN_EXP_CHARM": { name: "Charme Exp Doré" },
"LUCKY_EGG": { name: "Lucky Egg" }, "LUCKY_EGG": { name: "Œuf Chance" },
"GOLDEN_EGG": { name: "Golden Egg" }, "GOLDEN_EGG": { name: "Œuf dOr" },
"SOOTHE_BELL": { name: "Soothe Bell" }, "SOOTHE_BELL": { name: "Grelot Zen" },
"SOUL_DEW": { name: "Soul Dew", description: "Increases the influence of a Pokémon's nature on its stats by 10% (additive)" }, "SOUL_DEW": { name: "Rosée Âme", description: "Augmente de 10% linfluence de la nature dun Pokémon sur ses statistiques (cumulatif)" },
"NUGGET": { name: "Nugget" }, "NUGGET": { name: "Pépite" },
"BIG_NUGGET": { name: "Big Nugget" }, "BIG_NUGGET": { name: "Maxi Pépite" },
"RELIC_GOLD": { name: "Relic Gold" }, "RELIC_GOLD": { name: "Vieux Ducat" },
"AMULET_COIN": { name: "Amulet Coin", description: "Increases money rewards by 20%" }, "AMULET_COIN": { name: "Pièce Rune", description: "Augmente de 20% les gains dargent" },
"GOLDEN_PUNCH": { name: "Golden Punch", description: "Grants 50% of damage inflicted as money" }, "GOLDEN_PUNCH": { name: "Poing Doré", description: "50% des dégâts infligés sont convertis en argent" },
"COIN_CASE": { name: "Coin Case", description: "After every 10th battle, receive 10% of your money in interest" }, "COIN_CASE": { name: "Boite Jetons", description: "Tous les 10 combats, recevez 10% de votre argent en intérêts" },
"LOCK_CAPSULE": { name: "Lock Capsule", description: "Allows you to lock item rarities when rerolling items" }, "LOCK_CAPSULE": { name: "Poké Écrin", description: "Permet de verrouiller des objets rares si vous relancez les objets proposés" },
"GRIP_CLAW": { name: "Grip Claw" }, "GRIP_CLAW": { name: "Accro Griffe" },
"WIDE_LENS": { name: "Wide Lens" }, "WIDE_LENS": { name: "Loupe" },
"MULTI_LENS": { name: "Multi Lens" }, "MULTI_LENS": { name: "Multi Loupe" },
"HEALING_CHARM": { name: "Healing Charm", description: "Increases the effectiveness of HP restoring moves and items by 10% (excludes Revives)" }, "HEALING_CHARM": { name: "Charme Soin", description: "Augmente de 10% lefficacité des capacités et objets de soin de PV (hors Rappels)" },
"CANDY_JAR": { name: "Candy Jar", description: "Increases the number of levels added by Rare Candy items by 1" }, "CANDY_JAR": { name: "Jarre de Bonbons", description: "Augmente de 1 le nombre de niveaux gagnés à lutilisation dun Super Bonbon" },
"BERRY_POUCH": { name: "Berry Pouch", description: "Adds a 25% chance that a used berry will not be consumed" }, "BERRY_POUCH": { name: "Sac à Baies", description: "Ajoute 25% de chances quune Baie utilisée ne soit pas consommée" },
"FOCUS_BAND": { name: "Focus Band", description: "Adds a 10% chance to survive with 1 HP after being damaged enough to faint" }, "FOCUS_BAND": { name: "Bandeau", description: "Ajoute 10% de chances de survivre avec 1 PV si les dégâts reçus pouvaient mettre K.O." },
"QUICK_CLAW": { name: "Quick Claw", description: "Adds a 10% chance to move first regardless of speed (after priority)" }, "QUICK_CLAW": { name: "Vive Griffe", description: "Ajoute 10% de chances dagir en premier, indépendamment de la vitesse (après la priorité)" },
"KINGS_ROCK": { name: "King's Rock", description: "Adds a 10% chance an attack move will cause the opponent to flinch" }, "KINGS_ROCK": { name: "Roche Royale", description: "Ajoute 10% de chances quune capacité offensive apeure ladversaire" },
"LEFTOVERS": { name: "Leftovers", description: "Heals 1/16 of a Pokémon's maximum HP every turn" }, "LEFTOVERS": { name: "Restes", description: "Soigne à chaque tour 1/16 des PV max dun Pokémon" },
"SHELL_BELL": { name: "Shell Bell", description: "Heals 1/8 of a Pokémon's dealt damage" }, "SHELL_BELL": { name: "Grelot Coque", description: "Soigne 1/8 des dégâts infligés par un Pokémon" },
"BATON": { name: "Baton", description: "Allows passing along effects when switching Pokémon, which also bypasses traps" }, "BATON": { name: "Bâton", description: "Permet de transmettre les effets en cas de changement de Pokémon. Ignore les pièges." },
"SHINY_CHARM": { name: "Shiny Charm", description: "Dramatically increases the chance of a wild Pokémon being Shiny" }, "SHINY_CHARM": { name: "Charme Chroma", description: "Augmente énormément les chances de rencontrer un Pokémon sauvage chromatique" },
"ABILITY_CHARM": { name: "Ability Charm", description: "Dramatically increases the chance of a wild Pokémon having a Hidden Ability" }, "ABILITY_CHARM": { name: "Charme Talent", description: "Augmente énormément les chances de rencontrer un Pokémon sauvage avec un Talent Caché" },
"IV_SCANNER": { name: "IV Scanner", description: "Allows scanning the IVs of wild Pokémon. 2 IVs are revealed per stack. The best IVs are shown first" }, "IV_SCANNER": { name: "Scanner dIV", description: "Scanne les IV dun Pokémon sauvage. 2 IV sont révélés par Scanner. Les meilleurs sont montrés en 1er." },
"DNA_SPLICERS": { name: "DNA Splicers" }, "DNA_SPLICERS": { name: "Pointeau ADN" },
"MINI_BLACK_HOLE": { name: "Mini Black Hole" }, "MINI_BLACK_HOLE": { name: "Mini Trou Noir" },
"GOLDEN_POKEBALL": { name: "Golden Poké Ball", description: "Adds 1 extra item option at the end of every battle" }, "GOLDEN_POKEBALL": { name: "Poké Ball Dorée", description: "Ajoute 1 choix dobjet à la fin de chaque combat" },
"ENEMY_DAMAGE_BOOSTER": { name: "Damage Token", description: "Increases damage by 5%" }, "ENEMY_DAMAGE_BOOSTER": { name: "Jeton Dégâts", description: "Augmente les dégâts de 5%" },
"ENEMY_DAMAGE_REDUCTION": { name: "Protection Token", description: "Reduces incoming damage by 2.5%" }, "ENEMY_DAMAGE_REDUCTION": { name: "Jeton Protection", description: "Diminue les dégâts reçus de 2,5%" },
"ENEMY_HEAL": { name: "Recovery Token", description: "Heals 2% of max HP every turn" }, "ENEMY_HEAL": { name: "Jeton Soin", description: "Soigne 2% des PV max à chaque tour" },
"ENEMY_ATTACK_POISON_CHANCE": { name: "Poison Token" }, "ENEMY_ATTACK_POISON_CHANCE": { name: "Jeton Poison" },
"ENEMY_ATTACK_PARALYZE_CHANCE": { name: "Paralyze Token" }, "ENEMY_ATTACK_PARALYZE_CHANCE": { name: "Jeton Paralysie" },
"ENEMY_ATTACK_SLEEP_CHANCE": { name: "Sleep Token" }, "ENEMY_ATTACK_SLEEP_CHANCE": { name: "Jeton Sommeil" },
"ENEMY_ATTACK_FREEZE_CHANCE": { name: "Freeze Token" }, "ENEMY_ATTACK_FREEZE_CHANCE": { name: "Jeton Gel" },
"ENEMY_ATTACK_BURN_CHANCE": { name: "Burn Token" }, "ENEMY_ATTACK_BURN_CHANCE": { name: "Jeton Brulure" },
"ENEMY_STATUS_EFFECT_HEAL_CHANCE": { name: "Full Heal Token", description: "Adds a 10% chance every turn to heal a status condition" }, "ENEMY_STATUS_EFFECT_HEAL_CHANCE": { name: "Jeton Total Soin", description: "Ajoute 10% de chances à chaque tour de se soigner dun problème de statut." },
"ENEMY_ENDURE_CHANCE": { name: "Endure Token" }, "ENEMY_ENDURE_CHANCE": { name: "Jeton Ténacité" },
"ENEMY_FUSED_CHANCE": { name: "Fusion Token", description: "Adds a 1% chance that a wild Pokémon will be a fusion" }, "ENEMY_FUSED_CHANCE": { name: "Jeton Fusion", description: "Ajoute 1% de chances quun Pokémon sauvage soit une fusion." },
}, },
TempBattleStatBoosterItem: { TempBattleStatBoosterItem: {
"x_attack": "X Attack", "x_attack": "Attaque +",
"x_defense": "X Defense", "x_defense": "Défense +",
"x_sp_atk": "X Sp. Atk", "x_sp_atk": "Atq. Spé. +",
"x_sp_def": "X Sp. Def", "x_sp_def": "Déf. Spé. +",
"x_speed": "X Speed", "x_speed": "Vitesse +",
"x_accuracy": "X Accuracy", "x_accuracy": "Précision +",
"dire_hit": "Dire Hit", "dire_hit": "Muscle +",
}, },
AttackTypeBoosterItem: { AttackTypeBoosterItem: {
"silk_scarf": "Silk Scarf", "silk_scarf": "Mouchoir Soie",
"black_belt": "Black Belt", "black_belt": "Ceinture Noire",
"sharp_beak": "Sharp Beak", "sharp_beak": "Bec Pointu",
"poison_barb": "Poison Barb", "poison_barb": "Pic Venin",
"soft_sand": "Soft Sand", "soft_sand": "Sable Doux",
"hard_stone": "Hard Stone", "hard_stone": "Pierre Dure",
"silver_powder": "Silver Powder", "silver_powder": "Poudre Argentée",
"spell_tag": "Spell Tag", "spell_tag": "Rune Sort",
"metal_coat": "Metal Coat", "metal_coat": "Peau Métal",
"charcoal": "Charcoal", "charcoal": "Charbon",
"mystic_water": "Mystic Water", "mystic_water": "Eau Mystique",
"miracle_seed": "Miracle Seed", "miracle_seed": "Graine Miracle",
"magnet": "Magnet", "magnet": "Aimant",
"twisted_spoon": "Twisted Spoon", "twisted_spoon": "Cuillère Tordue",
"never_melt_ice": "Never-Melt Ice", "never_melt_ice": "Glace Éternelle",
"dragon_fang": "Dragon Fang", "dragon_fang": "Croc Dragon",
"black_glasses": "Black Glasses", "black_glasses": "Lunettes Noires",
"fairy_feather": "Fairy Feather", "fairy_feather": "Plume Enchantée",
}, },
BaseStatBoosterItem: { BaseStatBoosterItem: {
"hp_up": "HP Up", "hp_up": "PV Plus",
"protein": "Protein", "protein": "Protéine",
"iron": "Iron", "iron": "Fer",
"calcium": "Calcium", "calcium": "Calcium",
"zinc": "Zinc", "zinc": "Zinc",
"carbos": "Carbos", "carbos": "Carbone",
}, },
EvolutionItem: { EvolutionItem: {
"NONE": "None", "NONE": "Aucun",
"LINKING_CORD": "Linking Cord", "LINKING_CORD": "Fil de Liaison",
"SUN_STONE": "Sun Stone", "SUN_STONE": "Pierre Soleil",
"MOON_STONE": "Moon Stone", "MOON_STONE": "Pierre Lune",
"LEAF_STONE": "Leaf Stone", "LEAF_STONE": "Pierre Plante",
"FIRE_STONE": "Fire Stone", "FIRE_STONE": "Pierre Feu",
"WATER_STONE": "Water Stone", "WATER_STONE": "Pierre Eau",
"THUNDER_STONE": "Thunder Stone", "THUNDER_STONE": "Pierre Foudre",
"ICE_STONE": "Ice Stone", "ICE_STONE": "Pierre Glace",
"DUSK_STONE": "Dusk Stone", "DUSK_STONE": "Pierre Nuit",
"DAWN_STONE": "Dawn Stone", "DAWN_STONE": "Pierre Aube",
"SHINY_STONE": "Shiny Stone", "SHINY_STONE": "Pierre Éclat",
"CRACKED_POT": "Cracked Pot", "CRACKED_POT": "Théière Fêlée",
"SWEET_APPLE": "Sweet Apple", "SWEET_APPLE": "Pomme Sucrée",
"TART_APPLE": "Tart Apple", "TART_APPLE": "Pomme Acidulée",
"STRAWBERRY_SWEET": "Strawberry Sweet", "STRAWBERRY_SWEET": "Fraise en Sucre",
"UNREMARKABLE_TEACUP": "Unremarkable Teacup", "UNREMARKABLE_TEACUP": "Bol Médiocre",
"CHIPPED_POT": "Chipped Pot", "CHIPPED_POT": "Théière Ébréchée",
"BLACK_AUGURITE": "Black Augurite", "BLACK_AUGURITE": "Obsidienne",
"GALARICA_CUFF": "Galarica Cuff", "GALARICA_CUFF": "Bracelet Galanoa",
"GALARICA_WREATH": "Galarica Wreath", "GALARICA_WREATH": "Couronne Galanoa",
"PEAT_BLOCK": "Peat Block", "PEAT_BLOCK": "Bloc de Tourbe",
"AUSPICIOUS_ARMOR": "Auspicious Armor", "AUSPICIOUS_ARMOR": "Armure de la Fortune",
"MALICIOUS_ARMOR": "Malicious Armor", "MALICIOUS_ARMOR": "Armure de la Rancune",
"MASTERPIECE_TEACUP": "Masterpiece Teacup", "MASTERPIECE_TEACUP": "Bol Exceptionnel",
"METAL_ALLOY": "Metal Alloy", "METAL_ALLOY": "Métal Composite",
"SCROLL_OF_DARKNESS": "Scroll Of Darkness", "SCROLL_OF_DARKNESS": "Rouleau des Ténèbres",
"SCROLL_OF_WATERS": "Scroll Of Waters", "SCROLL_OF_WATERS": "Rouleau de lEau",
"SYRUPY_APPLE": "Syrupy Apple", "SYRUPY_APPLE": "Pomme Nectar",
}, },
FormChangeItem: { FormChangeItem: {
"NONE": "None", "NONE": "Aucun",
"ABOMASITE": "Abomasite", "ABOMASITE": "Blizzarite",
"ABSOLITE": "Absolite", "ABSOLITE": "Absolite",
"AERODACTYLITE": "Aerodactylite", "AERODACTYLITE": "Ptéraïte",
"AGGRONITE": "Aggronite", "AGGRONITE": "Galekingite",
"ALAKAZITE": "Alakazite", "ALAKAZITE": "Alakazamite",
"ALTARIANITE": "Altarianite", "ALTARIANITE": "Altarite",
"AMPHAROSITE": "Ampharosite", "AMPHAROSITE": "Pharampite",
"AUDINITE": "Audinite", "AUDINITE": "Nanméouïte",
"BANETTITE": "Banettite", "BANETTITE": "Branettite",
"BEEDRILLITE": "Beedrillite", "BEEDRILLITE": "Dardargnite",
"BLASTOISINITE": "Blastoisinite", "BLASTOISINITE": "Tortankite",
"BLAZIKENITE": "Blazikenite", "BLAZIKENITE": "Braségalite",
"CAMERUPTITE": "Cameruptite", "CAMERUPTITE": "Caméruptite",
"CHARIZARDITE_X": "Charizardite X", "CHARIZARDITE_X": "Dracaufite X",
"CHARIZARDITE_Y": "Charizardite Y", "CHARIZARDITE_Y": "Dracaufite Y",
"DIANCITE": "Diancite", "DIANCITE": "Diancite",
"GALLADITE": "Galladite", "GALLADITE": "Gallamite",
"GARCHOMPITE": "Garchompite", "GARCHOMPITE": "Carchacrokite",
"GARDEVOIRITE": "Gardevoirite", "GARDEVOIRITE": "Gardevoirite",
"GENGARITE": "Gengarite", "GENGARITE": "Ectoplasmite",
"GLALITITE": "Glalitite", "GLALITITE": "Oniglalite",
"GYARADOSITE": "Gyaradosite", "GYARADOSITE": "Léviatorite",
"HERACRONITE": "Heracronite", "HERACRONITE": "Scarhinoïte",
"HOUNDOOMINITE": "Houndoominite", "HOUNDOOMINITE": "Démolossite",
"KANGASKHANITE": "Kangaskhanite", "KANGASKHANITE": "Kangourexite",
"LATIASITE": "Latiasite", "LATIASITE": "Latiasite",
"LATIOSITE": "Latiosite", "LATIOSITE": "Latiosite",
"LOPUNNITE": "Lopunnite", "LOPUNNITE": "Lockpinite",
"LUCARIONITE": "Lucarionite", "LUCARIONITE": "Lucarite",
"MANECTITE": "Manectite", "MANECTITE": "Élecsprintite",
"MAWILITE": "Mawilite", "MAWILITE": "Mysdibulite",
"MEDICHAMITE": "Medichamite", "MEDICHAMITE": "Charminite",
"METAGROSSITE": "Metagrossite", "METAGROSSITE": "Métalossite",
"MEWTWONITE_X": "Mewtwonite X", "MEWTWONITE_X": "Mewtwoïte X",
"MEWTWONITE_Y": "Mewtwonite Y", "MEWTWONITE_Y": "Mewtwoïte Y",
"PIDGEOTITE": "Pidgeotite", "PIDGEOTITE": "Roucarnagite",
"PINSIRITE": "Pinsirite", "PINSIRITE": "Scarabruite",
"RAYQUAZITE": "Rayquazite", "RAYQUAZITE": "Rayquazite",
"SABLENITE": "Sablenite", "SABLENITE": "Ténéfixite",
"SALAMENCITE": "Salamencite", "SALAMENCITE": "Drattakite",
"SCEPTILITE": "Sceptilite", "SCEPTILITE": "Jungkite",
"SCIZORITE": "Scizorite", "SCIZORITE": "Cizayoxite",
"SHARPEDONITE": "Sharpedonite", "SHARPEDONITE": "Sharpedite",
"SLOWBRONITE": "Slowbronite", "SLOWBRONITE": "Flagadossite",
"STEELIXITE": "Steelixite", "STEELIXITE": "Steelixite",
"SWAMPERTITE": "Swampertite", "SWAMPERTITE": "Laggronite",
"TYRANITARITE": "Tyranitarite", "TYRANITARITE": "Tyranocivite",
"VENUSAURITE": "Venusaurite", "VENUSAURITE": "Florizarrite",
"BLUE_ORB": "Blue Orb", "BLUE_ORB": "Gemme Bleue",
"RED_ORB": "Red Orb", "RED_ORB": "Gemme Rouge",
"SHARP_METEORITE": "Sharp Meteorite", "SHARP_METEORITE": "Méteorite Aiguisée",
"HARD_METEORITE": "Hard Meteorite", "HARD_METEORITE": "Méteorite Solide",
"SMOOTH_METEORITE": "Smooth Meteorite", "SMOOTH_METEORITE": "Méteorite Lisse",
"ADAMANT_CRYSTAL": "Adamant Crystal", "ADAMANT_CRYSTAL": "Globe Adamant",
"LUSTROUS_ORB": "Lustrous Orb", "LUSTROUS_ORB": "Orbe Perlé",
"GRISEOUS_CORE": "Griseous Core", "GRISEOUS_CORE": "Globe Platiné",
"REVEAL_GLASS": "Reveal Glass", "REVEAL_GLASS": "Miroir Sacré",
"GRACIDEA": "Gracidea", "GRACIDEA": "Gracidée",
"MAX_MUSHROOMS": "Max Mushrooms", "MAX_MUSHROOMS": "Maxi Champis",
"DARK_STONE": "Dark Stone", "DARK_STONE": "Galet Noir",
"LIGHT_STONE": "Light Stone", "LIGHT_STONE": "Galet Blanc",
"PRISON_BOTTLE": "Prison Bottle", "PRISON_BOTTLE": "Vase Scellé",
"N_LUNARIZER": "N Lunarizer", "N_LUNARIZER": "Necroluna",
"N_SOLARIZER": "N Solarizer", "N_SOLARIZER": "Necrosol",
"RUSTED_SWORD": "Rusted Sword", "RUSTED_SWORD": "Épée Rouillée",
"RUSTED_SHIELD": "Rusted Shield", "RUSTED_SHIELD": "Bouclier Rouillé",
"ICY_REINS_OF_UNITY": "Icy Reins Of Unity", "ICY_REINS_OF_UNITY": "Rênes de lUnité du Froid",
"SHADOW_REINS_OF_UNITY": "Shadow Reins Of Unity", "SHADOW_REINS_OF_UNITY": "Rênes de lUnité dEffroi",
"WELLSPRING_MASK": "Wellspring Mask", "WELLSPRING_MASK": "Masque du Puits",
"HEARTHFLAME_MASK": "Hearthflame Mask", "HEARTHFLAME_MASK": "Masque du Fourneau",
"CORNERSTONE_MASK": "Cornerstone Mask", "CORNERSTONE_MASK": "Masque de la Pierre",
"SHOCK_DRIVE": "Shock Drive", "SHOCK_DRIVE": "Module Choc",
"BURN_DRIVE": "Burn Drive", "BURN_DRIVE": "Module Pyro",
"CHILL_DRIVE": "Chill Drive", "CHILL_DRIVE": "Module Aqua",
"DOUSE_DRIVE": "Douse Drive", "DOUSE_DRIVE": "Module Choc",
}, },
TeraType: { TeraType: {
"UNKNOWN": "Unknown", "UNKNOWN": "Inconnu",
"NORMAL": "Normal", "NORMAL": "Normal",
"FIGHTING": "Fighting", "FIGHTING": "Combat",
"FLYING": "Flying", "FLYING": "Vol",
"POISON": "Poison", "POISON": "Poison",
"GROUND": "Ground", "GROUND": "Sol",
"ROCK": "Rock", "ROCK": "Roche",
"BUG": "Bug", "BUG": "Insecte",
"GHOST": "Ghost", "GHOST": "Spectre",
"STEEL": "Steel", "STEEL": "Acier",
"FIRE": "Fire", "FIRE": "Feu",
"WATER": "Water", "WATER": "Eau",
"GRASS": "Grass", "GRASS": "Plante",
"ELECTRIC": "Electric", "ELECTRIC": "Électrik",
"PSYCHIC": "Psychic", "PSYCHIC": "Psy",
"ICE": "Ice", "ICE": "Glace",
"DRAGON": "Dragon", "DRAGON": "Dragon",
"DARK": "Dark", "DARK": "Ténèbres",
"FAIRY": "Fairy", "FAIRY": "Fée",
"STELLAR": "Stellar", "STELLAR": "Stellaire",
}, },
} as const; } as const;

View File

@ -2915,7 +2915,7 @@ export const move: MoveTranslationEntries = {
}, },
"zippyZap": { "zippyZap": {
name: "Pika-Sprint", name: "Pika-Sprint",
effect: "Une attaque électrique rapide comme léclair qui auguemente lesquive. Frappe en priorité." effect: "Une attaque électrique rapide comme léclair qui augmente lesquive. Frappe en priorité."
}, },
"splishySplash": { "splishySplash": {
name: "Pika-Splash", name: "Pika-Splash",

View File

@ -35,7 +35,7 @@ export const trainerClasses: SimpleTranslationEntries = {
"clerk": "Employé", "clerk": "Employé",
"clerk_female": "Employée", "clerk_female": "Employée",
"colleagues": "Collègues de Bureau", "colleagues": "Collègues de Bureau",
"crush_kin": "Crush Kin", "crush_kin": "Duo Baston",
"cyclist": "Cycliste", "cyclist": "Cycliste",
"cyclist_female": "Cycliste", "cyclist_female": "Cycliste",
"cyclists": "Cyclistes", "cyclists": "Cyclistes",
@ -44,8 +44,8 @@ export const trainerClasses: SimpleTranslationEntries = {
"depot_agent": "Cheminot", "depot_agent": "Cheminot",
"doctor": "Docteur", "doctor": "Docteur",
"doctor_female": "Docteure", "doctor_female": "Docteure",
"fishermen": "Pêcheur", "fisherman": "Pêcheur",
"fishermen_female": "Pêcheuse", "fisherman_female": "Pêcheuse",
"gentleman": "Gentleman", "gentleman": "Gentleman",
"guitarist": "Guitariste", "guitarist": "Guitariste",
"guitarist_female": "Guitariste", "guitarist_female": "Guitariste",
@ -60,16 +60,16 @@ export const trainerClasses: SimpleTranslationEntries = {
"linebacker": "Quaterback", "linebacker": "Quaterback",
"maid": "Gouvernante", "maid": "Gouvernante",
"madame": "Mondaine", "madame": "Mondaine",
"musican": "Musicien",
"medical_team": "Médecins", "medical_team": "Médecins",
"musician": "Musicien",
"hex_maniac": "Mystimaniac", "hex_maniac": "Mystimaniac",
"nurse": "Infirmière", "nurse": "Infirmière",
"nursery_aide": "Institutrice", "nursery_aide": "Institutrice",
"officer": "Policier", "officer": "Policier",
"parasol_lady": "Sœur Parasol", "parasol_lady": "Sœur Parasol",
"pilot": "Pilote", "pilot": "Pilote",
"poké_fan": "Poké Fan", "pokefan": "Poké Fan",
"poké_fan_family": "Couple de Pokéfans", "pokefan_family": "Couple de Pokéfans",
"preschooler": "Petit", "preschooler": "Petit",
"preschooler_female": "Petite", "preschooler_female": "Petite",
"preschoolers": "Petits", "preschoolers": "Petits",
@ -80,8 +80,12 @@ export const trainerClasses: SimpleTranslationEntries = {
"pokémon_rangers": "Pokémon Rangers", "pokémon_rangers": "Pokémon Rangers",
"ranger": "Ranger", "ranger": "Ranger",
"restaurant_staff": "Serveurs", "restaurant_staff": "Serveurs",
"rich_boy": "Richard", "rich": "Rich",
"rich_female": "Mondaine",
"rich_boy": "Gentleman",
"rich_couple": "Couple de Bourgeois", "rich_couple": "Couple de Bourgeois",
"rich_kid": "Richard",
"rich_kid_female": "Mademoiselle",
"rich_kids": "Richards", "rich_kids": "Richards",
"roughneck": "Loubard", "roughneck": "Loubard",
"scientist": "Scientifique", "scientist": "Scientifique",

View File

@ -39,6 +39,6 @@ export const weather: SimpleTranslationEntries = {
"harshSunClearMessage": "Les rayons du soleil saffaiblissent !", "harshSunClearMessage": "Les rayons du soleil saffaiblissent !",
"strongWindsStartMessage": "Un vent mystérieux se lève !", "strongWindsStartMessage": "Un vent mystérieux se lève !",
"strongWindsLapseMessage": "Le vent mystérieux violemment !", "strongWindsLapseMessage": "Le vent mystérieux souffle violemment !",
"strongWindsClearMessage": "Le vent mystérieux sest dissipé…" "strongWindsClearMessage": "Le vent mystérieux sest dissipé…"
} }

View File

@ -0,0 +1,10 @@
import { SimpleTranslationEntries } from "#app/plugins/i18n";
export const battleMessageUiHandler: SimpleTranslationEntries = {
"ivBest": "Best",
"ivFantastic": "Fantastic",
"ivVeryGood": "Very Good",
"ivPrettyGood": "Pretty Good",
"ivDecent": "Decent",
"ivNoGood": "No Good",
} as const;

48
src/locales/it/berry.ts Normal file
View File

@ -0,0 +1,48 @@
import { BerryTranslationEntries } from "#app/plugins/i18n";
export const berry: BerryTranslationEntries = {
"SITRUS": {
name: "Sitrus Berry",
effect: "Restores 25% HP if HP is below 50%",
},
"LUM": {
name: "Lum Berry",
effect: "Cures any non-volatile status condition and confusion",
},
"ENIGMA": {
name: "Enigma Berry",
effect: "Restores 25% HP if hit by a super effective move",
},
"LIECHI": {
name: "Liechi Berry",
effect: "Raises Attack if HP is below 25%",
},
"GANLON": {
name: "Ganlon Berry",
effect: "Raises Defense if HP is below 25%",
},
"PETAYA": {
name: "Petaya Berry",
effect: "Raises Sp. Atk if HP is below 25%",
},
"APICOT": {
name: "Apicot Berry",
effect: "Raises Sp. Def if HP is below 25%",
},
"SALAC": {
name: "Salac Berry",
effect: "Raises Speed if HP is below 25%",
},
"LANSAT": {
name: "Lansat Berry",
effect: "Raises critical hit ratio if HP is below 25%",
},
"STARF": {
name: "Starf Berry",
effect: "Sharply raises a random stat if HP is below 25%",
},
"LEPPA": {
name: "Leppa Berry",
effect: "Restores 10 PP to a move if its PP reaches 0",
},
} as const;

View File

@ -13,12 +13,13 @@ import { nature } from "./nature";
import { pokeball } from "./pokeball"; import { pokeball } from "./pokeball";
import { pokemon } from "./pokemon"; import { pokemon } from "./pokemon";
import { pokemonStat } from "./pokemon-stat"; import { pokemonStat } from "./pokemon-stat";
import { splashMessages } from "./splash-messages";
import { starterSelectUiHandler } from "./starter-select-ui-handler"; import { starterSelectUiHandler } from "./starter-select-ui-handler";
import { titles, trainerClasses, trainerNames } from "./trainers";
import { tutorial } from "./tutorial"; import { tutorial } from "./tutorial";
import { titles,trainerClasses,trainerNames } from "./trainers";
import { splashMessages } from "./splash-messages"
import { weather } from "./weather"; import { weather } from "./weather";
import { battleMessageUiHandler } from "./battle-message-ui-handler";
import { berry } from "./berry";
export const itConfig = { export const itConfig = {
ability: ability, ability: ability,
@ -27,20 +28,22 @@ export const itConfig = {
commandUiHandler: commandUiHandler, commandUiHandler: commandUiHandler,
egg: egg, egg: egg,
fightUiHandler: fightUiHandler, fightUiHandler: fightUiHandler,
menuUiHandler: menuUiHandler, growth: growth,
menu: menu, menu: menu,
menuUiHandler: menuUiHandler,
modifierType: modifierType,
move: move, move: move,
nature: nature,
pokeball: pokeball, pokeball: pokeball,
pokemonStat: pokemonStat,
pokemon: pokemon, pokemon: pokemon,
pokemonStat: pokemonStat,
splashMessages: splashMessages,
starterSelectUiHandler: starterSelectUiHandler, starterSelectUiHandler: starterSelectUiHandler,
titles: titles, titles: titles,
trainerClasses: trainerClasses, trainerClasses: trainerClasses,
trainerNames: trainerNames, trainerNames: trainerNames,
tutorial: tutorial, tutorial: tutorial,
splashMessages: splashMessages,
nature: nature,
growth: growth,
weather: weather, weather: weather,
modifierType: modifierType, battleMessageUiHandler: battleMessageUiHandler,
} berry: berry,
}

View File

@ -4,320 +4,320 @@ export const modifierType: ModifierTypeTranslationEntries = {
ModifierType: { ModifierType: {
"AddPokeballModifierType": { "AddPokeballModifierType": {
name: "{{modifierCount}}x {{pokeballName}}", name: "{{modifierCount}}x {{pokeballName}}",
description: "Receive {{pokeballName}} x{{modifierCount}} (Inventory: {{pokeballAmount}}) \nCatch Rate: {{catchRate}}", description: "Ricevi {{pokeballName}} x{{modifierCount}} (Inventario: {{pokeballAmount}}) \nTasso di cattura: {{catchRate}}",
}, },
"AddVoucherModifierType": { "AddVoucherModifierType": {
name: "{{modifierCount}}x {{voucherTypeName}}", name: "{{modifierCount}}x {{voucherTypeName}}",
description: "Receive {{voucherTypeName}} x{{modifierCount}}", description: "Ricevi {{voucherTypeName}} x{{modifierCount}}",
}, },
"PokemonHeldItemModifierType": { "PokemonHeldItemModifierType": {
extra: { extra: {
"inoperable": "{{pokemonName}} can't take\nthis item!", "inoperable": "{{pokemonName}} non può prendere\nquesto oggetto!",
"tooMany": "{{pokemonName}} has too many\nof this item!", "tooMany": "{{pokemonName}} ne ha troppi\ndi questo oggetto!",
} }
}, },
"PokemonHpRestoreModifierType": { "PokemonHpRestoreModifierType": {
description: "Restores {{restorePoints}} HP or {{restorePercent}}% HP for one Pokémon, whichever is higher", description: "Restituisce {{restorePoints}} PS o {{restorePercent}}% PS ad un Pokémon, a seconda del valore più alto",
extra: { extra: {
"fully": "Fully restores HP for one Pokémon", "fully": "Restituisce tutti gli PS ad un Pokémon",
"fullyWithStatus": "Fully restores HP for one Pokémon and heals any status ailment", "fullyWithStatus": "Restituisce tutti gli PS ad un Pokémon e lo cura da ogni stato",
} }
}, },
"PokemonReviveModifierType": { "PokemonReviveModifierType": {
description: "Revives one Pokémon and restores {{restorePercent}}% HP", description: "Rianima un Pokémon esausto e gli restituisce il {{restorePercent}}% PS",
}, },
"PokemonStatusHealModifierType": { "PokemonStatusHealModifierType": {
description: "Heals any status ailment for one Pokémon", description: "Cura tutti i problemi di stato di un Pokémon",
}, },
"PokemonPpRestoreModifierType": { "PokemonPpRestoreModifierType": {
description: "Restores {{restorePoints}} PP for one Pokémon move", description: "Restituisce {{restorePoints}} PP per una mossa di un Pokémon ",
extra: { extra: {
"fully": "Restores all PP for one Pokémon move", "fully": "Restituisce tutti i PP di una mossa",
} }
}, },
"PokemonAllMovePpRestoreModifierType": { "PokemonAllMovePpRestoreModifierType": {
description: "Restores {{restorePoints}} PP for all of one Pokémon's moves", description: "Restituisce {{restorePoints}} PP a tutte le mosse di un Pokémon",
extra: { extra: {
"fully": "Restores all PP for all of one Pokémon's moves", "fully": "Restituisce tutti i PP a tutte le mosse di un Pokémon",
} }
}, },
"PokemonPpUpModifierType": { "PokemonPpUpModifierType": {
description: "Permanently increases PP for one Pokémon move by {{upPoints}} for every 5 maximum PP (maximum 3)", description: "Aumenta i PP di una mossa di {{upPoints}} per ogni 5 PP (massimo 3)",
}, },
"PokemonNatureChangeModifierType": { "PokemonNatureChangeModifierType": {
name: "{{natureName}} Mint", name: "Menta {{natureName}}",
description: "Changes a Pokémon's nature to {{natureName}} and permanently unlocks the nature for the starter.", description: "Cambia la natura del Pokémon in {{natureName}} e sblocca la natura per il Pokémon iniziale",
}, },
"DoubleBattleChanceBoosterModifierType": { "DoubleBattleChanceBoosterModifierType": {
description: "Doubles the chance of an encounter being a double battle for {{battleCount}} battles", description: "Raddoppia la possibilità di imbattersi in doppie battaglie per {{battleCount}} battaglie",
}, },
"TempBattleStatBoosterModifierType": { "TempBattleStatBoosterModifierType": {
description: "Increases the {{tempBattleStatName}} of all party members by 1 stage for 5 battles", description: "Aumenta {{tempBattleStatName}} di un livello a tutti i Pokémon nel gruppo per 5 battaglie",
}, },
"AttackTypeBoosterModifierType": { "AttackTypeBoosterModifierType": {
description: "Increases the power of a Pokémon's {{moveType}}-type moves by 20%", description: "Aumenta la potenza delle mosse di tipo {{moveType}} del 20% per un Pokémon",
}, },
"PokemonLevelIncrementModifierType": { "PokemonLevelIncrementModifierType": {
description: "Increases a Pokémon's level by 1", description: "Fa salire un Pokémon di un livello",
}, },
"AllPokemonLevelIncrementModifierType": { "AllPokemonLevelIncrementModifierType": {
description: "Increases all party members' level by 1", description: "Aumenta il livello di tutti i Pokémon nel gruppo di 1",
}, },
"PokemonBaseStatBoosterModifierType": { "PokemonBaseStatBoosterModifierType": {
description: "Increases the holder's base {{statName}} by 10%. The higher your IVs, the higher the stack limit.", description: "Aumenta {{statName}} di base del possessore del 10%",
}, },
"AllPokemonFullHpRestoreModifierType": { "AllPokemonFullHpRestoreModifierType": {
description: "Restores 100% HP for all Pokémon", description: "Recupera il 100% degli PS per tutti i Pokémon",
}, },
"AllPokemonFullReviveModifierType": { "AllPokemonFullReviveModifierType": {
description: "Revives all fainted Pokémon, fully restoring HP", description: "Rianima tutti i Pokémon esausti restituendogli tutti i PS",
}, },
"MoneyRewardModifierType": { "MoneyRewardModifierType": {
description: "Grants a {{moneyMultiplier}} amount of money (₽{{moneyAmount}})", description: "Garantisce una {{moneyMultiplier}} quantità di soldi (₽{{moneyAmount}})",
extra: { extra: {
"small": "small", "small": "poca",
"moderate": "moderate", "moderate": "moderata",
"large": "large", "large": "grande",
}, },
}, },
"ExpBoosterModifierType": { "ExpBoosterModifierType": {
description: "Increases gain of EXP. Points by {{boostPercent}}%", description: "Aumenta il guadagno di Punti Esperienza del {{boostPercent}}%",
}, },
"PokemonExpBoosterModifierType": { "PokemonExpBoosterModifierType": {
description: "Increases the holder's gain of EXP. Points by {{boostPercent}}%", description: "Aumenta il guadagno di Punti Esperienza del possessore del {{boostPercent}}%",
}, },
"PokemonFriendshipBoosterModifierType": { "PokemonFriendshipBoosterModifierType": {
description: "Increases friendship gain per victory by 50%", description: "Aumenta del 50% il guadagno di amicizia per vittoria",
}, },
"PokemonMoveAccuracyBoosterModifierType": { "PokemonMoveAccuracyBoosterModifierType": {
description: "Increases move accuracy by {{accuracyAmount}} (maximum 100)", description: "Aumenta l'accuratezza delle mosse di {{accuracyAmount}} (massimo 100)",
}, },
"PokemonMultiHitModifierType": { "PokemonMultiHitModifierType": {
description: "Attacks hit one additional time at the cost of a 60/75/82.5% power reduction per stack respectively", description: "Gli attacchi colpiscono una volta in più al costo di una riduzione di potenza del 60/75/82,5% per mossa",
}, },
"TmModifierType": { "TmModifierType": {
name: "TM{{moveId}} - {{moveName}}", name: "MT{{moveId}} - {{moveName}}",
description: "Teach {{moveName}} to a Pokémon", description: "Insegna {{moveName}} a un Pokémon",
}, },
"EvolutionItemModifierType": { "EvolutionItemModifierType": {
description: "Causes certain Pokémon to evolve", description: "Fa evolvere determinate specie di Pokémon",
}, },
"FormChangeItemModifierType": { "FormChangeItemModifierType": {
description: "Causes certain Pokémon to change form", description: "Fa cambiare forma a determinati Pokémon",
}, },
"FusePokemonModifierType": { "FusePokemonModifierType": {
description: "Combines two Pokémon (transfers Ability, splits base stats and types, shares move pool)", description: "Combina due Pokémon (trasferisce i poteri, divide le statistiche e i tipi base, condivide il pool di mosse)",
}, },
"TerastallizeModifierType": { "TerastallizeModifierType": {
name: "{{teraType}} Tera Shard", name: "Teralite {{teraType}}",
description: "{{teraType}} Terastallizes the holder for up to 10 battles", description: "Teracristallizza in {{teraType}} il possessore per massimo 10 battaglie",
}, },
"ContactHeldItemTransferChanceModifierType": { "ContactHeldItemTransferChanceModifierType": {
description: "Upon attacking, there is a {{chancePercent}}% chance the foe's held item will be stolen", description: "Quando si attacca, c'è una probabilità del {{chancePercent}}% che l'oggetto in possesso del nemico venga rubato",
}, },
"TurnHeldItemTransferModifierType": { "TurnHeldItemTransferModifierType": {
description: "Every turn, the holder acquires one held item from the foe", description: "Ogni turno, il possessore acquisisce un oggetto posseduto dal nemico",
}, },
"EnemyAttackStatusEffectChanceModifierType": { "EnemyAttackStatusEffectChanceModifierType": {
description: "Adds a {{chancePercent}}% chance to inflict {{statusEffect}} with attack moves", description: "Aggiunge una probabilità del {{chancePercent}}% di infliggere {{statusEffect}} con le mosse d'attacco",
}, },
"EnemyEndureChanceModifierType": { "EnemyEndureChanceModifierType": {
description: "Adds a {{chancePercent}}% chance of enduring a hit", description: "Aggiunge una probabilità del {{probabilitàPercent}}% di resistere ad un colpo",
}, },
"RARE_CANDY": { name: "Rare Candy" }, "RARE_CANDY": { name: "Caramella Rara" },
"RARER_CANDY": { name: "Rarer Candy" }, "RARER_CANDY": { name: "Caramella Molto Rara" },
"MEGA_BRACELET": { name: "Mega Bracelet", description: "Mega Stones become available" }, "MEGA_BRACELET": { name: "Megapolsiera", description: "Le Megapietre sono disponibili" },
"DYNAMAX_BAND": { name: "Dynamax Band", description: "Max Mushrooms become available" }, "DYNAMAX_BAND": { name: "Polsino Dynamax", description: "I Fungomax sono disponibili" },
"TERA_ORB": { name: "Tera Orb", description: "Tera Shards become available" }, "TERA_ORB": { name: "Terasfera", description: "I Teraliti sono disponibili" },
"MAP": { name: "Map", description: "Allows you to choose your destination at a crossroads" }, "MAP": { name: "Mappa", description: "Permette di scegliere la propria strada a un bivio" },
"POTION": { name: "Potion" }, "POTION": { name: "Pozione" },
"SUPER_POTION": { name: "Super Potion" }, "SUPER_POTION": { name: "Superpozione" },
"HYPER_POTION": { name: "Hyper Potion" }, "HYPER_POTION": { name: "Iperpozione" },
"MAX_POTION": { name: "Max Potion" }, "MAX_POTION": { name: "Pozione Max" },
"FULL_RESTORE": { name: "Full Restore" }, "FULL_RESTORE": { name: "Ricarica Totale" },
"REVIVE": { name: "Revive" }, "REVIVE": { name: "Revitalizzante" },
"MAX_REVIVE": { name: "Max Revive" }, "MAX_REVIVE": { name: "Revitalizzante Max" },
"FULL_HEAL": { name: "Full Heal" }, "FULL_HEAL": { name: "Cura Totale" },
"SACRED_ASH": { name: "Sacred Ash" }, "SACRED_ASH": { name: "Cenere Magica" },
"REVIVER_SEED": { name: "Reviver Seed", description: "Revives the holder for 1/2 HP upon fainting" }, "REVIVER_SEED": { name: "Revitalseme", description: "Il possessore recupera 1/2 di PS in caso di svenimento" },
"ETHER": { name: "Ether" }, "ETHER": { name: "Etere" },
"MAX_ETHER": { name: "Max Ether" }, "MAX_ETHER": { name: "Etere Max" },
"ELIXIR": { name: "Elixir" }, "ELIXIR": { name: "Elisir" },
"MAX_ELIXIR": { name: "Max Elixir" }, "MAX_ELIXIR": { name: "Elisir Max" },
"PP_UP": { name: "PP Up" }, "PP_UP": { name: "PP-su" },
"PP_MAX": { name: "PP Max" }, "PP_MAX": { name: "PP-max" },
"LURE": { name: "Lure" }, "LURE": { name: "Profumo Invito" },
"SUPER_LURE": { name: "Super Lure" }, "SUPER_LURE": { name: "Profumo Invito Super" },
"MAX_LURE": { name: "Max Lure" }, "MAX_LURE": { name: "Profumo Invito Max" },
"MEMORY_MUSHROOM": { name: "Memory Mushroom", description: "Recall one Pokémon's forgotten move" }, "MEMORY_MUSHROOM": { name: "Fungo della Memoria", description: "Ricorda la mossa dimenticata di un Pokémon" },
"EXP_SHARE": { name: "EXP. All", description: "Non-participants receive 20% of a single participant's EXP. Points" }, "EXP_SHARE": { name: "Condividi Esperienza", description: "Tutti i Pokémon della squadra ricevono il 20% dei Punti Esperienza dalla lotta anche se non vi hanno partecipato" },
"EXP_BALANCE": { name: "EXP. Balance", description: "Weighs EXP. Points received from battles towards lower-leveled party members" }, "EXP_BALANCE": { name: "Bilancia Esperienza", description: "Bilancia i Punti Esperienza ricevuti verso i Pokémon del gruppo di livello inferiore" },
"OVAL_CHARM": { name: "Oval Charm", description: "When multiple Pokémon participate in a battle, each gets an extra 10% of the total EXP" }, "OVAL_CHARM": { name: "Ovamuleto", description: "Quando più Pokémon partecipano a una battaglia, ognuno di essi riceve il 10% in più dell'esperienza totale" },
"EXP_CHARM": { name: "EXP. Charm" }, "EXP_CHARM": { name: "Esperienzamuleto" },
"SUPER_EXP_CHARM": { name: "Super EXP. Charm" }, "SUPER_EXP_CHARM": { name: "Esperienzamuleto Super" },
"GOLDEN_EXP_CHARM": { name: "Golden EXP. Charm" }, "GOLDEN_EXP_CHARM": { name: "Esperienzamuleto Oro" },
"LUCKY_EGG": { name: "Lucky Egg" }, "LUCKY_EGG": { name: "Uovo Fortunato" },
"GOLDEN_EGG": { name: "Golden Egg" }, "GOLDEN_EGG": { name: "Uovo d'Oro" },
"SOOTHE_BELL": { name: "Soothe Bell" }, "SOOTHE_BELL": { name: "Calmanella" },
"SOUL_DEW": { name: "Soul Dew", description: "Increases the influence of a Pokémon's nature on its stats by 10% (additive)" }, "SOUL_DEW": { name: "Cuorugiada", description: "Aumenta del 10% l'influenza della natura di un Pokémon sulle sue statistiche (Aggiuntivo)" },
"NUGGET": { name: "Nugget" }, "NUGGET": { name: "Pepita" },
"BIG_NUGGET": { name: "Big Nugget" }, "BIG_NUGGET": { name: "Granpepita" },
"RELIC_GOLD": { name: "Relic Gold" }, "RELIC_GOLD": { name: " Dobloantico" },
"AMULET_COIN": { name: "Amulet Coin", description: "Increases money rewards by 20%" }, "AMULET_COIN": { name: "Monetamuleto", description: "Aumenta le ricompense in denaro del 20%" },
"GOLDEN_PUNCH": { name: "Golden Punch", description: "Grants 50% of damage inflicted as money" }, "GOLDEN_PUNCH": { name: "Pugno Dorato", description: "Garantisce il 50% dei danni inflitti come denaro" },
"COIN_CASE": { name: "Coin Case", description: "After every 10th battle, receive 10% of your money in interest" }, "COIN_CASE": { name: " Salvadanaio", description: "Dopo ogni 10° battaglia, riceverete il 10% del vostro denaro in interessi" },
"LOCK_CAPSULE": { name: "Lock Capsule", description: "Allows you to lock item rarities when rerolling items" }, "LOCK_CAPSULE": { name: "Capsula Scrigno", description: "Permette di bloccare le rarità degli oggetti quando si fa un reroll degli oggetti" },
"GRIP_CLAW": { name: "Grip Claw" }, "GRIP_CLAW": { name: "Presartigli" },
"WIDE_LENS": { name: "Wide Lens" }, "WIDE_LENS": { name: "Grandelente" },
"MULTI_LENS": { name: "Multi Lens" }, "MULTI_LENS": { name: "Multilente" },
"HEALING_CHARM": { name: "Healing Charm", description: "Increases the effectiveness of HP restoring moves and items by 10% (excludes Revives)" }, "HEALING_CHARM": { name: "Curamuleto", description: "Aumenta del 10% l'efficacia delle mosse e degli oggetti che ripristinano gli PS (escluse le rianimazioni)" },
"CANDY_JAR": { name: "Candy Jar", description: "Increases the number of levels added by Rare Candy items by 1" }, "CANDY_JAR": { name: "Barattolo di caramelle", description: "Aumenta di 1 il numero di livelli aggiunti dalle Caramelle Rare" },
"BERRY_POUCH": { name: "Berry Pouch", description: "Adds a 25% chance that a used berry will not be consumed" }, "BERRY_POUCH": { name: "Porta Bacche", description: "Aggiunge il 25% di possibilità che una bacca usata non venga consumata" },
"FOCUS_BAND": { name: "Focus Band", description: "Adds a 10% chance to survive with 1 HP after being damaged enough to faint" }, "FOCUS_BAND": { name: "Bandana", description: "Chi ce l'ha ottiene il 10% di possibilità aggiuntivo di evitare un potenziale KO e rimanere con un solo PS" },
"QUICK_CLAW": { name: "Quick Claw", description: "Adds a 10% chance to move first regardless of speed (after priority)" }, "QUICK_CLAW": { name: "Rapidartigli", description: "Aggiunge una probabilità del 10% di muoversi per primi, indipendentemente dalla velocità (dopo la priorità)" },
"KINGS_ROCK": { name: "King's Rock", description: "Adds a 10% chance an attack move will cause the opponent to flinch" }, "KINGS_ROCK": { name: "Roccia di re", description: "Aggiunge il 10% di possibilità che una mossa d'attacco faccia tentennare l'avversario" },
"LEFTOVERS": { name: "Leftovers", description: "Heals 1/16 of a Pokémon's maximum HP every turn" }, "LEFTOVERS": { name: "Avanzi", description: "Ripristina 1/16 dei PS massimi di un Pokémon ogni turno" },
"SHELL_BELL": { name: "Shell Bell", description: "Heals 1/8 of a Pokémon's dealt damage" }, "SHELL_BELL": { name: "Conchinella", description: "Guarisce 1/8 del danno inflitto a un Pokémon" },
"BATON": { name: "Baton", description: "Allows passing along effects when switching Pokémon, which also bypasses traps" }, "BATON": { name: "Staffetta", description: "Permette di trasmettere gli effetti quando si cambia Pokémon, aggirando anche le trappole" },
"SHINY_CHARM": { name: "Shiny Charm", description: "Dramatically increases the chance of a wild Pokémon being Shiny" }, "SHINY_CHARM": { name: "Cromamuleto", description: "Misterioso amuleto luminoso che aumenta la probabilità di incontrare Pokémon cromatici" },
"ABILITY_CHARM": { name: "Ability Charm", description: "Dramatically increases the chance of a wild Pokémon having a Hidden Ability" }, "ABILITY_CHARM": { name: "Abilitamuleto", description: "Aumenta drasticamente la possibilità che un Pokémon selvatico abbia un'abilità nascosta" },
"IV_SCANNER": { name: "IV Scanner", description: "Allows scanning the IVs of wild Pokémon. 2 IVs are revealed per stack. The best IVs are shown first" }, "IV_SCANNER": { name: "Scanner IV", description: "Permette di scansionare gli IV dei Pokémon selvatici. Vengono rivelati 2 IV per pila. I migliori IV vengono mostrati per primi" },
"DNA_SPLICERS": { name: "DNA Splicers" }, "DNA_SPLICERS": { name: " Cuneo DNA" },
"MINI_BLACK_HOLE": { name: "Mini Black Hole" }, "MINI_BLACK_HOLE": { name: "Piccolo Buco Nero" },
"GOLDEN_POKEBALL": { name: "Golden Poké Ball", description: "Adds 1 extra item option at the end of every battle" }, "GOLDEN_POKEBALL": { name: "Poké Ball Oro", description: "Aggiunge 1 opzione di oggetto extra alla fine di ogni battaglia" },
"ENEMY_DAMAGE_BOOSTER": { name: "Damage Token", description: "Increases damage by 5%" }, "ENEMY_DAMAGE_BOOSTER": { name: "Gettone del Danno", description: "Aumenta il danno del 5%" },
"ENEMY_DAMAGE_REDUCTION": { name: "Protection Token", description: "Reduces incoming damage by 2.5%" }, "ENEMY_DAMAGE_REDUCTION": { name: "Gettone della Protezione", description: "Riduce i danni ricevuti del 2.5%" },
"ENEMY_HEAL": { name: "Recovery Token", description: "Heals 2% of max HP every turn" }, "ENEMY_HEAL": { name: "Gettone del Recupero", description: "Cura il 2% dei PS massimi ogni turno" },
"ENEMY_ATTACK_POISON_CHANCE": { name: "Poison Token" }, "ENEMY_ATTACK_POISON_CHANCE": { name: "Gettone del Veleno" },
"ENEMY_ATTACK_PARALYZE_CHANCE": { name: "Paralyze Token" }, "ENEMY_ATTACK_PARALYZE_CHANCE": { name: "Gettone della Paralisi" },
"ENEMY_ATTACK_SLEEP_CHANCE": { name: "Sleep Token" }, "ENEMY_ATTACK_SLEEP_CHANCE": { name: "Gettone del Sonno" },
"ENEMY_ATTACK_FREEZE_CHANCE": { name: "Freeze Token" }, "ENEMY_ATTACK_FREEZE_CHANCE": { name: "Gettone del Congelamento" },
"ENEMY_ATTACK_BURN_CHANCE": { name: "Burn Token" }, "ENEMY_ATTACK_BURN_CHANCE": { name: "Gettone della Bruciatura" },
"ENEMY_STATUS_EFFECT_HEAL_CHANCE": { name: "Full Heal Token", description: "Adds a 10% chance every turn to heal a status condition" }, "ENEMY_STATUS_EFFECT_HEAL_CHANCE": { name: "Gettone Guarigione Completa", description: "Aggiunge una probabilità del 10% a ogni turno di curare una condizione di stato" },
"ENEMY_ENDURE_CHANCE": { name: "Endure Token" }, "ENEMY_ENDURE_CHANCE": { name: "Gettone di Resistenza" },
"ENEMY_FUSED_CHANCE": { name: "Fusion Token", description: "Adds a 1% chance that a wild Pokémon will be a fusion" }, "ENEMY_FUSED_CHANCE": { name: "Gettone della fusione", description: "Aggiunge l'1% di possibilità che un Pokémon selvatico sia una fusione" },
}, },
TempBattleStatBoosterItem: { TempBattleStatBoosterItem: {
"x_attack": "X Attack", "x_attack": "Attacco X",
"x_defense": "X Defense", "x_defense": "Difesa X",
"x_sp_atk": "X Sp. Atk", "x_sp_atk": "Att. Speciale X",
"x_sp_def": "X Sp. Def", "x_sp_def": "Dif. Speciale X",
"x_speed": "X Speed", "x_speed": "Velocità X",
"x_accuracy": "X Accuracy", "x_accuracy": "Precisione X",
"dire_hit": "Dire Hit", "dire_hit": "Supercolpo",
}, },
AttackTypeBoosterItem: { AttackTypeBoosterItem: {
"silk_scarf": "Silk Scarf", "silk_scarf": "Sciarpa seta",
"black_belt": "Black Belt", "black_belt": "Cinturanera",
"sharp_beak": "Sharp Beak", "sharp_beak": "Beccaffilato",
"poison_barb": "Poison Barb", "poison_barb": "Velenaculeo",
"soft_sand": "Soft Sand", "soft_sand": "Sabbia soffice",
"hard_stone": "Hard Stone", "hard_stone": "Pietradura",
"silver_powder": "Silver Powder", "silver_powder": "Argenpolvere",
"spell_tag": "Spell Tag", "spell_tag": "Spettrotarga",
"metal_coat": "Metal Coat", "metal_coat": "Metalcopertura",
"charcoal": "Charcoal", "charcoal": "Carbonella",
"mystic_water": "Mystic Water", "mystic_water": "Acqua magica",
"miracle_seed": "Miracle Seed", "miracle_seed": "Miracolseme",
"magnet": "Magnet", "magnet": "Magnete",
"twisted_spoon": "Twisted Spoon", "twisted_spoon": "Cucchiaio torto",
"never_melt_ice": "Never-Melt Ice", "never_melt_ice": "Gelomai",
"dragon_fang": "Dragon Fang", "dragon_fang": "Dente di drago",
"black_glasses": "Black Glasses", "black_glasses": "Occhialineri",
"fairy_feather": "Fairy Feather", "fairy_feather": "Piuma fatata",
}, },
BaseStatBoosterItem: { BaseStatBoosterItem: {
"hp_up": "HP Up", "hp_up": "PS-su",
"protein": "Protein", "protein": "Proteina",
"iron": "Iron", "iron": "Ferro",
"calcium": "Calcium", "calcium": "Calcio",
"zinc": "Zinc", "zinc": "Zinco",
"carbos": "Carbos", "carbos": "Carburante",
}, },
EvolutionItem: { EvolutionItem: {
"NONE": "None", "NONE": "Nessuno",
"LINKING_CORD": "Linking Cord", "LINKING_CORD": "Filo dell'unione",
"SUN_STONE": "Sun Stone", "SUN_STONE": "Pietrasolare",
"MOON_STONE": "Moon Stone", "MOON_STONE": "Pietralunare",
"LEAF_STONE": "Leaf Stone", "LEAF_STONE": "Pietrafoglia",
"FIRE_STONE": "Fire Stone", "FIRE_STONE": "Pietrafocaia",
"WATER_STONE": "Water Stone", "WATER_STONE": "Pietraidrica",
"THUNDER_STONE": "Thunder Stone", "THUNDER_STONE": "Pietratuono",
"ICE_STONE": "Ice Stone", "ICE_STONE": "Pietragelo",
"DUSK_STONE": "Dusk Stone", "DUSK_STONE": "Neropietra",
"DAWN_STONE": "Dawn Stone", "DAWN_STONE": "Pietralbore",
"SHINY_STONE": "Shiny Stone", "SHINY_STONE": "Pietrabrillo",
"CRACKED_POT": "Cracked Pot", "CRACKED_POT": "Teiera rotta",
"SWEET_APPLE": "Sweet Apple", "SWEET_APPLE": "Dolcepomo",
"TART_APPLE": "Tart Apple", "TART_APPLE": "Aspropomo",
"STRAWBERRY_SWEET": "Strawberry Sweet", "STRAWBERRY_SWEET": "Bonbonfragola",
"UNREMARKABLE_TEACUP": "Unremarkable Teacup", "UNREMARKABLE_TEACUP": "Tazza dozzinale",
"CHIPPED_POT": "Chipped Pot", "CHIPPED_POT": "Teiera crepata",
"BLACK_AUGURITE": "Black Augurite", "BLACK_AUGURITE": "Augite nera",
"GALARICA_CUFF": "Galarica Cuff", "GALARICA_CUFF": "Fascia Galarnoce",
"GALARICA_WREATH": "Galarica Wreath", "GALARICA_WREATH": "Corona Galarnoce",
"PEAT_BLOCK": "Peat Block", "PEAT_BLOCK": "Blocco di torba",
"AUSPICIOUS_ARMOR": "Auspicious Armor", "AUSPICIOUS_ARMOR": "Armatura fausta",
"MALICIOUS_ARMOR": "Malicious Armor", "MALICIOUS_ARMOR": "Armatura infausta",
"MASTERPIECE_TEACUP": "Masterpiece Teacup", "MASTERPIECE_TEACUP": "Tazza eccezionale",
"METAL_ALLOY": "Metal Alloy", "METAL_ALLOY": "Metallo composito",
"SCROLL_OF_DARKNESS": "Scroll Of Darkness", "SCROLL_OF_DARKNESS": "Rotolo del Buio",
"SCROLL_OF_WATERS": "Scroll Of Waters", "SCROLL_OF_WATERS": "Rotolo dell'Acqua",
"SYRUPY_APPLE": "Syrupy Apple", "SYRUPY_APPLE": "Sciroppomo",
}, },
FormChangeItem: { FormChangeItem: {
"NONE": "None", "NONE": "Nessuno",
"ABOMASITE": "Abomasite", "ABOMASITE": "Abomasnowite",
"ABSOLITE": "Absolite", "ABSOLITE": "Absolite",
"AERODACTYLITE": "Aerodactylite", "AERODACTYLITE": "Aerodactylite",
"AGGRONITE": "Aggronite", "AGGRONITE": "Aggronite",
"ALAKAZITE": "Alakazite", "ALAKAZITE": "Alakazamite",
"ALTARIANITE": "Altarianite", "ALTARIANITE": "Altarite",
"AMPHAROSITE": "Ampharosite", "AMPHAROSITE": "Ampharosite",
"AUDINITE": "Audinite", "AUDINITE": "Audinite",
"BANETTITE": "Banettite", "BANETTITE": "Banettite",
"BEEDRILLITE": "Beedrillite", "BEEDRILLITE": "Beedrillite",
"BLASTOISINITE": "Blastoisinite", "BLASTOISINITE": "Blastoisite",
"BLAZIKENITE": "Blazikenite", "BLAZIKENITE": "Blazikenite",
"CAMERUPTITE": "Cameruptite", "CAMERUPTITE": "Cameruptite",
"CHARIZARDITE_X": "Charizardite X", "CHARIZARDITE_X": "Charizardite X",
@ -327,83 +327,83 @@ export const modifierType: ModifierTypeTranslationEntries = {
"GARCHOMPITE": "Garchompite", "GARCHOMPITE": "Garchompite",
"GARDEVOIRITE": "Gardevoirite", "GARDEVOIRITE": "Gardevoirite",
"GENGARITE": "Gengarite", "GENGARITE": "Gengarite",
"GLALITITE": "Glalitite", "GLALITITE": "Glalite",
"GYARADOSITE": "Gyaradosite", "GYARADOSITE": "Gyaradosite",
"HERACRONITE": "Heracronite", "HERACRONITE": "Heracronite",
"HOUNDOOMINITE": "Houndoominite", "HOUNDOOMINITE": "Houndoomite",
"KANGASKHANITE": "Kangaskhanite", "KANGASKHANITE": "Kangaskhanite",
"LATIASITE": "Latiasite", "LATIASITE": "Latiasite",
"LATIOSITE": "Latiosite", "LATIOSITE": "Latiosite",
"LOPUNNITE": "Lopunnite", "LOPUNNITE": "Lopunnite",
"LUCARIONITE": "Lucarionite", "LUCARIONITE": "Lucarite",
"MANECTITE": "Manectite", "MANECTITE": "Manectricite",
"MAWILITE": "Mawilite", "MAWILITE": "Mawilite",
"MEDICHAMITE": "Medichamite", "MEDICHAMITE": "Medichamite",
"METAGROSSITE": "Metagrossite", "METAGROSSITE": "Metagrossite",
"MEWTWONITE_X": "Mewtwonite X", "MEWTWONITE_X": "Mewtwoite X",
"MEWTWONITE_Y": "Mewtwonite Y", "MEWTWONITE_Y": "Mewtwoite Y",
"PIDGEOTITE": "Pidgeotite", "PIDGEOTITE": "Pidgeotite",
"PINSIRITE": "Pinsirite", "PINSIRITE": "Pinsirite",
"RAYQUAZITE": "Rayquazite", "RAYQUAZITE": "Rayquazite",
"SABLENITE": "Sablenite", "SABLENITE": "Sableyite",
"SALAMENCITE": "Salamencite", "SALAMENCITE": "Salamencite",
"SCEPTILITE": "Sceptilite", "SCEPTILITE": "Sceptilite",
"SCIZORITE": "Scizorite", "SCIZORITE": "Scizorite",
"SHARPEDONITE": "Sharpedonite", "SHARPEDONITE": "Sharpedite",
"SLOWBRONITE": "Slowbronite", "SLOWBRONITE": "Slowbroite",
"STEELIXITE": "Steelixite", "STEELIXITE": "Steelixite",
"SWAMPERTITE": "Swampertite", "SWAMPERTITE": "Swampertite",
"TYRANITARITE": "Tyranitarite", "TYRANITARITE": "Tyranitarite",
"VENUSAURITE": "Venusaurite", "VENUSAURITE": "Venusaurite",
"BLUE_ORB": "Blue Orb", "BLUE_ORB": "Gemma Blu",
"RED_ORB": "Red Orb", "RED_ORB": "Gemma Rossa",
"SHARP_METEORITE": "Sharp Meteorite", "SHARP_METEORITE": "Meteorite Tagliente",
"HARD_METEORITE": "Hard Meteorite", "HARD_METEORITE": "Meteorite Dura",
"SMOOTH_METEORITE": "Smooth Meteorite", "SMOOTH_METEORITE": "Meteorite Liscia",
"ADAMANT_CRYSTAL": "Adamant Crystal", "ADAMANT_CRYSTAL": "Adamasferoide",
"LUSTROUS_ORB": "Lustrous Orb", "LUSTROUS_ORB": "Splendisfera",
"GRISEOUS_CORE": "Griseous Core", "GRISEOUS_CORE": "Grigiosferoide",
"REVEAL_GLASS": "Reveal Glass", "REVEAL_GLASS": "Verispecchio",
"GRACIDEA": "Gracidea", "GRACIDEA": "Gracidea",
"MAX_MUSHROOMS": "Max Mushrooms", "MAX_MUSHROOMS": "Fungomax",
"DARK_STONE": "Dark Stone", "DARK_STONE": "Scurolite",
"LIGHT_STONE": "Light Stone", "LIGHT_STONE": "Chiarolite",
"PRISON_BOTTLE": "Prison Bottle", "PRISON_BOTTLE": "Vaso del Vincolo",
"N_LUNARIZER": "N Lunarizer", "N_LUNARIZER": "Necrolunix",
"N_SOLARIZER": "N Solarizer", "N_SOLARIZER": "Necrosolix",
"RUSTED_SWORD": "Rusted Sword", "RUSTED_SWORD": "Spada Rovinata",
"RUSTED_SHIELD": "Rusted Shield", "RUSTED_SHIELD": "Scudo Rovinato",
"ICY_REINS_OF_UNITY": "Icy Reins Of Unity", "ICY_REINS_OF_UNITY": "Briglie Legame Giaccio",
"SHADOW_REINS_OF_UNITY": "Shadow Reins Of Unity", "SHADOW_REINS_OF_UNITY": "Briglie legame Ombra",
"WELLSPRING_MASK": "Wellspring Mask", "WELLSPRING_MASK": "Maschera Pozzo",
"HEARTHFLAME_MASK": "Hearthflame Mask", "HEARTHFLAME_MASK": "Maschera Focolare",
"CORNERSTONE_MASK": "Cornerstone Mask", "CORNERSTONE_MASK": "Maschera Fondamenta",
"SHOCK_DRIVE": "Shock Drive", "SHOCK_DRIVE": "Voltmodulo",
"BURN_DRIVE": "Burn Drive", "BURN_DRIVE": "Piromodulo",
"CHILL_DRIVE": "Chill Drive", "CHILL_DRIVE": "Gelomodulo",
"DOUSE_DRIVE": "Douse Drive", "DOUSE_DRIVE": "Idromodulo",
}, },
TeraType: { TeraType: {
"UNKNOWN": "Unknown", "UNKNOWN": "Sconosciuto",
"NORMAL": "Normal", "NORMAL": "Normale",
"FIGHTING": "Fighting", "FIGHTING": "Lotta",
"FLYING": "Flying", "FLYING": "Volante",
"POISON": "Poison", "POISON": "Veleno",
"GROUND": "Ground", "GROUND": "Terra",
"ROCK": "Rock", "ROCK": "Roccia",
"BUG": "Bug", "BUG": "Coleottero",
"GHOST": "Ghost", "GHOST": "Spettro",
"STEEL": "Steel", "STEEL": "Acciaio",
"FIRE": "Fire", "FIRE": "Fuoco",
"WATER": "Water", "WATER": "Acqua",
"GRASS": "Grass", "GRASS": "Erba",
"ELECTRIC": "Electric", "ELECTRIC": "Elettro",
"PSYCHIC": "Psychic", "PSYCHIC": "Psico",
"ICE": "Ice", "ICE": "Ghiaccio",
"DRAGON": "Dragon", "DRAGON": "Drago",
"DARK": "Dark", "DARK": "Buio",
"FAIRY": "Fairy", "FAIRY": "Folletto",
"STELLAR": "Stellar", "STELLAR": "Astrale",
}, },
} as const; } as const;

View File

@ -44,8 +44,8 @@ export const trainerClasses: SimpleTranslationEntries = {
"depot_agent": "Depot Agent", "depot_agent": "Depot Agent",
"doctor": "Doctor", "doctor": "Doctor",
"doctor_female": "Doctor", "doctor_female": "Doctor",
"fishermen": "Fishermen", "fisherman": "Fisherman",
"fishermen_female": "Fishermen", "fisherman_female": "Fisherman",
"gentleman": "Gentleman", "gentleman": "Gentleman",
"guitarist": "Guitarist", "guitarist": "Guitarist",
"guitarist_female": "Guitarist", "guitarist_female": "Guitarist",
@ -61,15 +61,15 @@ export const trainerClasses: SimpleTranslationEntries = {
"maid": "Maid", "maid": "Maid",
"madame": "Madame", "madame": "Madame",
"medical_team": "Medical Team", "medical_team": "Medical Team",
"musican": "Musician", "musician": "Musician",
"hex_maniac": "Hex Maniac", "hex_maniac": "Hex Maniac",
"nurse": "Nurse", "nurse": "Nurse",
"nursery_aide": "Nursery Aide", "nursery_aide": "Nursery Aide",
"officer": "Officer", "officer": "Officer",
"parasol_lady": "Parasol Lady", "parasol_lady": "Parasol Lady",
"pilot": "Pilot", "pilot": "Pilot",
"poké_fan": "Poké Fan", "pokefan": "Poké Fan",
"poké_fan_family": "Poké Fan Family", "pokefan_family": "Poké Fan Family",
"preschooler": "Preschooler", "preschooler": "Preschooler",
"preschooler_female": "Preschooler", "preschooler_female": "Preschooler",
"preschoolers": "Preschoolers", "preschoolers": "Preschoolers",
@ -80,8 +80,12 @@ export const trainerClasses: SimpleTranslationEntries = {
"pokémon_rangers": "Pokémon Ranger", "pokémon_rangers": "Pokémon Ranger",
"ranger": "Ranger", "ranger": "Ranger",
"restaurant_staff": "Restaurant Staff", "restaurant_staff": "Restaurant Staff",
"rich": "Rich",
"rich_female": "Rich",
"rich_boy": "Rich Boy", "rich_boy": "Rich Boy",
"rich_couple": "Rich Couple", "rich_couple": "Rich Couple",
"rich_kid": "Rich Kid",
"rich_kid_female": "Rich Kid",
"rich_kids": "Rich Kids", "rich_kids": "Rich Kids",
"roughneck": "Roughneck", "roughneck": "Roughneck",
"scientist": "Scientist", "scientist": "Scientist",

View File

@ -0,0 +1,10 @@
import { SimpleTranslationEntries } from "#app/plugins/i18n";
export const battleMessageUiHandler: SimpleTranslationEntries = {
"ivBest": "Best",
"ivFantastic": "Fantastic",
"ivVeryGood": "Very Good",
"ivPrettyGood": "Pretty Good",
"ivDecent": "Decent",
"ivNoGood": "No Good",
} as const;

View File

@ -0,0 +1,48 @@
import { BerryTranslationEntries } from "#app/plugins/i18n";
export const berry: BerryTranslationEntries = {
"SITRUS": {
name: "Sitrus Berry",
effect: "Restores 25% HP if HP is below 50%",
},
"LUM": {
name: "Lum Berry",
effect: "Cures any non-volatile status condition and confusion",
},
"ENIGMA": {
name: "Enigma Berry",
effect: "Restores 25% HP if hit by a super effective move",
},
"LIECHI": {
name: "Liechi Berry",
effect: "Raises Attack if HP is below 25%",
},
"GANLON": {
name: "Ganlon Berry",
effect: "Raises Defense if HP is below 25%",
},
"PETAYA": {
name: "Petaya Berry",
effect: "Raises Sp. Atk if HP is below 25%",
},
"APICOT": {
name: "Apicot Berry",
effect: "Raises Sp. Def if HP is below 25%",
},
"SALAC": {
name: "Salac Berry",
effect: "Raises Speed if HP is below 25%",
},
"LANSAT": {
name: "Lansat Berry",
effect: "Raises critical hit ratio if HP is below 25%",
},
"STARF": {
name: "Starf Berry",
effect: "Sharply raises a random stat if HP is below 25%",
},
"LEPPA": {
name: "Leppa Berry",
effect: "Restores 10 PP to a move if its PP reaches 0",
},
} as const;

View File

@ -18,6 +18,7 @@ import { starterSelectUiHandler } from "./starter-select-ui-handler";
import { titles, trainerClasses, trainerNames } from "./trainers"; import { titles, trainerClasses, trainerNames } from "./trainers";
import { tutorial } from "./tutorial"; import { tutorial } from "./tutorial";
import { weather } from "./weather"; import { weather } from "./weather";
import { berry } from "./berry";
export const ptBrConfig = { export const ptBrConfig = {
@ -43,4 +44,5 @@ export const ptBrConfig = {
growth: growth, growth: growth,
weather: weather, weather: weather,
modifierType: modifierType, modifierType: modifierType,
berry: berry,
} }

View File

@ -60,8 +60,8 @@ export const trainerClasses: SimpleTranslationEntries = {
"linebacker": "Zagueiro", "linebacker": "Zagueiro",
"maid": "Doméstica", "maid": "Doméstica",
"madame": "Madame", "madame": "Madame",
"musican": "Músico",
"medical_team": "Equipe Médica", "medical_team": "Equipe Médica",
"musician": "Músico",
"hex_maniac": "Ocultista", "hex_maniac": "Ocultista",
"nurse": "Enfermeira", "nurse": "Enfermeira",
"nursery_aide": "Professora do Berçário", "nursery_aide": "Professora do Berçário",
@ -80,9 +80,13 @@ export const trainerClasses: SimpleTranslationEntries = {
"pokémon_rangers": "Guardas Pokémon", "pokémon_rangers": "Guardas Pokémon",
"ranger": "Guarda", "ranger": "Guarda",
"restaurant_staff": "Equipe do Restaurante", "restaurant_staff": "Equipe do Restaurante",
"rich": "Burguês",
"rich_female": "Burguesa",
"rich_boy": "Riquinho", "rich_boy": "Riquinho",
"rich_couple": "Casal Rico", "rich_couple": "Casal Burguês",
"rich_kids": "Riquinhos", "rich_kid": "Garoto Rico",
"rich_kid_female": "Garota Rica",
"rich_kids": "Garotos Ricos",
"roughneck": "Arruaceiro", "roughneck": "Arruaceiro",
"scientist": "Cientista", "scientist": "Cientista",
"scientist_female": "Cientista", "scientist_female": "Cientista",

View File

@ -0,0 +1,10 @@
import { SimpleTranslationEntries } from "#app/plugins/i18n";
export const battleMessageUiHandler: SimpleTranslationEntries = {
"ivBest": "Best",
"ivFantastic": "Fantastic",
"ivVeryGood": "Very Good",
"ivPrettyGood": "Pretty Good",
"ivDecent": "Decent",
"ivNoGood": "No Good",
} as const;

View File

@ -0,0 +1,48 @@
import { BerryTranslationEntries } from "#app/plugins/i18n";
export const berry: BerryTranslationEntries = {
"SITRUS": {
name: "文柚果",
effect: "HP低于50%时回复最大HP的25%",
},
"LUM": {
name: "木子果",
effect: "治愈任何异常状态和混乱状态",
},
"ENIGMA": {
name: "谜芝果",
effect: "受到效果绝佳的招式攻击时回复25%最大HP",
},
"LIECHI": {
name: "枝荔果",
effect: "HP低于25%时,攻击提升一个等级",
},
"GANLON": {
name: "龙睛果",
effect: "HP低于25%时,防御提升一个等级",
},
"PETAYA": {
name: "龙火果",
effect: "HP低于25%时,特攻提升一个等级",
},
"APICOT": {
name: "杏仔果",
effect: "HP低于25%时,特防提升一个等级",
},
"SALAC": {
name: "沙鳞果",
effect: "HP低于25%时,速度提升一个等级",
},
"LANSAT": {
name: "兰萨果",
effect: "HP低于25%时,击中要害率提升两个等级",
},
"STARF": {
name: "星桃果",
effect: "HP低于25%时,提高随机一项能力两个等级",
},
"LEPPA": {
name: "苹野果",
effect: "有招式的PP降到0时恢复该招式10PP",
},
} as const;

View File

@ -2,6 +2,7 @@ import { ability } from "./ability";
import { abilityTriggers } from "./ability-trigger"; import { abilityTriggers } from "./ability-trigger";
import { battle } from "./battle"; import { battle } from "./battle";
import { commandUiHandler } from "./command-ui-handler"; import { commandUiHandler } from "./command-ui-handler";
// import { egg } from "./egg";
import { fightUiHandler } from "./fight-ui-handler"; import { fightUiHandler } from "./fight-ui-handler";
import { growth } from "./growth"; import { growth } from "./growth";
import { menu } from "./menu"; import { menu } from "./menu";
@ -12,10 +13,13 @@ import { nature } from "./nature";
import { pokeball } from "./pokeball"; import { pokeball } from "./pokeball";
import { pokemon } from "./pokemon"; import { pokemon } from "./pokemon";
import { pokemonStat } from "./pokemon-stat"; import { pokemonStat } from "./pokemon-stat";
// import { splashMessages } from "./splash-messages";
import { starterSelectUiHandler } from "./starter-select-ui-handler"; import { starterSelectUiHandler } from "./starter-select-ui-handler";
import { titles, trainerClasses, trainerNames } from "./trainers"; import { titles, trainerClasses, trainerNames } from "./trainers";
import { tutorial } from "./tutorial"; import { tutorial } from "./tutorial";
import { weather } from "./weather"; import { weather } from "./weather";
import { battleMessageUiHandler } from "./battle-message-ui-handler";
import { berry } from "./berry";
export const zhCnConfig = { export const zhCnConfig = {
@ -23,21 +27,24 @@ export const zhCnConfig = {
abilityTriggers: abilityTriggers, abilityTriggers: abilityTriggers,
battle: battle, battle: battle,
commandUiHandler: commandUiHandler, commandUiHandler: commandUiHandler,
// egg: egg,
fightUiHandler: fightUiHandler, fightUiHandler: fightUiHandler,
menuUiHandler: menuUiHandler, growth: growth,
menu: menu, menu: menu,
menuUiHandler: menuUiHandler,
modifierType: modifierType,
move: move, move: move,
pokeball: pokeball,
pokemonStat: pokemonStat,
pokemon: pokemon,
starterSelectUiHandler: starterSelectUiHandler,
nature: nature, nature: nature,
pokeball: pokeball,
pokemon: pokemon,
pokemonStat: pokemonStat,
// splashMessages: splashMessages,
starterSelectUiHandler: starterSelectUiHandler,
titles: titles, titles: titles,
trainerClasses: trainerClasses, trainerClasses: trainerClasses,
trainerNames: trainerNames, trainerNames: trainerNames,
tutorial: tutorial, tutorial: tutorial,
nature: nature,
growth: growth,
weather: weather, weather: weather,
modifierType: modifierType, battleMessageUiHandler: battleMessageUiHandler,
} berry: berry,
}

View File

@ -2,239 +2,301 @@ import {SimpleTranslationEntries} from "#app/plugins/i18n";
// Titles of special trainers like gym leaders, elite four, and the champion // Titles of special trainers like gym leaders, elite four, and the champion
export const titles: SimpleTranslationEntries = { export const titles: SimpleTranslationEntries = {
"elite_four": "Elite Four", "elite_four": "四天王",
"gym_leader": "Gym Leader", "gym_leader": "道馆馆主",
"gym_leader_female": "Gym Leader", "gym_leader_female": "道馆馆主",
"champion": "Champion", "champion": "冠军",
"rival": "Rival", "rival": "劲敌",
"professor": "Professor", "professor": "博士",
"frontier_brain": "Frontier Brain", "frontier_brain": "开拓头脑",
// Maybe if we add the evil teams we can add "Team Rocket" and "Team Aqua" etc. here as well as "Team Rocket Boss" and "Team Aqua Admin" etc. // Maybe if we add the evil teams we can add "Team Rocket" and "Team Aqua" etc. here as well as "Team Rocket Boss" and "Team Aqua Admin" etc.
} as const; } as const;
// Titles of trainers like "Youngster" or "Lass" // Titles of trainers like "Youngster" or "Lass"
export const trainerClasses: SimpleTranslationEntries = { export const trainerClasses: SimpleTranslationEntries = {
"ace_trainer": "Ace Trainer", "ace_trainer": "精英训练家",
"ace_trainer_female": "Ace Trainer", "ace_trainer_female": "精英训练家",
"ace_duo": "Ace Duo", "ace_duo": "精英组合",
"artist": "Artist", "artist": "艺术家",
"artist_female": "Artist", "artist_female": "艺术家",
"backers": "Backers", "backers": "啦啦队",
"backpacker": "Backpacker", "backpacker": "背包客",
"backpacker_female": "Backpacker", "backpacker_female": "背包客",
"backpackers": "Backpackers", "backpackers": "背包客组合",
"baker": "Baker", "baker": "面包师",
"battle_girl": "Battle Girl", "battle_girl": "对战少女",
"beauty": "Beauty", "beauty": "大姐姐",
"beginners": "Beginners", "beginners": "新人训练家组合",
"biker": "Biker", "biker": "飙车族",
"black_belt": "Black Belt", "black_belt": "空手道王",
"breeder": "Breeder", "breeder": "宝可梦培育家",
"breeder_female": "Breeder", "breeder_female": "宝可梦培育家",
"breeders": "Breeders", "breeders": "宝可梦培育家组合",
"clerk": "Clerk", "clerk": "商务人士",
"clerk_female": "Clerk", "clerk_female": "职场OL",
"colleagues": "Colleagues", "colleagues": "商务伙伴",
"crush_kin": "Crush Kin", "crush_kin": "格斗姐弟",
"cyclist": "Cyclist", "cyclist": "自行车手",
"cyclist_female": "Cyclist", "cyclist_female": "自行车手",
"cyclists": "Cyclists", "cyclists": "自行车手组合",
"dancer": "Dancer", "dancer": "舞者",
"dancer_female": "Dancer", "dancer_female": "舞者",
"depot_agent": "Depot Agent", "depot_agent": "铁路员工",
"doctor": "Doctor", "doctor": "医生",
"doctor_female": "Doctor", "doctor_female": "医生",
"fishermen": "Fishermen", "fisherman": "垂钓者",
"fishermen_female": "Fishermen", "fisherman_female": "垂钓者",
"gentleman": "Gentleman", "gentleman": "绅士",
"guitarist": "Guitarist", "guitarist": "吉他手",
"guitarist_female": "Guitarist", "guitarist_female": "吉他手",
"harlequin": "Harlequin", "harlequin": "滑稽演员",
"hiker": "Hiker", "hiker": "登山男",
"hooligans": "Hooligans", "hooligans": "坏组合",
"hoopster": "Hoopster", "hoopster": "篮球选手",
"infielder": "Infielder", "infielder": "棒球选手",
"janitor": "Janitor", "janitor": "清洁员",
"lady": "Lady", "lady": "千金小姐",
"lass": "Lass", "lass": "迷你裙",
"linebacker": "Linebacker", "linebacker": "美式橄榄球选手",
"maid": "Maid", "maid": "女仆",
"madame": "Madame", "madame": "女士",
"medical_team": "Medical Team", "medical_team": "医疗团队",
"musican": "Musician", "musician": "音乐家",
"hex_maniac": "Hex Maniac", "hex_maniac": "灵异迷",
"nurse": "Nurse", "nurse": "护士",
"nursery_aide": "Nursery Aide", "nursery_aide": "幼儿园老师",
"officer": "Officer", "officer": "警察",
"parasol_lady": "Parasol Lady", "parasol_lady": "阳伞姐姐",
"pilot": "Pilot", "pilot": "飞行员",
"poké_fan": "Poké Fan", "pokefan": "发烧友俱乐部",
"poké_fan_family": "Poké Fan Family", "pokefan_family": "同好夫妇",
"preschooler": "Preschooler", "preschooler": "幼儿园小朋友",
"preschooler_female": "Preschooler", "preschooler_female": "幼儿园小朋友",
"preschoolers": "Preschoolers", "preschoolers": "幼儿园小朋友组合",
"psychic": "Psychic", "psychic": "超能力者",
"psychic_female": "Psychic", "psychic_female": "超能力者",
"psychics": "Psychics", "psychics": "超能力者组合",
"pokémon_ranger": "Pokémon Ranger", "pokémon_ranger": "宝可梦巡护员",
"pokémon_rangers": "Pokémon Ranger", "pokémon_rangers": "宝可梦巡护员组合",
"ranger": "Ranger", "ranger": "巡护员",
"restaurant_staff": "Restaurant Staff", "restaurant_staff": "服务生组合",
"rich_boy": "Rich Boy", "rich": "Rich",
"rich_couple": "Rich Couple", "rich_female": "Rich",
"rich_kids": "Rich Kids", "rich_boy": "富家少爷",
"roughneck": "Roughneck", "rich_couple": "富豪夫妇",
"scientist": "Scientist", "rich_kid": "Rich Kid",
"scientist_female": "Scientist", "rich_kid_female": "Rich Kid",
"scientists": "Scientists", "rich_kids": "富二代组合",
"smasher": "Smasher", "roughneck": "光头男",
"snow_worker": "Snow Worker", "scientist": "研究员",
"snow_worker_female": "Snow Worker", "scientist_female": "研究员",
"striker": "Striker", "scientists": "研究员组合",
"school_kid": "School Kid", "smasher": "网球选手",
"school_kid_female": "School Kid", "snow_worker": "雪地工人",
"school_kids": "School Kids", "snow_worker_female": "雪地工人",
"swimmer": "Swimmer", "striker": "足球选手",
"swimmer_female": "Swimmer", "school_kid": "补习班学生",
"swimmers": "Swimmers", "school_kid_female": "补习班学生",
"twins": "Twins", "school_kids": "补习班学生组合",
"veteran": "Veteran", "swimmer": "泳裤小伙子",
"veteran_female": "Veteran", "swimmer_female": "比基尼大姐姐",
"veteran_duo": "Veteran Duo", "swimmers": "泳装情侣",
"waiter": "Waiter", "twins": "双胞胎",
"waitress": "Waitress", "veteran": "资深训练家",
"worker": "Worker", "veteran_female": "资深训练家",
"worker_female": "Worker", "veteran_duo": "资深组合",
"workers": "Workers", "waiter": "服务生",
"youngster": "Youngster" "waitress": "女服务生",
"worker": "工人",
"worker_female": "工人",
"workers": "工人组合",
"youngster": "短裤小子"
} as const; } as const;
// Names of special trainers like gym leaders, elite four, and the champion // Names of special trainers like gym leaders, elite four, and the champion
export const trainerNames: SimpleTranslationEntries = { export const trainerNames: SimpleTranslationEntries = {
"brock": "Brock", // ---- 馆主 Gym leader ----
"misty": "Misty", // 关都地区 Kanto Region
"lt_surge": "Lt Surge", "brock": "小刚",
"erika": "Erika", "misty": "小霞",
"janine": "Janine", "lt_surge": "马志士",
"sabrina": "Sabrina", "erika": "莉佳",
"blaine": "Blaine", "janine": "阿杏",
"giovanni": "Giovanni", "sabrina": "娜姿",
"falkner": "Falkner", "blaine": "夏伯",
"bugsy": "Bugsy", "giovanni": "坂木",
"whitney": "Whitney",
"morty": "Morty", // 城都地区 Johto Region
"chuck": "Chuck", "falkner": "阿速",
"jasmine": "Jasmine", "bugsy": "阿笔",
"pryce": "Pryce", "whitney": "小茜",
"clair": "Clair", "morty": "松叶",
"roxanne": "Roxanne", "chuck": "阿四",
"brawly": "Brawly", "jasmine": "阿蜜",
"wattson": "Wattson", "pryce": "柳伯",
"flannery": "Flannery", "clair": "小椿",
"norman": "Norman",
"winona": "Winona", // 丰缘地区 Hoenn Region
"tate": "Tate", "roxanne": "杜娟",
"liza": "Liza", "brawly": "藤树",
"juan": "Juan", "wattson": "铁旋",
"roark": "Roark", "flannery": "亚莎",
"gardenia": "Gardenia", "norman": "千里",
"maylene": "Maylene", "winona": "娜琪",
"crasher_wake": "Crasher Wake", "tate": "小枫",
"fantina": "Fantina", "liza": "小南",
"byron": "Byron", "juan": "亚当",
"candice": "Candice",
"volkner": "Volkner", // 神奥地区 Sinnoh Region
"cilan": "Cilan", "roark": "瓢太",
"chili": "Chili", "gardenia": "菜种",
"cress": "Cress", "maylene": "阿李",
"cheren": "Cheren", "crasher_wake": "吉宪",
"lenora": "Lenora", "fantina": "梅丽莎",
"roxie": "Roxie", "byron": "东瓜",
"burgh": "Burgh", "candice": "小菘",
"elesa": "Elesa", "volkner": "电次",
"clay": "Clay",
"skyla": "Skyla", // 合众地区 Unova Region
"brycen": "Brycen", "cilan": "天桐",
"drayden": "Drayden", "chili": "伯特",
"marlon": "Marlon", "cress": "寇恩",
"viola": "Viola", "cheren": "黑连",
"grant": "Grant", "lenora": "芦荟",
"korrina": "Korrina", "roxie": "霍米加",
"ramos": "Ramos", "burgh": "亚堤",
"clemont": "Clemont", "elesa": "小菊儿",
"valerie": "Valerie", "clay": "菊老大",
"olympia": "Olympia", "skyla": "风露",
"wulfric": "Wulfric", "brycen": "哈奇库",
"milo": "Milo", "drayden": "夏卡",
"nessa": "Nessa", "marlon": "西子伊",
"kabu": "Kabu",
"bea": "Bea", // 卡洛斯地区 Kalos Region
"allister": "Allister", "viola": "紫罗兰",
"opal": "Opal", "grant": "查克洛",
"bede": "Bede", "korrina": "可尔妮",
"gordie": "Gordie", "ramos": "福爷",
"melony": "Melony", "clemont": "希特隆",
"piers": "Piers", "valerie": "玛绣",
"marnie": "Marnie", "olympia": "葛吉花",
"raihan": "Raihan", "wulfric": "得抚",
"katy": "Katy",
"brassius": "Brassius", // 伽勒尔地区 Galar Region
"iono": "Iono", "milo": "亚洛",
"kofu": "Kofu", "nessa": "露璃娜",
"larry": "Larry", "kabu": "卡芜",
"ryme": "Ryme", "bea": "彩豆",
"tulip": "Tulip", "allister": "欧尼奥",
"grusha": "Grusha", "opal": "波普菈",
"lorelei": "Lorelei", "bede": "彼特",
"bruno": "Bruno", "gordie": "玛瓜",
"agatha": "Agatha", "melony": "美蓉",
"lance": "Lance", "piers": "聂梓",
"will": "Will", "marnie": "玛俐",
"koga": "Koga", "raihan": "奇巴纳",
"karen": "Karen",
"sidney": "Sidney", // 帕底亚地区 Paldea Region
"phoebe": "Phoebe", "katy": "阿枫",
"glacia": "Glacia", "brassius": "寇沙",
"drake": "Drake", "iono": "奇树",
"aaron": "Aaron", "kofu": "海岱",
"bertha": "Bertha", "larry": "青木",
"flint": "Flint", "ryme": "莱姆",
"lucian": "Lucian", "tulip": "莉普",
"shauntal": "Shauntal", "grusha": "古鲁夏",
"marshal": "Marshal",
"grimsley": "Grimsley", // ---- 四天王 Elite Four ----
"caitlin": "Caitlin", // 关都地区 Kanto Region
"malva": "Malva", "lorelei": "科拿",
"siebold": "Siebold", "bruno": "希巴",
"wikstrom": "Wikstrom", "agatha": "菊子",
"drasna": "Drasna", "lance": "阿渡",
"hala": "Hala",
"molayne": "Molayne", // 城都地区 Johto Region
"olivia": "Olivia", "will": "一树",
"acerola": "Acerola", "koga": "阿桔",
"kahili": "Kahili", "karen": "梨花",
"rika": "Rika",
"poppy": "Poppy", // 丰都地区 Hoenn Region
"larry_elite": "Larry", // Does this really need to be an extra entry? (it is in trainer-type.ts so I added it here) "sidney": "花月",
"hassel": "Hassel", "phoebe": "芙蓉",
"crispin": "Crispin", "glacia": "波妮",
"amarys": "Amarys", "drake": "源治",
"lacey": "Lacey",
"drayton": "Drayton", // 神奥地区 Sinnoh Region
"blue": "Blue", "aaron": "阿柳",
"red": "Red", "bertha": "菊野",
"lance_champion": "Lance", // Does this really need to be an extra entry? (it is in trainer-type.ts so I added it here) "flint": "大叶",
"steven": "Steven", "lucian": "悟松",
"wallace": "Wallace",
"cynthia": "Cynthia", // 合众地区 Unova Region
"alder": "Alder", "shauntal": "婉龙",
"iris": "Iris", "marshal": "连武",
"diantha": "Diantha", "grimsley": "越橘",
"hau": "Hau", "caitlin": "嘉德丽雅",
"geeta": "Geeta",
"nemona": "Nemona", // 卡洛斯地区 Kalos Region
"kieran": "Kieran", "malva": "帕琦拉",
"leon": "Leon", "siebold": "志米",
"rival": "Finn", "wikstrom": "雁铠",
"rival_female": "Ivy", "drasna": "朵拉塞娜",
// 阿罗拉地区 Alola Region
"hala": "哈拉",
"molayne": "马睿因",
"olivia": "丽姿",
"acerola": "阿塞萝拉",
"kahili": "卡希丽",
// 帕底亚地区 Paldea Region
"rika": "辛俐",
"poppy": "波琵",
"larry_elite": "青木", // Does this really need to be an extra entry? (it is in trainer-type.ts so I added it here)
"hassel": "八朔",
// 蓝莓学院 Blueberry Academy
"crispin": "赤松",
"amarys": "纳莉",
"lacey": "紫竽",
"drayton": "杜若",
// ---- 冠军 Champion ----
// 关都地区 Kanto Region
"blue": "青绿",
"red": "赤红",
// 城都地区 Johto Region
"lance_champion": "阿渡", // Does this really need to be an extra entry? (it is in trainer-type.ts so I added it here)
// 丰缘地区 Hoenn Region
"steven": "大吾",
"wallace": "米可利",
// 神奥地区 Sinnoh Region
"cynthia": "竹兰",
// 合众地区 Unova Region
"alder": "阿戴克",
"iris": "艾莉丝",
// 卡洛斯地区 Kalos Region
"diantha": "卡露妮",
// 阿罗拉地区 Alola Region
"hau": "哈乌",
// 伽勒尔地区 Galar Region
"leon": "丹帝",
// 帕底亚地区 paldea Region
"geeta": "也慈",
"nemona": "妮莫",
// 蓝莓学院 Blueberry academy
"kieran": "乌栗",
// 劲敌 rival
"rival": "芬恩",
"rival_female": "艾薇",
} as const; } as const;

View File

@ -48,6 +48,13 @@ export const POKEBALL_OVERRIDE: { active: boolean, pokeballs: PokeballCounts } =
export const STARTER_FORM_OVERRIDE: integer = 0; export const STARTER_FORM_OVERRIDE: integer = 0;
// default 5 or 20 for Daily // default 5 or 20 for Daily
export const STARTING_LEVEL_OVERRIDE: integer = 0; export const STARTING_LEVEL_OVERRIDE: integer = 0;
/**
* SPECIES OVERRIDE
* will only apply to the first starter in your party or each enemy pokemon
* default is 0 to not override
* @example SPECIES_OVERRIDE = Species.Bulbasaur;
*/
export const STARTER_SPECIES_OVERRIDE: Species | integer = 0;
export const ABILITY_OVERRIDE: Abilities = Abilities.NONE; export const ABILITY_OVERRIDE: Abilities = Abilities.NONE;
export const PASSIVE_ABILITY_OVERRIDE: Abilities = Abilities.NONE; export const PASSIVE_ABILITY_OVERRIDE: Abilities = Abilities.NONE;
export const MOVESET_OVERRIDE: Array<Moves> = []; export const MOVESET_OVERRIDE: Array<Moves> = [];
@ -58,21 +65,13 @@ export const VARIANT_OVERRIDE: Variant = 0;
* OPPONENT / ENEMY OVERRIDES * OPPONENT / ENEMY OVERRIDES
*/ */
export const OPP_SPECIES_OVERRIDE: Species | integer = 0;
export const OPP_ABILITY_OVERRIDE: Abilities = Abilities.NONE; export const OPP_ABILITY_OVERRIDE: Abilities = Abilities.NONE;
export const OPP_PASSIVE_ABILITY_OVERRIDE = Abilities.NONE; export const OPP_PASSIVE_ABILITY_OVERRIDE = Abilities.NONE;
export const OPP_MOVESET_OVERRIDE: Array<Moves> = []; export const OPP_MOVESET_OVERRIDE: Array<Moves> = [];
export const OPP_SHINY_OVERRIDE: boolean = false; export const OPP_SHINY_OVERRIDE: boolean = false;
export const OPP_VARIANT_OVERRIDE: Variant = 0; export const OPP_VARIANT_OVERRIDE: Variant = 0;
/**
* SPECIES OVERRIDE
* will only apply to the first starter in your party or each enemy pokemon
* default is 0 to not override
* @example SPECIES_OVERRIDE = Species.Bulbasaur;
*/
export const STARTER_SPECIES_OVERRIDE: Species | integer = 0;
export const OPP_SPECIES_OVERRIDE: Species | integer = 0;
/** /**
* MODIFIER / ITEM OVERRIDES * MODIFIER / ITEM OVERRIDES
* if count is not provided, it will default to 1 * if count is not provided, it will default to 1

View File

@ -37,7 +37,7 @@ import { BattleType, BattlerIndex, TurnCommand } from "./battle";
import { BattleSpec } from "./enums/battle-spec"; import { BattleSpec } from "./enums/battle-spec";
import { Species } from "./data/enums/species"; import { Species } from "./data/enums/species";
import { HealAchv, LevelAchv, achvs } from "./system/achv"; import { HealAchv, LevelAchv, achvs } from "./system/achv";
import { TrainerSlot, trainerConfigs } from "./data/trainer-config"; import { TrainerConfig, TrainerSlot, trainerConfigs } from "./data/trainer-config";
import { TrainerType } from "./data/enums/trainer-type"; import { TrainerType } from "./data/enums/trainer-type";
import { EggHatchPhase } from "./egg-hatch-phase"; import { EggHatchPhase } from "./egg-hatch-phase";
import { Egg } from "./data/egg"; import { Egg } from "./data/egg";
@ -46,7 +46,7 @@ import { loggedInUser, updateUserInfo } from "./account";
import { PlayerGender, SessionSaveData } from "./system/game-data"; import { PlayerGender, SessionSaveData } from "./system/game-data";
import { addPokeballCaptureStars, addPokeballOpenParticles } from "./field/anims"; import { addPokeballCaptureStars, addPokeballOpenParticles } from "./field/anims";
import { SpeciesFormChangeActiveTrigger, SpeciesFormChangeManualTrigger, SpeciesFormChangeMoveLearnedTrigger, SpeciesFormChangePostMoveTrigger, SpeciesFormChangePreMoveTrigger } from "./data/pokemon-forms"; import { SpeciesFormChangeActiveTrigger, SpeciesFormChangeManualTrigger, SpeciesFormChangeMoveLearnedTrigger, SpeciesFormChangePostMoveTrigger, SpeciesFormChangePreMoveTrigger } from "./data/pokemon-forms";
import { battleSpecDialogue, getCharVariantFromDialogue } from "./data/dialogue"; import { battleSpecDialogue, getCharVariantFromDialogue, miscDialogue } from "./data/dialogue";
import ModifierSelectUiHandler, { SHOP_OPTIONS_ROW_LIMIT } from "./ui/modifier-select-ui-handler"; import ModifierSelectUiHandler, { SHOP_OPTIONS_ROW_LIMIT } from "./ui/modifier-select-ui-handler";
import { Setting } from "./system/settings"; import { Setting } from "./system/settings";
import { Tutorial, handleTutorial } from "./tutorial"; import { Tutorial, handleTutorial } from "./tutorial";
@ -59,6 +59,9 @@ import PokemonSpecies, { getPokemonSpecies, getPokemonSpeciesForm, speciesStarte
import i18next from './plugins/i18n'; import i18next from './plugins/i18n';
import { Abilities } from "./data/enums/abilities"; import { Abilities } from "./data/enums/abilities";
import * as Overrides from './overrides'; import * as Overrides from './overrides';
import { TextStyle, addTextObject } from "./ui/text";
import { Type } from "./data/type";
export class LoginPhase extends Phase { export class LoginPhase extends Phase {
private showText: boolean; private showText: boolean;
@ -160,7 +163,6 @@ export class TitlePhase extends Phase {
this.scene.gameData.getSession(loggedInUser.lastSessionSlot).then(sessionData => { this.scene.gameData.getSession(loggedInUser.lastSessionSlot).then(sessionData => {
if (sessionData) { if (sessionData) {
this.lastSessionData = sessionData; this.lastSessionData = sessionData;
console.log(sessionData);
const biomeKey = getBiomeKey(sessionData.arena.biome); const biomeKey = getBiomeKey(sessionData.arena.biome);
const bgTexture = `${biomeKey}_bg`; const bgTexture = `${biomeKey}_bg`;
this.scene.arenaBg.setTexture(bgTexture); this.scene.arenaBg.setTexture(bgTexture);
@ -1816,7 +1818,14 @@ export class CommandPhase extends FieldPhase {
if (!isSwitch && this.fieldIndex) if (!isSwitch && this.fieldIndex)
this.scene.currentBattle.turnCommands[this.fieldIndex - 1].skip = true; this.scene.currentBattle.turnCommands[this.fieldIndex - 1].skip = true;
} else if (trapTag) { } else if (trapTag) {
if (!isSwitch) { if(trapTag.sourceMove === Moves.INGRAIN && this.scene.getPokemonById(trapTag.sourceId).isOfType(Type.GHOST)) {
success = true;
this.scene.currentBattle.turnCommands[this.fieldIndex] = isSwitch
? { command: Command.POKEMON, cursor: cursor, args: args }
: { command: Command.RUN };
break;
}
if (!isSwitch) {
this.scene.ui.setMode(Mode.COMMAND, this.fieldIndex); this.scene.ui.setMode(Mode.COMMAND, this.fieldIndex);
this.scene.ui.setMode(Mode.MESSAGE); this.scene.ui.setMode(Mode.MESSAGE);
} }
@ -3219,11 +3228,10 @@ export class FaintPhase extends PokemonPhase {
if (defeatSource?.isOnField()) { if (defeatSource?.isOnField()) {
applyPostVictoryAbAttrs(PostVictoryAbAttr, defeatSource); applyPostVictoryAbAttrs(PostVictoryAbAttr, defeatSource);
const pvmove = allMoves[pokemon.turnData.attacksReceived[0].move]; const pvmove = allMoves[pokemon.turnData.attacksReceived[0].move];
const pvattrs = pvmove.getAttrs(PostVictoryStatChangeAttr); const pvattrs = pvmove.getAttrs(PostVictoryStatChangeAttr) as PostVictoryStatChangeAttr[];
if (pvattrs.length) { if (pvattrs.length) {
for (let pvattr of pvattrs) { for (let pvattr of pvattrs)
pvattr.applyPostVictory(defeatSource, defeatSource, pvmove); pvattr.applyPostVictory(defeatSource, defeatSource, pvmove);
}
} }
} }
} }
@ -3538,10 +3546,10 @@ export class GameOverModifierRewardPhase extends ModifierRewardPhase {
this.scene.playSound('level_up_fanfare'); this.scene.playSound('level_up_fanfare');
this.scene.ui.setMode(Mode.MESSAGE); this.scene.ui.setMode(Mode.MESSAGE);
this.scene.ui.fadeIn(250).then(() => { this.scene.ui.fadeIn(250).then(() => {
this.scene.ui.showText(`You received\n${newModifier.type.name}!`, null, () => { this.scene.ui.showText(`You received\n${newModifier.type.name}!`, null, () => {
this.scene.time.delayedCall(1500, () => this.scene.arenaBg.setVisible(true)); this.scene.time.delayedCall(1500, () => this.scene.arenaBg.setVisible(true));
resolve(); resolve();
}, null, true, 1500); }, null, true, 1500);
}); });
}); });
}) })
@ -3563,11 +3571,9 @@ export class RibbonModifierRewardPhase extends ModifierRewardPhase {
this.scene.addModifier(newModifier).then(() => { this.scene.addModifier(newModifier).then(() => {
this.scene.playSound('level_up_fanfare'); this.scene.playSound('level_up_fanfare');
this.scene.ui.setMode(Mode.MESSAGE); this.scene.ui.setMode(Mode.MESSAGE);
this.scene.ui.fadeIn(250).then(() => { this.scene.ui.showText(`${this.species.name} beat ${this.scene.gameMode.getName()} Mode for the first time!\nYou received ${newModifier.type.name}!`, null, () => {
this.scene.ui.showText(`${this.species.name} beat ${this.scene.gameMode.getName()} Mode for the first time!\nYou received ${newModifier.type.name}!`, null, () => { resolve();
resolve(); }, null, true, 1500);
}, null, true, 1500);
});
}); });
}) })
} }
@ -3619,6 +3625,7 @@ export class GameOverPhase extends BattlePhase {
handleGameOver(): void { handleGameOver(): void {
const doGameOver = (newClear: boolean) => { const doGameOver = (newClear: boolean) => {
this.scene.disableMenu = true;
this.scene.time.delayedCall(1000, () => { this.scene.time.delayedCall(1000, () => {
let firstClear = false; let firstClear = false;
if (this.victory && newClear) { if (this.victory && newClear) {
@ -3640,20 +3647,40 @@ export class GameOverPhase extends BattlePhase {
const activeBattlers = this.scene.getField().filter(p => p?.isActive(true)); const activeBattlers = this.scene.getField().filter(p => p?.isActive(true));
activeBattlers.map(p => p.hideInfo()); activeBattlers.map(p => p.hideInfo());
this.scene.ui.fadeOut(fadeDuration).then(() => { this.scene.ui.fadeOut(fadeDuration).then(() => {
[ this.scene.field, ...activeBattlers ].map(a => a.setVisible(false)); activeBattlers.map(a => a.setVisible(false));
this.scene.setFieldScale(1, true); this.scene.setFieldScale(1, true);
this.scene.clearPhaseQueue(); this.scene.clearPhaseQueue();
this.scene.ui.clearText(); this.scene.ui.clearText();
if (newClear)
this.handleUnlocks(); const clear = (endCardPhase?: EndCardPhase) => {
if (this.victory && newClear) { if (newClear)
for (let species of this.firstRibbons) this.handleUnlocks();
this.scene.unshiftPhase(new RibbonModifierRewardPhase(this.scene, modifierTypes.VOUCHER_PLUS, species)); if (this.victory && newClear) {
if (!firstClear) for (let species of this.firstRibbons)
this.scene.unshiftPhase(new GameOverModifierRewardPhase(this.scene, modifierTypes.VOUCHER_PREMIUM)); this.scene.unshiftPhase(new RibbonModifierRewardPhase(this.scene, modifierTypes.VOUCHER_PLUS, species));
if (!firstClear)
this.scene.unshiftPhase(new GameOverModifierRewardPhase(this.scene, modifierTypes.VOUCHER_PREMIUM));
}
this.scene.pushPhase(new PostGameOverPhase(this.scene, endCardPhase));
this.end();
} }
this.scene.pushPhase(new PostGameOverPhase(this.scene));
this.end(); if (this.victory && this.scene.gameMode.isClassic) {
this.scene.ui.fadeIn(500).then(() => {
this.scene.charSprite.showCharacter(`rival_${this.scene.gameData.gender === PlayerGender.FEMALE ? 'm' : 'f'}`, getCharVariantFromDialogue(miscDialogue.ending[this.scene.gameData.gender === PlayerGender.FEMALE ? 0 : 1])).then(() => {
this.scene.ui.showDialogue(miscDialogue.ending[this.scene.gameData.gender === PlayerGender.FEMALE ? 0 : 1], this.scene.gameData.gender === PlayerGender.FEMALE ? trainerConfigs[TrainerType.RIVAL].name : trainerConfigs[TrainerType.RIVAL].nameFemale, null, () => {
this.scene.ui.fadeOut(500).then(() => {
this.scene.charSprite.hide().then(() => {
const endCardPhase = new EndCardPhase(this.scene);
this.scene.unshiftPhase(endCardPhase);
clear(endCardPhase);
});
});
});
});
});
} else
clear();
}); });
}); });
}; };
@ -3696,6 +3723,41 @@ export class GameOverPhase extends BattlePhase {
} }
} }
export class EndCardPhase extends Phase {
public endCard: Phaser.GameObjects.Image;
public text: Phaser.GameObjects.Text;
constructor(scene: BattleScene) {
super(scene);
}
start(): void {
super.start();
this.scene.ui.getMessageHandler().bg.setVisible(false);
this.scene.ui.getMessageHandler().nameBoxContainer.setVisible(false);
this.endCard = this.scene.add.image(0, 0, `end_${this.scene.gameData.gender === PlayerGender.FEMALE ? 'f' : 'm'}`);
this.endCard.setOrigin(0);
this.endCard.setScale(0.5);
this.scene.field.add(this.endCard);
this.text = addTextObject(this.scene, this.scene.game.canvas.width / 12, (this.scene.game.canvas.height / 6) - 16, 'Congratulations!', TextStyle.SUMMARY, { fontSize: '128px' });
this.text.setOrigin(0.5);
this.scene.field.add(this.text);
this.scene.ui.clearText();
this.scene.ui.fadeIn(1000).then(() => {
this.scene.ui.showText('', null, () => {
this.scene.ui.getMessageHandler().bg.setVisible(true);
this.end();
}, null, true);
});
}
}
export class UnlockPhase extends Phase { export class UnlockPhase extends Phase {
private unlockable: Unlockables; private unlockable: Unlockables;
@ -3710,35 +3772,50 @@ export class UnlockPhase extends Phase {
this.scene.gameData.unlocks[this.unlockable] = true; this.scene.gameData.unlocks[this.unlockable] = true;
this.scene.playSound('level_up_fanfare'); this.scene.playSound('level_up_fanfare');
this.scene.ui.setMode(Mode.MESSAGE); this.scene.ui.setMode(Mode.MESSAGE);
this.scene.ui.fadeIn(250).then(() => { this.scene.ui.showText(`${getUnlockableName(this.unlockable)}\nhas been unlocked.`, null, () => {
this.scene.ui.showText(`${getUnlockableName(this.unlockable)}\nhas been unlocked.`, null, () => { this.scene.time.delayedCall(1500, () => this.scene.arenaBg.setVisible(true));
this.scene.time.delayedCall(1500, () => this.scene.arenaBg.setVisible(true)); this.end();
this.end(); }, null, true, 1500);
}, null, true, 1500);
});
}); });
} }
} }
export class PostGameOverPhase extends Phase { export class PostGameOverPhase extends Phase {
constructor(scene: BattleScene) { private endCardPhase: EndCardPhase;
constructor(scene: BattleScene, endCardPhase: EndCardPhase) {
super(scene); super(scene);
this.endCardPhase = endCardPhase;
} }
start() { start() {
super.start(); super.start();
this.scene.gameData.saveAll(this.scene, true, true, true).then(success => { const saveAndReset = () => {
if (!success) this.scene.gameData.saveAll(this.scene, true, true, true).then(success => {
return this.scene.reset(true); if (!success)
this.scene.gameData.tryClearSession(this.scene, this.scene.sessionSlotId).then((success: boolean | [boolean, boolean]) => {
if (!success[0])
return this.scene.reset(true); return this.scene.reset(true);
this.scene.reset(); this.scene.gameData.tryClearSession(this.scene, this.scene.sessionSlotId).then((success: boolean | [boolean, boolean]) => {
this.scene.unshiftPhase(new TitlePhase(this.scene)); if (!success[0])
this.end(); return this.scene.reset(true);
this.scene.reset();
this.scene.unshiftPhase(new TitlePhase(this.scene));
this.end();
});
}); });
}); };
if (this.endCardPhase) {
this.scene.ui.fadeOut(500).then(() => {
this.scene.ui.getMessageHandler().bg.setVisible(true);
this.endCardPhase.endCard.destroy();
this.endCardPhase.text.destroy();
saveAndReset();
});
} else
saveAndReset();
} }
} }

View File

@ -46,6 +46,15 @@ export interface ModifierTypeTranslationEntries {
TeraType: SimpleTranslationEntries, TeraType: SimpleTranslationEntries,
} }
export interface BerryTranslationEntry {
name: string,
effect: string
}
export interface BerryTranslationEntries {
[key: string]: BerryTranslationEntry
}
export interface Localizable { export interface Localizable {
localize(): void; localize(): void;
} }
@ -139,6 +148,8 @@ declare module 'i18next' {
egg: SimpleTranslationEntries; egg: SimpleTranslationEntries;
weather: SimpleTranslationEntries; weather: SimpleTranslationEntries;
modifierType: ModifierTypeTranslationEntries; modifierType: ModifierTypeTranslationEntries;
battleMessageUiHandler: SimpleTranslationEntries;
berry: BerryTranslationEntries;
}; };
} }
} }
@ -149,4 +160,4 @@ export function getIsInitialized(): boolean {
return isInitialized; return isInitialized;
} }
let isInitialized = false; let isInitialized = false;

View File

@ -260,8 +260,23 @@ export default class BattleInfo extends Phaser.GameObjects.Container {
if (!this.player) { if (!this.player) {
const dexEntry = pokemon.scene.gameData.dexData[pokemon.species.speciesId]; const dexEntry = pokemon.scene.gameData.dexData[pokemon.species.speciesId];
this.ownedIcon.setVisible(!!dexEntry.caughtAttr); this.ownedIcon.setVisible(!!dexEntry.caughtAttr);
const dexAttr = pokemon.getDexAttr(); const opponentPokemonDexAttr = pokemon.getDexAttr();
if ((dexEntry.caughtAttr & dexAttr) < dexAttr || !(pokemon.scene.gameData.starterData[pokemon.species.getRootSpeciesId()].abilityAttr & Math.pow(2, pokemon.abilityIndex)))
// Check if Player owns all genders and forms of the Pokemon
const missingDexAttrs = ((dexEntry.caughtAttr & opponentPokemonDexAttr) < opponentPokemonDexAttr);
/**
* If the opposing Pokemon only has 1 normal ability and is using the hidden ability it should have the same behavior
* if it had 2 normal abilities. This code checks if that is the case and uses the correct opponent Pokemon abilityIndex (2)
* for calculations so it aligns with where the hidden ability is stored in the starter data's abilityAttr (4)
*/
const opponentPokemonOneNormalAbility = (pokemon.species.getAbilityCount() === 2);
const opponentPokemonAbilityIndex = (opponentPokemonOneNormalAbility && pokemon.abilityIndex === 1) ? 2 : pokemon.abilityIndex;
const opponentPokemonAbilityAttr = Math.pow(2, opponentPokemonAbilityIndex);
const rootFormHasHiddenAbility = pokemon.scene.gameData.starterData[pokemon.species.getRootSpeciesId()].abilityAttr & opponentPokemonAbilityAttr;
if (missingDexAttrs || !rootFormHasHiddenAbility)
this.ownedIcon.setTint(0x808080); this.ownedIcon.setTint(0x808080);
if (this.boss) if (this.boss)

View File

@ -7,6 +7,7 @@ import { getStatName, Stat } from "../data/pokemon-stat";
import { addWindow } from "./ui-theme"; import { addWindow } from "./ui-theme";
import BBCodeText from "phaser3-rex-plugins/plugins/bbcodetext"; import BBCodeText from "phaser3-rex-plugins/plugins/bbcodetext";
import {Button} from "../enums/buttons"; import {Button} from "../enums/buttons";
import i18next from '../plugins/i18n';
export default class BattleMessageUiHandler extends MessageUiHandler { export default class BattleMessageUiHandler extends MessageUiHandler {
private levelUpStatsContainer: Phaser.GameObjects.Container; private levelUpStatsContainer: Phaser.GameObjects.Container;
@ -31,7 +32,7 @@ export default class BattleMessageUiHandler extends MessageUiHandler {
this.textCallbackTimer = null; this.textCallbackTimer = null;
const bg = this.scene.add.sprite(0, 0, 'bg', this.scene.windowType); const bg = this.scene.add.sprite(0, 0, 'bg', this.scene.windowType);
bg.setOrigin(0, 1); bg.setOrigin(0, 1);
ui.add(bg); ui.add(bg);
this.bg = bg; this.bg = bg;
@ -234,20 +235,20 @@ export default class BattleMessageUiHandler extends MessageUiHandler {
const textStyle: TextStyle = isBetter ? TextStyle.SUMMARY_GREEN : TextStyle.SUMMARY; const textStyle: TextStyle = isBetter ? TextStyle.SUMMARY_GREEN : TextStyle.SUMMARY;
const color = getTextColor(textStyle, false, uiTheme); const color = getTextColor(textStyle, false, uiTheme);
return `[color=${color}][shadow=${getTextColor(textStyle, true, uiTheme)}]${text}[/shadow][/color]`; return `[color=${color}][shadow=${getTextColor(textStyle, true, uiTheme)}]${text}[/shadow][/color]`;
}; };
if (value > 30) if (value > 30)
return coloredText('Best', value > starterIvs[typeIv]); return coloredText(i18next.t('battleMessageUiHandler:ivBest'), value > starterIvs[typeIv]);
if (value === 30) if (value === 30)
return coloredText('Fantastic', value > starterIvs[typeIv]); return coloredText(i18next.t('battleMessageUiHandler:ivFantastic'), value > starterIvs[typeIv]);
if (value > 20) if (value > 20)
return coloredText('Very Good', value > starterIvs[typeIv]); return coloredText(i18next.t('battleMessageUiHandler:ivVeryGood'), value > starterIvs[typeIv]);
if (value > 10) if (value > 10)
return coloredText('Pretty Good', value > starterIvs[typeIv]); return coloredText(i18next.t('battleMessageUiHandler:ivPrettyGood'), value > starterIvs[typeIv]);
if (value > 0) if (value > 0)
return coloredText('Decent', value > starterIvs[typeIv]); return coloredText(i18next.t('battleMessageUiHandler:ivDecent'), value > starterIvs[typeIv]);
return coloredText('No Good', value > starterIvs[typeIv]); return coloredText(i18next.t('battleMessageUiHandler:ivNoGood'), value > starterIvs[typeIv]);
} }
showNameText(name: string): void { showNameText(name: string): void {