Skip to content

Commit ce1f6b0

Browse files
committed
- adds gen 7 trainer info editor
1 parent ea9b86a commit ce1f6b0

24 files changed

Lines changed: 973 additions & 3 deletions

PKHeX.MAUI.csproj

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,9 @@
224224
<Compile Update="SaveEditors\Save Editors.xaml.cs">
225225
<DependentUpon>Save Editors.xaml</DependentUpon>
226226
</Compile>
227+
<Compile Update="SaveEditors\TrainerEditors\gen7\Trainertab7.xaml.cs">
228+
<DependentUpon>Trainertab7.xaml</DependentUpon>
229+
</Compile>
227230
<Compile Update="Settings\LegalitySettings.xaml.cs">
228231
<DependentUpon>LegalitySettings.xaml</DependentUpon>
229232
</Compile>
@@ -311,6 +314,21 @@
311314
<MauiXaml Update="SaveEditors\TrainerEditors\gen6\TrainerTab6.xaml">
312315
<Generator>MSBuild:Compile</Generator>
313316
</MauiXaml>
317+
<MauiXaml Update="SaveEditors\TrainerEditors\gen7\TrainerEditor7.xaml">
318+
<Generator>MSBuild:Compile</Generator>
319+
</MauiXaml>
320+
<MauiXaml Update="SaveEditors\TrainerEditors\gen7\TrainerEditor7BattleTree.xaml">
321+
<Generator>MSBuild:Compile</Generator>
322+
</MauiXaml>
323+
<MauiXaml Update="SaveEditors\TrainerEditors\gen7\TrainerEditor7Map.xaml">
324+
<Generator>MSBuild:Compile</Generator>
325+
</MauiXaml>
326+
<MauiXaml Update="SaveEditors\TrainerEditors\gen7\TrainerEditor7Misc.xaml">
327+
<Generator>MSBuild:Compile</Generator>
328+
</MauiXaml>
329+
<MauiXaml Update="SaveEditors\TrainerEditors\gen7\TrainerEditor7Ultra.xaml">
330+
<Generator>MSBuild:Compile</Generator>
331+
</MauiXaml>
314332
<MauiXaml Update="SaveEditors\TrainerEditors\gen8a\TrainerEditor8a.xaml">
315333
<Generator>MSBuild:Compile</Generator>
316334
</MauiXaml>
@@ -335,6 +353,9 @@
335353
<MauiXaml Update="SaveEditors\TrainerEditors\gen9\TrainerTab9.xaml">
336354
<Generator>MSBuild:Compile</Generator>
337355
</MauiXaml>
356+
<MauiXaml Update="SaveEditors\TrainerEditors\gen7\Trainertab7.xaml">
357+
<Generator>MSBuild:Compile</Generator>
358+
</MauiXaml>
338359
<MauiXaml Update="Settings\LegalitySettings.xaml">
339360
<Generator>MSBuild:Compile</Generator>
340361
</MauiXaml>

Resources/Assets/fashion_f_sm

1.41 KB
Binary file not shown.
1.41 KB
Binary file not shown.

Resources/Assets/fashion_f_uu

1.42 KB
Binary file not shown.
1.42 KB
Binary file not shown.

Resources/Assets/fashion_m_sm

1.36 KB
Binary file not shown.
1.41 KB
Binary file not shown.

Resources/Assets/fashion_m_uu

1.38 KB
Binary file not shown.
1.38 KB
Binary file not shown.

SaveEditors/Save Editors.xaml.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ private void ToggleControls()
4141
if (!MainPage.sav.State.Exportable || MainPage.sav is BulkStorage)
4242
return;
4343
Button_BlockData.IsVisible = true;
44-
if (MainPage.sav is not SAV7 or SAV8BS or SAV8SWSH)
44+
if (MainPage.sav is not SAV8BS or SAV8SWSH)
4545
TrainerInfoButton.IsVisible = true;
4646
}
4747

@@ -57,6 +57,7 @@ private void OpenTrainerEditor(object sender, EventArgs e)
5757
case SAV4:
5858
case SAV5: Navigation.PushModalAsync(new TrainerEditor1()); break;
5959
case SAV6: Navigation.PushModalAsync(new TrainerTab6()); break;
60+
case SAV7: Navigation.PushModalAsync(new TrainerTab7()); break;
6061
case SAV8LA: Navigation.PushModalAsync(new TrainerTab8a()); break;
6162
case SAV9SV: Navigation.PushModalAsync(new TrainerTab9()); break;
6263
}

0 commit comments

Comments
 (0)