mirror of
https://github.com/pret/pokefirered.git
synced 2026-05-10 22:18:41 -05:00
22 lines
589 B
C
22 lines
589 B
C
#ifndef GUARD_CONSTANTS_MAPS_H
|
|
#define GUARD_CONSTANTS_MAPS_H
|
|
|
|
#include "constants/map_groups.h"
|
|
#include "constants/map_types.h"
|
|
|
|
#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)
|
|
|
|
#define MAP(map) MAP_GROUP(map), MAP_NUM(map)
|
|
|
|
#define WARP_ID_DYNAMIC 0x7F
|
|
|
|
// Used to indicate an invalid warp id, for dummy warps or when a warp should
|
|
// use the given coordinates rather than the coordinates of a target warp.
|
|
#define WARP_ID_NONE (-1)
|
|
|
|
#endif // GUARD_CONSTANTS_MAPS_H
|