battle_rule_outcomes
Global of Soukoku no Arterial: the cell G:0x3718e6, of type int[100][5], data-table.
REINIT: what five events do to the battle, 0 nothing, 1 a win, 2 a loss (by the rules' texts). Without a rule SETREGULATION uses 0, 0, 2, 1, 2.
OME’s registry gives it with med confidence, from investigation. The base mod arterial-base exports the name, so Lua and an event’s fields can use it.
Its columns are named: 0 player_deck_out, 1 opponent_deck_out, 2 player_lp_zero, 3 opponent_lp_zero, 4 turn_limit. Lua and an event’s cell write a row’s column battle_rule_outcomes[i].column.
Record tables
It is a field of the table battle_rule, as battle_rule.id.outcomes.
Scripts that use it
The game’s scripts whose instructions read, write or index (take as an array’s base) the cell, with how many of their operands do each, from OME’s script index.
| Script | Reads | Writes | Indexes |
|---|---|---|---|
REINIT | 0 | 197 | 0 |
$3$REINIT | 0 | 36 | 0 |
$4$REINIT | 0 | 9 | 0 |
$1$REINIT | 0 | 5 | 0 |
DEBUGBTL | 0 | 5 | 0 |
SETREGULATION | 0 | 0 | 1 |