How do I determine which memories are assigned to which index? When checking a pokemon's legality, occasionally, it will tell me that memories are expected to be different indices, usually on internally traded pokemon (in game trades with npcs) that got touched by pksm. I tried to pick through the source on GitHub, and I searched with the search function in this forum, but nothing came up that specifically listed which memory ("{0} did blah with {2} blah blah {1}") was matched to which index number ("Invalid: OT Memory: TextVar should be index 40", etc etc).
Apologies if this is the wrong place to post, this is my first post here, and the "read before posting" said "This forum section IS for requesting information on how a feature works."