Skip to Content
The Alchemy Project

src/battle/formations.c

The 380 enemy formations, by formation id, and the enemies a monster battle never draws.

Variables

NameDescription
FORMATIONFormations [FORMATION_COUNT]Each formation by its id, under the areas whose encounter zones (encounter_zones.c) list it or the event battle that starts it; an id left out has no enemies.
Uint16BattleFormationExcludedEnemies []The 20 enemies whose defeated flags a monster battle clears before it picks a formation (btFormationSelectLevelMatchedCandidate).

Description

The 380 enemy formations, by formation id, and the enemies a monster battle never draws.

Variables in detail

Formations

FORMATION Formations[FORMATION_COUNT]

Each formation by its id, under the areas whose encounter zones (encounter_zones.c) list it or the event battle that starts it; an id left out has no enemies. The Battle Arena's monster battles may draw any formation besides (btFormationSelectLevelMatchedCandidate).

Referenced by btFormationAverageLevel(), btFormationBuildEnemyList(), btFormationGetRandomMember() and btFormationSelectLevelMatchedCandidate().

Definition at line 11 of file formations.c.

BattleFormationExcludedEnemies

Uint16 BattleFormationExcludedEnemies[]

The 20 enemies whose defeated flags a monster battle clears before it picks a formation (btFormationSelectLevelMatchedCandidate).

Referenced by btFormationSelectLevelMatchedCandidate().

Definition at line 1573 of file formations.c.