Decompile mailbox_pc and dump decorations

This commit is contained in:
PikalaxALT
2019-10-05 12:13:33 -04:00
parent 712ee66e61
commit cb3e751f5f
12 changed files with 1962 additions and 346 deletions
+2 -1
View File
@@ -498,7 +498,8 @@ typedef union QuestLogScene QuestLogScene;
#define BERRY_TREES_COUNT 128
#define FLAGS_COUNT 288 // 300
#define VARS_COUNT 256
#define MAIL_COUNT 16
#define MAIL_COUNT (PARTY_SIZE + 10)
#define PC_MAIL_NUM(i) (PARTY_SIZE + (i))
// Declare here so that it can be recursively referenced.
union QuestLogMovement;
+1 -1
View File
@@ -30,7 +30,7 @@ void sub_80F6E9C(void);
void DrawDialogueFrame(u8 windowId, bool8 transfer);
void DrawStdWindowFrame(u8 windowId, bool8 copyNow);
void ClearDialogWindowAndFrame(u8 windowId, bool8 copyToVram);
void ClearStdWindowAndFrame(u8 taskId, bool8 copyNow);
void ClearStdWindowAndFrame(u8 windowId, bool8 copyNow);
void sub_80F6C14(void);
void sub_80F771C(bool8 copyToVram);
void SetStdWindowBorderStyle(u8 windowId, bool8 copyToVram);
+11
View File
@@ -2,9 +2,20 @@
#define GUARD_PLAYER_PC_H
#include "global.h"
#include "list_menu.h"
// Exported type declarations
struct PlayerPC_Unk_203AAC4
{
u16 selectedRow;
u16 scrollOffset;
u8 unk_4;
u8 unk_5;
u8 filler_6[4];
u8 unk_A;
};
// Exported RAM declarations
// Exported ROM declarations