Alchemy
Loading...
Searching...
No Matches

kolima_palette.h File Reference

Go to the source code of this file.

Functions

void KolimaPalette_Curse (s32 a)
 Keeps the healthy colours, curses the background palettes 0 to 13 (all but colours 1 to 7 of palette 1 and 1 to 8 of palette 12) by strength, keeps the cursed colours too, and shows them.
void KolimaPalette_Restore (s32 second)
 Makes the healthy colours (second 0) or the cursed ones (second 1) the colours to fade to; the scene then fades with Engine_ColorBufferInterpolate.

Function Documentation

◆ KolimaPalette_Curse()

void KolimaPalette_Curse ( s32 a)

Keeps the healthy colours, curses the background palettes 0 to 13 (all but colours 1 to 7 of palette 1 and 1 to 8 of palette 12) by strength, keeps the cursed colours too, and shows them.

Definition at line 28 of file kolima_palette.h.

Referenced by KolimaForestBend_Initialize(), KolimaForestClearing_Initialize(), KolimaForestRiver_Initialize(), KolimaForestTree_Initialize(), and KolimaPalette_Curse().

◆ KolimaPalette_Restore()

void KolimaPalette_Restore ( s32 second)

Makes the healthy colours (second 0) or the cursed ones (second 1) the colours to fade to; the scene then fades with Engine_ColorBufferInterpolate.

Definition at line 89 of file kolima_palette.h.

Referenced by KolimaForestTree_RestoreTret(), KolimaForestTree_UpdateHealingPalette(), and KolimaPalette_Restore().