Merge pull request #1252 from ExpoSeed/IE-ultra-beast

Removed IS_ULTRA_BEAST in favor of mon flag
This commit is contained in:
ghoulslash 2020-12-03 15:07:45 -05:00 committed by GitHub
commit 2a251e7551
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;