Regions to enum
This commit is contained in:
parent
54cddb12e6
commit
74fea0d520
1 changed files with 14 additions and 10 deletions
|
@ -2,16 +2,20 @@
|
||||||
#define GUARD_CONSTANTS_REGIONS_H
|
#define GUARD_CONSTANTS_REGIONS_H
|
||||||
|
|
||||||
// Core-series regions
|
// Core-series regions
|
||||||
#define REGION_KANTO 0
|
enum Region
|
||||||
#define REGION_JOHTO 1
|
{
|
||||||
#define REGION_HOENN 2
|
REGION_KANTO,
|
||||||
#define REGION_SINNOH 3
|
REGION_JOHTO,
|
||||||
#define REGION_UNOVA 4
|
REGION_HOENN,
|
||||||
#define REGION_KALOS 5
|
REGION_SINNOH,
|
||||||
#define REGION_ALOLA 6
|
REGION_UNOVA,
|
||||||
#define REGION_GALAR 7
|
REGION_KALOS,
|
||||||
#define REGION_HISUI 8
|
REGION_ALOLA,
|
||||||
#define REGION_PALDEA 9
|
REGION_GALAR,
|
||||||
|
REGION_HISUI,
|
||||||
|
REGION_PALDEA,
|
||||||
|
REGION_COUNT,
|
||||||
|
}
|
||||||
|
|
||||||
// TODO: Since there's no current multi-region support, we have this constant for the purposes of regional form comparisons.
|
// TODO: Since there's no current multi-region support, we have this constant for the purposes of regional form comparisons.
|
||||||
#define REGION_CURRENT REGION_HOENN
|
#define REGION_CURRENT REGION_HOENN
|
||||||
|
|
Loading…
Reference in a new issue