stage_turn_limit_outcome
Global of Kamidori Alchemy Meister: the cell G:0x140418, of type int[2], data-table, values indexed by revisit row (0 first visit, 1 revisit); nonzero = reaching the limit is a victory, 0 = defeat.
FIELD@0x938c: when the turn counter 0x429b equals stage_turn_limit[row], sets the battle result 0x2a2ddf to 1 (victory) if this is nonzero else 2 (defeat). Row = 0x4a6d[stage] | 0x14c4e4[stage] (FIELD@0x9362).
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 | 105 | 1 |
$1$STINIT | 0 | 17 | 0 |
$3$STINIT | 0 | 5 | 0 |
$2$STINIT | 0 | 2 | 0 |
FIELD | 0 | 0 | 1 |