familiar_unit_id
Global of Himegari Dungeon Meister: the cell G:0x32f0, of type int, index-pointer, values EBINIT unit id 2..4: リリィ:幼少時代, リリィ:少女時代, リリィ:成女時代; 0 at boot.
The familiar's current form. UNITECH@0xd7 sets it to the joining unit when that unit is 2..4 (UNITECH@0xb6-0xcb), and EVOLVE@0xa7b advances it by one when she grows up, after copying her skills to the next form (EVOLVE@0xa51-0xa71). TRAIN reads that unit's level and stats (TRAIN@0x5ae, TRAIN@0x6c3), changes its stats, and pages the training actions by it: page familiar_unit_id - 2 holds actions 7 x page to 7 x page + 6 (TRAIN@0x434-0x43b). CALCCC's Lily rules (CCINIT) apply only to a unit other than this one; CHMENU, ADDSKILL, SAVE and GAMESTART read it too.
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 |
|---|---|---|---|
TRAIN | 23 | 0 | 0 |
EVOLVE | 21 | 1 | 0 |
GAMECLEAR | 9 | 0 | 0 |
CHMENU | 7 | 0 | 0 |
ADDSKILL | 6 | 0 | 0 |
GAMESTART | 5 | 0 | 0 |
FORT | 4 | 0 | 0 |
SALLY | 3 | 0 | 0 |
CCINIT | 2 | 0 | 0 |
INPUTNAME | 2 | 0 | 0 |
SAVE | 2 | 0 | 0 |
SELSTAGE | 2 | 0 | 0 |
STUDY | 2 | 0 | 0 |
SUMMON | 2 | 0 | 0 |
UNITECH | 1 | 1 | 0 |
SHOWGROW | 1 | 0 | 0 |