summaryrefslogtreecommitdiff
path: root/src/staffroll.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/staffroll.c')
-rw-r--r--src/staffroll.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/staffroll.c b/src/staffroll.c
index f0ff11ae..f0354a95 100644
--- a/src/staffroll.c
+++ b/src/staffroll.c
@@ -14,6 +14,8 @@
#include "save.h"
#include "screen.h"
#include "subtask.h"
+#include "sound.h"
+#include "fade.h"
typedef struct {
/*0x00*/ Menu base;
@@ -30,6 +32,23 @@ typedef struct {
} StaffrollMenu;
#define gStaffrollMenu (*(StaffrollMenu*)&gMenu)
+typedef struct {
+ /*0x0*/ u8 menuType;
+ /*0x1*/ u16 font;
+ /*0x3*/ u8 unk_3; // TODO padding?
+ /*0x4*/ u16 transitionTimer;
+ /*0x6*/ u16 gfxEntry;
+ /*0x8*/ u16 bg2XOffset;
+ /*0xa*/ u16 sm_unk_14;
+} PACKED StaffrollEntry;
+
+static_assert(sizeof(StaffrollEntry) == 0xc);
+
+typedef struct {
+ u8 paletteGroup;
+ u8 gfxGroup;
+} PACKED StaffrollGfxEntry;
+
const Font gUnk_08127280 = {
&gBG1Buffer[0x21], BG_TILE_ADDR(0x188), gTextGfxBuffer, 0, 61472, 240, 0, 0, 0, 0, 0, 5, 0, 1, 0
};