diff --git a/src/modifier/modifier-type.ts b/src/modifier/modifier-type.ts index 85b9c916cdb..45cdd9c4c98 100644 --- a/src/modifier/modifier-type.ts +++ b/src/modifier/modifier-type.ts @@ -144,13 +144,14 @@ class AddPokeballModifierType extends ModifierType implements Localizable { } localize(): void { + // TODO: Actually use i18n to localize this description. this.name = `${this.count}x ${getPokeballName(this.pokeballType)}`; this.description = `Receive ${getPokeballName(this.pokeballType)} x${this.count} (Inventory: {AMOUNT}) \nCatch Rate: ${getPokeballCatchMultiplier(this.pokeballType) > -1 ? `${getPokeballCatchMultiplier(this.pokeballType)}x` : 'Certain'}`; } getDescription(scene: BattleScene): string { this.localize(); - return this.description.replace('{AMOUNT}', scene.pokeballCounts[this.pokeballType].toLocaleString('en-US')); + return this.description.replace('{AMOUNT}', scene.pokeballCounts[this.pokeballType].toString()); } }