Alchemy
Loading...
Searching...
No Matches

gaia.c File Reference

Gaia. More...

Go to the source code of this file.

Macros

#define GAIA_WALL_TOP_CELLS   0x13c0
 The standing wall's top in the rebuilt sheet, 48x96 (stretched from 48x32).
#define GAIA_WALL_FOOT_CELLS   0x25c0
 The standing wall's foot in the rebuilt sheet, 48x21.
#define GAIA_WALL_FOOT_BYTES   (48 * 21)
#define GAIA_FRAMES   192
#define GAIA_ROCKS   11
 rocks that tumble up the wall

Functions

void BattleFx_RunGaia (struct BattleEffectArgument *effect)
 Rising wall: the ground swells, a wall of rock rises from it, stands while rocks tumble up its face and the targets are battered, and sinks again.

Detailed Description

Gaia.

Part of effect.c, the battle effect object, compiled only through it.

Definition in file gaia.c.

Macro Definition Documentation

◆ GAIA_WALL_TOP_CELLS

#define GAIA_WALL_TOP_CELLS   0x13c0

The standing wall's top in the rebuilt sheet, 48x96 (stretched from 48x32).

Definition at line 8 of file gaia.c.

Referenced by BattleFx_RunGaia().

◆ GAIA_WALL_FOOT_CELLS

#define GAIA_WALL_FOOT_CELLS   0x25c0

The standing wall's foot in the rebuilt sheet, 48x21.

Definition at line 10 of file gaia.c.

Referenced by BattleFx_RunGaia().

◆ GAIA_WALL_FOOT_BYTES

#define GAIA_WALL_FOOT_BYTES   (48 * 21)

Definition at line 11 of file gaia.c.

Referenced by BattleFx_RunGaia().

◆ GAIA_FRAMES

#define GAIA_FRAMES   192

Definition at line 12 of file gaia.c.

Referenced by BattleFx_RunGaia().

◆ GAIA_ROCKS

#define GAIA_ROCKS   11

rocks that tumble up the wall

Definition at line 13 of file gaia.c.

Referenced by BattleFx_RunGaia().

Function Documentation

◆ BattleFx_RunGaia()

void BattleFx_RunGaia ( struct BattleEffectArgument * effect)

Rising wall: the ground swells, a wall of rock rises from it, stands while rocks tumble up its face and the targets are battered, and sinks again.

Abilities: Gaia, Mother Gaia, Grand Gaia, Rockfall, Rockslide, Avalanche (kind 3).

The wall is symmetric: its left half is drawn, then mirrored for the right. Its centre is at canvas x 64 + wallX. The rocks are 11 animation objects, moved by particles[10] to particles[20].

effect: the targets; variant 0 to 2 widens the wall.

Definition at line 26 of file gaia.c.

Referenced by BattleFx_RunGaia().