WorldMgr: Difference between revisions

Jump to navigation Jump to search
imported>Leoetlino
imported>Leoetlino
Line 191: Line 191:
====State 0 - Wait for conditions====
====State 0 - Wait for conditions====
If the following three conditions are true:
If the following three conditions are true:
* The [[#Moon type]] must be 5 (waxing crescent)
* The [[#Moon type]] is 5 (waxing crescent)
* The AnimalMaster_Existence flag must be false (the LotM must not already be spawned)
* The AnimalMaster_Existence flag is false (the LotM must not already be spawned)
* The current [[map area]] number must not be 64 ("HyruleHill", presumably the Satori Mountain area)
* The current [[map area]] number is not 64 ("HyruleHill", presumably the Satori Mountain area)


then the game generates a random "appearance hour" in the [0 .. 22] interval and goes into state 1.
then the game generates a random "appearance hour" in the [0 .. 22] interval and goes into state 1.