GameDataMgr: Difference between revisions

imported>Leoetlino
imported>Leoetlino
Line 64: Line 64:
Stored at GameDataMgr+0xC1C on Switch 1.5.0.
Stored at GameDataMgr+0xC1C on Switch 1.5.0.
{|class="wikitable"
{|class="wikitable"
! Flag !! Description
! Flag !! ResetType !! Description
|-
|-
| 1 || ?
| 1 || 0 || No reset{{check}}
|-
|-
| 2 || Corresponds to reset type 1.
| 2 || 1 || Corresponds to reset type 1.


Set from [[SaveSystem]] code (under specific cases when a save is being loaded), or more commonly from [[AIDef:Action/EventOffWaitRevivalAction|action::EventOffWaitRevivalAction]] (whenever a Blood Moon happens)
Set from [[SaveSystem]] code (under specific cases when a save is being loaded), or more commonly from [[AIDef:Action/EventOffWaitRevivalAction|action::EventOffWaitRevivalAction]] (whenever a Blood Moon happens)
|-
|-
| 4 || Corresponds to reset type 2.
| 4 || 2 || Corresponds to reset type 2.


Set when preparing for a stage generation.
Set when preparing for a stage generation.
|-
|-
| 8 || Corresponds to reset type 3.
| 8 || 3 || Corresponds to reset type 3.


Set every day at midnight.
Set every day at midnight.
|-
|-
| 0x10 || Corresponds to reset type 4.
| 0x10 || 4 || Corresponds to reset type 4.


Set by [[WorldMgr]] when it determines that the Lord of the Mountain should appear.
Set by [[WorldMgr]] when it determines that the Lord of the Mountain should appear.
Anonymous user