Day/Night Switching of Wild Pokémon
View Single Post
January 10th, 2011 (02:37 PM).
Join Date: May 2008
Location: The Bay Area
Quote originally posted by
Theoretically, wouldn't the 0x03000dc0 offset be blank on an individual cart, or be set to the time of the other RTC? I'm probably wrong, but it's a possible answer. I don't think it'd be pre-set, because Japan and the USA have different time zones.
View original post
I'm not sure what you're trying to say. Here, '0x03000dc0' is where the game writes the RTC data immediately after they are read from the RTC chip. When the game is being emulated on a PC, the time will be whatever time it is on the player's computer. If the game is on a game pak (with a RTC chip), then it just reads whatever the RTC gives it. Then, at a later time, the game reads the hour, minute, and second bytes from '0x03000dc0', converts them to hexadecimal, offsets them based on a value which is calculated when the player sets the clock in his/her room, and then stores the new values at '0x03005cfa'. At least, that's my understanding of it.
View Public Profile
Send a private message to colcolstyles
Find all posts by colcolstyles
Find threads started by colcolstyles
Ignore Posts by colcolstyles