From 872242c44fa7ef9b4da191c6fa3e343597893b25 Mon Sep 17 00:00:00 2001 From: ImperialSympathizer Date: Sun, 7 Jul 2024 10:49:22 -0400 Subject: [PATCH] remove commented code --- src/test/mystery-encounter/mystery-encounter-utils.test.ts | 2 -- src/ui/mystery-encounter-ui-handler.ts | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/test/mystery-encounter/mystery-encounter-utils.test.ts b/src/test/mystery-encounter/mystery-encounter-utils.test.ts index 4b514b13e01..6f1bccd359c 100644 --- a/src/test/mystery-encounter/mystery-encounter-utils.test.ts +++ b/src/test/mystery-encounter/mystery-encounter-utils.test.ts @@ -34,8 +34,6 @@ describe("Mystery Encounter Utils", () => { game = new GameManager(phaserGame); scene = game.scene; initSceneWithoutEncounterPhase(game.scene, [Species.ARCEUS, Species.MANAPHY]); - // vi.spyOn(overrides, "MYSTERY_ENCOUNTER_RATE_OVERRIDE", "get").mockReturnValue(256); - // vi.spyOn(overrides, "STARTING_WAVE_OVERRIDE", "get").mockReturnValue(11); }); describe("getRandomPlayerPokemon", () => { diff --git a/src/ui/mystery-encounter-ui-handler.ts b/src/ui/mystery-encounter-ui-handler.ts index d8981f7da0d..ce49a9f280d 100644 --- a/src/ui/mystery-encounter-ui-handler.ts +++ b/src/ui/mystery-encounter-ui-handler.ts @@ -103,7 +103,6 @@ export default class MysteryEncounterUiHandler extends UiHandler { if (cursor === this.viewPartyIndex) { // Handle view party success = true; - // this.clear(); this.scene.ui.setMode(Mode.PARTY, PartyUiMode.CHECK, -1, () => { this.scene.ui.setMode(Mode.MYSTERY_ENCOUNTER, true); setTimeout(() => { @@ -116,7 +115,6 @@ export default class MysteryEncounterUiHandler extends UiHandler { } else { const selected = this.filteredEncounterOptions[cursor]; if ((this.scene.getCurrentPhase() as MysteryEncounterPhase).handleOptionSelect(selected, cursor)) { - // this.clear(); success = true; } else { ui.playError();