From e4a72cbff306e805606c3d95e5192e535fcb0ca8 Mon Sep 17 00:00:00 2001 From: drifloony Date: Sat, 15 Jul 2017 18:48:46 -0700 Subject: map out ram variables --- src/battle_ai.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/battle_ai.c') 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); -- cgit v1.2.3