training_action_required_story_flag_ids
Global of Himegari Dungeon Meister: the cell G:0x155bbc, of type int[21][3], data-table, values one-based story flag id; zero means no requirement.
Up to three story prerequisites per action: TRAIN subtracts one from each nonzero id and requires that story_event_flags cell to be 1 (TRAIN@0x509-0x542).
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_story_flag_id_1, 1 required_story_flag_id_2, 2 required_story_flag_id_3. Lua and an event’s cell write a row’s column training_action_required_story_flag_ids[i].column.
It depends on 0x6d3.
Record tables
It is a field of the table training_action, as training_action.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 |
|---|---|---|---|
TRINIT | 0 | 13 | 0 |
TRAIN | 0 | 0 | 2 |