stage_turn_limit
Global of Kamidori Alchemy Meister: the cell G:0x14041a, of type int[2], data-table, values turn count per revisit row; 0 = unlimited.
FIELD@0x9377 ends the map when 0x429b equals the row's value (see stage_turn_limit_outcome). STAGEROUND@0x9f1.. loops event checks up to it; DRAWCHP@0x913 displays it. Objective strings ('30ターン経過') confirm.
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 | 233 | 1 |
$1$STINIT | 0 | 22 | 0 |
$3$STINIT | 0 | 19 | 0 |
STAGEROUND | 8 | 0 | 0 |
$3$STAGEROUND | 5 | 0 | 0 |
$2$STINIT | 0 | 4 | 0 |
$1$STAGEROUND | 2 | 0 | 0 |
$2$STAGEROUND | 1 | 0 | 0 |
DRAWCHP | 0 | 0 | 1 |
FIELD | 0 | 0 | 1 |