$3$REINIT
Script $3$REINIT.BIN of Soukoku no Arterial: id 0x3000010, 165 instructions, fingerprint 153a5c173d32.
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 $3$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 | 54 | 0 |
battle_rule_outcomes | 0 | 36 | 0 |
battle_rule_banned_card_rows | 0 | 12 | 0 |
battle_rule_deck_sizes | 0 | 12 | 0 |
battle_rule_hand_sizes | 0 | 12 | 0 |
battle_rule_turn_limits | 0 | 12 | 0 |
battle_rule_use_bans | 0 | 12 | 0 |
battle_rule_hp_recovery_flags | 0 | 11 | 0 |
battle_rule_control_ranges | 0 | 1 | 0 |
battle_rule_cost_ranges | 0 | 1 | 0 |
battle_rule_race_masks | 0 | 1 | 0 |