battle_entity_indices
Global of Himegari Dungeon Meister: the cell G:0x152877, of type int[2], data-table, values runtime entity row indices.
The two runtime entity rows participating in BTL. battle_actor_side_index and battle_target_side_index select these cells before BTL and CALCDMG access HP, unit definitions, skills, animation state, and voice banks.
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 side_0, 1 side_1. Lua and an event’s cell write a row’s column battle_entity_indices[i].column.
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 |
|---|---|---|---|
BTL | 26 | 0 | 30 |
SELACT | 25 | 4 | 0 |
CALCDMG | 0 | 0 | 14 |
CALCBTPARAM | 0 | 4 | 3 |