Skip to content

Adult titles

The games this site covers are adult titles. Their data, pictures and text include sexual content.

Continue only if you are an adult where you live.

quest_clear_flag_ids

Global of Kamidori Alchemy Meister: the cell G:0x3bbcb2, of type int[2000][3], data-table, values story flag id; 0 = unused.

CHECKCONTRACT@0x1f4: once at least one column is nonzero and all nonzero flags are set, the quest gains state bit2 (cleared), freezes its elapsed days and raises quest_notification_bits bit2. Reward notices (ids >= 1000) skip this and are marked cleared on posting (CHECKCONTRACT@0xae).

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 clear_flag_1, 1 clear_flag_2, 2 clear_flag_3. Lua and an event’s cell write a row’s column quest_clear_flag_ids[i].column.

Record tables

It is a field of the table quest, as quest.id.clear_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.

ScriptReadsWritesIndexes
QUINIT01040
$3$QUINIT0400
$1$QUINIT060
$2$QUINIT030
CHECKCONTRACT002