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.

condition_duration_turns_by_level

Global of Himegari Dungeon Meister: the cell G:0xaacf0, of type int[30][5], data-table, values -1 permanent or a positive turn count.

ILINIT's five-column duration row for each condition. ADDILLSUB indexes it by the resulting condition level minus one and stores the value in entity_condition_remaining_turns (ADDILLSUB@0x174-0x1cc). FIELD counts a positive count down each turn and clears the condition at 0 (FIELD@0x7b4b-0x7bab); -1 never counts down.

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 level_1_turns, 1 level_2_turns, 2 level_3_turns, 3 level_4_turns, 4 level_5_turns. Lua and an event’s cell write a row’s column condition_duration_turns_by_level[i].column.

It depends on 0x5295f, 0x52383.

Record tables

It is a field of the table condition, as condition.id.duration_turns.

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
ILINIT0600
ADDILLSUB003
DISARM001