2017-12-05 18:55:48 +01:00
|
|
|
#ifndef GUARD_CONSTANTS_MAPS_H
|
|
|
|
#define GUARD_CONSTANTS_MAPS_H
|
|
|
|
|
2019-01-31 22:51:20 +01:00
|
|
|
#include "map_groups.h"
|
2017-12-05 18:55:48 +01:00
|
|
|
|
|
|
|
#define MAP_NONE (0x7F | (0x7F << 8))
|
|
|
|
#define MAP_UNDEFINED (0xFF | (0xFF << 8))
|
|
|
|
|
|
|
|
#define MAP_GROUP(map) (MAP_##map >> 8)
|
|
|
|
#define MAP_NUM(map) (MAP_##map & 0xFF)
|
|
|
|
|
2019-03-12 10:35:15 +01:00
|
|
|
// These groups are used by pokedex_area_screen.c to find wild
|
|
|
|
// pokemon locations.
|
2019-04-01 02:40:14 +02:00
|
|
|
#define MAP_GROUP_OVERWORLD_MONS MAP_GROUP(PETALBURG_CITY)
|
|
|
|
#define MAP_GROUP_SPECIAL_MONS_1 MAP_GROUP(METEOR_FALLS_1F_1R)
|
|
|
|
#define MAP_GROUP_SPECIAL_MONS_2 MAP_GROUP(SAFARI_ZONE_NORTHWEST)
|
2019-03-12 10:35:15 +01:00
|
|
|
|
2017-12-05 18:55:48 +01:00
|
|
|
#endif // GUARD_CONSTANTS_MAPS_H
|