Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Pokémon hacking.
Acmlm's Board - I2 Archive - Pokémon hacking - Real-time clock data in Sapphire
  
User name:
Password:
Reply:
 

UserPost
Kyoufu Kawa
Posts: 1836/2481
If it runs backwards, you found them.
Totakeke
Posts: 27/73
I think the hours of the RTC are stored in 02024ECE in Sapphire, and the minutes in 02024ECF. I'm not too sure though.
Kyoufu Kawa
Posts: 1826/2481
1) Look around this general memory area. This is where Ruby has it's RTC variables, Sapphire shouldn't be far off, if at all.

*Kawa-oneechan copies from the Dissembly Project wiki...
Playing Time
Hours: 0x02024EB2
Minutes: 0x02024EB4
Seconds: 0x02024EB5
Millisecs: 0x02024EB6

Wall clock
Hours: 02024F3E
Minutes: 02024F3F

2) I think it does but I was never quite sure.

3) You can't. And the "new offset" should be somewhere in the ROM where there's plenty room.
Totakeke
Posts: 26/73
1. Has anyone figured out the data on the clock and time? I know how to show the clock using special 0x9A, but I want to use a command to read what time it is.

2. What exactly does the "level script" do? Does it take effect right away when you enter the level?

3. An irrelevant question: How can I move an exit or a sign in one level to another level? I'm guessing the repoint button will do this, but it asks for a new offset and I don't know what offset I'm supposed to put in.
Acmlm's Board - I2 Archive - Pokémon hacking - Real-time clock data in Sapphire


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.010 seconds.