$4$REINIT
Script $4$REINIT.BIN of Soukoku no Arterial: id 0x40003bd, 47 instructions, fingerprint c2cc8551e117.
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 $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 |
|---|---|---|---|
battle_rule_lines | 0 | 13 | 0 |
battle_rule_banned_card_rows | 0 | 10 | 0 |
battle_rule_outcomes | 0 | 9 | 0 |
battle_rule_deck_sizes | 0 | 3 | 0 |
battle_rule_hand_sizes | 0 | 3 | 0 |
battle_rule_hp_recovery_flags | 0 | 3 | 0 |
battle_rule_turn_limits | 0 | 3 | 0 |
battle_rule_use_bans | 0 | 2 | 0 |