mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 11:44:17 +01:00
Untangled CheckPartnersMonForRibbons
This commit is contained in:
parent
1f540845cb
commit
7470a56d44
@ -4813,7 +4813,7 @@ static void CheckPartnersMonForRibbons(void)
|
|||||||
{
|
{
|
||||||
u8 i;
|
u8 i;
|
||||||
u8 numRibbons = 0;
|
u8 numRibbons = 0;
|
||||||
for (i = 0; i < 12; i ++)
|
for (i = 0; i < (MON_DATA_UNUSED_RIBBONS - MON_DATA_CHAMPION_RIBBON); i ++)
|
||||||
{
|
{
|
||||||
numRibbons += GetMonData(&gEnemyParty[gSelectedTradeMonPositions[TRADE_PARTNER] % PARTY_SIZE], MON_DATA_CHAMPION_RIBBON + i);
|
numRibbons += GetMonData(&gEnemyParty[gSelectedTradeMonPositions[TRADE_PARTNER] % PARTY_SIZE], MON_DATA_CHAMPION_RIBBON + i);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user