summaryrefslogtreecommitdiff
path: root/src/event_flag.c
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2021-02-19 16:01:53 -0800
committerGitHub <noreply@github.com>2021-02-19 18:01:53 -0600
commitc754c2a0466d8394c7ffcb3a515199d5703e47be (patch)
tree42463d69e3642a4ada17614cac4653a02dac9338 /src/event_flag.c
parent8dfd044ef3a6ea8da204265b4560716aa67391d1 (diff)
Decomp more of personality_test (#27)
* decomp most of personality_test * just gonna move the funcs to src in assembly for now so I can combine stuff * label another func and some cleanup * one func of personality test left in asm * small cleanups and labeling of funcs
Diffstat (limited to 'src/event_flag.c')
-rw-r--r--src/event_flag.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/event_flag.c b/src/event_flag.c
index a19d3db..10f6b8f 100644
--- a/src/event_flag.c
+++ b/src/event_flag.c
@@ -7,7 +7,7 @@ extern void sub_800226C(u8 r0, u8 r1, u32* r2, u8 u3);
extern void sub_800160C(struct UnkEventStruct *r0, u32 r1, u32 r2);
extern u8 sub_8002658(s32);
-extern u8 gUnknown_2000A88;
+extern u8 gUnknown_2000A88[0x400];
bool8 sub_80026CC(s16 r0)
{
@@ -21,7 +21,7 @@ void sub_80026E8(s16 r0)
bool8 sub_8002700(void *r0)
{
- MemoryCopy8(r0, &gUnknown_2000A88, 0x80 << 3);
+ MemoryCopy8(r0, gUnknown_2000A88, 0x400);
return 1;
}
@@ -29,7 +29,7 @@ bool8 sub_8002718(u8 *r0)
{
struct UnkEventStruct temp;
sub_800160C(&temp, 0, 0);
- MemoryCopy8(&gUnknown_2000A88, r0, 0x80 << 3);
+ MemoryCopy8(gUnknown_2000A88, r0, 0x400);
if (temp.unk0[5] != temp.unk4[0])
return 0;
return 1;