From b5b19ce5df4c006865270d1d1db3088bfcb113fb Mon Sep 17 00:00:00 2001 From: Jimmybald1 <147992650+IBBCalc@users.noreply.github.com> Date: Tue, 27 May 2025 11:31:37 +0200 Subject: [PATCH] comments --- src/field/pokemon.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index bd9056dee41..2610311f4d2 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -7878,7 +7878,11 @@ export class PokemonSummonData { } } - // TODO: Merge this inside `summmonData` but exclude from save if/when a save data serializer is added +/** + * Pokemon data that is not stored in `SummonData` to avoid being written to the save file. + * + * TODO: Merge this inside `summmonData` but exclude from save if/when a save data serializer is added + */ export class PokemonTempSummonData { /** * The number of turns this pokemon has spent without switching out. @@ -7889,7 +7893,7 @@ export class PokemonTempSummonData { /** * The number of turns this pokemon has spent in the active position since the start of the wave * without switching out. - * Reset on switch and new wave, but not stored in `SummonData` to avoid being written to the save file. + * Reset on switch and new wave. * * Used to evaluate "first turn only" conditions such as * {@linkcode Moves.FAKE_OUT | Fake Out} and {@linkcode Moves.FIRST_IMPRESSION | First Impression}). @@ -7899,7 +7903,7 @@ export class PokemonTempSummonData { /** * An array containing all moves this Pokemon has used since the start of the wave * without switching out. - * Reset on switch and new wave, but not stored in `SummonData` to avoid being written to the save file. + * Reset on switch and new wave. * Used to calculate {@link https://bulbapedia.bulbagarden.net/wiki/Protection | Protecting moves}' fail chances. */