summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2017-09-06 18:39:03 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2017-09-06 18:39:03 +0200
commitc3cc1b3370fabcba0ce3997a9f3f6193ee9b13b5 (patch)
tree617289ef6567fd3541f00c5586e005c5b6d5fbd0 /src/main.c
parent0cc4cadd2f02b19cea6eba1826aab8c3668dc677 (diff)
make it compile
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 15f1ec3eb..5707e18af 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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)