summaryrefslogtreecommitdiff
path: root/src/use_pokeblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/use_pokeblock.c')
-rw-r--r--src/use_pokeblock.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/use_pokeblock.c b/src/use_pokeblock.c
index ce83bc1c2..3aa2f1fa5 100644
--- a/src/use_pokeblock.c
+++ b/src/use_pokeblock.c
@@ -102,10 +102,11 @@ const struct SpriteTemplate gSpriteTemplate_840618C = {
asm(".text\n"
".include \"constants/gba_constants.inc\"");
-extern struct UnkPokenavStruct_Sub1 *gUnknown_02039304;
-extern MainCallback gUnknown_02039308;
-extern struct Pokeblock *gUnknown_0203930C;
-extern u8 gUnknown_02039310;
+static EWRAM_DATA struct UnkPokenavStruct_Sub1 *gUnknown_02039304 = NULL;
+static EWRAM_DATA MainCallback gUnknown_02039308 = NULL;
+static EWRAM_DATA struct Pokeblock *gUnknown_0203930C = NULL;
+EWRAM_DATA u8 gUnknown_02039310 = 0;
+EWRAM_DATA s16 gUnknown_02039312 = 0;
extern u16 gKeyRepeatStartDelay;
extern u16 gScriptItemId; // FIXME: remove after merge of #349 Pokeblock