summaryrefslogtreecommitdiff
path: root/src/wonder_mail_3.c
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2021-05-23 16:19:35 -0500
committerGitHub <noreply@github.com>2021-05-23 16:19:35 -0500
commiteaa141c612dd1689936a21bd57018a55ff686b69 (patch)
treefafe2a9a562af6a8e36716ff76a5b3e8b30d4411 /src/wonder_mail_3.c
parentf402e46cd3c8b7236673d6edbae77903a7cc0618 (diff)
Keep on keepin on (#38)
* end of may dump of work * move save text to src * decomp a little more
Diffstat (limited to 'src/wonder_mail_3.c')
-rw-r--r--src/wonder_mail_3.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/wonder_mail_3.c b/src/wonder_mail_3.c
index 7951efc..80552f6 100644
--- a/src/wonder_mail_3.c
+++ b/src/wonder_mail_3.c
@@ -1,9 +1,10 @@
#include "global.h"
+#include "memory.h"
struct unkStruct_203B2F8
{
// size: 0x208
- u32 unk0; // state
+ u32 state; // state
u32 unk4;
u8 unk8;
u8 unk9;
@@ -17,8 +18,6 @@ struct unkStruct_203B2F8
};
extern struct unkStruct_203B2F8 *gUnknown_203B2F8;
-extern void *MemoryAlloc(u32, u32);
-extern void MemoryFree(void *);
extern u8 sub_8099328(u8 *);
extern u32 sub_8011C1C();
extern void sub_802D1A0(u32);
@@ -52,7 +51,7 @@ u32 sub_802D098(u32 param_1)
u32 sub_802D0E0(void)
{
- switch(gUnknown_203B2F8->unk0) {
+ switch(gUnknown_203B2F8->state) {
case 0:
break;
case 1:
@@ -100,7 +99,7 @@ void sub_802D184(void)
void sub_802D1A0(u32 newState)
{
- gUnknown_203B2F8->unk0 = newState;
+ gUnknown_203B2F8->state = newState;
sub_802D1B8();
sub_802D2A8();
}