blob: 3989790f094d68c587821523787a65c81ee779d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "global.h"
#include "weather.h"
#include "constants/item.h"
#include "constants/weather.h"
#include "dungeon_global_data.h"
#include "dungeon_items.h"
u8 GetWeather(struct DungeonEntity* pokemon)
{
if (pokemon != NULL && HasItem(pokemon, ITEM_ID_WEATHER_BAND))
{
return WEATHER_CLEAR;
}
return gDungeonGlobalData->weather;
}
|