Update move-phase.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
Bertie690 2025-06-10 08:11:00 -04:00 committed by GitHub
parent 5c5da889d7
commit 5632ad70bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -129,13 +129,6 @@ export class MovePhase extends BattlePhase {
public start(): void {
super.start();
// Cover our bases - if we have no use type
if (!this.useMode) {
console.warn(`Unexpected MoveUseMode of ${this.useMode} during move phase!`);
// @ts-expect-error - useMode is readonly and shouldn't normally be assigned to
this.useMode = MoveUseMode.NORMAL;
}
console.log(MoveId[this.move.moveId], MoveUseMode[this.useMode]);
// Check if move is unusable (e.g. running out of PP due to a mid-turn Spite