From dd972376d5789bf819af515f510d2217580bd154 Mon Sep 17 00:00:00 2001 From: RedstonewolfX <108761527+RedstonewolfX@users.noreply.github.com> Date: Tue, 24 Sep 2024 20:26:59 -0400 Subject: [PATCH] Remove IntegerHolder (1/2) --- 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 c58be8a23d6..06e01029d3a 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -1913,7 +1913,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container { if (!this.shiny || (!variantData.hasOwnProperty(variantDataIndex) && !variantData.hasOwnProperty(this.species.speciesId))) { return 0; } - const rand = new Utils.IntegerHolder(0); + const rand = new Utils.NumberHolder(0); this.scene.executeWithSeedOffset(() => { rand.value = Utils.randSeedInt(10); }, this.id, this.scene.waveSeed);