Set up to decomp mevent_server

This commit is contained in:
PikalaxALT
2018-11-30 08:47:58 -05:00
parent c52daa7ef9
commit 294b150d70
6 changed files with 31 additions and 14 deletions
+13 -2
View File
@@ -2,7 +2,14 @@
.align 2
gUnknown_8466F60:: @ 8466F60
.incbin "baserom.gba", 0x466F60, 0x20
.4byte sub_8144C34
.4byte sub_8144C5C
.4byte sub_8144C60
.4byte sub_8144C80
.4byte sub_8144CA0
.4byte sub_8144E6C
.4byte sub_8144E84
.4byte sub_8144EBC
.align 2
gUnknown_8466F80:: @ 8466F80
@@ -26,7 +33,11 @@ gUnknown_8467000:: @ 8467000
.align 2
gUnknown_8467030:: @ 8467030
.incbin "baserom.gba", 0x467030, 0x14
.4byte sub_8145080
.4byte sub_8145088
.4byte sub_814508C
.4byte sub_81450A8
.4byte sub_81450C4
.align 2
gUnknown_8467044:: @ 8467044
+2
View File
@@ -28,6 +28,8 @@
#endif // __APPLE__
#define ARRAY_COUNT(array) (sizeof(array) / sizeof((array)[0]))
// GF's lingo
#define NELEMS ARRAY_COUNT
// useful math macros
+12
View File
@@ -21,6 +21,18 @@ struct MEventStruct_Unk1442CC
u8 unk_60;
};
struct MEvent_Str_1
{
u16 unk_000;
size_t unk_004;
const void * unk_008;
};
struct MEvent_Str_2
{
u8 fill_00[0x40];
};
struct MysteryEventStruct * sub_8143D94(void);
bool32 sub_8143E1C(void);
+2
View File
@@ -244,6 +244,7 @@ SECTIONS {
asm/mystery_gift_menu.o(.text);
asm/link_rfu_4.o(.text);
src/mevent.o(.text);
src/mevent_server.o(.text);
asm/mevent_server.o(.text);
asm/mevent_8145654.o(.text);
src/menews_jisan.o(.text);
@@ -379,6 +380,7 @@ SECTIONS {
src/fame_checker.o(.rodata);
data/data_845FD54.o(.rodata);
src/mevent.o(.rodata);
src/mevent_server.o(.rodata);
data/data_8466FB8.o(.rodata);
src/menews_jisan.o(.rodata);
src/menews_jisan.o(.rodata.str1.4);
-12
View File
@@ -19,18 +19,6 @@
#include "menews_jisan.h"
#include "mevent.h"
struct MEvent_Str_1
{
u16 unk_000;
size_t unk_004;
const void * unk_008;
};
struct MEvent_Str_2
{
u8 fill_00[0x40];
};
struct MEventTaskData1
{
u16 t00;
+2
View File
@@ -0,0 +1,2 @@
#include "global.h"
#include "mevent.h"