65#define TECH_MENU_LINES 6
81#define ITEM_MENU_LINES 7
136#define BATTLE_COMMAND_ATTACK 0
137#define BATTLE_COMMAND_TECH 1
138#define BATTLE_COMMAND_DIGIVOLVE 2
139#define BATTLE_COMMAND_SWITCH 3
140#define BATTLE_COMMAND_ITEM 4
141#define BATTLE_COMMAND_RUN 5
142#define BATTLE_COMMAND_COUNT 6
FIGHTSTG's shared declarations: the headers it builds on, the ids its tasks register with,...
FIGHTSTG's cameras: the fighters' cameras, the shot camera, the battle camera and its views,...
#define TASK_HEADER(Type)
Task * start(void)
The mode's entry point (MODE_ENTRY_POINTS): starts its root task (update_scene.inc....
FIGHTSTG_updateMessage's children: the lines it shows one by one.
A battle message box (FIGHTSTG_createMessage): shows its messages a line at a time,...
s32 arrowTime
when it last changed
s32 interval
the time between them
s32 shown
the window being shown
void(* finish)(struct BattleMessageBox *task)
FIGHTSTG_finishMessage: closes after 0x14 ticks or Cross.
s32 arrowPalette
the arrow's palette, 0-4
s32 found[3]
the fighters FIGHTSTG_findFighters found
s32 showArrow
show the arrow
void(* show)()
FIGHTSTG_showMessage: (task, type, data)
s32 pad
never read or written
s32 queue[9]
message types for show, some with args after them; 0 ends them
What FIGHTSTG_updateMessage's messages say, for some of their types.
FIGHTSTG_updateCommandMenu's children: a cursor over six lines.
struct MenuCursor * cursor
The battle's command menu (FIGHTSTG_createCommandMenu)
s32 start
the line the cursor starts on
s32 * result
-1 until it is done
A result of FIGHTSTG_updateConfusedMenu.
s16 result
for ConfusedMenu.queue[0]
s16 text
its line of TEXT_BATTLE_MENU
A menu cursor's layout, which FIGHTSTG_createCursor copies into its task: a highlight bar over count ...
A fighter's camera (FIGHTSTG_createCamera) on layer 0x1009, from its FighterInfo; frames counts the f...
Which fighters FIGHTSTG_findFighters looks for.
FIGHTSTG_createHud's task: the names and the hp of the fighters out.
s32 interval
how often the hp is checked
s32 shown[2]
the fighters the names are of
A number that eases from one value to another (FIGHTSTG_stepHpTween)
s16 fighter
whose hp it is
A drawing layer (GFX.funcs.createLayer): a DRAWENV with a pair of ordering tables,...
One of a partner's Digimon (getPartnerEntry, setPartnerEntry)
A page about a partner in one of its Digimon (FIGHTSTG_createPartnerInfo): its stats,...
s32 page
what it shows: 0 the stats, 1 and 2 techniques
s32 slot
from 1, or 0 for the partner itself
s32 pad
never read or written
s16 slots[4]
GAME.funcs.getPartnerSlots's.
s32 level
the Digimon's (PartnerEntry.level), or -1 for none: text 0x1A
s16 stats[0x16]
the 22 of a PartnerTotals computeStats fills, shown up to 999
PartnerEntry entries[3]
skills with SKILL_MARKED can be passed on
s32 techs[6]
a technique in the low 13 bits
Shows the partner's model on layer 0x1009 (FIGHTSTG_createPartnerView), through the two FighterCamera...
s32 pad
never read or written: createTask allocates 0x58 bytes
The player's turn (FIGHTSTG_updatePlayerTurn, BATTLE_TASK_PLAYER_TURN): the battle menu,...
s32 arg
the action's: the item, the technique, or the party slot of the partner that digivolves or switches o...
s32 action
what the turn does
s32 pairTech
FIGHTSTG_createPairSwitchMenu's technique, which the outgoing and incoming partners do together (acti...
s32 digimon
the Digimon a partner changes into, or the one it switches to
s32 result
the open menu's, -1 until it is done and -2 to go back
s32 switchLine
FIGHTSTG_createSwitchMenu's line, kept while the turn goes back to it.
s32 command
the command menu's choice, a BATTLE_COMMAND_*
A camera (FIGHTSTG_createShotCamera) that goes through lists of shots (FIGHTSTG_cameraShots),...
A line of FIGHTSTG_showStats's stat list (FIGHTSTG_statLines): where its number goes and the stat it ...
u8 stat
of PartnerInfo.stats
Any task, seen through its header.
A text window (createTextWindow): up to six text buffers (0 is shown, 1-5 are "work" buffers that con...
One of FIGHTSTG_updatePlayerTurn's seven children: 0 the HUD, 1 the command or the confused menu,...
PartnerView * partnerView
ConfusedMenu * confusedMenu
CommandMenu * commandMenu
DigivolveMenu * digivolveMenu
SwitchInMenu * switchInMenu