quest_failure_trigger_flag_ids
Global of Kamidori Alchemy Meister: the cell G:0x3bd422, of type int[2000][3], data-table, values story flag id; 0 = unused.
CHECKCONTRACT@0x308: any set flag fails the quest (state bit1) — typically chapter-entry flags (151 = 4章突入, 201 = 5章, 401 = 終章) or arena-loss flag 8919.
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.
Its columns are named: 0 failure_flag_1, 1 failure_flag_2, 2 failure_flag_3. Lua and an event’s cell write a row’s column quest_failure_trigger_flag_ids[i].column.
Record tables
It is a field of the table quest, as quest.id.failure_trigger_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 |
|---|---|---|---|
QUINIT | 0 | 49 | 0 |
$1$QUINIT | 0 | 6 | 0 |
$3$QUINIT | 0 | 3 | 0 |
CHECKCONTRACT | 0 | 0 | 2 |