benilla-re systems structs docs

s_screenFadeActive

global · ui

Address
0xb71834 · 1 bytes, up to 0xb71834
Type
uint8_t
Meaning
Holds 1 while a screen fade layer exists
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.