selected_battle_animation_id
Global of Himegari Dungeon Meister: the cell G:0x15288c, of type int, index-pointer, values BTANINIT2 animation id 1..809; zero means no animation.
CALCDMG selects a skill_battle_animation_id or an equipped item's item_weapon_class, and BTL also writes passive reaction ids 801..808 and hardcoded defeat id 809. BTANINIT uses this value to select one six-effect timeline.
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 0xaaa1e, 0xa6689, 0x15288e.
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 | 16 | 6 | 0 |
CALCDMG | 0 | 2 | 0 |
BTANINIT | 1 | 0 | 0 |
DEBUGANIME | 0 | 1 | 0 |