summaryrefslogtreecommitdiff
path: root/src/text.c
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2021-05-15 16:59:55 -0700
committerGitHub <noreply@github.com>2021-05-15 18:59:55 -0500
commitf402e46cd3c8b7236673d6edbae77903a7cc0618 (patch)
tree37a19f3ab35a73c29d4d6da565741beaf7bb547f /src/text.c
parentf65dee5a143bd543c74c010d7252eb76893ee243 (diff)
Sese's April/May Dump (#37)
* splitting lots of pokemon square and labeling lots of other things * actually commit this stuff * more moving data and things * more screen work * split out some pokemon dungeon data * lots of data work * push more data work * split kecleon, decomp another kanghaskhan func, and try to doc UpdateBGControl more * lots of item work * label more item things * subtype -> category and doc types/category
Diffstat (limited to 'src/text.c')
-rw-r--r--src/text.c27
1 files changed, 2 insertions, 25 deletions
diff --git a/src/text.c b/src/text.c
index 6ef7f5e..2c74e53 100644
--- a/src/text.c
+++ b/src/text.c
@@ -2,23 +2,7 @@
#include "file_system.h"
#include "code_800558C.h"
#include "code_800B540.h"
-
-struct UnkTextStruct1 {
- u8 fill00[4];
- u16 unk04;
- u8 fill06[2];
- u16 unk08;
- u8 fill04[0x3c];
- u8 unk46;
-};
-
-struct UnkTextStruct2 {
- u8 fill00[0x0c];
- s16 unk0c;
- u8 fill0e[2];
- s16 unk10;
- u8 fill12[0x06];
-};
+#include "text.h"
extern char gUnknown_3000E94[];
@@ -38,13 +22,6 @@ EWRAM_DATA u32 gUnknown_202B030;
EWRAM_DATA u8 gUnknown_202B034;
EWRAM_DATA u16 gUnknown_202B038[2][32][32];
-u32 xxx_update_some_bg_tiles(u32 a0);
-void sub_8006438(const struct UnkTextStruct2 *a0, u8 a1, u8 a2, u32 *a3);
-void sub_8006554(void *a0, void *a1, void *a2, void *a3, u32 a4, const struct UnkTextStruct2 *a5, u8 a6, u32 a7, u32 *a8, u32 a9);
-void sub_800898C(void);
-void sub_80089AC(const struct UnkTextStruct2 *a0, void *a1);
-void sub_8009388(void);
-
extern const struct UnkTextStruct2 gUnknown_80B857C[4];
extern const char gKanjiA_file_string[];
extern const char gKanjiB_file_string[];
@@ -158,7 +135,7 @@ void sub_80063D8(int a0)
gUnknown_202B030 = retval;
}
-void sub_800641C(void *a0, u8 a1, u8 a2)
+void sub_800641C(struct UnkTextStruct2 *a0, u8 a1, u8 a2)
{
u32 r3 = 0;
sub_8006438(a0, a1, a2, &r3);