Use constants

This commit is contained in:
DizzyEggg 2018-10-16 22:34:53 +02:00 committed by GitHub
parent ed1bb3030b
commit 1f358fbb07
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 // check if the pokemon doesn't belong to the player
if (gBattleTypeFlags & BATTLE_TYPE_INGAME_PARTNER && gBattleStruct->expGetterMonId >= 3) if (gBattleTypeFlags & BATTLE_TYPE_INGAME_PARTNER && gBattleStruct->expGetterMonId >= 3)
{ {
i = 0x149; i = STRINGID_EMPTYSTRING4;
} }
else else
{ {
gBattleMoveDamage = (gBattleMoveDamage * 150) / 100; gBattleMoveDamage = (gBattleMoveDamage * 150) / 100;
i = 0x14A; i = STRINGID_ABOOSTED;
} }
} }
else else
{ {
i = 0x149; i = STRINGID_EMPTYSTRING4;
} }
// get exp getter battlerId // get exp getter battlerId