struct BATTLE_BASE_STATS
A unit's base stats as they were before its level changed.
Declared in battle_formation.c.
Fields
| Name | Description | |
|---|---|---|
Sint16 | baseHp | |
Sint16 | basePp | |
Sint16 | hpGauge | Copied, not read. |
Sint16 | ppGauge | |
Uint16 | baseAttack | |
Uint16 | baseDefense | |
Uint16 | baseAgility | |
Uint8 | baseLuck | Copied, not read. |
Uint8 | actionCount | |
Uint8 | hpRegen | |
Uint8 | ppRegen | |
Uint8 | unused [2] | Unit's baseUnused. |
BATTLE_ELEMENT_STATS | element [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.