Alchemy
Loading...
Searching...
No Matches

mercury_lighthouse_palette_cycle.h File Reference

Go to the source code of this file.

Functions

static void MercuryLighthouse_CyclePalette (void)
 A scene callback: every fifth frame colour 9's red level steps on by 4, and each of colours 10 to 15 takes the red level of the colour below it (13 to 15 dimmed by four tenths), so the shimmer runs up the ramp; green and blue stay those of gPaletteCycleGreen and gPaletteCycleBlue.
static void MercuryLighthouse_ClearPalette (void)
 While the pool sleeps: colours 9 to 15 of background palette 6 are black.

Function Documentation

◆ MercuryLighthouse_CyclePalette()

void MercuryLighthouse_CyclePalette ( void )
static

A scene callback: every fifth frame colour 9's red level steps on by 4, and each of colours 10 to 15 takes the red level of the colour below it (13 to 15 dimmed by four tenths), so the shimmer runs up the ramp; green and blue stay those of gPaletteCycleGreen and gPaletteCycleBlue.

Definition at line 21 of file mercury_lighthouse_palette_cycle.h.

Referenced by MercuryLighthouse_CyclePalette(), MercuryLighthouse_Initialize(), MercuryLighthouseEntrance_ActivateWithPly(), and MercuryLighthouseEntrance_Initialize().

◆ MercuryLighthouse_ClearPalette()

void MercuryLighthouse_ClearPalette ( void )
static

While the pool sleeps: colours 9 to 15 of background palette 6 are black.

Definition at line 48 of file mercury_lighthouse_palette_cycle.h.

Referenced by MercuryLighthouse_ClearPalette(), MercuryLighthouse_Initialize(), and MercuryLighthouseEntrance_Initialize().