stage_enemy_difficulty_mask
Global of Himegari Dungeon Meister: the cell G:0xe77b7, of type int[30], data-table, values 7 in the shipped table; bit 0/1/2 enables the spawn on the corresponding difficulty.
Per-spawn difficulty inclusion mask. FIELD uses check-bit with difficulty_index and rejects a slot when the selected difficulty bit is absent.
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 0x32f1.
Record tables
It is a field of the table stage_enemy, as stage_enemy.id.difficulty_mask.
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 |
FIELD | 0 | 0 | 1 |