battle_hit_result
Global of Himegari Dungeon Meister: the cell G:0x15261c, of type int, unknown, values -1 synthetic battle setup, 0 miss, 1 hit, 2 critical.
CALCDMG initializes this to miss, changes it to hit after the accuracy gate, and then to critical after the critical-chance gate. BTL uses the same result to choose presentation, cut-ins, and critical voice columns; -1 is written only by a synthetic pre-battle path.
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.
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 | 10 | 3 | 0 |
CALCDMG | 2 | 3 | 0 |
DEBUGANIME | 0 | 1 | 0 |