scjump_context_id
Global of Soukoku no Arterial: the cell G:0x352f, of type int, index-pointer.
Which of SCJUMP's seven rule lists runs; the caller sets it before running the chain. 1: ALLMAP entered other than back from its own scene; 2 and 3: AFFAIR's two passes, where 3's rules gather scenes into a list; 4: the map ready for a command; 5: a moving unit arrived; 6: a battle's result known (BTL, or ALLMAP for two units the player is not in); 7: a unit's move begins. 0 (ARENA, GAMESTART) is tested by no rule (docs/arterial-data-tables.md, Scene dispatch).
OME’s registry gives it with high confidence, from investigation. The base mod arterial-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 |
|---|---|---|---|
ALLMAP | 0 | 8 | 0 |
$1$SCJUMP | 7 | 0 | 0 |
$2$SCJUMP | 7 | 0 | 0 |
$3$SCJUMP | 7 | 0 | 0 |
$4$SCJUMP | 7 | 0 | 0 |
SCJUMP | 7 | 0 | 0 |
SYSTEM4 | 3 | 1 | 0 |
AFFAIR | 0 | 2 | 0 |
BTL | 0 | 2 | 0 |
GAMESTART | 0 | 2 | 0 |
$4$OPEN | 1 | 0 | 0 |
$4$READY | 1 | 0 | 0 |
ARENA | 0 | 1 | 0 |