Split into ereader_helpers.c, faraway_island.c, and ereader_screen.c

This commit is contained in:
Marcus Huderle
2019-03-22 14:16:26 -05:00
parent f4f666f5af
commit a7d5f032b1
14 changed files with 1508 additions and 1464 deletions

20
include/ereader_helpers.h Executable file
View File

@@ -0,0 +1,20 @@
#ifndef GUARD_EREADER_HELPERS_H
#define GUARD_EREADER_HELPERS_H
struct Unk81D38FC
{
u8 unk0[0x270];
int checksum;
};
bool8 sub_81D3920(u8 *buffer);
bool32 sub_81D3AB0(struct Unk81D38FC *arg0);
bool32 sub_81D3B34(void);
int sub_81D3D70(u8, u32, u32*, u32*);
void sub_81D3F9C(void);
void sub_81D3FAC(void);
void sub_81D41A0(void);
void sub_81D41F4(void);
void sub_81D4238(void);
#endif // GUARD_EREADER_HELPERS_H

6
include/ereader_screen.h Executable file
View File

@@ -0,0 +1,6 @@
#ifndef GUARD_EREADER_SCREEN_H
#define GUARD_EREADER_SCREEN_H
void sub_81D5014(void);
#endif // GUARD_EREADER_SCREEN_H

View File

@@ -1,11 +1,10 @@
#ifndef GUARD_EREADER_H
#define GUARD_EREADER_H
#ifndef GUARD_FARAWAY_ISLAND_H
#define GUARD_FARAWAY_ISLAND_H
bool32 sub_81D3B34(void);
u32 sub_81D427C(void);
bool8 sub_81D4A58(struct EventObject*);
void UpdateFarawayIslandStepCounter(void);
bool8 EventObjectIsFarawayIslandMew(struct EventObject *);
bool8 IsMewPlayingHideAndSeek(void);
#endif // GUARD_EREADER_H
#endif // GUARD_FARAWAY_ISLAND_H