stage_object_use_counts
Global of Himegari Dungeon Meister: the cell G:0x7e54, of type int[1000][50], data-table, values uses so far, by stage id and object slot.
Saved. FIELD adds one when any unit uses the slot's object (FIELD@0x5478-0x548e), and sets it to 0 for 魔物の渦 and 出撃の旗 (types 5, 26) on each fresh entry (FIELD@0x27b-0x2c8). The trigger gate and SETOBJ compare it with object_type_use_limit (FIELD@0x6bfe, SETOBJ@0x18b).
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.
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 |
|---|---|---|---|
FIELD | 0 | 0 | 4 |
SETOBJ | 0 | 0 | 1 |