benilla-re systems structs docs

PresentUnitDeath

function · objectlayer · orchestration

Address
0x625190 · 66 bytes, up to 0x6251d1
Meaning
Writes a unit's death line, flushes its XP gain and plays its death animation and sound
Confidence
verified, proof one
Finding
objectlayer/unitcombat#environmental-damage-and-death

Finding: Environmental damage and death in objectlayer: unit combat

0x1fc writes the environmental line, signals the active player's wound in the type's school with absorb and resist marks, and plays the type's kit, the kit even for a hit of all zeros. A unit's death writes the death line, flushes the XP gain held on it, which is always empty since a gain is written as it is stored, plays the death animation and the death sound, stops its loop sound and, for the active player, signals PLAYER_DEAD.

The derivation is in the doc.

Callers 1

Callees 7

Calls and jumps by a bare address, from tables/calls.tsv.