Merge pull request #2038 from AsparagusEduardo/BE_PEFlag

Fixed Pokémon Expansion flag name in Battle Engine
This commit is contained in:
ghoulslash 2022-01-20 19:43:28 -05:00 committed by GitHub
commit 1710d3e2ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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