stage_object_difficulty_mask
Global of Himegari Dungeon Meister: the cell G:0xe7483, of type int[50], data-table, values {3,4,7}; bit 0/1/2 enables the object on the corresponding difficulty.
Per-object difficulty inclusion mask. SETOBJ uses check-bit with difficulty_index and rejects the object 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_object, as stage_object.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 | 2312 | 1 |
$1$STINIT | 0 | 67 | 1 |
SETOBJ | 0 | 0 | 1 |