I made some tests to see which was the address of the actual Seed (not the initial Seed) in Sun/Moon. But after making a Ram Dump and searching the actual Seed i was on, i found it but there were also all his following Seeds in the following addresses. So how do the game know in which Seed it is?
I found a parameter at 0x33196548 which starts from 02 and grows up (two at a time every single frame advance) to FE and then it start again from 02 to FE. Can maybe this give us the actual seed telling where it is in the RAM?