One of the things I previously found is the in-game flag system. There is up to 255 flags, where 0-84 are for savable flags in the memcard (they are toggled on and stay on until either some function, in-game event, or observer turns them off), 85-169 is for flags that are within Mansion rooms (they can be turned on by any means, but reset back to off when Luigi leaves a room), and 170-255 are map flags which stay on once turned on (unless function/event/observer turns it off) until Luigi changes maps.
I am going to call this InGameFlagUtil.cpp
Globally, flags are stored at 803d3399 through 803d33b8
Function split will be from 80065fa4 through 80066d70 (80066d74 starts an unrelated function).
Some of this is used in JmpMessage and other ToolData, such as characterinfo, eventinfo, observerinfo, generatorinfo, and keyinfo (plus their blackout variants if applicable)
One of the things I previously found is the in-game flag system. There is up to 255 flags, where 0-84 are for savable flags in the memcard (they are toggled on and stay on until either some function, in-game event, or observer turns them off), 85-169 is for flags that are within Mansion rooms (they can be turned on by any means, but reset back to off when Luigi leaves a room), and 170-255 are map flags which stay on once turned on (unless function/event/observer turns it off) until Luigi changes maps.
I am going to call this InGameFlagUtil.cpp
Globally, flags are stored at 803d3399 through 803d33b8
Function split will be from 80065fa4 through 80066d70 (80066d74 starts an unrelated function).
Some of this is used in JmpMessage and other ToolData, such as characterinfo, eventinfo, observerinfo, generatorinfo, and keyinfo (plus their blackout variants if applicable)