mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-28 23:10:22 +00:00
Update 24.07.03
Update wc9 pkl update dependencies (qrcoder got some perf improvements) deduplicate HOME tracker message in SV by consolidating the methods
This commit is contained in:
parent
6de68ac626
commit
66e8bf2645
10 changed files with 23 additions and 24 deletions
|
@ -1,6 +1,6 @@
|
|||
<Project>
|
||||
<PropertyGroup>
|
||||
<Version>24.06.03</Version>
|
||||
<Version>24.07.03</Version>
|
||||
<LangVersion>12</LangVersion>
|
||||
<Nullable>enable</Nullable>
|
||||
<NeutralLanguage>en</NeutralLanguage>
|
||||
|
|
|
@ -252,7 +252,7 @@ public sealed class LegalityAnalysis
|
|||
private void ParsePK9()
|
||||
{
|
||||
UpdateChecks();
|
||||
Transfer.VerifyTransferLegalityG9(this);
|
||||
Transfer.VerifyTransferLegalityG8(this);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -142,33 +142,18 @@ public sealed class TransferVerifier : Verifier
|
|||
}
|
||||
}
|
||||
|
||||
if (pk.Format >= 9)
|
||||
{
|
||||
VerifyTransferLegalityG9(data);
|
||||
return;
|
||||
}
|
||||
|
||||
// Starting in Generation 8, games have a selective amount of species/forms from prior games.
|
||||
IPersonalTable pt = pk switch
|
||||
{
|
||||
PA8 => PersonalTable.LA,
|
||||
PB8 => PersonalTable.BDSP,
|
||||
PK9 => PersonalTable.SV,
|
||||
_ => PersonalTable.SWSH,
|
||||
};
|
||||
if (!pt.IsPresentInGame(pk.Species, pk.Form))
|
||||
data.AddLine(GetInvalid(LTransferBad));
|
||||
}
|
||||
|
||||
public void VerifyTransferLegalityG9(LegalityAnalysis data)
|
||||
{
|
||||
var pk = data.Entity;
|
||||
var pt = PersonalTable.SV;
|
||||
if (!pt.IsPresentInGame(pk.Species, pk.Form))
|
||||
data.AddLine(GetInvalid(LTransferBad));
|
||||
if (HomeTrackerUtil.IsRequired(data.EncounterMatch, pk))
|
||||
VerifyHOMETracker(data, pk);
|
||||
}
|
||||
|
||||
private void VerifyHOMETransfer(LegalityAnalysis data, PKM pk)
|
||||
{
|
||||
if (pk is not IScaledSize s)
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -12,7 +12,7 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="QRCoder" Version="1.5.1" />
|
||||
<PackageReference Include="QRCoder" Version="1.6.0" />
|
||||
<PackageReference Include="System.Resources.Extensions" Version="8.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="System.Drawing.Common" Version="8.0.5" />
|
||||
<PackageReference Include="System.Drawing.Common" Version="8.0.6" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -1,7 +1,21 @@
|
|||
PKHeX - By Kaphotics
|
||||
http://projectpokemon.org/pkhex/
|
||||
|
||||
24/06/03 - New Update:
|
||||
24/07/03 - New Update:
|
||||
- Legality:
|
||||
- - Added: Slot source legality checks for miscellaneous slots like Daycare. Shouldn't flag anyone ;)
|
||||
- Added: Gen4 trainer stat record editor. Thanks @abcboy101 !
|
||||
- Added: Gen3 memory cards can now be auto-detected as the latest save file on startup/request.
|
||||
- Added: Gen3 Berry Powder, Pokéblock, and Decoration editors. Thanks @abcboy101 !
|
||||
- Fixed: Gen9 eggs now no longer auto-clear trash bytes for nicknames (and no longer flag in doing so).
|
||||
- Fixed: Gen5 misc editor now opens correctly for editing the Key system.
|
||||
- Fixed: Gen4 pk4->ranch conversion no longer throws an error.
|
||||
- Fixed: Gen4 battle revolution nickname/OT now reads correctly.
|
||||
- Fixed: Gen1-3 saves with misc footers are retained as intended.
|
||||
- Changed: Some internals changed to better work with web browsers (wasm). Thanks @arleypadua !
|
||||
- Changed: Resource fetching abstraction extracted for better reuse with plugins.
|
||||
|
||||
24/06/03 - New Update: (96798) [8875111]
|
||||
- Legality: Added automatic (basic) Trash Byte checks for Switch-era (Gen7b+) files. Further refinement & expansion in the future.
|
||||
- - Fixed: Mystery gifts distributed with nicknames no longer flag IsNicknamed as invalid.
|
||||
- Added: Entity editor move dropdown now displays the move's type on the left side.
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="FluentAssertions" Version="6.12.0" />
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
|
||||
<PackageReference Include="xunit" Version="2.8.0" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.0">
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
|
||||
<PackageReference Include="xunit" Version="2.8.1" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.1">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
|
|
Loading…
Reference in a new issue