Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
menu.h
Go to the documentation of this file.
1#ifndef FIGHTSTG_MENU_H
2#define FIGHTSTG_MENU_H
3
4/* FIGHTSTG's player turn and its menus, the cursor, the HUD, the message
5 box and the partner's info and view (player_turn.c to partner_view.c). */
6
9
10/* A number that eases from one value to another (FIGHTSTG_stepHpTween) */
11typedef struct HpTween {
12 /* 0x00 */ s32 from;
13 /* 0x04 */ s32 to;
14 /* 0x08 */ s32 value; /* the one shown */
15 /* 0x0C */ s16 active;
16 /* 0x0E */ s16 fighter; /* whose hp it is */
17 /* 0x10 */ s16 time;
18 /* 0x12 */ s16 duration;
19} HpTween;
20
21/* FIGHTSTG_createHud's task: the names and the hp of the fighters out */
22typedef struct HpDisplay {
24 /* 0x50 */ s32 shown[2]; /* the fighters the names are of */
25 /* 0x58 */ HpTween hp[2]; /* each side's */
26 /* 0x80 */ s32 timer;
27 /* 0x84 */ s32 interval; /* how often the hp is checked */
28} HpDisplay;
29
30/* The player's turn (FIGHTSTG_updatePlayerTurn, BATTLE_TASK_PLAYER_TURN): the battle menu, then the
31 menus of its commands */
32typedef struct PlayerTurn {
34 /* 0x50 */ s32 command; /* the command menu's choice, a BATTLE_COMMAND_* */
35 /* 0x54 */ s32 switchLine; /* FIGHTSTG_createSwitchMenu's line, kept while the turn goes back to it */
36 /* 0x58 */ s32 result; /* the open menu's, -1 until it is done and -2 to go back */
37 /* 0x5C */ s32 action; /* what the turn does */
38 /* 0x60 */ s32 arg; /* the action's: the item, the technique, or the party slot of the partner that digivolves or switches out */
39 /* 0x64 */ s32 digimon; /* the Digimon a partner changes into, or the one it switches to */
40 /* 0x68 */ s32 pairTech; /* FIGHTSTG_createPairSwitchMenu's technique, which the outgoing and incoming partners do together (action 6) */
42
43/* The menu of the Digimon the active partner can digivolve into
44 (FIGHTSTG_createDigivolveMenu), with the PartnerInfo of the one under the
45 cursor */
46typedef struct DigivolveMenu {
48 /* 0x50 */ s32 *result; /* -1 until it is done, then the Digimon or -2 */
49 /* 0x54 */ s32 partner; /* *result when it was made */
50 /* 0x58 */ s32 page; /* the PartnerInfo page, 0-2 */
51 /* 0x5C */ s32 sel; /* the cursor's line last frame */
52 /* 0x60 */ s16 ids[4]; /* the partner, then its digivolutions (slots of 3 or more) */
53 /* 0x68 */ s32 count;
54 /* 0x6C */ s16 slots[4]; /* GAME.funcs.getPartnerSlots's */
56
57/* FIGHTSTG_updateDigivolveMenu's children */
58typedef struct DigivolveMenuWindows {
59 /* 0x00 */ struct MenuCursor *cursor;
60 /* 0x04 */ TextWindow *names[4];
61 /* 0x14 */ struct PartnerInfo *info[2]; /* shown and hiding, in turns */
63
64/* The lines of a page of the technique menu */
65#define TECH_MENU_LINES 6
66
67/* FIGHTSTG_createTechMenu's task: a menu of techniques, six a page */
68typedef struct TechMenu {
70 /* 0x50 */ s32 *result; /* -1 until it is done */
71 /* 0x54 */ s32 sel; /* the cursor's line last frame */
72 /* 0x58 */ s16 slots[4]; /* GAME.funcs.getPartnerSlots's */
73 /* 0x60 */ PartnerEntry entries[3]; /* skills with SKILL_MARKED can be passed on */
74 /* 0x9C */ s32 techs[12]; /* ids in the low 13 bits, from 1 */
75 /* 0xCC */ s32 count;
76 /* 0xD0 */ s32 page;
77 /* 0xD4 */ s32 pageCount;
78} TechMenu;
79
80/* The lines of a page of the item menu */
81#define ITEM_MENU_LINES 7
82
83/* The battle's item menu (FIGHTSTG_updateItemMenu): the usable items, seven a page */
84typedef struct ItemMenu {
86 /* 0x050 */ s32 *result; /* -1 until it is done, then the item or -2 */
87 /* 0x054 */ s32 sel; /* the cursor's line last frame */
88 /* 0x058 */ s16 items[0x194]; /* the bag's (ITEM_FUNCS.list) */
89 /* 0x380 */ s16 *usable; /* the items with flag 2 */
90 /* 0x384 */ s32 count;
91 /* 0x388 */ s32 page;
92 /* 0x38C */ s32 pageCount;
93} ItemMenu;
94
95/* FIGHTSTG_updateItemMenu's children */
96typedef struct ItemMenuWindows {
97 /* 0x00 */ struct MenuCursor *cursor;
98 /* 0x04 */ TextWindow *prevButton; /* the page buttons, texts 0x11 and 0x12 */
100 /* 0x0C */ TextWindow *countLabel; /* text 0xC */
101 /* 0x10 */ TextWindow *count; /* how many of the item */
102 /* 0x14 */ TextWindow *message; /* its description */
105
106/* The menu after the switch menu (FIGHTSTG_createSwitchInMenu): which of the
107 incoming partner's Digimon comes in, then whether it just switches in or
108 does the pair technique with the active fighter (only with
109 FIGHTSTG_createPairSwitchMenu's techResult) */
110typedef struct SwitchInMenu {
112 /* 0x50 */ s32 *result; /* -1 until it is done, then the Digimon << 4 | 0 to switch or 1 for the pair technique, or -2 */
113 /* 0x54 */ s32 page; /* the PartnerInfo page, 0-2 */
114 /* 0x58 */ s32 shownPage;
115 /* 0x5C */ s32 fighter; /* the incoming one, *result when it was made */
116 /* 0x60 */ s32 partner; /* its party member */
117 /* 0x64 */ s32 digimon; /* the line of ids picked */
118 /* 0x68 */ s16 ids[4]; /* the partner, then its digivolutions (slots of 3 or more) */
119 /* 0x70 */ s32 count;
120 /* 0x74 */ s16 slots[4]; /* GAME.funcs.getPartnerSlots's */
121 /* 0x7C */ s32 tech; /* the pair technique, from 1, 0 for none */
122 /* 0x80 */ s32 *techResult; /* gets the technique picked */
124
125/* FIGHTSTG_updateSwitchInMenu's children */
126typedef struct SwitchInMenuWindows {
127 /* 0x00 */ struct MenuCursor *cursor;
128 /* 0x04 */ struct MenuCursor *techCursor;
129 /* 0x08 */ struct PartnerInfo *info[2]; /* shown and hiding, in turns */
130 /* 0x10 */ TextWindow *names[4];
131 /* 0x20 */ TextWindow *choices[5]; /* switching (text 0x1B), the pair technique (0x1C), "MP", its MP and the Digimon's name */
132 /* 0x34 */ TextWindow *mp[4]; /* "MP", the active fighter's, "/", its max */
134
135/* The command menu's lines, PlayerTurn.command */
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
143
144/* The battle's command menu (FIGHTSTG_createCommandMenu) */
145typedef struct CommandMenu {
147 /* 0x50 */ s32 start; /* the line the cursor starts on */
148 /* 0x54 */ s32 *result; /* -1 until it is done */
150
151/* FIGHTSTG_updateCommandMenu's children: a cursor over six lines */
156
157/* Shows the partner's model on layer 0x1009 (FIGHTSTG_createPartnerView), through
158 the two FighterCamera children, a new one each time it is set up */
159typedef struct PartnerView {
161 /* 0x50 */ Layer *layer;
162 /* 0x54 */ s32 pad; /* never read or written: createTask allocates 0x58 bytes */
164
165/* A battle message box (FIGHTSTG_createMessage): shows its messages a line
166 at a time, each until cross, then ends */
167typedef struct BattleMessageBox {
169 /* 0x50 */ s32 queue[9]; /* message types for show, some with args after them; 0 ends them */
170 /* 0x74 */ s32 started; /* set by show */
171 /* 0x78 */ s32 shown; /* the window being shown */
172 /* 0x7C */ s32 count; /* how many */
173 /* 0x80 */ s32 interval; /* the time between them */
174 /* 0x84 */ s32 shownTime;
175 /* 0x88 */ s32 next; /* in queue */
176 /* 0x8C */ s32 pad; /* never read or written */
177 /* 0x90 */ s32 arrowPalette; /* the arrow's palette, 0-4 */
178 /* 0x94 */ s32 arrowTime; /* when it last changed */
179 /* 0x98 */ s32 showArrow; /* show the arrow */
180 /* 0x9C */ s32 found[3]; /* the fighters FIGHTSTG_findFighters found */
181 /* 0xA8 */ s32 foundCount;
182 /* 0xAC */ void (*show)(); /* FIGHTSTG_showMessage: (task, type, data) */
183 /* 0xB0 */ void (*finish)(struct BattleMessageBox *task); /* FIGHTSTG_finishMessage: closes after 0x14 ticks or Cross */
185
186/* FIGHTSTG_updateMessage's children: the lines it shows one by one */
190
191/* What FIGHTSTG_updateMessage's messages say, for some of their types */
192typedef struct BattleMessage {
193 /* 0x0 */ u8 side;
194 /* 0x4 */ s32 kind;
195 /* 0x8 */ s32 value;
197
198/* A page about a partner in one of its Digimon (FIGHTSTG_createPartnerInfo):
199 its stats, its techniques, or the techniques its other Digimon can pass on */
200typedef struct PartnerInfo {
202 /* 0x50 */ s32 pad; /* never read or written */
203 /* 0x54 */ s32 partner;
204 /* 0x58 */ s32 page; /* what it shows: 0 the stats, 1 and 2 techniques */
205 /* 0x5C */ s32 slot; /* from 1, or 0 for the partner itself */
206 /* 0x60 */ s32 level; /* the Digimon's (PartnerEntry.level), or -1 for none: text 0x1A */
207 /* 0x64 */ s16 stats[0x16]; /* the 22 of a PartnerTotals computeStats fills, shown up to 999 */
208 /* 0x90 */ s16 slots[4]; /* GAME.funcs.getPartnerSlots's */
209 /* 0x98 */ PartnerEntry entries[3]; /* skills with SKILL_MARKED can be passed on */
210 /* 0xD4 */ s32 techs[6]; /* a technique in the low 13 bits */
212
213/* A line of FIGHTSTG_showStats's stat list (FIGHTSTG_statLines): where its
214 number goes and the stat it shows */
215typedef struct StatLine {
216 /* 0x0 */ u8 x;
217 /* 0x1 */ u8 y;
218 /* 0x2 */ u8 stat; /* of PartnerInfo.stats */
219} StatLine;
220
221/* The battle's switch menu (FIGHTSTG_createSwitchMenu): the player's other
222 fighters, with their HP and MP, to bring in for the active one; a message
223 when there are none */
224typedef struct SwitchMenu {
226 /* 0x50 */ s32 *result; /* -1 until it is done, then the fighter or -2 */
227 /* 0x54 */ s32 *line; /* the cursor's line, kept for the next time */
228 /* 0x58 */ s32 canCancel; /* triangle goes back (not after a knockout) */
229 /* 0x5C */ s32 others[2]; /* the other fighters of the player's side */
230 /* 0x64 */ s32 count;
231 /* 0x68 */ s32 arrowShown; /* the message's arrow, from its second frame */
232 /* 0x6C */ s32 arrowTime;
233 /* 0x70 */ s32 arrowPalette;
234 /* 0x74 */ s32 pairs[2]; /* FIGHTSTG_getPairDigimon's, marked with an icon */
235 /* 0x7C */ s16 slots[6]; /* GAME.funcs.getPartnerSlots's */
236} SwitchMenu;
237
238/* FIGHTSTG_updateSwitchMenu's children: two of each window, one per fighter */
239typedef struct SwitchMenuWindows {
240 /* 0x00 */ struct MenuCursor *cursor;
241 /* 0x04 */ TextWindow *hpLabel[2];
242 /* 0x0C */ TextWindow *hp[2];
243 /* 0x14 */ TextWindow *hpSlash[2];
244 /* 0x1C */ TextWindow *maxHp[2];
245 /* 0x24 */ TextWindow *mpLabel[2];
246 /* 0x2C */ TextWindow *mp[2];
247 /* 0x34 */ TextWindow *mpSlash[2];
248 /* 0x3C */ TextWindow *maxMp[2];
249 /* 0x44 */ TextWindow *name[2];
250 /* 0x4C */ TextWindow *message;
252
253/* A confused partner's command menu (FIGHTSTG_createConfusedMenu): a cursor
254 over six of the shuffled lines; unless the fighter shakes off the
255 confusion, the message of the one picked, shown like a
256 BattleMessageBox's */
257typedef struct ConfusedMenu {
259 /* 0x50 */ s32 firstLine; /* the cursor's first line */
260 /* 0x54 */ s32 picked;
261 /* 0x58 */ s32 *result; /* -1 until it is done */
262 /* 0x5C */ Task *partnerView; /* the PartnerView, stopped with shotCamera on a pick */
263 /* 0x60 */ Task *shotCamera;
264 /* 0x64 */ s32 queue[9]; /* like BattleMessageBox's: the message picked, then 0 */
265 /* 0x88 */ s32 started; /* set by FIGHTSTG_showConfusedMessage */
266 /* 0x8C */ s32 line; /* the window being shown */
267 /* 0x90 */ s32 lineCount;
268 /* 0x94 */ s32 delay; /* the time between them */
269 /* 0x98 */ s32 time;
270 /* 0x9C */ s32 next; /* in queue */
271 /* 0xA0 */ s32 padA0; /* never read or written */
272 /* 0xA4 */ s32 arrowPalette; /* 0-4 */
273 /* 0xA8 */ s32 arrowTime; /* when it last changed */
274 /* 0xAC */ s32 showArrow;
275 /* 0xB0 */ s32 padB0[4]; /* never read or written */
276 /* 0xC0 */ void (*show)(); /* like BattleMessageBox's, but never set: the queue ends first */
278
279/* Its children: the cursor, then its six lines; the first two are the
280 message's after a pick */
281typedef struct ConfusedMenuWindows {
282 /* 0x00 */ struct MenuCursor *cursor;
283 /* 0x04 */ TextWindow *lines[6];
285
286/* A menu cursor's layout, which FIGHTSTG_createCursor copies into its task: a
287 highlight bar over count lines, and a sprite per line (sprite -1: none) */
288typedef struct CursorLayout {
289 /* 0x00 */ s32 count;
290 /* 0x04 */ s32 x;
291 /* 0x08 */ s32 y;
292 /* 0x0C */ s32 step;
293 /* 0x10 */ s32 sprite;
294 /* 0x14 */ s32 spriteX;
295 /* 0x18 */ s32 spriteY;
296 /* 0x1C */ s32 spriteStep;
298
299/* A menu cursor (FIGHTSTG_createCursor): up and down move it, its bar is
300 drawn by FIGHTSTG_drawCursorBar at vsync and each line's sprite blinks
301 while it is picked */
302typedef struct MenuCursor {
304 /* 0x50 */ s32 sel;
305 /* 0x54 */ s32 locked;
307 /* 0x78 */ s32 prevSel; /* where the bar was drawn last */
308 /* 0x7C */ s32 frame; /* of the bar, 0-11 */
309 /* 0x80 */ s32 blink[6]; /* the time of each line's sprite */
310 /* 0x98 */ u8 pad[0x10]; /* never read or written: createTask allocates 0xA8 bytes */
311} MenuCursor;
312
313/* One of FIGHTSTG_updateTechMenu's children: the cursor first, then the text windows */
318
319/* One of FIGHTSTG_updatePlayerTurn's seven children: 0 the HUD, 1 the
320 command or the confused menu, 2 the partner's view, 3 the open command's
321 menu, 4 the pair switch or switch-in menu and 6 the shot camera, which
322 substate 0 closes alike as tasks */
336
337/* Which fighters FIGHTSTG_findFighters looks for */
338typedef struct FighterFilter {
339 /* 0x0 */ s32 side;
340 /* 0x4 */ s32 type;
342
343/* The tasks FIGHTSTG starts for WFIGHTMN and WFIGHTTS */
346
347/* The events they queue for WFIGHTMN, and its turn's substate */
348void FIGHTSTG_setPlayerTurnStep(s32 substate);
350
351/* Shared between the overlay's objects */
352extern RECT FIGHTSTG_fighterCameraRect; /* FIGHTSTG_updatePartnerView's layer */
353void FIGHTSTG_updateHpTweens(HpDisplay *task, TextWindow **windows);
354void FIGHTSTG_stepHpTween(HpTween *tween);
355void FIGHTSTG_showFighterNames(HpDisplay *task, TextWindow **windows);
356void FIGHTSTG_drawHud(HpDisplay *task, TextWindow **windows);
357void FIGHTSTG_updateHud(HpDisplay *task, TextWindow **windows);
367void FIGHTSTG_updateDigivolveMenu(DigivolveMenu *task, void *children);
375void FIGHTSTG_showTechPage(TechMenu *task, TechMenuChild *children);
376void FIGHTSTG_updateTechMenu(TechMenu *task, TechMenuChild *children);
379void FIGHTSTG_updateMessage(BattleMessageBox *task, void *children);
380void FIGHTSTG_showMessage(BattleMessageBox *task, s32 type, s32 *data);
385void FIGHTSTG_showPageButtons(PartnerInfo *task, TextWindow **windows);
387void FIGHTSTG_showStats(PartnerInfo *task, TextWindow **windows);
389void FIGHTSTG_showTechs(PartnerInfo *task, TextWindow **windows);
395extern DVECTOR FIGHTSTG_hpBars[2][4]; /* FIGHTSTG_drawHud's HP bars */
396extern CVECTOR FIGHTSTG_hpBarColors[4];
397extern DVECTOR FIGHTSTG_techGauge[4]; /* and its technique gauge */
398extern CVECTOR FIGHTSTG_techGaugeColors[4];
399extern s16 FIGHTSTG_iconX[2][3];
400extern CursorLayout FIGHTSTG_commandCursor; /* FIGHTSTG_updateCommandMenu's cursor */
401extern CursorLayout FIGHTSTG_changeCursor; /* FIGHTSTG_updateDigivolveMenu's cursor */
402extern CursorLayout FIGHTSTG_itemCursor; /* FIGHTSTG_updateItemMenu's cursor */
403extern CursorLayout FIGHTSTG_techCursor; /* FIGHTSTG_updateTechMenu's cursor */
404extern CursorLayout FIGHTSTG_switchCursor; /* FIGHTSTG_updateSwitchMenu's cursor */
405extern CursorLayout FIGHTSTG_pairCursors[2]; /* FIGHTSTG_updateSwitchInMenu's cursors */
406extern CursorLayout FIGHTSTG_confusedCursor; /* FIGHTSTG_updateConfusedMenu's */
408/* A result of FIGHTSTG_updateConfusedMenu */
409typedef struct ConfusedMessage {
410 /* 0x0 */ s16 result; /* for ConfusedMenu.queue[0] */
411 /* 0x2 */ s16 text; /* its line of TEXT_BATTLE_MENU */
414extern s16 FIGHTSTG_confusedLines[8]; /* FIGHTSTG_updateConfusedMenu's lines, shuffled */
415extern RECT FIGHTSTG_cursorBarRect; /* where FIGHTSTG_drawCursorBar's bar is in VRAM */
416extern DR_MOVE FIGHTSTG_cursorBarMoves[4]; /* FIGHTSTG_drawCursorBar's bar */
417extern u_long FIGHTSTG_cursorBarOt[2]; /* their OT */
418PartnerInfo *FIGHTSTG_createPartnerInfo(s32 partner, s32 page, s32 slot);
425SwitchMenu *FIGHTSTG_createSwitchMenu(s32 *result, s32 *line, s32 canCancel);
427ConfusedMenu *FIGHTSTG_createConfusedMenu(s32 *result, Task *partnerView, Task *shotCamera);
428s32 FIGHTSTG_getPairDigimon(SwitchMenu *task, s32 index, s32 member);
432extern s32 FIGHTSTG_mpWindowX[4]; /* FIGHTSTG_createSwitchInWindows's MP windows' x */
440void FIGHTSTG_showConfusedMessage(ConfusedMenu *task, s32 index, s32 unused);
443
444#endif /* FIGHTSTG_MENU_H */
void FIGHTSTG_updatePlayerTurn(PlayerTurn *task, PlayerTurnChild *children)
The player's turn: substate 2 opens the command menu (runCommandMenu) and then the menu of its comman...
void FIGHTSTG_drawPageArrows(PartnerInfo *task)
Draws the PartnerInfo's blinking page arrows.
Definition partner_info.c:6
ItemMenu * FIGHTSTG_createItemMenu(s32 *result)
Opens the battle's item menu; *result gets the item picked, or -2 to go back.
Definition item_menu.c:213
void FIGHTSTG_drawMessageBox(BattleMessageBox *task)
Draws the message box and, once its lines are out, its blinking arrow.
Definition message.c:6
RECT FIGHTSTG_cursorBarRect
where FIGHTSTG_drawCursorBar's bar is in VRAM
Definition cursor.c:6
BattleMessageBox * FIGHTSTG_createMessage(void)
Creates a battle message box (FIGHTSTG_updateMessage)
Definition message.c:440
CursorLayout FIGHTSTG_itemCursor
FIGHTSTG_updateItemMenu's cursor.
Definition item_menu.c:92
PartnerInfo * FIGHTSTG_createPartnerInfo(s32 partner, s32 page, s32 slot)
Shows page page about the partner in slot (0 for itself)
void FIGHTSTG_showFightersMessage(BattleMessageBox *task, BattleMessageBoxWindows *w, BattleMessage *msg)
Sets up a message about the fighters FIGHTSTG_findFighters found: their names (text 0x15 plus their c...
Definition message.c:185
DVECTOR FIGHTSTG_hpBars[2][4]
FIGHTSTG_drawHud's HP bars.
Definition hud.c:97
void FIGHTSTG_updatePartnerInfo(PartnerInfo *task, TextWindow **windows)
The PartnerInfo's task: works out its page (the stats with the slot's Digimon's added,...
void FIGHTSTG_showMessage(BattleMessageBox *task, s32 type, s32 *data)
The message box's show: sets up the lines of message type from data, mostly a fighter's name with a t...
Definition message.c:257
void FIGHTSTG_drawCursorBar(s32 arg)
The vsync callback while the list is open: draws the picked line's bar, moving through its frames,...
Definition cursor.c:12
CursorLayout FIGHTSTG_switchCursor
FIGHTSTG_updateSwitchMenu's cursor.
Definition item_menu.c:98
void FIGHTSTG_stepHpTween(HpTween *tween)
Eases an HP number towards its target over its duration, along a sine.
Definition hud.c:49
void FIGHTSTG_updateItemMenu(ItemMenu *task, ItemMenuWindows *w)
The item menu's task: lists the items usable in battle (flag 2), then L1 and R1 turn the pages,...
Definition item_menu.c:105
void FIGHTSTG_showStats(PartnerInfo *task, TextWindow **windows)
Creates the thirteen stat numbers of FIGHTSTG_statLines (up to 999), right aligned,...
CursorLayout FIGHTSTG_commandCursor
FIGHTSTG_updateCommandMenu's cursor.
void FIGHTSTG_createTechWindows(TechMenu *task, TechMenuChild *children)
Makes the technique menu's windows: the page buttons, the active fighter's MP over its max (or a text...
Definition tech_menu.c:45
CVECTOR FIGHTSTG_techGaugeColors[4]
Definition hud.c:113
void FIGHTSTG_drawTechIcons(PartnerInfo *task)
Draws the techniques page's icons and frame.
CVECTOR FIGHTSTG_hpBarColors[4]
the bars' colours: above and at a quarter of the HP
Definition hud.c:103
void FIGHTSTG_updateDigivolveMenu(DigivolveMenu *task, void *children)
The digivolve menu's task: L1 and R1 turn the PartnerInfo's page, cross picks one other than the figh...
void FIGHTSTG_showSwitchInChoices(SwitchInMenu *task, SwitchInMenuWindows *w, s32 visible)
Shows the picked Digimon's name and the choices, switching in palette 7 when flag 0x10 bars it and th...
void FIGHTSTG_setMessageName(BattleMessageBox *task, BattleMessageBoxWindows *w, s32 side, s32 index)
Puts the name of side's fighter index (a partner's own, an enemy's from the battle table) into the me...
Definition message.c:96
void FIGHTSTG_updateHud(HpDisplay *task, TextWindow **windows)
The battle HUD's task: makes its windows and starts the HP numbers at the fighters' HP,...
Definition hud.c:226
void FIGHTSTG_showConfusedMessage(ConfusedMenu *task, s32 index, s32 unused)
Sets up confused message index (FIGHTSTG_confusedMessages) with the partner's name and starts showing...
void FIGHTSTG_drawPartnerViewFrame(PartnerView *task, FighterCamera **cameras)
Draws the frame around the partner view.
Definition partner_view.c:6
void FIGHTSTG_drawSwitchMenu(SwitchMenu *task)
Draws the pair technique icon by the fighters that have one with the active fighter.
Definition switch_menu.c:33
u_long FIGHTSTG_cursorBarOt[2]
their OT
void FIGHTSTG_drawHud(HpDisplay *task, TextWindow **windows)
Draws the battle HUD: both HP bars, the technique gauge (full at 1000) and the fighters' icons.
Definition hud.c:124
void FIGHTSTG_setConfusedName(ConfusedMenu *task, ConfusedMenuWindows *windows, s32 side)
Puts the active partner's name into the message's first line (side 0 only)
void FIGHTSTG_updateMessage(BattleMessageBox *task, void *children)
The battle message box's task: draws it and steps its message each frame.
Definition message.c:78
void FIGHTSTG_updateCursor(MenuCursor *task)
The menu cursor's task: sets FIGHTSTG_drawCursorBar as the vsync callback, draws the lines' sprites a...
Definition cursor.c:87
void FIGHTSTG_updatePartnerView(PartnerView *task, FighterCamera **cameras)
The partner view's task: makes layer 0x1009 beside the menus, then once the models are there shows th...
void FIGHTSTG_showPageButtons(PartnerInfo *task, TextWindow **windows)
Shows the PartnerInfo's page buttons (texts 0x11 and 0x12)
CommandMenu * FIGHTSTG_createCommandMenu(s32 start, s32 *result)
Opens the battle's command menu with the cursor on start; *result gets the command (PlayerTurn....
void FIGHTSTG_drawSwitchInMenu(SwitchInMenu *task)
Draws the switch-in menu's frames, the second one with the pair technique.
SwitchMenu * FIGHTSTG_createSwitchMenu(s32 *result, s32 *line, s32 canCancel)
Opens the switch menu; *result gets the fighter to bring in, or -2.
void FIGHTSTG_updateCommandMenu(CommandMenu *task, CommandMenuWindows *w)
The command menu's task: puts a cursor (FIGHTSTG_commandCursor) on the lines, starting on start; cros...
void FIGHTSTG_stepConfusedMessage(ConfusedMenu *task, ConfusedMenuWindows *w)
Shows the confused message's lines one by one, 3 frames apart, then ends on cross.
void FIGHTSTG_updateSwitchMenu(SwitchMenu *task, SwitchMenuWindows *w)
The switch menu's task: puts a cursor on the other fighters, starting on line; cross picks one with H...
StatLine FIGHTSTG_statLines[13]
the stat numbers of FIGHTSTG_showStats
#define ITEM_MENU_LINES
The lines of a page of the item menu.
Definition menu.h:81
ConfusedMessage FIGHTSTG_confusedMessages[16]
the confused menu's (FIGHTSTG_updateConfusedMenu) results, two per line, each a message (task->queue[...
void FIGHTSTG_drawItemMenu(ItemMenu *task)
Draws the page's item icons, the page arrows (blinking) and the frame.
Definition item_menu.c:7
void FIGHTSTG_showTechPage(TechMenu *task, TechMenuChild *children)
Shows the page's techniques (palette 7 for those the fighter lacks the MP for, 3 its signature one,...
Definition tech_menu.c:87
DR_MOVE FIGHTSTG_cursorBarMoves[4]
FIGHTSTG_drawCursorBar's bar.
SwitchInMenu * FIGHTSTG_createSwitchInMenu(s32 *result)
Opens the switch-in menu for fighter *result, without the pair technique.
SwitchInMenu * FIGHTSTG_createPairSwitchMenu(s32 *result, s32 *techResult)
Opens the switch-in menu for fighter *result, with the pair technique, which goes into *techResult.
void FIGHTSTG_updateSwitchInMenu(SwitchInMenu *task, SwitchInMenuWindows *w)
The switch-in menu's task: L1 and R1 turn the PartnerInfo's page, cross picks the Digimon,...
void FIGHTSTG_updateTechMenu(TechMenu *task, TechMenuChild *children)
The battle's technique menu: the active fighter's techniques (a Digimon of a partner's slots has its ...
Definition tech_menu.c:258
s32 FIGHTSTG_getPairDigimon(SwitchMenu *task, s32 index, s32 member)
Returns the Digimon fighter index has a pair technique with (its pairPartner, a 1-based DIGIMON_DATA ...
Definition switch_menu.c:8
#define BATTLE_COMMAND_COUNT
Definition menu.h:142
void FIGHTSTG_createSwitchWindows(SwitchMenu *task, SwitchMenuWindows *w)
Makes the switch menu's windows, two lines a fighter: the name, HP over max HP and MP over max MP.
Definition switch_menu.c:51
void FIGHTSTG_setPlayerTurnStep(s32 substate)
The events they queue for WFIGHTMN, and its turn's substate.
s32 FIGHTSTG_mpWindowX[4]
FIGHTSTG_createSwitchInWindows's MP windows' x.
void FIGHTSTG_findFighters(BattleMessageBox *task, FighterFilter *filter)
Lists in task's found the fighters of filter's side that its type picks: 0 the hurt,...
Definition message.c:112
CursorLayout FIGHTSTG_techCursor
FIGHTSTG_updateTechMenu's cursor.
Definition item_menu.c:95
void FIGHTSTG_createSwitchInWindows(SwitchInMenu *task, SwitchInMenuWindows *w)
Makes the switch-in menu's windows: the four names, the choices and the MP.
void FIGHTSTG_showFighterNames(HpDisplay *task, TextWindow **windows)
Shows the names of both sides' active fighters, when they changed.
Definition hud.c:65
s32 FIGHTSTG_isPlayerChoosing(void)
Whether the player's turn has a menu open (its substate isn't 0)
void FIGHTSTG_showCommands(CommandMenu *task)
Shows the six commands once, greying out attack, techniques and digivolve when the active fighter is ...
Definition command_menu.c:8
PlayerTurn * FIGHTSTG_startPlayerTurn(void)
The tasks FIGHTSTG starts for WFIGHTMN and WFIGHTTS.
void FIGHTSTG_showTechs(PartnerInfo *task, TextWindow **windows)
Shows the techniques page: the level (text 0x1A for none) and the six techniques' names,...
PartnerView * FIGHTSTG_createPartnerView(void)
Creates the partner view (FIGHTSTG_updatePartnerView), whose children are its two cameras.
void FIGHTSTG_showSwitchInNames(SwitchInMenu *task, SwitchInMenuWindows *w, s32 visible)
Shows the names of the incoming partner's Digimon, or hides them.
void FIGHTSTG_showDigivolveNames(DigivolveMenu *task)
Shows the names of the Digimon the menu's partner can digivolve into, its current one in palette 7.
void FIGHTSTG_showSwitchFighters(SwitchMenu *task, SwitchMenuWindows *w)
Shows the switch menu's fighters' names, HP and MP, the knocked out ones' names in palette 7.
Definition switch_menu.c:75
RECT FIGHTSTG_fighterCameraRect
Shared between the overlay's objects.
CursorLayout FIGHTSTG_changeCursor
FIGHTSTG_updateDigivolveMenu's cursor.
void FIGHTSTG_createItemWindows(ItemMenu *task, ItemMenuWindows *w)
Makes the item menu's windows: the page buttons, the count's label, the seven names,...
Definition item_menu.c:41
void FIGHTSTG_drawTechMenu(TechMenu *task)
Draws the page's technique icons, the page arrows (blinking) and the frame.
Definition tech_menu.c:6
void FIGHTSTG_updateHpTweens(HpDisplay *task, TextWindow **windows)
Every frame: the hp tween of a side whose active fighter changed jumps to that fighter's hp; every in...
Definition hud.c:9
CursorLayout FIGHTSTG_confusedCursor
FIGHTSTG_updateConfusedMenu's.
void FIGHTSTG_updateConfusedMenu(ConfusedMenu *task, ConfusedMenuWindows *w)
The confused menu's task: shuffles the lines, then on cross attacks (*result 0) when FIGHTSTG_battleF...
void FIGHTSTG_drawConfusedMessageBox(ConfusedMenu *task)
Draws the confused menu's message box and, once its lines are out, its blinking arrow.
TechMenu * FIGHTSTG_createTechMenu(s32 *result)
Opens the battle's technique menu; *result gets the technique picked, or -2 to go back.
Definition tech_menu.c:344
DVECTOR FIGHTSTG_techGauge[4]
and its technique gauge
Definition hud.c:110
void FIGHTSTG_showConfusedCommands(ConfusedMenu *task)
Shows the confused menu's six lines once, in FIGHTSTG_confusedLines's order.
s16 FIGHTSTG_iconX[2][3]
the fighter icons' x, for each side and slot
Definition hud.c:117
void FIGHTSTG_drawStatsFrame(PartnerInfo *task)
Draws the frame of the stats page.
DigivolveMenu * FIGHTSTG_createDigivolveMenu(s32 *result)
Opens the menu of the Digimon the partner *result can digivolve into; result gets the one picked,...
void FIGHTSTG_drawCursorSprites(MenuCursor *task)
Draws each line's sprite of the cursor, the picked one blinking through the palettes and the one left...
Definition cursor.c:49
void FIGHTSTG_showItemPage(ItemMenu *task, ItemMenuWindows *w)
Shows the page's names and the description and count of the item under the cursor,...
Definition item_menu.c:63
HpDisplay * FIGHTSTG_createHud(void)
Creates the battle HUD (FIGHTSTG_updateHud)
Definition hud.c:273
s16 FIGHTSTG_confusedLines[8]
FIGHTSTG_updateConfusedMenu's lines, shuffled.
CursorLayout FIGHTSTG_pairCursors[2]
FIGHTSTG_updateSwitchInMenu's cursors.
void FIGHTSTG_stepMessage(BattleMessageBox *task, BattleMessageBoxWindows *windows)
Shows the message's lines one by one, 3 frames apart, then on cross shows the queue's next message or...
Definition message.c:33
MenuCursor * FIGHTSTG_createCursor(CursorLayout *layout)
Creates a menu cursor laid out by layout.
Definition cursor.c:136
ConfusedMenu * FIGHTSTG_createConfusedMenu(s32 *result, Task *partnerView, Task *shotCamera)
Opens a confused partner's command menu; *result gets 0 for an attack or 1 for a lost turn.
void FIGHTSTG_finishMessage(BattleMessageBox *task)
The message box's finish: closes it after 0x14 frames or on cross.
Definition message.c:433
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,...
signed int s32
Definition common.h:11
signed short s16
Definition common.h:9
unsigned char u8
Definition common.h:8
#define TASK_HEADER(Type)
Definition task.h:39
Task * start(void)
The mode's entry point (MODE_ENTRY_POINTS): starts its root task (update_scene.inc....
Definition start.inc.c:3
FIGHTSTG_updateMessage's children: the lines it shows one by one.
Definition menu.h:187
TextWindow * lines[2]
Definition menu.h:188
A battle message box (FIGHTSTG_createMessage): shows its messages a line at a time,...
Definition menu.h:167
s32 arrowTime
when it last changed
Definition menu.h:178
s32 interval
the time between them
Definition menu.h:173
s32 shown
the window being shown
Definition menu.h:171
void(* finish)(struct BattleMessageBox *task)
FIGHTSTG_finishMessage: closes after 0x14 ticks or Cross.
Definition menu.h:183
s32 count
how many
Definition menu.h:172
s32 arrowPalette
the arrow's palette, 0-4
Definition menu.h:177
s32 found[3]
the fighters FIGHTSTG_findFighters found
Definition menu.h:180
s32 showArrow
show the arrow
Definition menu.h:179
void(* show)()
FIGHTSTG_showMessage: (task, type, data)
Definition menu.h:182
s32 started
set by show
Definition menu.h:170
s32 pad
never read or written
Definition menu.h:176
s32 queue[9]
message types for show, some with args after them; 0 ends them
Definition menu.h:169
s32 next
in queue
Definition menu.h:175
What FIGHTSTG_updateMessage's messages say, for some of their types.
Definition menu.h:192
s32 value
Definition menu.h:195
FIGHTSTG_updateCommandMenu's children: a cursor over six lines.
Definition menu.h:152
struct MenuCursor * cursor
Definition menu.h:153
TextWindow * lines[6]
Definition menu.h:154
The battle's command menu (FIGHTSTG_createCommandMenu)
Definition menu.h:145
s32 start
the line the cursor starts on
Definition menu.h:147
s32 * result
-1 until it is done
Definition menu.h:148
Its children: the cursor, then its six lines; the first two are the message's after a pick.
Definition menu.h:281
TextWindow * lines[6]
Definition menu.h:283
struct MenuCursor * cursor
Definition menu.h:282
A confused partner's command menu (FIGHTSTG_createConfusedMenu): a cursor over six of the shuffled li...
Definition menu.h:257
s32 picked
Definition menu.h:260
Task * shotCamera
Definition menu.h:263
s32 next
in queue
Definition menu.h:270
s32 arrowTime
when it last changed
Definition menu.h:273
s32 showArrow
Definition menu.h:274
s32 line
the window being shown
Definition menu.h:266
s32 firstLine
the cursor's first line
Definition menu.h:259
s32 * result
-1 until it is done
Definition menu.h:261
s32 queue[9]
like BattleMessageBox's: the message picked, then 0
Definition menu.h:264
Task * partnerView
the PartnerView, stopped with shotCamera on a pick
Definition menu.h:262
s32 padA0
never read or written
Definition menu.h:271
s32 delay
the time between them
Definition menu.h:268
s32 padB0[4]
never read or written
Definition menu.h:275
void(* show)()
like BattleMessageBox's, but never set: the queue ends first
Definition menu.h:276
s32 started
set by FIGHTSTG_showConfusedMessage
Definition menu.h:265
s32 lineCount
Definition menu.h:267
s32 arrowPalette
0-4
Definition menu.h:272
s32 time
Definition menu.h:269
A result of FIGHTSTG_updateConfusedMenu.
Definition menu.h:409
s16 result
for ConfusedMenu.queue[0]
Definition menu.h:410
s16 text
its line of TEXT_BATTLE_MENU
Definition menu.h:411
A menu cursor's layout, which FIGHTSTG_createCursor copies into its task: a highlight bar over count ...
Definition menu.h:288
s32 step
Definition menu.h:292
s32 sprite
Definition menu.h:293
s32 spriteStep
Definition menu.h:296
s32 spriteY
Definition menu.h:295
s32 spriteX
Definition menu.h:294
s32 count
Definition menu.h:289
FIGHTSTG_updateDigivolveMenu's children.
Definition menu.h:58
TextWindow * names[4]
Definition menu.h:60
struct MenuCursor * cursor
Definition menu.h:59
struct PartnerInfo * info[2]
shown and hiding, in turns
Definition menu.h:61
The menu of the Digimon the active partner can digivolve into (FIGHTSTG_createDigivolveMenu),...
Definition menu.h:46
s32 page
the PartnerInfo page, 0-2
Definition menu.h:50
s32 count
Definition menu.h:53
s16 ids[4]
the partner, then its digivolutions (slots of 3 or more)
Definition menu.h:52
s32 * result
-1 until it is done, then the Digimon or -2
Definition menu.h:48
s16 slots[4]
GAME.funcs.getPartnerSlots's.
Definition menu.h:54
s32 partner
*result when it was made
Definition menu.h:49
s32 sel
the cursor's line last frame
Definition menu.h:51
A fighter's camera (FIGHTSTG_createCamera) on layer 0x1009, from its FighterInfo; frames counts the f...
Definition camera.h:13
Which fighters FIGHTSTG_findFighters looks for.
Definition menu.h:338
FIGHTSTG_createHud's task: the names and the hp of the fighters out.
Definition menu.h:22
s32 interval
how often the hp is checked
Definition menu.h:27
s32 shown[2]
the fighters the names are of
Definition menu.h:24
HpTween hp[2]
each side's
Definition menu.h:25
s32 timer
Definition menu.h:26
A number that eases from one value to another (FIGHTSTG_stepHpTween)
Definition menu.h:11
s16 duration
Definition menu.h:18
s16 time
Definition menu.h:17
s16 fighter
whose hp it is
Definition menu.h:16
s32 to
Definition menu.h:13
s16 active
Definition menu.h:15
s32 from
Definition menu.h:12
s32 value
the one shown
Definition menu.h:14
FIGHTSTG_updateItemMenu's children.
Definition menu.h:96
TextWindow * count
how many of the item
Definition menu.h:101
TextWindow * message
its description
Definition menu.h:102
TextWindow * names[7]
Definition menu.h:103
TextWindow * nextButton
Definition menu.h:99
TextWindow * countLabel
text 0xC
Definition menu.h:100
struct MenuCursor * cursor
Definition menu.h:97
TextWindow * prevButton
the page buttons, texts 0x11 and 0x12
Definition menu.h:98
The battle's item menu (FIGHTSTG_updateItemMenu): the usable items, seven a page.
Definition menu.h:84
s32 * result
-1 until it is done, then the item or -2
Definition menu.h:86
s16 * usable
the items with flag 2
Definition menu.h:89
s32 count
Definition menu.h:90
s32 sel
the cursor's line last frame
Definition menu.h:87
s16 items[0x194]
the bag's (ITEM_FUNCS.list)
Definition menu.h:88
s32 pageCount
Definition menu.h:92
s32 page
Definition menu.h:91
A drawing layer (GFX.funcs.createLayer): a DRAWENV with a pair of ordering tables,...
Definition gfx.h:128
A menu cursor (FIGHTSTG_createCursor): up and down move it, its bar is drawn by FIGHTSTG_drawCursorBa...
Definition menu.h:302
s32 sel
Definition menu.h:304
s32 blink[6]
the time of each line's sprite
Definition menu.h:309
s32 locked
Definition menu.h:305
s32 frame
of the bar, 0-11
Definition menu.h:308
CursorLayout params
Definition menu.h:306
u8 pad[0x10]
never read or written: createTask allocates 0xA8 bytes
Definition menu.h:310
s32 prevSel
where the bar was drawn last
Definition menu.h:307
One of a partner's Digimon (getPartnerEntry, setPartnerEntry)
Definition game_state.h:247
A page about a partner in one of its Digimon (FIGHTSTG_createPartnerInfo): its stats,...
Definition menu.h:200
s32 page
what it shows: 0 the stats, 1 and 2 techniques
Definition menu.h:204
s32 slot
from 1, or 0 for the partner itself
Definition menu.h:205
s32 pad
never read or written
Definition menu.h:202
s16 slots[4]
GAME.funcs.getPartnerSlots's.
Definition menu.h:208
s32 partner
Definition menu.h:203
s32 level
the Digimon's (PartnerEntry.level), or -1 for none: text 0x1A
Definition menu.h:206
s16 stats[0x16]
the 22 of a PartnerTotals computeStats fills, shown up to 999
Definition menu.h:207
PartnerEntry entries[3]
skills with SKILL_MARKED can be passed on
Definition menu.h:209
s32 techs[6]
a technique in the low 13 bits
Definition menu.h:210
Shows the partner's model on layer 0x1009 (FIGHTSTG_createPartnerView), through the two FighterCamera...
Definition menu.h:159
s32 pad
never read or written: createTask allocates 0x58 bytes
Definition menu.h:162
Layer * layer
Definition menu.h:161
The player's turn (FIGHTSTG_updatePlayerTurn, BATTLE_TASK_PLAYER_TURN): the battle menu,...
Definition menu.h:32
s32 arg
the action's: the item, the technique, or the party slot of the partner that digivolves or switches o...
Definition menu.h:38
s32 action
what the turn does
Definition menu.h:37
s32 pairTech
FIGHTSTG_createPairSwitchMenu's technique, which the outgoing and incoming partners do together (acti...
Definition menu.h:40
s32 digimon
the Digimon a partner changes into, or the one it switches to
Definition menu.h:39
s32 result
the open menu's, -1 until it is done and -2 to go back
Definition menu.h:36
s32 switchLine
FIGHTSTG_createSwitchMenu's line, kept while the turn goes back to it.
Definition menu.h:35
s32 command
the command menu's choice, a BATTLE_COMMAND_*
Definition menu.h:34
A camera (FIGHTSTG_createShotCamera) that goes through lists of shots (FIGHTSTG_cameraShots),...
Definition camera.h:34
A line of FIGHTSTG_showStats's stat list (FIGHTSTG_statLines): where its number goes and the stat it ...
Definition menu.h:215
u8 y
Definition menu.h:217
u8 stat
of PartnerInfo.stats
Definition menu.h:218
u8 x
Definition menu.h:216
FIGHTSTG_updateSwitchInMenu's children.
Definition menu.h:126
TextWindow * mp[4]
"MP", the active fighter's, "/", its max
Definition menu.h:132
TextWindow * names[4]
Definition menu.h:130
TextWindow * choices[5]
switching (text 0x1B), the pair technique (0x1C), "MP", its MP and the Digimon's name
Definition menu.h:131
struct MenuCursor * cursor
Definition menu.h:127
struct PartnerInfo * info[2]
shown and hiding, in turns
Definition menu.h:129
struct MenuCursor * techCursor
Definition menu.h:128
The menu after the switch menu (FIGHTSTG_createSwitchInMenu): which of the incoming partner's Digimon...
Definition menu.h:110
s32 partner
its party member
Definition menu.h:116
s32 * result
-1 until it is done, then the Digimon << 4 | 0 to switch or 1 for the pair technique,...
Definition menu.h:112
s16 ids[4]
the partner, then its digivolutions (slots of 3 or more)
Definition menu.h:118
s32 fighter
the incoming one, *result when it was made
Definition menu.h:115
s32 digimon
the line of ids picked
Definition menu.h:117
s32 count
Definition menu.h:119
s32 * techResult
gets the technique picked
Definition menu.h:122
s32 shownPage
Definition menu.h:114
s16 slots[4]
GAME.funcs.getPartnerSlots's.
Definition menu.h:120
s32 tech
the pair technique, from 1, 0 for none
Definition menu.h:121
s32 page
the PartnerInfo page, 0-2
Definition menu.h:113
FIGHTSTG_updateSwitchMenu's children: two of each window, one per fighter.
Definition menu.h:239
TextWindow * maxHp[2]
Definition menu.h:244
TextWindow * mpSlash[2]
Definition menu.h:247
TextWindow * message
Definition menu.h:250
struct MenuCursor * cursor
Definition menu.h:240
TextWindow * mp[2]
Definition menu.h:246
TextWindow * mpLabel[2]
Definition menu.h:245
TextWindow * hpLabel[2]
Definition menu.h:241
TextWindow * hp[2]
Definition menu.h:242
TextWindow * maxMp[2]
Definition menu.h:248
TextWindow * hpSlash[2]
Definition menu.h:243
TextWindow * name[2]
Definition menu.h:249
The battle's switch menu (FIGHTSTG_createSwitchMenu): the player's other fighters,...
Definition menu.h:224
s16 slots[6]
GAME.funcs.getPartnerSlots's.
Definition menu.h:235
s32 * line
the cursor's line, kept for the next time
Definition menu.h:227
s32 canCancel
triangle goes back (not after a knockout)
Definition menu.h:228
s32 * result
-1 until it is done, then the fighter or -2
Definition menu.h:226
s32 arrowPalette
Definition menu.h:233
s32 count
Definition menu.h:230
s32 pairs[2]
FIGHTSTG_getPairDigimon's, marked with an icon.
Definition menu.h:234
s32 arrowTime
Definition menu.h:232
s32 arrowShown
the message's arrow, from its second frame
Definition menu.h:231
s32 others[2]
the other fighters of the player's side
Definition menu.h:229
Any task, seen through its header.
Definition task.h:62
FIGHTSTG_createTechMenu's task: a menu of techniques, six a page.
Definition menu.h:68
s32 pageCount
Definition menu.h:77
s32 * result
-1 until it is done
Definition menu.h:70
PartnerEntry entries[3]
skills with SKILL_MARKED can be passed on
Definition menu.h:73
s32 techs[12]
ids in the low 13 bits, from 1
Definition menu.h:74
s32 sel
the cursor's line last frame
Definition menu.h:71
s32 count
Definition menu.h:75
s16 slots[4]
GAME.funcs.getPartnerSlots's.
Definition menu.h:72
s32 page
Definition menu.h:76
A text window (createTextWindow): up to six text buffers (0 is shown, 1-5 are "work" buffers that con...
Definition text.h:131
One of FIGHTSTG_updatePlayerTurn's seven children: 0 the HUD, 1 the command or the confused menu,...
Definition menu.h:323
PartnerView * partnerView
Definition menu.h:328
SwitchMenu * switchMenu
Definition menu.h:332
HpDisplay * hud
Definition menu.h:325
Task * task
Definition menu.h:324
ShotCamera * shotCamera
Definition menu.h:334
TechMenu * techMenu
Definition menu.h:331
ConfusedMenu * confusedMenu
Definition menu.h:327
CommandMenu * commandMenu
Definition menu.h:326
DigivolveMenu * digivolveMenu
Definition menu.h:329
SwitchInMenu * switchInMenu
Definition menu.h:333
ItemMenu * itemMenu
Definition menu.h:330
One of FIGHTSTG_updateTechMenu's children: the cursor first, then the text windows.
Definition menu.h:314
MenuCursor * cursor
Definition menu.h:315
TextWindow * window
Definition menu.h:316