Skip to Content
The Alchemy Project

struct BATTLE_BASE_STATS

A unit's base stats as they were before its level changed.

Declared in battle_formation.c.

Fields

NameDescription
Sint16baseHp
Sint16basePp
Sint16hpGaugeCopied, not read.
Sint16ppGauge
Uint16baseAttack
Uint16baseDefense
Uint16baseAgility
Uint8baseLuckCopied, not read.
Uint8actionCount
Uint8hpRegen
Uint8ppRegen
Uint8unused [2]Unit's baseUnused.
BATTLE_ELEMENT_STATSelement [ELEMENT_COUNT]Only the base power is read.

Description

A unit's base stats as they were before its level changed.

struct BATTLE_BASE_STATS

Referenced by btEnemyAdjustLevel().

Definition at line 96 of file battle_formation.c.

Fields in detail

baseHp

Sint16 baseHp

basePp

Sint16 basePp

hpGauge

Sint16 hpGauge

Copied, not read.

ppGauge

Sint16 ppGauge

baseAttack

Uint16 baseAttack

baseDefense

Uint16 baseDefense

baseAgility

Uint16 baseAgility

baseLuck

Uint8 baseLuck

Copied, not read.

actionCount

Uint8 actionCount

hpRegen

Uint8 hpRegen

ppRegen

Uint8 ppRegen

unused

Uint8 unused[2]

Unit's baseUnused.

element

BATTLE_ELEMENT_STATS element[ELEMENT_COUNT]

Only the base power is read.