Removed IS_ULTRA_BEAST in favor of mon flag

This commit is contained in:
ExpoSeed 2020-11-24 22:47:27 -06:00
parent 6f29abbe0e
commit a158d6138c

View file

@ -9786,7 +9786,7 @@ static void Cmd_handleballthrow(void)
#ifdef POKEMON_EXPANSION
if (IS_ULTRA_BEAST(gBattleMons[gBattlerTarget].species))
if (gBaseStats[gBattleMons[gBattlerTarget].species].flags & F_ULTRA_BEAST)
{
if (gLastUsedItem == ITEM_BEAST_BALL)
ballMultiplier = 50;