scjump_handler_chain
Global of Kamidori Alchemy Meister: the cell G:0x3d4180, of type int[32], data-table, values packed script ids; effective order [$3$SCJUMP, $2$SCJUMP, SCJUMP, $1$SCJUMP].
INIT2@0x54 seeds slot0 with SCJUMP; $1$AUTORUN@0x54 appends $1$SCJUMP at slot1; $2$/$3$AUTORUN shift the chain right and insert at slot0. CHECKREWARD@0x2cd, ALLMAP, FIELD, SELSTAGE, STUDIO, SYSTEM4, TOWN call each nonzero entry while scjump_chain_pending==1. One of the 18 per-table hook chains at 0x3d40c0 + 0x20*k.
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 |
$3$AUTORUN | 3 | 4 | 0 |
$2$AUTORUN | 2 | 3 | 0 |
SELSTAGE | 0 | 0 | 4 |
TOWN | 0 | 0 | 4 |
ALLMAP | 0 | 0 | 2 |
CHECKREWARD | 0 | 0 | 2 |
SETSTUDIOCH | 0 | 0 | 2 |
STUDIO | 0 | 0 | 2 |
SYSTEM4 | 0 | 0 | 2 |
$1$AUTORUN | 0 | 1 | 0 |
INIT2 | 0 | 1 | 0 |