I can *somewhat* confirm this, but everytime I try to explain mechanics either Akari or TFergusson will show up and say "you're wrong, stupid" (which is fine as long as they have the correct info
). So if nothing else here's my understanding:
There are multiple RNGs on the PC version that are all following the same RNG table found in the KERNEL.BIN file. The one that governs battles is separate from the others and ONLY (or near-exclusively) governs when a battle occurs and which formation out of the potential battles it will be. This is only incremented when a battle takes place so the game knows when to start the next one. It's based on number of steps taken in a battle-able area, though it doesn't seem that cut-scene induced movement matters. Based on that, it's possible to predict when and what battles will occur given different times. The savegame doesn't save RNG position so it will always start back at the beginning. In the normal course of the game a player might not even notice because they're switching back and forth between battle zones a lot, but the number of steps to take to get to the first battle are almost always the same.