Alchemy
Loading...
Searching...
No Matches

PresetValues Struct Reference

An enemy's element preset in gEnemy_ElementPresetTable: the element it attacks with, its level in each element, and its base power and resistance in each element as packed halfword pairs. More...

#include <preset_table.h>

Data Fields

s32 first
u8 digits [4]
s32 values [4]

Detailed Description

An enemy's element preset in gEnemy_ElementPresetTable: the element it attacks with, its level in each element, and its base power and resistance in each element as packed halfword pairs.

Definition at line 12 of file preset_table.h.

Field Documentation

◆ first

s32 PresetValues::first

Definition at line 13 of file preset_table.h.

Referenced by Enemy_GetAttackElement().

◆ digits

u8 PresetValues::digits[4]

Definition at line 14 of file preset_table.h.

◆ values

s32 PresetValues::values[4]

Definition at line 15 of file preset_table.h.

Referenced by Unit_CalcBaseElements().