benilla-re systems structs docs

s_screenFadeCallback

global · ui

Address
0xb717c0 · 4 bytes, up to 0xb717c3
Type
void *
Meaning
Holds the function to call when the fade ends, or null
Confidence
verified, proof one
Finding
ui/screenfade#fade-state

Finding: Fade state in ui: the screen fade

A fade is ten words. The mode is 0 when idle, 2 while the screen darkens (alpha rises from 0 to 255) and 1 while it lightens (alpha falls from 255 to 0). With the duration, the callback and its argument, the start time and the layer and texture handles, they are the globals of this entry. The active byte is 1 from the start until StopScreenFade.

The derivation is in the doc.