Merge pull request #363 from DizzyEggg/patch-1

Use constants
This commit is contained in:
Diegoisawesome 2018-10-16 17:07:54 -05:00 committed by GitHub
commit 832947f329
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3382,17 +3382,17 @@ static void atk23_getexp(void)
// check if the pokemon doesn't belong to the player
if (gBattleTypeFlags & BATTLE_TYPE_INGAME_PARTNER && gBattleStruct->expGetterMonId >= 3)
{
i = 0x149;
i = STRINGID_EMPTYSTRING4;
}
else
{
gBattleMoveDamage = (gBattleMoveDamage * 150) / 100;
i = 0x14A;
i = STRINGID_ABOOSTED;
}
}
else
{
i = 0x149;
i = STRINGID_EMPTYSTRING4;
}
// get exp getter battlerId