mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-24 04:54:07 -05:00
Pokemon location tooltip fix for PLA + miscellaneous comment fixes (#3920)
* Fix Pokemon tooltip for LA incorrectly referring to SwSh location table * Fixes to comments referring to incorrect generation/version/game --------- Co-authored-by: James Park <5295838+pencilethics@users.noreply.github.com>
This commit is contained in:
@@ -763,7 +763,7 @@ private static int GetGeneration(int generation, bool isEggLocation, int format)
|
||||
6 => Gen6,
|
||||
7 => GameVersion.Gen7b.Contains(version) ? Gen7b : Gen7,
|
||||
|
||||
8 when version is GameVersion.PLA => Gen8,
|
||||
8 when version is GameVersion.PLA => Gen8a,
|
||||
8 when GameVersion.BDSP.Contains(version) => Gen8b,
|
||||
8 => Gen8,
|
||||
9 => Gen9,
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace PKHeX.Core;
|
||||
|
||||
/// <inheritdoc cref="EncounterArea" />
|
||||
/// <summary>
|
||||
/// <see cref="GameVersion.SWSH"/> encounter area
|
||||
/// <see cref="GameVersion.PLA"/> encounter area
|
||||
/// </summary>
|
||||
public sealed record EncounterArea8a : EncounterArea
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
namespace PKHeX.Core;
|
||||
|
||||
/// <summary>
|
||||
/// Encounter Slot found in <see cref="GameVersion.SWSH"/>.
|
||||
/// Encounter Slot found in <see cref="GameVersion.PLA"/>.
|
||||
/// </summary>
|
||||
/// <inheritdoc cref="EncounterSlot"/>
|
||||
public sealed record EncounterSlot8a : EncounterSlot, IAlphaReadOnly, IMasteryInitialMoveShop8
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
namespace PKHeX.Core;
|
||||
|
||||
/// <summary>
|
||||
/// Encounter Slot found in <see cref="GameVersion.SWSH"/>.
|
||||
/// Encounter Slot found in <see cref="GameVersion.SV"/>.
|
||||
/// </summary>
|
||||
/// <inheritdoc cref="EncounterSlot"/>
|
||||
public sealed record EncounterSlot9 : EncounterSlot
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
namespace PKHeX.Core;
|
||||
|
||||
/// <summary>
|
||||
/// Generation 7 Static Encounter
|
||||
/// Generation 8 Static Encounter
|
||||
/// </summary>
|
||||
/// <inheritdoc cref="EncounterStatic"/>
|
||||
public sealed record EncounterStatic8b : EncounterStatic, IStaticCorrelation8b
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
namespace PKHeX.Core;
|
||||
|
||||
/// <summary>
|
||||
/// Generation 7 Trade Encounter
|
||||
/// Generation 8 BD/SP Trade Encounter
|
||||
/// </summary>
|
||||
/// <inheritdoc cref="EncounterTrade"/>
|
||||
public sealed record EncounterTrade8b : EncounterTrade, IContestStatsReadOnly, IScaledSizeReadOnly, IFixedOTFriendship
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
namespace PKHeX.Core;
|
||||
|
||||
/// <summary>
|
||||
/// Generation 9 <see cref="SaveFile"/> object for <see cref="GameVersion.SWSH"/> games.
|
||||
/// Generation 9 <see cref="SaveFile"/> object for <see cref="GameVersion.SV"/> games.
|
||||
/// </summary>
|
||||
public sealed class SAV9SV : SaveFile, ISaveBlock9Main, ISCBlockArray, ISaveFileRevision
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user