Add QuitMenu detection

This commit is contained in:
Héctor Giménez
2023-05-18 22:24:16 +09:00
parent 5dae8f019f
commit 309cea5e89
2 changed files with 2 additions and 0 deletions

View File

@@ -223,4 +223,5 @@ type OpenMenus struct {
MapShown bool MapShown bool
SkillTree bool SkillTree bool
Character bool Character bool
QuitMenu bool
} }

View File

@@ -71,6 +71,7 @@ func (gd *GameReader) openMenus() data.OpenMenus {
MapShown: isMapShown != 0, MapShown: isMapShown != 0,
SkillTree: buffer[0x04] != 0, SkillTree: buffer[0x04] != 0,
Character: buffer[0x02] != 0, Character: buffer[0x02] != 0,
QuitMenu: buffer[0x09] != 0,
} }
} }