mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-20 19:23:38 +01:00
Removed unused access to struct MegaEvolutionData in GetBattlerFriendshipScore
This commit is contained in:
parent
50ca188cb2
commit
589c969e89
@ -2107,7 +2107,6 @@ void TryToRevertMimicry(void)
|
||||
|
||||
u32 GetBattlerFriendshipScore(u8 battlerId)
|
||||
{
|
||||
struct MegaEvolutionData *mega = &(((struct ChooseMoveStruct *)(&gBattleResources->bufferA[battlerId][4]))->mega);
|
||||
u8 side = GetBattlerSide(battlerId);
|
||||
struct Pokemon *party = (side == B_SIDE_PLAYER) ? gPlayerParty : gEnemyParty;
|
||||
u16 species = GetMonData(&party[gBattlerPartyIndexes[battlerId]], MON_DATA_SPECIES);
|
||||
|
Loading…
x
Reference in New Issue
Block a user