battle_result
Global of Soukoku no Arterial: the cell G:0x3d467, of type int, index-pointer.
Saved: how the last battle ended, 1 won and 2 lost. BTL clears it before each try and ANIMEDRAW sets it when the battle is decided; BTL runs RESULT on a win, offers a lost battle again, and plays G[0x3d46a + result - 1], the battle's scene for that result, when it has one.
OME’s registry gives it with high confidence, from investigation. The base mod arterial-base exports the name, so Lua and an event’s fields can use it.
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 |
|---|---|---|---|
SCJUMP | 13 | 0 | 0 |
ALLMAP | 7 | 5 | 0 |
BTL | 9 | 2 | 0 |
ARENA | 2 | 2 | 0 |
RETREATCARD | 2 | 2 | 0 |
ANIMEDRAW | 0 | 2 | 0 |
PHASECONTROLLER | 0 | 2 | 0 |
TUTORIAL | 2 | 0 | 0 |
BTLINFO | 0 | 1 | 0 |
PH03_PLR_ACTION | 0 | 1 | 0 |