diff --git a/stats/src/display.ts b/stats/src/display.ts index 1053458..df514e3 100644 --- a/stats/src/display.ts +++ b/stats/src/display.ts @@ -129,7 +129,8 @@ export const Display = new class { const o = gen.items.get(item); return (o?.name) ?? item; }), - teraTypes: toDisplayObject(p.teraTypes, p.raw.weight, teraType => teraType[0].toUpperCase() + teraType.slice(1)), + teraTypes: toDisplayObject(p.teraTypes, p.raw.weight, + teraType => teraType[0].toUpperCase() + teraType.slice(1)), stats: toDisplayObject(p.stats, p.raw.weight), moves: toDisplayObject(p.moves, p.raw.weight, move => { if (move === '') return 'Nothing'; @@ -242,7 +243,8 @@ export const Display = new class { const o = gen.items.get(item); return (o?.name) ?? item; }), - teraTypes: toDisplayObject(p['Tera Types'], rawWeight, teraType => teraType[0].toUpperCase() + teraType.slice(1)), + teraTypes: toDisplayObject(p['Tera Types'], rawWeight, + teraType => teraType[0].toUpperCase() + teraType.slice(1)), happinesses: p.Happiness ? toDisplayObject(p.Happiness, rawWeight) : undefined, spreads: toDisplayObject(p.Spreads, rawWeight), moves: toDisplayObject(p.Moves, rawWeight, move => { diff --git a/stats/src/reports.ts b/stats/src/reports.ts index ec764f0..2b5aff5 100644 --- a/stats/src/reports.ts +++ b/stats/src/reports.ts @@ -690,7 +690,8 @@ function toMovesetStatistics(gen: Generation, format: ID, stats: Statistics, min const o = gen.items.get(item); return (o?.name) ?? item; }), - 'Tera Types': util.toDisplayObject(pokemon.teraTypes, teraType => teraType[0].toUpperCase() + teraType.slice(1)), + 'Tera Types': util.toDisplayObject(pokemon.teraTypes, + teraType => teraType[0].toUpperCase() + teraType.slice(1)), Spreads: util.toDisplayObject(pokemon.spreads), Happiness: util.toDisplayObject(pokemon.happinesses), Moves: util.toDisplayObject(pokemon.moves, move => {