benilla-re systems structs docs

s_keyCorpse

global · ui

Address
0x854974 · 7 bytes, up to 0x85497a
Type
const char[7]
Meaning
Holds the global string key CORPSE of the class word of a dead unit
Confidence
verified, proof one
Finding
ui/tooltipunit#the-class-text

Finding: The class text in ui: The unit tooltip

A dead unit, one with health 0 or the dead dynamic flag (bit 5), has the class text CORPSE. A player has the race and class names joined by "%s %s". A creature has its creature type's name, shown only when the player's reaction to it is below 4 and the type is not 10 (unspecified). A player whose race or class has no row leaves the class text unwritten.

The derivation is in the doc.