From 1a179cc9cb33e6a347be7f71e9a46a09963a06da Mon Sep 17 00:00:00 2001 From: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com> Date: Thu, 11 Sep 2025 22:26:17 -0500 Subject: [PATCH] Adjust type of `getStats` --- src/field/pokemon.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index 4d47ae1b412..ea0c026bf45 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -1320,7 +1320,7 @@ export abstract class Pokemon extends Phaser.GameObjects.Container { * @param bypassSummonData - Whether to prefer actual stats (`true`) or in-battle overridden stats (`false`); default `true` * @returns The numeric values of this {@linkcode Pokemon}'s stats as an array. */ - getStats(bypassSummonData = true): ArrayLike { + getStats(bypassSummonData = true): Uint32Array { if (!bypassSummonData) { // Only grab summon data stats if nonzero return this.summonData.stats.map((s, i) => s || this.stats[i]);