$4$ROINIT
Script $4$ROINIT.BIN of Soukoku no Arterial: id 0x40003cf, 2890 instructions, fingerprint a73c3f63cf9c.
A layer: the game mounts it over ROINIT, the base script it writes over.
What its base script does, from OME’s notes on it:
The routes between the area's points. It clears its arrays and fills them from the branch for current_area_id; SETMAPDATA runs it, then each append's.
Source: docs/arterial-data-tables.md (On-demand tables)
Its caller sets these globals before the call:
| Global | What it holds |
|---|---|
current_area_id | the area in play, an AMINIT id |
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. Cells no global names yet take 0 reads, 951 writes and 0 indexes more.
| Global | Reads | Writes | Indexes |
|---|---|---|---|
area_route_points | 0 | 1874 | 0 |
current_area_id | 32 | 0 | 0 |