From 7f0496c92ee70be614a91deeab338269bef5f47f Mon Sep 17 00:00:00 2001 From: Bertie690 Date: Mon, 11 Aug 2025 15:15:06 -0400 Subject: [PATCH] Removed more maps and sufff --- src/battle-scene.ts | 8 ++++++-- src/loading-scene.ts | 4 +++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/battle-scene.ts b/src/battle-scene.ts index de36c9d1e2d..978c3afab01 100644 --- a/src/battle-scene.ts +++ b/src/battle-scene.ts @@ -1204,7 +1204,9 @@ export class BattleScene extends SceneBase { this.updateScoreText(); this.scoreText.setVisible(false); - [this.luckLabelText, this.luckText].map(t => t.setVisible(false)); + [this.luckLabelText, this.luckText].forEach(t => { + t.setVisible(false); + }); this.newArena(Overrides.STARTING_BIOME_OVERRIDE || BiomeId.TOWN); @@ -2711,7 +2713,9 @@ export class BattleScene extends SceneBase { } } - this.party.map(p => p.updateInfo(instant)); + this.party.forEach(p => { + p.updateInfo(instant); + }); } else { const args = [this]; if (modifier.shouldApply(...args)) { diff --git a/src/loading-scene.ts b/src/loading-scene.ts index d2b4a76ef10..6ff39ef3dde 100644 --- a/src/loading-scene.ts +++ b/src/loading-scene.ts @@ -447,7 +447,9 @@ export class LoadingScene extends SceneBase { ); if (!mobile) { - loadingGraphics.map(g => g.setVisible(false)); + loadingGraphics.forEach(g => { + g.setVisible(false); + }); } const intro = this.add.video(0, 0);