mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-28 06:50:23 +00:00
26 lines
No EOL
461 B
C#
26 lines
No EOL
461 B
C#
namespace PKHeX.Core
|
|
{
|
|
public enum TurnActionCode
|
|
{
|
|
None = 0,
|
|
Fight = 1,
|
|
Switch = 3,
|
|
Run = 4,
|
|
UNK5 = 5,
|
|
Rotate = 6,
|
|
UNK7 = 7,
|
|
MegaEvolve = 8,
|
|
}
|
|
|
|
public struct TurnActionInstruction
|
|
{
|
|
public int PlayerID;
|
|
public int Count;
|
|
|
|
public TurnActionInstruction(byte Op)
|
|
{
|
|
PlayerID = Op >> 5;
|
|
Count = Op & 0xF;
|
|
}
|
|
}
|
|
} |