routine_id
Global of Kamidori Alchemy Meister: the cell G:0x14d09c, of type int, index-pointer, values RTINIT routine id 0..999.
BTRTN@0x00029 loads it from the unit's battle routine 0x61f6e[unit][phase 0x320b]. MVRTN@0x0008d loads it from the map routine 0x61ed8[unit][phase]. Every RTINIT bank is indexed [routine_id][step].
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 |
|---|---|---|---|
BTRTN | 8 | 1 | 0 |
MVRTN | 8 | 1 | 0 |
RTN_M011 | 8 | 0 | 0 |
RTN_M005 | 4 | 0 | 0 |
RTN_M012 | 4 | 0 | 0 |
RTN_M004 | 3 | 0 | 0 |
RTN_M007 | 2 | 0 | 0 |
RTN_M010 | 2 | 0 | 0 |
RTN_M019 | 2 | 0 | 0 |
RTN_M054 | 2 | 0 | 0 |
RTN_M071 | 2 | 0 | 0 |
RTN_B004 | 1 | 0 | 0 |
RTN_M006 | 1 | 0 | 0 |
RTN_M013 | 1 | 0 | 0 |
RTN_M014 | 1 | 0 | 0 |
RTN_M015 | 1 | 0 | 0 |