remove commented code
This commit is contained in:
parent
f803de6b23
commit
872242c44f
|
@ -34,8 +34,6 @@ describe("Mystery Encounter Utils", () => {
|
||||||
game = new GameManager(phaserGame);
|
game = new GameManager(phaserGame);
|
||||||
scene = game.scene;
|
scene = game.scene;
|
||||||
initSceneWithoutEncounterPhase(game.scene, [Species.ARCEUS, Species.MANAPHY]);
|
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", () => {
|
describe("getRandomPlayerPokemon", () => {
|
||||||
|
|
|
@ -103,7 +103,6 @@ export default class MysteryEncounterUiHandler extends UiHandler {
|
||||||
if (cursor === this.viewPartyIndex) {
|
if (cursor === this.viewPartyIndex) {
|
||||||
// Handle view party
|
// Handle view party
|
||||||
success = true;
|
success = true;
|
||||||
// this.clear();
|
|
||||||
this.scene.ui.setMode(Mode.PARTY, PartyUiMode.CHECK, -1, () => {
|
this.scene.ui.setMode(Mode.PARTY, PartyUiMode.CHECK, -1, () => {
|
||||||
this.scene.ui.setMode(Mode.MYSTERY_ENCOUNTER, true);
|
this.scene.ui.setMode(Mode.MYSTERY_ENCOUNTER, true);
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
@ -116,7 +115,6 @@ export default class MysteryEncounterUiHandler extends UiHandler {
|
||||||
} else {
|
} else {
|
||||||
const selected = this.filteredEncounterOptions[cursor];
|
const selected = this.filteredEncounterOptions[cursor];
|
||||||
if ((this.scene.getCurrentPhase() as MysteryEncounterPhase).handleOptionSelect(selected, cursor)) {
|
if ((this.scene.getCurrentPhase() as MysteryEncounterPhase).handleOptionSelect(selected, cursor)) {
|
||||||
// this.clear();
|
|
||||||
success = true;
|
success = true;
|
||||||
} else {
|
} else {
|
||||||
ui.playError();
|
ui.playError();
|
||||||
|
|
Loading…
Reference in New Issue