Skip to Content
The Alchemy Project

src/scene/shared/scroll_start_hblank.c

The start of a split screen, shared by the two scenes that draw one: SW Atteka Islet's falls and the Apojii Islands' water. More…

Included by apojii_islands.c and settlements.c.

Functions

NameDescription
voidscScrollStartHBlank (void)Starts the split: scScrollHBlank on every line, and scLayerTrackScroll each tick.

Description

The start of a split screen, shared by the two scenes that draw one: SW Atteka Islet's falls and the Apojii Islands' water. On each line scScrollHBlank scrolls and blends BG1 one way above the split and another below it, and each tick scLayerTrackScroll moves the split along with the map.

Functions in detail

scScrollStartHBlank

void scScrollStartHBlank(void)

Starts the split: scScrollHBlank on every line, and scLayerTrackScroll each tick.

References scFieldSetTickEvent(), scLayerTrackScroll(), scScrollHBlank(), Sint32 and syIntFunction().

Referenced by scApojiiIslandsInitHaze() and scSettlementsStartWaterfall().

Definition at line 9 of file scroll_start_hblank.c.