training_action_event_story_flag_ids
Global of Himegari Dungeon Meister: the cell G:0x156015, of type int[21][10], data-table, values story flag / SCINIT decision id; zero ends the action's execution sequence.
The scene each execution plays: TRAIN takes the column at the action's execution count, writes it to scjump_decision_out and the scene's script to next_script_resource_id (TRAIN@0x877-0x895). A zero at the count marks the action used up (TRAIN@0x45f-0x486, 「実行回数が上限に達しています。」 at TRAIN@0x7c5). GAMESTART sets story_event_flags[id] for each completed execution (GAMESTART@0x8bf-0x8d1). The first zero is the action's limit: 1 to 6 executions.
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 execution_1, 1 execution_2, 2 execution_3, 3 execution_4, 4 execution_5, 5 execution_6, 6 execution_7, 7 execution_8, 8 execution_9, 9 execution_10. Lua and an event’s cell write a row’s column training_action_event_story_flag_ids[i].column.
It depends on 0x53edd, 0x62ccf, 0x6727, 0x6d3, 0x87a57.
Record tables
It is a field of the table training_action, as training_action.id.event_decision_ids.
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 | 75 | 0 |
TRAIN | 0 | 0 | 2 |
GAMESTART | 0 | 0 | 1 |