Fix new tm bitflags, torque move check

ty roc for info
This commit is contained in:
Kurt 2023-12-17 17:51:55 -08:00
parent c892225a55
commit b8d370b661
3 changed files with 2 additions and 2 deletions

View file

@ -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.

View file

@ -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)