unit_joined_flags
Global of Himegari Dungeon Meister: the cell G:0x56f6d, of type int[100], data-table, values 0/1, by unit id 0 to 99.
1 once a unit has joined, a capture included: UNITECH sets it for the unit it adds (UNITECH@0x172-0x179). SUMMON lists a unit that has a threshold and no stone once this or its summon progress is above 0 (SUMMON@0x10d5-0x10f1). GAMECLEAR stores it in the shared profile and GAMESTART loads it (GAMECLEAR@0x479, GAMESTART@0xc19), so a new game keeps it.
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 |
|---|---|---|---|
GAMECLEAR | 0 | 0 | 1 |
GAMESTART | 0 | 0 | 1 |
SUMMON | 0 | 0 | 1 |
UNITECH | 0 | 0 | 1 |