mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-26 05:50:22 +00:00
Fix new tm bitflags, torque move check
ty roc for info
This commit is contained in:
parent
c892225a55
commit
b8d370b661
3 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ public static class MoveInfo
|
|||
/// <summary>
|
||||
/// Checks if the move is a Starmobile-only move.
|
||||
/// </summary>
|
||||
public static bool IsMoveTorque(ushort move) => move - (uint)CombatTorque <= 3;
|
||||
public static bool IsMoveTorque(ushort move) => move - (uint)BlazingTorque <= 3;
|
||||
|
||||
/// <summary>
|
||||
/// Checks if the <see cref="move"/> is unable to be used in battle.
|
||||
|
|
|
@ -76,7 +76,7 @@ public sealed class PersonalInfo9SV(byte[] Data) : PersonalInfo, IPersonalAbilit
|
|||
};
|
||||
|
||||
private const int TM = 0x2C;
|
||||
private const int CountTM = 202;
|
||||
private const int CountTM = 230;
|
||||
private const int ByteCountTM = (CountTM + 7) / 8;
|
||||
|
||||
public bool GetIsLearnTM(int index)
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue