entity_battle_routine_random_rolls
Global of Himegari Dungeon Meister: the cell G:0x56738, of type int[50][20], data-table, values 0..99.
Per-runtime-entity battle-step random rolls. FIELD and BTL fill every active entity's twenty cells with random-modulo-100; BTRTN executes a step when the matching roll is below battle_routine_activation_percents.
OME’s registry gives it with high confidence, from investigation. The base mod himegari-base exports the name, so Lua and an event’s fields can use it.
It depends on 0x125ad8, 0xeff76.
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 |
|---|---|---|---|
RTN_B001 | 0 | 0 | 2 |
BTL | 0 | 0 | 1 |
BTRTN | 0 | 0 | 1 |
FIELD | 0 | 0 | 1 |