diff options
author | Cameron Hall <camthesaxman@users.noreply.github.com> | 2017-07-21 17:31:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-21 17:31:28 -0500 |
commit | 68e47a6fa0b56451223c22dc9a759534c988db5b (patch) | |
tree | 75ce6402ba5af694c533f2aa1ae7e4b92a63725f /src/use_pokeblock.c | |
parent | c1a82f1aabc93e5b3c5f2729f70f4a11fc8a5748 (diff) | |
parent | 4b3cdd869264ed2705558a7c74d521e2a290a86e (diff) |
Merge pull request #370 from drifloony/ram_variables
map out ram variables
Diffstat (limited to 'src/use_pokeblock.c')
-rw-r--r-- | src/use_pokeblock.c | 9 |
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 |