$1$REINIT
Script $1$REINIT.BIN of Soukoku no Arterial: id 0x10001d1, 17 instructions, fingerprint 9b0cefc3d9ac.
A layer: the game mounts it over REINIT, the base script it writes over.
What its base script does, from OME’s notes on it:
The battle rules: what wins and what loses, the turn limit, the hand and deck sizes, and the deck's limits. Built at boot.
Source: docs/arterial-data-tables.md (Table inventory; DEINIT, ALINIT, SHINIT, REINIT)
Calls
Called by $1$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 |
|---|---|---|---|
battle_rule_lines | 0 | 6 | 0 |
battle_rule_outcomes | 0 | 5 | 0 |
battle_rule_deck_sizes | 0 | 1 | 0 |
battle_rule_hand_sizes | 0 | 1 | 0 |
battle_rule_hp_recovery_flags | 0 | 1 | 0 |
battle_rule_turn_limits | 0 | 1 | 0 |
battle_rule_use_bans | 0 | 1 | 0 |