summaryrefslogtreecommitdiff
path: root/src/code_803D0D8.c
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2021-03-23 12:11:10 -0500
committerGitHub <noreply@github.com>2021-03-23 12:11:10 -0500
commit2fd4f339b42c010191c199772b09ac34c580de94 (patch)
treee562899f35861ece70c292602fe6aac2f50906bf /src/code_803D0D8.c
parent7b142311a7294c4c7a943870fa5f24f0fbea604a (diff)
Miscellaneous Work (Again) (#31)
* move some personality data from asm to C * combine personality_test files and add my close attempt at RedrawPartnerSelectionMenu * decomp some more wonder mail funcs and label some more data * lots of data splitting and move some to src * split out more dungeon data * continue splitting out more dungeon data * doc rescue team rank/pts funcs/data and exclusive pokemon ewram * doc more sound things and decomp a func * decomp LoadTeamRankBadge and label some data members * split out rescue team and text util stuff * forgot a constant * match a few funcs and clean up a few * cleaned up sub_80A28B4
Diffstat (limited to 'src/code_803D0D8.c')
-rw-r--r--src/code_803D0D8.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/code_803D0D8.c b/src/code_803D0D8.c
new file mode 100644
index 0000000..082f86c
--- /dev/null
+++ b/src/code_803D0D8.c
@@ -0,0 +1,25 @@
+#include "global.h"
+
+extern u8 gUnknown_203B408;
+extern u8 gUnknown_80F42D0[];
+extern u8 gUnknown_80F42F0[];
+
+u8 sub_803D0D8()
+{
+ return gUnknown_203B408;
+}
+
+void sub_803D0E4(u8 r0)
+{
+ gUnknown_203B408 = r0;
+}
+
+u8 sub_803D0F0(u8 r0)
+{
+ return gUnknown_80F42F0[r0];
+}
+
+u8 sub_803D100(u8 r0)
+{
+ return gUnknown_80F42D0[r0];
+}