remove commented code

This commit is contained in:
ImperialSympathizer 2024-07-07 10:49:22 -04:00
parent f803de6b23
commit 872242c44f
2 changed files with 0 additions and 4 deletions

View File

@ -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", () => {

View File

@ -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();