stage_faction_alliance
Global of Kamidori Alchemy Meister: the cell G:0x14042c, of type int[5], data-table, values alliance group per faction 0..4; slot 1 (0x14042d) is the player's group; 0 = unaligned.
FIELD@0xab69/0xac1e/0xacb7 and COMMITBTL/CALCSUPPORT: faction f != 1 is hostile when stage_faction_alliance[f]==0 or differs from [1]. FIELD@0xc45 also uses it when placing enemies.
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 |
|---|---|---|---|
STINIT | 0 | 97 | 1 |
FIELD | 4 | 0 | 11 |
$1$STINIT | 0 | 6 | 0 |
$2$STINIT | 0 | 4 | 0 |
CALCSUPPORT | 0 | 0 | 3 |
COMMITBTL | 1 | 0 | 2 |