entity_condition_remaining_turns
Global of Himegari Dungeon Meister: the cell G:0x5295f, of type int[50][30], data-table, values -1 permanent/baseline, 0 inactive, positive remaining turns.
Per-runtime-entity duration counters paired with entity_condition_levels. FIELD decrements positive counters and removes the condition when a counter reaches zero; DRAWENP displays negative values as infinity. RECOVER writes -1 when a recoverable condition retains an equipment/passive baseline and zero when it clears completely.
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: 1 instant_death, 2 hp_drain, 3 sp_drain, 4 fs_drain, 5 curse, 6 charm, 7 confusion, 8 paralysis, 9 poison, 10 water_flow, 11 fear, 12 reserved, 13 regeneration, 14 exaltation. Lua and an event’s cell write a row’s column entity_condition_remaining_turns[i].column.
It depends on 0x52383, 0x52f3b.
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 |
|---|---|---|---|
ADDILLSUB | 0 | 0 | 5 |
FIELD | 0 | 0 | 5 |
CHMENU | 0 | 0 | 3 |
DRAWENP | 0 | 0 | 2 |
RECOVER | 0 | 0 | 2 |
SALLY | 0 | 0 | 2 |
USEITEM | 0 | 0 | 2 |
DISARM | 0 | 0 | 1 |
DRAWCHP | 0 | 0 | 1 |
EXILE | 0 | 0 | 1 |
REMOVECH | 0 | 0 | 1 |
SUMMON | 0 | 0 | 1 |