diff options
author | camthesaxman <cameronghall@cox.net> | 2018-01-16 14:01:31 -0600 |
---|---|---|
committer | camthesaxman <cameronghall@cox.net> | 2018-01-16 14:01:31 -0600 |
commit | 157b88b6dbfa7816cac9c6cf2ef20bd70a573b10 (patch) | |
tree | 5ee8f522de06636ed00050c5fa2e2c776942a73d /src/battle_util2.c | |
parent | 11cb3275cc53c2bcea4fdcfe11d9d9d429ee9c02 (diff) |
identity -> position
Diffstat (limited to 'src/battle_util2.c')
-rw-r--r-- | src/battle_util2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/battle_util2.c b/src/battle_util2.c index 538c1c641..d242ab6c9 100644 --- a/src/battle_util2.c +++ b/src/battle_util2.c @@ -87,15 +87,15 @@ void AdjustFriendshipOnBattleFaint(u8 bank) { u8 opposingBank2; - opposingBank = GetBankByIdentity(IDENTITY_OPPONENT_MON1); - opposingBank2 = GetBankByIdentity(IDENTITY_OPPONENT_MON2); + opposingBank = GetBankByIdentity(B_POSITION_OPPONENT_LEFT); + opposingBank2 = GetBankByIdentity(B_POSITION_OPPONENT_RIGHT); if (gBattleMons[opposingBank2].level > gBattleMons[opposingBank].level) opposingBank = opposingBank2; } else { - opposingBank = GetBankByIdentity(IDENTITY_OPPONENT_MON1); + opposingBank = GetBankByIdentity(B_POSITION_OPPONENT_LEFT); } if (gBattleMons[opposingBank].level > gBattleMons[bank].level) |