Remove unused BF battle types, clarify Ghost battle type flags

This commit is contained in:
GriffinR committed 2020-01-22 21:02:25 -05:00
1 parent d084a5ca84
commit e7cd8c59f4
8 files changed
+23 -21

No files matched your search

+1 -1
View File
@@ -7352,7 +7352,7 @@ static void atk95_setsandstorm(void)
static void atk96_weatherdamage(void)
{
if (((gBattleTypeFlags & (BATTLE_TYPE_LEGENDARY | BATTLE_TYPE_GHOST)) == BATTLE_TYPE_GHOST)
if (IS_BATTLE_TYPE_GHOST_WITHOUT_SCOPE(gBattleTypeFlags)
&& (GetBattlerSide(gBattlerAttacker) == B_SIDE_OPPONENT))
{
gBattleMoveDamage = 0;