summaryrefslogtreecommitdiff
path: root/src/use_pokeblock.c
diff options
context:
space:
mode:
authorU-Maria-PC\Maria <throwawaygolem@gmail.com>2017-07-29 11:35:23 -0400
committerU-Maria-PC\Maria <throwawaygolem@gmail.com>2017-07-29 11:35:23 -0400
commite92408af0133974a769215a83500c965f8524724 (patch)
tree9f1556b72ebb1a9f1b7f288ba4b8d23471a46608 /src/use_pokeblock.c
parenta9da4340a3c91553d19afdcd07355c53d5157a3e (diff)
parent8b39cdac9adb52a6e6abd03314056ee5d6003a1b (diff)
Merge branch 'master' of https://github.com/pret/pokeruby
`:Q B A B:` r A r D D C D D r
Diffstat (limited to 'src/use_pokeblock.c')
-rw-r--r--[-rwxr-xr-x]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 100755..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