$4$FAINIT
Script $4$FAINIT.BIN of Soukoku no Arterial: id 0x40003c2, 406 instructions, fingerprint d301fd456ffa.
A layer: the game mounts it over FAINIT, the base script it writes over.
What its base script does, from OME’s notes on it:
The goals: each one's text, the scenes that open and close it, its kind and its reward. Built at boot.
Source: docs/arterial-data-tables.md (Table inventory; ARINIT and FAINIT)
Calls
Called by $4$AUTORUN.
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 |
|---|---|---|---|
goal_lines | 0 | 93 | 0 |
goal_open_scenes_played | 0 | 82 | 0 |
goal_kinds | 0 | 40 | 0 |
goal_sort_keys | 0 | 40 | 0 |
goal_titles | 0 | 40 | 0 |
goal_titles_2 | 0 | 40 | 0 |
goal_bit2_scenes_played | 0 | 39 | 0 |
goal_open_scenes_not_played | 0 | 12 | 0 |
goal_bit1_scenes_played | 0 | 7 | 0 |
goal_reward_counts | 0 | 6 | 0 |
goal_reward_items | 0 | 6 | 0 |