Fix daily mode test being unreliable (#3840)

This commit is contained in:
NightKev 2024-08-26 20:17:27 -07:00 committed by GitHub
parent 930e3289f2
commit 5b400af5b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,7 +28,7 @@ export class DailyModeHelper extends GameManagerHelper {
uihandler.processInput(Button.ACTION); // select first slot. that's fine uihandler.processInput(Button.ACTION); // select first slot. that's fine
}); });
await this.game.phaseInterceptor.run(EncounterPhase); await this.game.phaseInterceptor.to(EncounterPhase);
if (overrides.OPP_HELD_ITEMS_OVERRIDE.length === 0) { if (overrides.OPP_HELD_ITEMS_OVERRIDE.length === 0) {
this.game.removeEnemyHeldItems(); this.game.removeEnemyHeldItems();