src/field/palette_cycle_initialize.c
Allocating the palette cycles' queue. More…
Included by field_tile_animation.c and islets.c.
Functions
| Name | Description | |
|---|---|---|
void | fdPaletteCycleInit (void) | Allocates the palette cycling queue (HEAP_SLOT_PALETTE_CYCLES) with its four entries cleared. |
Description
Allocating the palette cycles' queue. The main image (field_tile_animation.c)
and the Islets' overlay (islets.c) each include a copy.
Functions in detail
fdPaletteCycleInit
void fdPaletteCycleInit(void)
Allocates the palette cycling queue (HEAP_SLOT_PALETTE_CYCLES) with its four
entries cleared. Nothing in the main image calls it; the Islets call their
own copy.
References syHeapSlotAllocateEWRAM().
Referenced by scIsletsInitSeaOfTime().
Definition at line 7 of file palette_cycle_initialize.c.