Mirage Island (Generation III): Difference between revisions

→‎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.
(→‎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]] ('Mirage Island Value') are generated for the day once after pressing 'CONTINUE GAME', and will be used until the in-game clock (not RTC time) past 00:00 (midnight) of the next day to generate a new value. Mirage Island Value is generated by [[Pseudorandom number generation in Pokémon|LCRNG]] and relies on the Elapsed-RTC-[[time|days]] since players set the in-game clock at home when determine the Initial-RTC(d/h/m/s) and start to calculate Elapsed-RTC(d/h/m/s). The elapsed-RTC-days is the one who has a one-to-one correspondence with 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>
[[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 cause 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 Mirage Island Value will stay at the last value when it was noramally generated before.<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>  


Theoretically, elapsed-RTC-days range from 0 to 65535, but due to the hardware RTC range(2000/01/01-2099/12/31), the actual max range of elapsed-RTC-days is 36524, which means the max 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, affected by when players set clock to determine initial-RTC and the Berry glitch in Ruby and Sapphire, the number of Mirage Island Values can be smaller than 27925.
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>
===List of Mirage Island Values===
The elapsed-RTC-days has a one-to-one correspondence with Mirage Island Values with a range from 0 to 36524. So that it can be sorted out to a list which can work for Ruby, Sapphire and Emerald. It can be called 'The standard list of Elapsed-RTC-days and Mirage Island Values'. <br>
But if someone use tools to edit the elapsed-RTC-days stored in save file, it will Let the corresponding relationship be misplaced and this save game wouldn't work with this standard list any longer and can only work with its own-generated non-standard list. It needs to be mention that using tools to edit Elapsed-RTC casually may also influence some others values relying on Elapsed-RTC and hardware RTC besides Mirage Island Values.<br>
''[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 The standard list of Elapsed-RTC-days and Mirage Island Values]''


===Gallery===
===Gallery===
120,342

edits