define start menu variables in C

This commit is contained in:
YamaArashi 2016-10-09 16:07:48 -07:00
parent 0a32b5feb1
commit e29af253ce
3 changed files with 5 additions and 15 deletions

View File

@ -63,12 +63,13 @@ struct MenuItem {
u8 (*callback)(void);
};
extern u8 (*saveDialogCallback)(void);
static u8 (*saveDialogCallback)(void);
static u8 gUnknown_030006AC;
static bool8 gUnknown_030006AD;
extern bool8 gUnknown_020297EC;
extern u16 gSaveFileStatus;
extern u8 gUnknown_030006AC;
extern u16 gScriptResult;
extern bool8 gUnknown_030006AD;
extern u8 (*gCallback_03004AE8)(void);
extern u8 gUnknown_03004860;
extern struct MenuItem gStartMenuItems[];

View File

@ -84,17 +84,7 @@ gUnknown_030005A6: @ 30005A6
.include "src/field_message_box.o"
.include "src/text_window.o"
.include "src/script.o"
.align 2
saveDialogCallback: @ 30006A8
.space 0x4
gUnknown_030006AC: @ 30006AC
.space 0x1
gUnknown_030006AD: @ 30006AD
.space 0x3
.include "src/start_menu.o"
.include "src/menu.o"
.align 2

View File

@ -467,7 +467,6 @@ gUnknown_0202E8FA: @ 202E8FA
.space 0x2
.include "src/start_menu.o"
.include "src/menu.o"
.align 2