Mirage Island (Generation III): Difference between revisions

m
relinking
m ((Automated edit) {{chap}} → {{MangaArc}})
m (relinking)
 
Line 22: Line 22:


===Technical details===
===Technical details===
[[Save data structure (Generation III)#Section 2 - Environment variables|Two random bytes]] ("Mirage Island Value") are generated for the day once after pressing "CONTINUE GAME," and will be used until the in-game clock passes the midnight of the next day to generate a new value. The Mirage Island Value is generated by [[Pseudorandom number generation in Pokémon|pseudorandom number generation]] and relies on the Elapsed-RTC-[[time|days]] since the player set the in-game clock at home to determine the Initial RTC(d/h/m/s) and start to calculate elapsed RTC. The elapsed RTC days have a one-to-one correspondence with the Mirage Island Value which can be sort as a list<ref>https://wiki.52poke.com/wiki/%E5%B9%BB%E4%B9%8B%E5%B2%9B%E5%80%BC%E4%B8%8E%E7%BB%8F%E8%BF%87RTC%E5%A4%A9%E6%95%B0%E7%9A%84%E6%A0%87%E5%87%86%E5%AF%B9%E5%BA%94%E8%A1%A8</ref>. For example, if the number of elapsed RTC days is 0, 1, or 7410, Mirage Island Value will be 0x0000.<ref>https://wokann.github.io/Tool/GEN3_Mirage_island/index.html</ref>
[[Save data structure (Generation III)#Section 2 - Environment variables|Two random bytes]] ("Mirage Island Value") are generated for the day once after pressing "CONTINUE GAME," and will be used until the in-game clock passes the midnight of the next day to generate a new value. The Mirage Island Value is generated by [[Pseudorandom number generation|pseudorandom number generation]] and relies on the Elapsed-RTC-[[time|days]] since the player set the in-game clock at home to determine the Initial RTC(d/h/m/s) and start to calculate elapsed RTC. The elapsed RTC days have a one-to-one correspondence with the Mirage Island Value which can be sort as a list<ref>https://wiki.52poke.com/wiki/%E5%B9%BB%E4%B9%8B%E5%B2%9B%E5%80%BC%E4%B8%8E%E7%BB%8F%E8%BF%87RTC%E5%A4%A9%E6%95%B0%E7%9A%84%E6%A0%87%E5%87%86%E5%AF%B9%E5%BA%94%E8%A1%A8</ref>. For example, if the number of elapsed RTC days is 0, 1, or 7410, Mirage Island Value will be 0x0000.<ref>https://wokann.github.io/Tool/GEN3_Mirage_island/index.html</ref>


Meanwhile, a game that has reached the maximum recordable play time (999 hours and 59 minutes) will continue generating the Mirage Island Value, because the elapsed RTC days are still continue accumulating until reaching its upper limit of 65535(0xFFFF).<ref>https://tieba.baidu.com/p/7680216276?</ref> Only if the cartridge's hardware battery has run dry (causing the real-time clock to stop functioning) or an RTC glitch has occurred (such as the [[Berry glitch]] or [[new battery glitch]]), will the Mirage Island Values stop generating. At that time, the Mirage Island Value will stay at the last generated value.<ref>http://hfc2x.tumblr.com/post/52327921622/some-explanation-on-mirage-island-pok%C3%A9mon</ref>  
Meanwhile, a game that has reached the maximum recordable play time (999 hours and 59 minutes) will continue generating the Mirage Island Value, because the elapsed RTC days are still continue accumulating until reaching its upper limit of 65535(0xFFFF).<ref>https://tieba.baidu.com/p/7680216276?</ref> Only if the cartridge's hardware battery has run dry (causing the real-time clock to stop functioning) or an RTC glitch has occurred (such as the [[Berry glitch]] or [[new battery glitch]]), will the Mirage Island Values stop generating. At that time, the Mirage Island Value will stay at the last generated value.<ref>http://hfc2x.tumblr.com/post/52327921622/some-explanation-on-mirage-island-pok%C3%A9mon</ref>