benilla-re systems structs docs

s_ghostLightArgument

global · objectlayer

Address
0x80af74 · 4 bytes, up to 0x80af77
Type
float
Meaning
Holds 7.0, passed to 0x6d4900 when the ghost state clears
Confidence
verified, proof one
Finding
objectlayer/playerfields#ghost-state

Finding: Ghost state in objectlayer: player fields

0x5de9c0 applies PLAYER_FLAGS bit 0x10: set, it makes the death effect [0xb4b39c] current (ffxeffects), calls 0x6d4620(4) and the ghost tutorial; clear, it restores the glow effect [0xb4b350], calls 0x6d4630, 0x6d4900 and 0x4921c0(0,0) and signals PLAYER_UNGHOST. Both end in 0x458680 with the bit.

The derivation is in the doc.