summaryrefslogtreecommitdiff
path: root/include/constants/weather.h
blob: 98a0a2e1e42d009d25c7b846a78fb918ed5c170f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#ifndef GUARD_CONSTANTS_WEATHER_H
#define GUARD_CONSTANTS_WEATHER_H

#define WEATHER_NONE                    0
#define WEATHER_SUNNY_CLOUDS            1
#define WEATHER_SUNNY                   2
#define WEATHER_RAIN                    3
#define WEATHER_SNOW                    4   // Unused
#define WEATHER_RAIN_THUNDERSTORM       5
#define WEATHER_FOG_HORIZONTAL          6
#define WEATHER_VOLCANIC_ASH            7
#define WEATHER_SANDSTORM               8
#define WEATHER_FOG_DIAGONAL            9   // Unused
#define WEATHER_UNDERWATER              10  // Unused
#define WEATHER_SHADE                   11  // Original name was closer to WEATHER_CLOUDY/OVERCAST
#define WEATHER_DROUGHT                 12
#define WEATHER_DOWNPOUR                13
#define WEATHER_UNDERWATER_BUBBLES      14
#define WEATHER_ABNORMAL                15  // The alternating weather during Groudon/Kyogre conflict 
#define WEATHER_ROUTE119_CYCLE          20
#define WEATHER_ROUTE123_CYCLE          21

// These are used in maps' coord_weather_event entries.
// They are not a one-to-one mapping with the engine's
// internal weather constants above.
#define COORD_EVENT_WEATHER_SUNNY_CLOUDS        1
#define COORD_EVENT_WEATHER_SUNNY               2
#define COORD_EVENT_WEATHER_RAIN                3
#define COORD_EVENT_WEATHER_SNOW                4
#define COORD_EVENT_WEATHER_RAIN_THUNDERSTORM   5
#define COORD_EVENT_WEATHER_FOG_HORIZONTAL      6
#define COORD_EVENT_WEATHER_FOG_DIAGONAL        7
#define COORD_EVENT_WEATHER_VOLCANIC_ASH        8
#define COORD_EVENT_WEATHER_SANDSTORM           9
#define COORD_EVENT_WEATHER_SHADE               10
#define COORD_EVENT_WEATHER_DROUGHT             11
#define COORD_EVENT_WEATHER_ROUTE119_CYCLE      20
#define COORD_EVENT_WEATHER_ROUTE123_CYCLE      21

// These are the "abnormal weather events" that are used
// to find Kyogre and Groudon.
#define ABNORMAL_WEATHER_COUNT_PER_LEGENDARY      8
#define ABNORMAL_WEATHER_GROUDON_LOCATIONS_START  1
#define ABNORMAL_WEATHER_KYOGRE_LOCATIONS_START   1 + ABNORMAL_WEATHER_COUNT_PER_LEGENDARY

#define ABNORMAL_WEATHER_NONE 0
// Groudon locations
#define ABNORMAL_WEATHER_ROUTE_114_NORTH    1
#define ABNORMAL_WEATHER_ROUTE_114_SOUTH    2
#define ABNORMAL_WEATHER_ROUTE_115_WEST     3
#define ABNORMAL_WEATHER_ROUTE_115_EAST     4
#define ABNORMAL_WEATHER_ROUTE_116_NORTH    5
#define ABNORMAL_WEATHER_ROUTE_116_SOUTH    6
#define ABNORMAL_WEATHER_ROUTE_118_EAST     7
#define ABNORMAL_WEATHER_ROUTE_118_WEST     8
// Kyogre locations
#define ABNORMAL_WEATHER_ROUTE_105_NORTH    9
#define ABNORMAL_WEATHER_ROUTE_105_SOUTH    10
#define ABNORMAL_WEATHER_ROUTE_125_WEST     11
#define ABNORMAL_WEATHER_ROUTE_125_EAST     12
#define ABNORMAL_WEATHER_ROUTE_127_NORTH    13
#define ABNORMAL_WEATHER_ROUTE_127_SOUTH    14
#define ABNORMAL_WEATHER_ROUTE_129_WEST     15
#define ABNORMAL_WEATHER_ROUTE_129_EAST     16

#endif // GUARD_CONSTANTS_WEATHER_H