roster_unit_ids
Global of Kamidori Alchemy Meister: the cell G:0x6383d, of type int[100], data-table, values EBINIT unit id, 0 empty.
UNITECH@0x003d1 finds the first empty/same slot and stores the unit id; SETCH@0x00000 and COMMITBTL@0x00124 read it.
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.
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 | 8 |
FELLOW | 0 | 0 | 7 |
UNITECH | 0 | 0 | 7 |
ORGANIZE | 0 | 0 | 5 |
GAMECLEAR | 0 | 0 | 3 |
GAMESTART | 0 | 0 | 3 |
SELSTAGE | 0 | 0 | 3 |
CHANGEARM | 0 | 0 | 2 |
CHANGECH | 0 | 0 | 2 |
DELCH | 0 | 0 | 2 |
DRAWBUILD | 0 | 0 | 2 |
SETSTUDIOCH | 0 | 0 | 2 |
$3$SETSTAGEFLAG | 0 | 0 | 1 |
$3$STAGEREADY | 0 | 0 | 1 |
ARENA | 0 | 0 | 1 |
CALCSETTLE | 0 | 0 | 1 |
COMMITBTL | 0 | 0 | 1 |
ENHANCE | 0 | 0 | 1 |
INVITECH | 0 | 0 | 1 |
SALE | 0 | 0 | 1 |
SELGEM | 0 | 0 | 1 |
SETARMSTATE | 0 | 0 | 1 |
SETCH | 0 | 0 | 1 |
SETTOOLLIST | 0 | 0 | 1 |
SETUNITLIST | 0 | 0 | 1 |
SETUSABLE | 0 | 0 | 1 |
SHOP | 0 | 0 | 1 |
STUDIO | 0 | 0 | 1 |