This commit is contained in:
Bertie690 2025-06-16 13:15:32 -04:00
parent 958fd64d90
commit e9d3f147ef
2 changed files with 2 additions and 0 deletions

View File

@ -6742,6 +6742,7 @@ interface IllusionData {
level?: number;
}
// TODO: Remove `turn` and make `result` mandatory
export interface TurnMove {
move: MoveId;
targets: BattlerIndex[];

View File

@ -25,6 +25,7 @@ interface OldTurnMove {
const fixMoveHistory: SessionSaveMigrator = {
version: "1.10.0",
migrate: (data: SessionSaveData): void => {
// @ts-expect-error - optional property jank
const mapTurnMove = (tm: OldTurnMove): TurnMove => ({
move: tm.move,
targets: tm.targets,