Multiple changes 2
This commit is contained in:
@@ -1384,13 +1384,13 @@ extern u16 gBattleWeather;
|
||||
|
||||
static void Cmd_get_weather(void)
|
||||
{
|
||||
if (gBattleWeather & WEATHER_RAIN_ANY)
|
||||
if (gBattleWeather & B_WEATHER_RAIN)
|
||||
AI_THINKING_STRUCT->funcResult = WEATHER_TYPE_RAIN;
|
||||
if (gBattleWeather & WEATHER_SANDSTORM_ANY)
|
||||
if (gBattleWeather & B_WEATHER_SANDSTORM)
|
||||
AI_THINKING_STRUCT->funcResult = WEATHER_TYPE_SANDSTORM;
|
||||
if (gBattleWeather & WEATHER_SUN_ANY)
|
||||
if (gBattleWeather & B_WEATHER_SUN)
|
||||
AI_THINKING_STRUCT->funcResult = WEATHER_TYPE_SUNNY;
|
||||
if (gBattleWeather & WEATHER_HAIL)
|
||||
if (gBattleWeather & B_WEATHER_HAIL_TEMPORARY)
|
||||
AI_THINKING_STRUCT->funcResult = WEATHER_TYPE_HAIL;
|
||||
|
||||
sAIScriptPtr += 1;
|
||||
|
||||
Reference in New Issue
Block a user