struct PASSWORD_STATS
A party member's base stats, which the password clamps and packs. More…
Declared in file_screen.c.
Fields
| Name | Description | |
|---|---|---|
Sint16 | baseHp | clamped to 0 to UNIT_CHARACTER_HP_MAX; 11 bits in the password |
Sint16 | basePp | clamped to 0 to UNIT_CHARACTER_HP_MAX; 11 bits |
Sint16 | hpGauge | Unit's; not read here |
Sint16 | ppGauge | Unit's; not read here |
Uint16 | baseAttack | clamped to UNIT_STAT_MAX; 10 bits |
Uint16 | baseDefense | clamped to UNIT_STAT_MAX; 10 bits |
Uint16 | baseAgility | clamped to UNIT_STAT_MAX; 10 bits |
Uint8 | baseLuck | clamped to UNIT_LUCK_MAX; 8 bits, the top one always 0 |
Description
A party member's base stats, which the password clamps and packs.
They are UNIT's from baseHp to baseLuck, at the same offsets.
struct PASSWORD_STATS
Referenced by scFileScreenPackPasswordData().
Definition at line 1167 of file file_screen.c.
Fields in detail
baseHp
Sint16 baseHp
clamped to 0 to UNIT_CHARACTER_HP_MAX; 11 bits in the
password
basePp
Sint16 basePp
clamped to 0 to UNIT_CHARACTER_HP_MAX; 11 bits
hpGauge
Sint16 hpGauge
Unit's; not read here
ppGauge
Sint16 ppGauge
Unit's; not read here
baseAttack
Uint16 baseAttack
clamped to UNIT_STAT_MAX; 10 bits
baseDefense
Uint16 baseDefense
clamped to UNIT_STAT_MAX; 10 bits
baseAgility
Uint16 baseAgility
clamped to UNIT_STAT_MAX; 10 bits
baseLuck
Uint8 baseLuck
clamped to UNIT_LUCK_MAX; 8 bits, the top one always
0