Updated Cmd_handleballthrow

This commit is contained in:
LOuroboros 2022-07-16 05:09:32 -03:00 committed by GitHub
parent 6cb483bc9b
commit 0651cc9fe4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13586,7 +13586,7 @@ static void Cmd_handleballthrow(void)
else else
catchRate = gBaseStats[gBattleMons[gBattlerTarget].species].catchRate; catchRate = gBaseStats[gBattleMons[gBattlerTarget].species].catchRate;
#ifdef POKEMON_EXPANSION #if defined POKEMON_EXPANSION && defined ITEM_EXPANSION
if (gBaseStats[gBattleMons[gBattlerTarget].species].flags & FLAG_ULTRA_BEAST) if (gBaseStats[gBattleMons[gBattlerTarget].species].flags & FLAG_ULTRA_BEAST)
{ {
if (gLastUsedItem == ITEM_BEAST_BALL) if (gLastUsedItem == ITEM_BEAST_BALL)
@ -13764,7 +13764,7 @@ static void Cmd_handleballthrow(void)
#endif #endif
} }
#ifdef POKEMON_EXPANSION #if defined POKEMON_EXPANSION && defined ITEM_EXPANSION
} }
#endif #endif