card_definition_required_story_flag_ids
Global of Himegari Dungeon Meister: the cell G:0x151a5d, of type int[100][3], data-table, values story flag id; zero means no requirement.
Story prerequisites per card. FIELD admits a card to the draw only when each nonzero id of columns 0 and 1 has its story_event_flags cell (id - 1) at 1 (FIELD@0x6f25-0x6f80; the loop bound is 2 at FIELD@0x6f39), so column 2, which CDINIT2 writes for 18 cards, is never read.
OME’s registry gives it with high confidence, from investigation. The base mod himegari-base exports the name, so Lua and an event’s fields can use it.
Its columns are named: 0 required_flag_1, 1 required_flag_2, 2 engine_dead_required_flag_3. Lua and an event’s cell write a row’s column card_definition_required_story_flag_ids[i].column.
It depends on 0x1519f8, 0x6d3.
Record tables
It is a field of the table card, as card.id.required_story_flags.
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.
| Script | Reads | Writes | Indexes |
|---|---|---|---|
CDINIT2 | 0 | 87 | 0 |
FIELD | 0 | 0 | 2 |