summaryrefslogtreecommitdiff
path: root/src/battle_ai.c
diff options
context:
space:
mode:
authorCameron Hall <camthesaxman@users.noreply.github.com>2017-07-21 17:31:28 -0500
committerGitHub <noreply@github.com>2017-07-21 17:31:28 -0500
commit68e47a6fa0b56451223c22dc9a759534c988db5b (patch)
tree75ce6402ba5af694c533f2aa1ae7e4b92a63725f /src/battle_ai.c
parentc1a82f1aabc93e5b3c5f2729f70f4a11fc8a5748 (diff)
parent4b3cdd869264ed2705558a7c74d521e2a290a86e (diff)
Merge pull request #370 from drifloony/ram_variables
map out ram variables
Diffstat (limited to 'src/battle_ai.c')
-rw-r--r--src/battle_ai.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_ai.c b/src/battle_ai.c
index d262e69c8..6f91a104d 100644
--- a/src/battle_ai.c
+++ b/src/battle_ai.c
@@ -38,7 +38,7 @@ the number of bytes that the current command had reserved for arguments
in order to read the next command correctly. refer to battle_ai_scripts.s for the
AI scripts.
*/
-extern u8 *gAIScriptPtr;
+EWRAM_DATA u8 *gAIScriptPtr = NULL;
static void BattleAICmd_if_random_less_than(void);
static void BattleAICmd_if_random_greater_than(void);