benilla-re systems structs docs

s_screenFadeFinished

global · ui

Address
0xb717a0 · 1 bytes, up to 0xb717a0
Type
uint8_t
Meaning
Holds 1 after the frame that drew the fade at its end value
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.