stage_enemy_max_level
Global of Himegari Dungeon Meister: the cell G:0xe784d, of type int[30], data-table, values 1..99.
Scenario-specific maximum level for each stage enemy. SETEN uses a positive value as the upper clamp unless the debug/config override is active; otherwise it falls back to the unit definition's unit_level_cap.
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 0x7a766.
Record tables
It is a field of the table stage_enemy, as stage_enemy.id.max_level.
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 |
|---|---|---|---|
STINIT | 0 | 1378 | 1 |
$1$STINIT | 0 | 30 | 1 |
SETEN | 0 | 0 | 2 |