Is it possible to edit the streak records in the latest release's Trainer Editor's record section? PKHeX already exposes a lot of data, please look around first
Records 6,8,10,12 indicate the streak for that mode, and any of them >= 100 will satisfy a +1 to trainer rank.
int PlayerWork.GetTrainerRank()
{
int rank = 0;
// game clear
if (FlagWork.GetSysFlag(5))
rank++;
// dex complete
if (ZukanWork.CheckZenkokuZukanCompGet())
rank++;
// any streak >= 100
if (RecordWork.Get(6) >= 100 || RecordWork.Get(8) >= 100 || RecordWork.Get(10) >= 100 || RecordWork.Get(12) >= 100)
rank++;
// win any master rank contest
if (FlagWork.GetSysFlag(9) || FlagWork.GetSysFlag(10) || FlagWork.GetSysFlag(11) || FlagWork.GetSysFlag(12) || FlagWork.GetSysFlag(13))
rank++;
// statues >= 100
if (UgItemWork.GetHaveStatueKindNum() >= 100)
rank++;
return rank;
}