• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Research: [Pokemon Gold] Day Timer Not Loading on Pokemon Stadium 2

61
Posts
10
Years
  • Age 37
  • Seen Nov 8, 2015
If anyone is familiar with asm, I checked into the code that loads the time for the game in BGB, and I found the command RST 08 is what is loading data from save data to load the time at address D1DC as stated here: http://datacrystal.romhacking.net/wiki/Pokémon_Gold:RAM_map#Game_Settings

However, it does not seem to work in Pokemon Stadium 2, it always loads the game at Saturday 8:00 AM no matter what...

Considering I made special Pokemon catch-able at night in the game, this is especially frustrating.

I am wondering if this is a result of ASM hacking, if Pokemon Stadium 2 is just known to mess this up, or, perhaps, it is a result of the flash cart I am using for my hacked ROM that I customized (GB USB smart card 64M)?
 

miksy91

Dark Energy is back in action! ;)
1,480
Posts
15
Years
If anyone is familiar with asm, I checked into the code that loads the time for the game in BGB, and I found the command RST 08 is what is loading data from save data to load the time at address D1DC as stated here: http://datacrystal.romhacking.net/wiki/Pok%C3%A9mon_Gold:RAM_map#Game_Setting
http://datacrystal.romhacking.net/wiki/Pokémon_Gold:RAM_map#Game_Settings
Command RST 08 actually calls an asm routine from address 00:0008 (= at the beginning of the rom at offset $8).
There we have a jump command to address 00:2E27 where we have a routine that actually calls another asm routine at address defined by a (rom bank) and hl (pointer).

Anyway, where is this routine you were looking at? And what are the values of a and hl when rst 08 is executed? Because in this case, I believe the routine you should be looking at starts at a:hl.
 
Back
Top