From ae4635f8c4fff16d82312d48b31442587fbd3c2f Mon Sep 17 00:00:00 2001 From: HiPotionQ8 <166940326+HiPotionQ8@users.noreply.github.com> Date: Wed, 18 Nov 2026 18:22:06 +0300 Subject: [PATCH 1/2] Add species and size to monstrosity parsing Read two fields from the Monipulator records (0xF000-0xF1FF) that were previously skipped as unknown - species (0x2A): base species ID; variants point to their base form - size (0x30): 0 = small, 1 = medium, 2 = large The total number of bytes read before the TP move table is unchanged (0x30). --- ResourceParser.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ResourceParser.cs b/ResourceParser.cs index 80bb11c..a1796b6 100755 --- a/ResourceParser.cs +++ b/ResourceParser.cs @@ -488,7 +488,11 @@ private static void ParseInstinctItem(BinaryReader reader, dynamic item) { private static void ParseMonstrosityItem(BinaryReader reader, dynamic item) { item.tp_moves = new Dictionary(); - reader.ReadBytes(0x30); // Unknown 04 - 2F + reader.ReadBytes(0x26); // 04 - 29: Index, padding, name, monster ecosystem + item.species = reader.ReadUInt16(); // 2A - 2B: Base species ID, variants point to their base form's ID + reader.ReadBytes(0x04); // Unknown 2C - 2F + item.size = reader.ReadUInt16(); // 30 - 31: Size, 0 = small, 1 = medium, 2 = large + reader.ReadBytes(0x02); // Unknown 32 - 33, always zero for (var i = 0x00; i < 0x10; ++i) { var move = reader.ReadUInt16(); var level = reader.ReadSByte(); From 8763710ec30289492f2bbde05c35f923cafea2ed Mon Sep 17 00:00:00 2001 From: HiPotionQ8 <166940326+HiPotionQ8@users.noreply.github.com> Date: Sat, 21 Nov 2026 09:33:59 +0300 Subject: [PATCH 2/2] Use `ReadInt16` instead of `ReadUInt16` --- ResourceParser.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ResourceParser.cs b/ResourceParser.cs index 3fee971..ccdd6b9 100755 --- a/ResourceParser.cs +++ b/ResourceParser.cs @@ -503,9 +503,9 @@ private static void ParseInstinctItem(BinaryReader reader, dynamic item) { private static void ParseMonstrosityItem(BinaryReader reader, dynamic item) { item.tp_moves = new Dictionary(); reader.ReadBytes(0x26); // 04 - 29: Index, padding, name, monster ecosystem - item.species = reader.ReadUInt16(); // 2A - 2B: Base species ID, variants point to their base form's ID + item.species = reader.ReadInt16(); // 2A - 2B: Base species ID, variants point to their base form's ID reader.ReadBytes(0x04); // Unknown 2C - 2F - item.size = reader.ReadUInt16(); // 30 - 31: Size, 0 = small, 1 = medium, 2 = large + item.size = reader.ReadInt16(); // 30 - 31: Size, 0 = small, 1 = medium, 2 = large reader.ReadBytes(0x02); // Unknown 32 - 33, always zero for (var i = 0x00; i < 0x10; ++i) { var move = reader.ReadUInt16();