From 9506a9526b7d351f4898aff9956a873a8589c03b Mon Sep 17 00:00:00 2001 From: Kurausukun Date: Mon, 24 Jun 2024 15:38:13 -0400 Subject: [PATCH] update weather flag names --- Add-Physical-Special-Split.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Add-Physical-Special-Split.md b/Add-Physical-Special-Split.md index 8b4598f..f4fac23 100644 --- a/Add-Physical-Special-Split.md +++ b/Add-Physical-Special-Split.md @@ -89,7 +89,7 @@ We also need to make a similar change to the boosts that weather provides. In Ge ```c if (WEATHER_HAS_EFFECT2) { - if (gBattleWeather & WEATHER_RAIN_TEMPORARY) + if (gBattleWeather & B_WEATHER_RAIN_TEMPORARY) { switch (type) { @@ -103,11 +103,11 @@ if (WEATHER_HAS_EFFECT2) } // any weather except sun weakens solar beam - if ((gBattleWeather & (WEATHER_RAIN_ANY | WEATHER_SANDSTORM_ANY | WEATHER_HAIL_ANY)) && gCurrentMove == MOVE_SOLAR_BEAM) + if ((gBattleWeather & (B_WEATHER_RAIN_ANY | B_WEATHER_SANDSTORM_ANY | B_WEATHER_HAIL_ANY)) && gCurrentMove == MOVE_SOLAR_BEAM) damage /= 2; // sunny - if (gBattleWeather & WEATHER_SUN_ANY) + if (gBattleWeather & B_WEATHER_SUN_ANY) { switch (type) {