Remove one redundant call of SetAiLogicDataForTurn in DoBattleIntro (#5491)
This is already run at the end of `TryDoEventsBeforeFirstTurn` which makes the first calc redundant. I've had this removed in my project for a while and didn't notice any problems
This commit is contained in:
parent
7fc5502afd
commit
3c3ce38378
1 changed files with 0 additions and 1 deletions
|
@ -3750,7 +3750,6 @@ static void DoBattleIntro(void)
|
|||
gBattleStruct->eventsBeforeFirstTurnState = 0;
|
||||
gBattleStruct->switchInBattlerCounter = 0;
|
||||
gBattleStruct->overworldWeatherDone = FALSE;
|
||||
SetAiLogicDataForTurn(AI_DATA); // get assumed abilities, hold effects, etc of all battlers
|
||||
Ai_InitPartyStruct(); // Save mons party counts, and first 2/4 mons on the battlefield.
|
||||
|
||||
// Try to set a status to start the battle with
|
||||
|
|
Loading…
Reference in a new issue