WorldMgr: Difference between revisions
→"New day" checks
imported>Leoetlino |
imported>Leoetlino |
||
Line 80: | Line 80: | ||
**The Blood Moon timer is reset to 0.0. | **The Blood Moon timer is reset to 0.0. | ||
* Otherwise, the "Bloody end reserve timer" is set to 150. This ensures that the WM_BloodyDay flag is cleared 5 in-game minutes (= 5 seconds in real life) after a Blood Moon occurs. | * Otherwise, the "Bloody end reserve timer" is set to 150. This ensures that the WM_BloodyDay flag is cleared 5 in-game minutes (= 5 seconds in real life) after a Blood Moon occurs. | ||
==== Blood Moon inhibitors ==== | |||
If any of the following conditions are true, the Blood Moon cutscene will not be triggered. | |||
* Not on MainField (main overworld) | |||
* IsInHyruleCastleArea is set | |||
* LastBossGanonBeastGenerateFlag is set (fighting Dark Beast Ganon) | |||
* BloodyMoonProhibition is set | |||
* Wind_Relic_BattleStart is set (Vah Medoh battle) | |||
* Electric_Relic_Battle is set (Vah Naboris battle) | |||
* Water_Relic_BattleTime is set (Vah Ruta battle) | |||
* SkyMgr's field_2B4 is set to 15 and field_2B8 >= 1.0 | |||
=== Day/night time flag === | === Day/night time flag === |