UCC Reference

UI_fade_palette_sleep

[SI, Exult]

UI_fade_palette_sleep(int length, int unk, bool type)

Causes the screen to fade to/from black.

When fading to black, plays music 24; otherwise, plays music 22.

Parameters

Parameter / value Description
length The length, in ticks, of the fade; that is, how long it will take for the fade to happen.
unk Reserved; unknown. This is an unknown parameter from the original games; it is unimplemented in Exult. It cannot be left out, however.
type The type of fade. If true, fades from black; if false, fades to black.

Related intrinsics

Full intrinsic reference | Reference definitions