story_event_flags
Global of Kamidori Alchemy Meister: the cell G:0x50d, of type int[10000], data-table, values mostly {0,1}; one-based flag id v lives at G[0x50c+v].
Shared one-based story/event flag bank (Himegari analog story_event_flags@0x6d3). CHECKCONTRACT@0x131/0x18b/0x21d/0x32c, INFO1@0x7da/0x834/0x89e, FIELD@0x8a81 (cards) all subtract one from an authored flag id and index this base; scene scripts set cells directly (e.g. SC0000@0x14c8e sets flag 8112 = G[0x24bc]). Flag 10000 is set only by DEBUGAM@0xaf, so data rows gated on it are disabled.
OME’s registry gives it with high confidence, from investigation. The base mod kamidori-base exports the name, so Lua and an event’s fields can use it.
Scripts that use it
The game’s scripts whose instructions read, write or index (take as an array’s base) the cell, with how many of their operands do each, from OME’s script index.