mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-04-24 15:47:15 -05:00
Update 26.01.07
Sceptilite released Revise XD eevee encounter generating for shiny requests (disregard insufficient TID/SID) Skip "overwrite" popup if savefile was loaded from a backup (bak)
This commit is contained in:
parent
3d74e763ba
commit
e2c09730b5
|
|
@ -1,6 +1,6 @@
|
|||
<Project>
|
||||
<PropertyGroup>
|
||||
<Version>25.12.21</Version>
|
||||
<Version>26.01.07</Version>
|
||||
<LangVersion>14</LangVersion>
|
||||
<Nullable>enable</Nullable>
|
||||
<NeutralLanguage>en</NeutralLanguage>
|
||||
|
|
|
|||
|
|
@ -122,7 +122,6 @@ public sealed class ItemStorage9ZA : IItemStorage
|
|||
|
||||
0664, // Blazikenite
|
||||
0752, // Swampertite
|
||||
0753, // Sceptilite
|
||||
|
||||
2640, // Garchompite Z
|
||||
];
|
||||
|
|
|
|||
|
|
@ -284,6 +284,8 @@ public static bool SetStarterFromTrainerID(XK3 pk, in EncounterCriteria criteria
|
|||
continue;
|
||||
if (criteria.IsSpecifiedGender() && !criteria.IsSatisfiedGender(EntityGender.GetFromPID(pid, EntityGender.VM)))
|
||||
continue;
|
||||
if (criteria.Shiny.IsShiny() != ShinyUtil.GetIsShiny3(tid | ((uint)sid << 16), pid))
|
||||
continue;
|
||||
|
||||
var ivSeed = XDRNG.Next4(seed);
|
||||
var iv1 = XDRNG.Next15(ref ivSeed);
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
|
|
@ -32,6 +32,14 @@ public sealed record SaveFileMetadata(SaveFile SAV)
|
|||
private Memory<byte> Header = Memory<byte>.Empty; // .gci
|
||||
private ISaveHandler? Handler;
|
||||
|
||||
/// <summary>
|
||||
/// Indicates whether the save file is a backup file matching this program's backup naming convention.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Only check for ".bak" suffix; do not check for other naming conventions as they may vary between different release versions of PKHeX.
|
||||
/// </remarks>
|
||||
public bool IsBackup => FilePath?.EndsWith(".bak", StringComparison.Ordinal) is true;
|
||||
|
||||
private string BAKSuffix => $" [{SAV.ShortSummary}].bak";
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,17 @@
|
|||
PKHeX - By Kaphotics
|
||||
http://projectpokemon.org/pkhex/
|
||||
|
||||
25/12/21 - New Update:
|
||||
26/01/07 - New Update:
|
||||
- Changed: PKHeX now uses .NET 10 for its runtime (updated from .NET 9)! Dark Mode (Options->Settings->Startup->DarkMode) is now better supported.
|
||||
- Legality: Sceptilite now released, can exist in inventory/held.
|
||||
- - Fixed: Gen9a handling for Rotom/Hoopa plus move flags.
|
||||
- - Fixed: Gen4 EV verifier for Level100 gifts now only allows Vitamin increments rather than allowing any 0-100 range. Thanks @andrebastosdias !
|
||||
- - Fixed: BattleForm logic updated to differentiate Zygarde and Greninja better. Thanks @Parnassius !
|
||||
- - Added: Gen9a Bulk checker now verifies Primal Orb unique assignment.
|
||||
- Added: Gen9a Donut editor now displays the flavor profile of a donut in a visual manner. Thanks @RandomGuy155 !
|
||||
- Fixed: Gen9a Donut editor timestamp now correctly updates. Thanks @foohyfooh !
|
||||
|
||||
25/12/21 - New Update: (161623) [12168594]
|
||||
- Note: This will be the last release on .NET 9; future releases will be on .NET 10
|
||||
- Legality: Misc fixes for parsing forms/evolutions in Z-A.
|
||||
- Fixed: Gen9a evolutions that require a move are now checked more accurately when evolutions have less learnset restrictions.
|
||||
|
|
|
|||
|
|
@ -391,7 +391,7 @@ private static void SaveBackup(string path)
|
|||
public static bool ExportSAVDialog(Control c, SaveFile sav, int currentBox = 0)
|
||||
{
|
||||
// Try to request an overwrite first; if they defer, do the save file dialog.
|
||||
if (File.Exists(sav.Metadata.FilePath))
|
||||
if (!sav.Metadata.IsBackup && File.Exists(sav.Metadata.FilePath))
|
||||
{
|
||||
var exist = sav.Metadata.FilePath;
|
||||
var task = c.FindForm()!.RequestOverwrite(exist);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user