unit_sally_action_unlock_requirements
Global of Himegari Dungeon Meister: the cell G:0x73236, of type int[1000][4], data-table, values -1 means unconditional, 0 means unavailable, positive values 1744..1915 are one-based indices into the flag bank at 0x6d3.
Availability requirements for SALLY's contract, brainwash, reserved, and sex-magic action slots. The SO012 button atlas and selection dispatch prove that UI choices 1, 2, and 3 select columns 0, 1, and 3; column 2 has a switch case but is deliberately skipped by both drawing and input, so it is reserved/unreachable in the shipped UI. While constructing the action mask, SALLY keeps a positive entry only when flag_bank[value - 1] equals 1, keeps -1 as unconditional, and clears an action whose entry is zero. Deploy, sacrifice, and release use separate eligibility logic.
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.
Its columns are named: 0 contract, 1 brainwash, 2 reserved_action, 3 sex_magic. Lua and an event’s cell write a row’s column unit_sally_action_unlock_requirements[i].column.
Record tables
It is a field of the table unit, as unit.id.sally_action_unlock_requirements.
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 |
|---|---|---|---|
EBINIT | 0 | 65 | 0 |
SALLY | 0 | 0 | 3 |