Skip to Content
The Alchemy Project

struct PASSWORD_MEMBER

A party member as the password reads them: their level, base stats, inventory and Djinn, a view of UNIT at its offsets.

Declared in file_screen.c.

Fields

NameDescription
Uint8name [15]Unit's; not read here
Uint8levelclamped to 1 to
PASSWORD_STATSstatsUNIT_LEVEL_MAX; 7 bits
Uint8regenToActions [184]Unit's baseHpRegen to psynergy
Uint16inventory [INVENTORY_SLOTS]an INVENTORY_ENCODING each
Uint8padding [2]Unit's paddingBeforeDjinn
Uint32djinnHeld [ELEMENT_COUNT]the Djinn held, a bit per Djinni, by element

Description

A party member as the password reads them: their level, base stats, inventory and Djinn, a view of UNIT at its offsets.

struct PASSWORD_MEMBER

Referenced by scFileScreenPackPasswordData().

Definition at line 1183 of file file_screen.c.

Fields in detail

name

Uint8 name[15]

Unit's; not read here

level

Uint8 level

clamped to 1 to

stats

PASSWORD_STATS stats

UNIT_LEVEL_MAX; 7 bits

regenToActions

Uint8 regenToActions[184]

Unit's baseHpRegen to psynergy

inventory

Uint16 inventory[INVENTORY_SLOTS]

an INVENTORY_ENCODING each

padding

Uint8 padding[2]

Unit's paddingBeforeDjinn

djinnHeld

Uint32 djinnHeld[ELEMENT_COUNT]

the Djinn held, a bit per Djinni, by element