Skip to Content
The Alchemy Project

src/battle/battle_unit_tables.c

What every battle unit starts with: its actor script, and the kind of weapon each item is.

Variables

NameDescription
const Sint32BattleObjectEmptyScript []The script a battle object starts with: none.
Uint16BattleUnitWeaponKinds []The kind of weapon each weapon item is, which picks its holder's battle sprite (BattleUnitWeaponAnimationsIsaac and the rest).

Description

What every battle unit starts with: its actor script, and the kind of weapon each item is.

Variables in detail

BattleObjectEmptyScript

const Sint32 BattleObjectEmptyScript[]

The script a battle object starts with: none.

References Sint32.

Referenced by btObjectMake() and btObjectReset().

Definition at line 8 of file battle_unit_tables.c.

BattleUnitWeaponKinds

Uint16 BattleUnitWeaponKinds[]

The kind of weapon each weapon item is, which picks its holder's battle sprite (BattleUnitWeaponAnimationsIsaac and the rest).

Referenced by btUnitGetWeaponKind().

Definition at line 13 of file battle_unit_tables.c.