mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-21 19:54:14 +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)
|
u32 GetBattlerFriendshipScore(u8 battlerId)
|
||||||
{
|
{
|
||||||
struct MegaEvolutionData *mega = &(((struct ChooseMoveStruct *)(&gBattleResources->bufferA[battlerId][4]))->mega);
|
|
||||||
u8 side = GetBattlerSide(battlerId);
|
u8 side = GetBattlerSide(battlerId);
|
||||||
struct Pokemon *party = (side == B_SIDE_PLAYER) ? gPlayerParty : gEnemyParty;
|
struct Pokemon *party = (side == B_SIDE_PLAYER) ? gPlayerParty : gEnemyParty;
|
||||||
u16 species = GetMonData(&party[gBattlerPartyIndexes[battlerId]], MON_DATA_SPECIES);
|
u16 species = GetMonData(&party[gBattlerPartyIndexes[battlerId]], MON_DATA_SPECIES);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user