Skip to Content
The Alchemy Project

struct LEVEL_UP_STATE

Scratch for gmUnitLevelUp, which takes it from EWRAM first (syHeapAllocateEWRAM) and frees it before returning.

Declared in game_levels.c.

Fields

NameDescription
Sint32classIndexthe unit's class, written and not read again
Sint32levelthe level before this one
const CHARACTER_DEFINITION *growththe character's growth curves
Uint8unused [32]never written

Description

Scratch for gmUnitLevelUp, which takes it from EWRAM first (syHeapAllocateEWRAM) and frees it before returning.

struct LEVEL_UP_STATE

Referenced by gmUnitLevelUp().

Definition at line 193 of file game_levels.c.

Fields in detail

classIndex

Sint32 classIndex

the unit's class, written and not read again

level

Sint32 level

the level before this one

growth

const CHARACTER_DEFINITION *growth

the character's growth curves

unused

Uint8 unused[32]

never written