entity_levels
Global of Himegari Dungeon Meister: the cell G:0x4e053, of type int[50], data-table, values runtime unit level 1..99.
Displayed/runtime level for each map entity. SETEN begins enemies at unit_starting_level, applies party-reference auto-scaling and stage minimum/maximum clamps, and BTL subtracts the surviving faction-1 participant's level from the opponent's level to choose the experience multiplier bracket.
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.
It depends on 0x7a37e, 0xe782f, 0xe784d, 0x204f8.
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 |
|---|---|---|---|
SETEN | 0 | 0 | 11 |
FIELD | 1 | 2 | 6 |
SELACT | 0 | 0 | 9 |
BTL | 0 | 0 | 6 |
DRAWENP | 0 | 0 | 3 |
DRAWCHP | 0 | 0 | 2 |
ADDEXP | 0 | 0 | 1 |
INFOEN | 0 | 0 | 1 |
SETCH | 0 | 0 | 1 |
USEITEM | 0 | 0 | 1 |