120,799
edits
(→In the games: Did my best to fix the grammar errors, but the last section doesn't really look like it belongs in Bulbapedia to me.) |
|||
Line 20: | Line 20: | ||
===Technical details=== | ===Technical details=== | ||
[[Save data structure (Generation III)#Section 2 - Environment variables|Two random bytes]] ( | [[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. 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 Mirage Island Value | 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> | ||
Theoretically, elapsed | Theoretically, elapsed RTC days range from 0 to 65535, but due to the hardware RTC range (2000/01/01-2099/12/31), the actual maximum range of elapsed RTC days is 36524, which means the maximum number of possible Mirage Island Values is 36525; removing duplicate values, the final number is 27925. If the player were to catch a [[wild Pokémon]], the odds of this Pokémon's [[personality value]] causing Mirage Island to appear would be 27925/65536 (approximately 42.6%). However, the initial RTC set by that player and the Berry glitch in Ruby and Sapphire can affect the number of Mirage Island Values so that the total number can be lower than 27925. | ||
Currently, it is possible to guarantee the appearance of Mirage Island without [[cheating]]. This is achieved by the game's inner mechanism and Berry glitch repair tool "rtcread".<ref>https://tieba.baidu.com/p/7680216276?</ref><ref>https://youtu.be/BLi7_YnWpbI</ref><ref>https://www.bilibili.com/video/BV1WP4y1n7CL</ref> | Currently, it is possible to guarantee the appearance of Mirage Island without [[cheating]]. This is achieved by the game's inner mechanism and Berry glitch repair tool "rtcread".<ref>https://tieba.baidu.com/p/7680216276?</ref><ref>https://youtu.be/BLi7_YnWpbI</ref><ref>https://www.bilibili.com/video/BV1WP4y1n7CL</ref> | ||
===Gallery=== | ===Gallery=== |
edits