Alchemy
Loading...
Searching...
No Matches

battle_command.c File Reference

The menu object of the window bank: the screens built on the window system (window.c). More...

Go to the source code of this file.

Detailed Description

The menu object of the window bank: the screens built on the window system (window.c).

It holds the party status window, the save file menu, the name entry screen, the joined-party messages, the command icon row, the Djinn change preview and the status screen, the battle menus (Djinn, summons, items, Psynergy, targets and the party's commands), the command icon menus of the field and title screens, and the debug menus.

battle_command_internal.h holds what every part shares (includes, edition values, macros and the link round state); the code is in the files under battle_command/, included here in the order it has in the ROM. Camelot's own files are not recoverable: the ROM shows one object, and these parts are ours, cut where one family ends and the next begins. README.md in this folder gives the words, prefixes and spellings the parts use. Where to start:

Party status party_status.c: UiWindow_CreateWithLayoutBounds, PartyStatusDraw Saving save.c: SaveMenu_SelectSlot, Save_WriteSelectedSlot Battle menus party_commands.c: Battle_CollectPartyCommands, which runs command_row.c: Menu_RunCommandRow and the menus of djinn_menu.c, summon_menu.c, item_menu.c, psynergy_menu.c and targets.c Icon menus icon_menu.c: Menu_SelectTopEntry, Menu_SelectSaveSlotAction

Definition in file battle_command.c.