summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-10-05 12:13:33 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2019-10-05 12:13:33 -0400
commitcb3e751f5f8990f7e36e141869a14f62e44eceff (patch)
tree26ed2d8cd42704246c8c0ae9c5ea4a1db33f0b81 /include
parent712ee66e6154d734ea3960cc14ff1f4c1aaa639e (diff)
Decompile mailbox_pc and dump decorations
Diffstat (limited to 'include')
-rw-r--r--include/global.h3
-rw-r--r--include/new_menu_helpers.h2
-rw-r--r--include/player_pc.h11
3 files changed, 14 insertions, 2 deletions
diff --git a/include/global.h b/include/global.h
index 9a398354d..55233a340 100644
--- a/include/global.h
+++ b/include/global.h
@@ -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;
diff --git a/include/new_menu_helpers.h b/include/new_menu_helpers.h
index 7b83c913b..a7555c505 100644
--- a/include/new_menu_helpers.h
+++ b/include/new_menu_helpers.h
@@ -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);
diff --git a/include/player_pc.h b/include/player_pc.h
index e14e5e9da..f527ec9f5 100644
--- a/include/player_pc.h
+++ b/include/player_pc.h
@@ -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