unit_sex
Global of Kamidori Alchemy Meister: the cell G:0x2b62c4, of type int[1000], data-table, values 1 male, 2 female, 3 other/none.
SETARMSTATE@0x00161 checks bit <sex> of the item gender mask 0x2e6898 (Will's clothes mask 2 = bit1, Yuela's 4 = bit2); HISTORY@0x0097b: a backlog line is replayable when the voice slot preview is nonzero and (slot>0 or sex==2), i.e. unregistered female speakers fall back to the extra slot 0.
OME’s registry gives it with high confidence, from investigation. The base mod kamidori-base exports the name, so Lua and an event’s fields can use it.
Record tables
It is a field of the table unit, as unit.id.sex.
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 | 368 | 0 |
$3$EBINIT | 0 | 49 | 0 |
$1$EBINIT | 0 | 22 | 0 |
$2$EBINIT | 0 | 6 | 0 |
HISTORY | 0 | 0 | 2 |
SETARMSTATE | 0 | 0 | 1 |