make it compile

This commit is contained in:
DizzyEggg 2017-09-06 18:39:03 +02:00
parent 0cc4cadd2f
commit c3cc1b3370
2 changed files with 2 additions and 4 deletions

View File

@ -36,8 +36,7 @@ extern u32 gFlashMemoryPresent;
extern u32 IntrMain[];
extern u8 gHeap[];
extern struct SaveBlock2 gSaveblock2;
extern char *gPokemonStoragePtr;
extern char gPokemonStorage[];
extern struct PokemonStorage gPokemonStorage;
extern u32 gBattleTypeFlags;
extern u8 gUnknown_03002748;
extern u32 *gUnknown_0203CF5C;
@ -187,7 +186,7 @@ static void InitMainCallbacks(void)
gMain.callback1 = NULL;
SetMainCallback2(c2_copyright_1);
gSaveBlock2Ptr = &gSaveblock2;
gPokemonStoragePtr = gPokemonStorage;
gPokemonStoragePtr = &gPokemonStorage;
}
static void CallCallbacks(void)

View File

@ -5,7 +5,6 @@
extern struct SaveSectionOffsets gSaveSectionOffsets[0xE];
extern struct SaveSectionLocation gRamSaveSectionLocations[0xE];
extern void *gPokemonStoragePtr;
extern u8 gDecompressionBuffer[];
extern u32 gFlashMemoryPresent;
extern u16 gUnknown_03006294;