Basically I want to try to modify the internal clock script (found here) into having day/night work off the game's playtime rather than the computer's clock time. I'm experienced in other coding languages but this would be my first attempt at modifying/writing RGSS.
Thanks in advance!
Edit: Right now I'm doing the framecount/framerate to get total time played in seconds, I'm guessing this is the only way to do this?