mirror of
https://github.com/pret/pmd-red.git
synced 2026-09-08 09:05:59 -05:00
more menus
This commit is contained in:
@@ -4,11 +4,11 @@
|
||||
// size: 0x4
|
||||
typedef struct unkStruct_202EE44
|
||||
{
|
||||
u16 unk0;
|
||||
u16 actionId;
|
||||
u8 unk2;
|
||||
bool8 unk3;
|
||||
bool8 canBeChosen;
|
||||
} unkStruct_202EE44;
|
||||
|
||||
extern unkStruct_202EE44 gUnknown_202EE44[10];
|
||||
extern unkStruct_202EE44 gDungeonSubMenu[10];
|
||||
|
||||
#endif // GUARD_CODE_8044CC8_H
|
||||
|
||||
@@ -2,7 +2,13 @@
|
||||
#define GUARD_DUNGEON_MENU_TEAM_H
|
||||
|
||||
#include "structs/dungeon_entity.h"
|
||||
#include "structs/subStruct_203B240.h"
|
||||
|
||||
bool8 ShowDungeonTeamMenu(Entity *a0);
|
||||
void ShowDungeonTacticsMenu(ActionContainer *a0);
|
||||
void ShowDungeonSummaryOrIQMenu(ActionContainer *a0, bool8 a1);
|
||||
void sub_8062500(void);
|
||||
void sub_80625A4(s32 count, struct subStruct_203B240 **strings);
|
||||
#define WHICH_MENU_MOVES 1
|
||||
#define WHICH_MENU_ITEMS 2
|
||||
Entity *ShowDungeonToWhichMonMenu(s32 *teamId, s32 caseId);
|
||||
|
||||
@@ -42,6 +42,11 @@ static inline void InlineStrncpy(u8 *dst, const u8 *src, s32 n)
|
||||
strncpy(dst, src, n);
|
||||
}
|
||||
|
||||
static inline bool8 AreStringsDifferent(const u8 *str1, const u8 *str2)
|
||||
{
|
||||
return strcmp(str1, str2) != 0;
|
||||
}
|
||||
|
||||
// Sometimes incrementing and decrementing a variable changes how registers are allocated, which helps with matching functions. Functionality-wise this doesn't do anything.
|
||||
#ifdef NONMATCHING
|
||||
#define ASM_MATCH_TRICK(a) {;}
|
||||
|
||||
@@ -53,8 +53,8 @@ extern UnkTextStruct1 gUnknown_2027370[4];
|
||||
extern u8 gUnknown_202749A[11];
|
||||
extern bool8 gUnknown_20274A5;
|
||||
extern u16 gUnknown_202B038[4][32][32]; // Usage points to these dimensions
|
||||
extern void (*gIwramTextFunc1)(s32 a0);
|
||||
extern void (*gIwramTextFunc2)(s32 a0);
|
||||
extern void (*ScrollDownWindowFunc)(s32 windowId);
|
||||
extern void (*ScrollUpWindowFunc)(s32 windowId);
|
||||
extern void (*gIwramTextFunc3)(s32 a0);
|
||||
extern void (*gIwramTextFunc4)(s32 a0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user