mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-18 01:14:19 +01:00
Allow the AI to see damage against it's partner
This commit is contained in:
parent
055c1c47b7
commit
4673ff30e4
@ -177,10 +177,10 @@ void BattleAI_SetupAIData(u8 defaultScoreMoves)
|
||||
}
|
||||
|
||||
sBattler_AI = gActiveBattler;
|
||||
// Simulate dmg for all AI moves against all opposing targets
|
||||
// Simulate dmg for all AI moves against all other targets
|
||||
for (gBattlerTarget = 0; gBattlerTarget < gBattlersCount; gBattlerTarget++)
|
||||
{
|
||||
if (GET_BATTLER_SIDE2(sBattler_AI) == GET_BATTLER_SIDE2(gBattlerTarget))
|
||||
if (sBattler_AI == gBattlerTarget)
|
||||
continue;
|
||||
for (i = 0; i < MAX_MON_MOVES; i++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user