STINIT
Script STINIT.BIN of Kamidori Alchemy Meister: id 0x4527, 44463 instructions, fingerprint a1a7bfc4dbda.
Layers over it: $1$STINIT, $2$STINIT, $3$STINIT.
The per-stage loader: it writes the tables of the stage in current_stage_id (its enemy and ally slots, objects and rules), which FIELD, SELSTAGE's preview and INFO3 run before they read them. It is reached through stage_loader_script_ids, each layer's loader in turn, not by a constant call.
Source: docs/kamidori-data-tables.md (Stage catalog and per-stage loader); the patch point kamidori.stage.after_loader
Its caller sets these globals before the call:
| Global | What it holds |
|---|---|
current_stage_id | the stage whose tables it writes |
Calls
No script calls it by a constant id.
It calls no script by a constant id.
Globals
The named globals its instructions read, write or index (take as an array’s base), with how many operands do each.