PKHeX/PKHeX.Core/Saves/Substructures/Battle Videos/TurnStartInstruction.cs

14 lines
288 B
C#
Raw Normal View History

2018-08-19 03:10:30 +00:00
namespace PKHeX.Core
{
public struct TurnStartInstruction
{
public TurnStartCode TurnCode;
public int Count;
public TurnStartInstruction(byte Op)
{
TurnCode = (TurnStartCode)(Op >> 4);
Count = Op & 0xF;
}
}
}