summaryrefslogtreecommitdiff
path: root/src/battle_ai.c
diff options
context:
space:
mode:
authordrifloony <drifloony@users.noreply.github.com>2017-07-15 18:48:46 -0700
committerdrifloony <drifloony@users.noreply.github.com>2017-07-20 20:13:02 -0700
commite4a72cbff306e805606c3d95e5192e535fcb0ca8 (patch)
tree82d387a57efcb1867ce2dc7a73fb277b26d487c7 /src/battle_ai.c
parent7d960d219fae9d0a14ef1974c11231f8de55b89c (diff)
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);