mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-28 15:00:36 +00:00
1b028198ad
refer to pull request comments for summary
15 lines
No EOL
357 B
C#
15 lines
No EOL
357 B
C#
using System;
|
|
|
|
namespace PKHeX.Core
|
|
{
|
|
public class BattleSubway5 : SaveBlock
|
|
{
|
|
public BattleSubway5(SAV5 sav, int offset) : base(sav) => Offset = offset;
|
|
|
|
public int BP
|
|
{
|
|
get => BitConverter.ToUInt16(Data, Offset);
|
|
set => BitConverter.GetBytes((ushort)value).CopyTo(Data, Offset);
|
|
}
|
|
}
|
|
} |