From 30024b476af55da87caeea26e2b20bcbf31215af Mon Sep 17 00:00:00 2001 From: AdAstra-LD <76622070+AdAstra-LD@users.noreply.github.com> Date: Tue, 5 Oct 2021 01:22:33 +0200 Subject: [PATCH] [Seemingly] fixed Trainer Editor moveset exception --- DS_Map/Main Window.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DS_Map/Main Window.cs b/DS_Map/Main Window.cs index d050f60..a79212f 100644 --- a/DS_Map/Main Window.cs +++ b/DS_Map/Main Window.cs @@ -7707,6 +7707,9 @@ namespace DSPRE { partySecondMoveComponentList[i].Enabled = trainerMovesCheckBox.Checked; partyThirdMoveComponentList[i].Enabled = trainerMovesCheckBox.Checked; partyFourthMoveComponentList[i].Enabled = trainerMovesCheckBox.Checked; + + + currentTrainerFile.party[i].moves = trainerMovesCheckBox.Checked ? new ushort[4] : null; } if (!disableHandlers) {