Skip to Content
The Alchemy Project

src/scene/shared/lesson_scripts.c

The lesson at the heart of each Rock, which Air's Rock, Aqua Rock, Gaia Rock and Magma Rock keep a copy of: as the Adept reads the tablet, the tablet lifts off its stand and the Adept rises as the sparks circle in, and both settle back as the lesson ends.

Included by airs_rock_inside.c, aqua_rock_inside.c, gaia_rock_inside.c and magma_rock_inside.c.

Variables

NameDescription
Uint32LessonTabletRiseScript []The tablet lifts 24 pixels.
Uint32LessonAdeptRiseScript []The Adept rises 16 pixels.
Sint32LessonTabletSettleScript []The tablet settles back on its stand.
Sint32LessonAdeptSettleScript []The Adept settles back to the ground.

Description

The lesson at the heart of each Rock, which Air's Rock, Aqua Rock, Gaia Rock and Magma Rock keep a copy of: as the Adept reads the tablet, the tablet lifts off its stand and the Adept rises as the sparks circle in, and both settle back as the lesson ends.

Variables in detail

LessonTabletRiseScript

Uint32 LessonTabletRiseScript[]

The tablet lifts 24 pixels.

Referenced by scAirsRockInsideShebaLearnsReveal(), scAquaRockInsidePiersLearnsParch(), scGaiaRockInsideFelixLearnsSand() and scMagmaRockInsideLearnBlaze().

Definition at line 7 of file lesson_scripts.c.

LessonAdeptRiseScript

Uint32 LessonAdeptRiseScript[]

The Adept rises 16 pixels.

Referenced by scAirsRockInsideShebaLearnsReveal(), scAquaRockInsidePiersLearnsParch(), scGaiaRockInsideFelixLearnsSand() and scMagmaRockInsideLearnBlaze().

Definition at line 15 of file lesson_scripts.c.

LessonTabletSettleScript

Sint32 LessonTabletSettleScript[]

The tablet settles back on its stand.

References Sint32.

Referenced by scAirsRockInsideShebaLearnsReveal(), scAquaRockInsidePiersLearnsParch(), scGaiaRockInsideFelixLearnsSand() and scMagmaRockInsideLearnBlaze().

Definition at line 23 of file lesson_scripts.c.

LessonAdeptSettleScript

Sint32 LessonAdeptSettleScript[]

The Adept settles back to the ground.

References Sint32.

Referenced by scAirsRockInsideShebaLearnsReveal(), scAquaRockInsidePiersLearnsParch(), scGaiaRockInsideFelixLearnsSand() and scMagmaRockInsideLearnBlaze().

Definition at line 32 of file lesson_scripts.c.