Alchemy
Loading...
Searching...
No Matches

battle_command.c

Go to the documentation of this file.
1/// @file
2/// The menu object of the window bank: the screens built on the window system
3/// (window.c). It holds the party status window, the save file menu, the name
4/// entry screen, the joined-party messages, the command icon row, the Djinn
5/// change preview and the status screen, the battle menus (Djinn, summons,
6/// items, Psynergy, targets and the party's commands), the command icon menus
7/// of the field and title screens, and the debug menus.
8///
9/// battle_command_internal.h holds what every part shares (includes, edition
10/// values, macros and the link round state); the code is in the files under
11/// battle_command/, included here in the order it has in the ROM. Camelot's
12/// own files are not recoverable: the ROM shows one object, and these parts
13/// are ours, cut where one family ends and the next begins. README.md in this
14/// folder gives the words, prefixes and spellings the parts use. Where to
15/// start:
16///
17/// Party status party_status.c: UiWindow_CreateWithLayoutBounds,
18/// PartyStatusDraw
19/// Saving save.c: SaveMenu_SelectSlot, Save_WriteSelectedSlot
20/// Battle menus party_commands.c: Battle_CollectPartyCommands, which
21/// runs command_row.c: Menu_RunCommandRow and the menus
22/// of djinn_menu.c, summon_menu.c, item_menu.c,
23/// psynergy_menu.c and targets.c
24/// Icon menus icon_menu.c: Menu_SelectTopEntry,
25/// Menu_SelectSaveSlotAction
26
28
29// The menu object's code, in ROM order. Each part is compiled here, as part
30// of this one object, never on its own: the order of these includes is the
31// order of the code in the ROM.
34#include "battle_command/save.c"
What every part of the menu object shares: its includes, edition values, macros and the link round st...
The row of command icons the player picks a command from.
The battle Djinn menu.
The command icon menus of the field, title and transfer screens.
The battle item menu.
The Colosso choice and the joined-party messages.
The name entry screen.
Sprite outputs, portraits and the window spans.
Collecting the party's battle commands.
The party status window.
Pictures and command icons loaded for the menus, and BG1's priority.
The battle Psynergy menu.
The battle summon menu.
The debug menus (scenes, flags, icon browsers) and the system menu's choices.
The preview of what setting or removing a Djinni changes.
Save files and the save file menu.
The status screen.
Choosing a battle target.