battle_unit_current_pools
Global of Kamidori Alchemy Meister: the cell G:0x545da, of type int[50][3], counter.
Initialised from stat cols 10..12 (SETEN@0x006a8, SETCH@0x00345); COMMITBTL@0x0000a treats hp==0 as defeated.
OME’s registry gives it with high confidence, from investigation. The base mod kamidori-base exports the name, so Lua and an event’s fields can use it.
Its columns are named: 0 hp, 1 sp, 2 fs. Lua and an event’s cell write a row’s column battle_unit_current_pools[i].column.
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 |
|---|---|---|---|
FIELD | 0 | 0 | 83 |
BTL | 0 | 0 | 65 |
$3$STAGEROUND | 0 | 0 | 48 |
STAGEREADY | 3 | 3 | 42 |
SCJUMP | 0 | 0 | 30 |
STAGEROUND | 0 | 0 | 30 |
$2$STAGEROUND | 0 | 0 | 24 |
DRAWCHP | 0 | 0 | 12 |
SELACT | 0 | 0 | 8 |
USEITEM | 0 | 0 | 8 |
DRAWVOL | 0 | 0 | 6 |
CALCDMG | 0 | 0 | 4 |
COMMITBTL | 0 | 0 | 3 |
FELLOW | 0 | 0 | 3 |
FELLOWSTATUS | 0 | 0 | 3 |
RTN_M052 | 0 | 0 | 3 |
STATUS | 0 | 0 | 3 |
CALCREVISE | 0 | 0 | 2 |
CALCSCOPE | 0 | 0 | 2 |
RTN_M061 | 0 | 0 | 2 |
CHECKOBJ | 0 | 0 | 1 |
MVSEEK | 0 | 0 | 1 |
RECOVER | 0 | 0 | 1 |
REMOVECH | 0 | 0 | 1 |
RTN_M007 | 0 | 0 | 1 |
RTN_M010 | 0 | 0 | 1 |
RTN_M017 | 0 | 0 | 1 |
RTN_M071 | 0 | 0 | 1 |
SETCH | 0 | 0 | 1 |
SETEN | 0 | 0 | 1 |