editnews, Administrators
90
edits
(add names for states 2, 3 and 4) |
NiceneNerd (talk | contribs) (Added Wii U init address) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
<!--T:1--> | <!--T:1--> | ||
{{Subsystem infobox|name=WorldMgr|init_addr_switch150=00000071010F2920|is_name_official=1|description= | {{Subsystem infobox|name=WorldMgr|init_addr_switch150=00000071010F2920|init_addr_wiiu150=03672220|is_name_official=1|description=Manages world state (time, blood moons, climates, weather, etc.)}} | ||
<translate> | <translate> | ||
Line 49: | Line 49: | ||
<!--T:8--> | <!--T:8--> | ||
Internally, time of day is stored as a float in the [0.0, 360.0] range. | Internally, time of day is stored as a float in the [0.0, 360.0] range. | ||
0.0 = midnight = 360.0; 90 ≈ morning; 180.0 = noon; and so on. | |||
=== TimeMgr::init === <!--T:9--> | === TimeMgr::init === <!--T:9--> | ||
Line 56: | Line 57: | ||
=== TimeMgr::reset === <!--T:10--> | === TimeMgr::reset === <!--T:10--> | ||
This is called whenever a stage is unloaded (essentially every time the loading screen is shown). | This is called whenever a stage is unloaded (essentially every time the loading screen is shown when loading a different kind of stage -- e.g. shrine → overworld, but not shrine → shrine or overworld → overworld). | ||
* Blood Moon checks are delayed. | * Blood Moon checks are delayed. | ||
* The AnimalMaster_Appearance flag is cleared, meaning the Lord of the Mountain will not appear. | * The AnimalMaster_Appearance flag is cleared, meaning the Lord of the Mountain will not appear. | ||
Line 183: | Line 184: | ||
<!--T:23--> | <!--T:23--> | ||
Note: Vah Rudania is missing from the list. This is normal | Note: Vah Rudania is missing from the list. This is normal: blood moons cannot happen during the Vah Rudania battle sequence because the BloodyMoonProhibition flag is not set. | ||
=== Day/night time flag === <!--T:24--> | === Day/night time flag === <!--T:24--> | ||
Line 285: | Line 286: | ||
<!--T:40--> | <!--T:40--> | ||
[[Category:Internals]] | [[Category:Internals{{#translation:}}]] | ||
[[Category:Subsystems (BotW)]] | [[Category:Subsystems (BotW){{#translation:}}]] |