mirror of
https://github.com/pret/pokeemerald.git
synced 2026-09-30 13:57:40 -05:00
Removed small redundancy
This commit is contained in:
@@ -2106,7 +2106,7 @@ u8 DoFieldEndTurnEffects(void)
|
||||
}
|
||||
break;
|
||||
case ENDTURN_RAIN:
|
||||
if (gBattleWeather & WEATHER_RAIN_ANY || gBattleWeather & WEATHER_RAIN_PRIMAL)
|
||||
if (gBattleWeather & WEATHER_RAIN_ANY)
|
||||
{
|
||||
if (!(gBattleWeather & WEATHER_RAIN_PERMANENT)
|
||||
&& !(gBattleWeather & WEATHER_RAIN_PRIMAL))
|
||||
@@ -2157,7 +2157,7 @@ u8 DoFieldEndTurnEffects(void)
|
||||
gBattleStruct->turnCountersTracker++;
|
||||
break;
|
||||
case ENDTURN_SUN:
|
||||
if (gBattleWeather & WEATHER_SUN_ANY || gBattleWeather & WEATHER_SUN_PRIMAL)
|
||||
if (gBattleWeather & WEATHER_SUN_ANY)
|
||||
{
|
||||
if (!(gBattleWeather & WEATHER_SUN_PERMANENT)
|
||||
&& !(gBattleWeather & WEATHER_SUN_PRIMAL)
|
||||
|
||||
Reference in New Issue
Block a user