To help find which addresses in the memory store time in each game, and maybe some other debug stuff. The only way I could find SMB's time addresses was by blanket searching and editing addresses until the time was affected.
Luckily G&W has such small RAM it's easy to try to locate, but it would be easier to be able to observe the memory while the rom was running.