mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-30 02:36:11 +00:00
remove commented code
This commit is contained in:
parent
f803de6b23
commit
872242c44f
@ -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", () => {
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user