Add QuitMenu detection
This commit is contained in:
@@ -223,4 +223,5 @@ type OpenMenus struct {
|
||||
MapShown bool
|
||||
SkillTree bool
|
||||
Character bool
|
||||
QuitMenu bool
|
||||
}
|
||||
|
||||
@@ -71,6 +71,7 @@ func (gd *GameReader) openMenus() data.OpenMenus {
|
||||
MapShown: isMapShown != 0,
|
||||
SkillTree: buffer[0x04] != 0,
|
||||
Character: buffer[0x02] != 0,
|
||||
QuitMenu: buffer[0x09] != 0,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user