diff options
author | Marcus Huderle <huderlem@gmail.com> | 2018-01-07 10:59:12 -0800 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2018-01-07 20:07:36 -0800 |
commit | c0e0004ffabfcb9bc9827bdce28e3c18a6e52922 (patch) | |
tree | db700176ef7f8882346cf2842a9f0ea766761202 /src/battle/battle_ai.c | |
parent | 36841a8498134931be3d1c73927f6fec4482fb30 (diff) |
Decompile through HandleEndTurn_BattleWon, and update trainer class constant names
Diffstat (limited to 'src/battle/battle_ai.c')
-rw-r--r-- | src/battle/battle_ai.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle/battle_ai.c b/src/battle/battle_ai.c index 6b892ea7a..977e91f5c 100644 --- a/src/battle/battle_ai.c +++ b/src/battle/battle_ai.c @@ -1321,7 +1321,7 @@ static void BattleAICmd_count_alive_pokemon(void) u32 status; var = gBattlePartyID[index]; status = GetBankIdentity(index) ^ 2; - var2 = gBattlePartyID[GetBankByPlayerAI(status)]; + var2 = gBattlePartyID[GetBankByIdentity(status)]; } else { |