battle_target_side_index
Global of Himegari Dungeon Meister: the cell G:0x15261b, of type int, index-pointer, values {0,1}.
Index of the target side in BTL's two-entry battle arrays. CALCDMG sets it to 1 - battle_actor_side_index; BTL applies battle_hp_delta to this side and uses its unit-definition row for damage and defeated voices.
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 0x152877.
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 |
|---|---|---|---|
BTL | 29 | 0 | 0 |
CALCDMG | 1 | 3 | 0 |
CALCILL | 1 | 0 | 0 |
DEBUGANIME | 0 | 1 | 0 |