benilla-re systems structs docs

CGPlayer_C::UpdateGhostState

function · objectlayer · primitive

Address
0x5de9c0 · 132 bytes, up to 0x5dea43
Meaning
Switches the fog, tutorial and spirit state for PLAYER_FLAGS bit 0x10, signalling PLAYER_UNGHOST when clear
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.

Callers 2

Callees 8

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