From 51d8b57dccff24b0c947eaaaaa0c0982a027795f Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Mon, 31 Oct 2022 13:19:10 +0100 Subject: [PATCH] restore deleted line --- src/battle_ai_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/battle_ai_main.c b/src/battle_ai_main.c index 500680135..b1154e793 100644 --- a/src/battle_ai_main.c +++ b/src/battle_ai_main.c @@ -234,6 +234,7 @@ u8 BattleAI_ChooseMoveOrAction(void) // damages/other info computed in GetAIDataAndCalcDmg u8 ComputeBattleAiScores(u8 battler) { + sBattler_AI = battler; BattleAI_SetupAIData(0xF); return BattleAI_ChooseMoveOrAction(); }