$1$BGINIT
Script $1$BGINIT.BIN of Soukoku no Arterial: id 0x10001e1, 47 instructions, fingerprint 37dc32702c76.
A layer: the game mounts it over BGINIT, the base script it writes over.
What its base script does, from OME’s notes on it:
Picture substitution: for the picture id in adv_face_id and the time of day in time_slot (0 to 4), it leaves another picture id in adv_face_id. Run on demand.
Source: docs/arterial-data-tables.md (On-demand tables)
Its caller sets these globals before the call:
| Global | What it holds |
|---|---|
adv_face_id | the picture id to substitute; the script leaves its substitute there |
time_slot | the time of day, 0 to 4, that picks the substitute |
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.
| Global | Reads | Writes | Indexes |
|---|---|---|---|
adv_face_id | 2 | 10 | 0 |
time_slot | 10 | 0 | 0 |