Alchemy
Loading...
Searching...
No Matches

party_commands.c File Reference

Collecting the party's battle commands. More...

Go to the source code of this file.

Functions

s32 Battle_ClassifyEntryKind (const struct BattleAct *act)
 Returns the target selection category for an ability's effect.
s32 Battle_CollectPartyCommands (struct BattleActionRecord *commands, u16 *actors, s32 commandCount)
 Collects commands in party order, including target, cost and randomized priority.

Detailed Description

Collecting the party's battle commands.

Part of battle_command.c, the menu object, compiled only through it.

Definition in file party_commands.c.

Function Documentation

◆ Battle_ClassifyEntryKind()

s32 Battle_ClassifyEntryKind ( const struct BattleAct * act)

Returns the target selection category for an ability's effect.

0 other, 1 restore HP, 2 restore PP, 3 cure poison, 4 cure status ailments, 5 revive, 6 cure all status ailments. act: ability data

Definition at line 11 of file party_commands.c.

Referenced by Battle_ClassifyEntryKind(), Battle_CollectPartyCommands(), and NameEntry_CountLetters().

◆ Battle_CollectPartyCommands()

s32 Battle_CollectPartyCommands ( struct BattleActionRecord * commands,
u16 * actors,
s32 commandCount )

Collects commands in party order, including target, cost and randomized priority.

Cancelling returns to the preceding choice; linked battles exchange completion signatures before releasing the command UI.

Definition at line 39 of file party_commands.c.

Referenced by Battle_CollectPartyCommands(), and NameEntry_CountLetters().