From 9cca4131c235b3de82a6ec39baccfc8a16994fc6 Mon Sep 17 00:00:00 2001 From: NightKev <34855794+DayKev@users.noreply.github.com> Date: Thu, 15 Aug 2024 23:05:03 -0700 Subject: [PATCH] Don't recalculate stats that already exist --- src/field/pokemon.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index 930ffeb700f..4b79765d304 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -242,7 +242,9 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container { this.shiny = false; } - this.calculateStats(); + if (!dataSource) { + this.calculateStats(); + } }