2017-10-13 15:09:36 +00:00
|
|
|
#ifndef GUARD_REGION_MAP_H
|
|
|
|
#define GUARD_REGION_MAP_H
|
|
|
|
|
|
|
|
// Exported type declarations
|
|
|
|
|
|
|
|
enum {
|
2017-10-29 02:03:33 +00:00
|
|
|
MAPSEC_LITTLEROOT_TOWN,
|
|
|
|
MAPSEC_OLDALE_TOWN,
|
|
|
|
MAPSEC_DEWFORD_TOWN,
|
|
|
|
MAPSEC_LAVARIDGE_TOWN,
|
|
|
|
MAPSEC_FALLARBOR_TOWN,
|
|
|
|
MAPSEC_VERDANTURF_TOWN,
|
|
|
|
MAPSEC_PACIFIDLOG_TOWN,
|
|
|
|
MAPSEC_PETALBURG_CITY,
|
|
|
|
MAPSEC_SLATEPORT_CITY,
|
|
|
|
MAPSEC_MAUVILLE_CITY,
|
|
|
|
MAPSEC_RUSTBORO_CITY,
|
|
|
|
MAPSEC_FORTREE_CITY,
|
|
|
|
MAPSEC_LILYCOVE_CITY,
|
|
|
|
MAPSEC_MOSSDEEP_CITY,
|
|
|
|
MAPSEC_SOOTOPOLIS_CITY,
|
|
|
|
MAPSEC_EVER_GRANDE_CITY,
|
|
|
|
MAPSEC_ROUTE_101,
|
|
|
|
MAPSEC_ROUTE_102,
|
|
|
|
MAPSEC_ROUTE_103,
|
|
|
|
MAPSEC_ROUTE_104,
|
|
|
|
MAPSEC_ROUTE_105,
|
|
|
|
MAPSEC_ROUTE_106,
|
|
|
|
MAPSEC_ROUTE_107,
|
|
|
|
MAPSEC_ROUTE_108,
|
|
|
|
MAPSEC_ROUTE_109,
|
|
|
|
MAPSEC_ROUTE_110,
|
|
|
|
MAPSEC_ROUTE_111,
|
|
|
|
MAPSEC_ROUTE_112,
|
|
|
|
MAPSEC_ROUTE_113,
|
|
|
|
MAPSEC_ROUTE_114,
|
|
|
|
MAPSEC_ROUTE_115,
|
|
|
|
MAPSEC_ROUTE_116,
|
|
|
|
MAPSEC_ROUTE_117,
|
|
|
|
MAPSEC_ROUTE_118,
|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|
|
|
MAPSEC_MONEAN_CHAMBER,
|
|
|
|
MAPSEC_LIPTOO_CHAMBER,
|
|
|
|
MAPSEC_WEEPTH_CHAMBER,
|
|
|
|
MAPSEC_DILFORD_CHAMBER,
|
|
|
|
MAPSEC_SCUFIB_CHAMBER,
|
|
|
|
MAPSEC_RIXY_CHAMBER,
|
|
|
|
MAPSEC_VIAPOIS_CHAMBER,
|
|
|
|
MAPSEC_EMBER_SPA,
|
|
|
|
MAPSEC_SPECIAL_AREA,
|
|
|
|
MAPSEC_AQUA_HIDEOUT,
|
|
|
|
MAPSEC_MAGMA_HIDEOUT,
|
|
|
|
MAPSEC_MIRAGE_TOWER,
|
|
|
|
MAPSEC_BIRTH_ISLAND_2,
|
|
|
|
MAPSEC_FARAWAY_ISLAND,
|
|
|
|
MAPSEC_ARTISAN_CAVE,
|
|
|
|
MAPSEC_MARINE_CAVE,
|
|
|
|
MAPSEC_UNDERWATER_MARINE_CAVE,
|
|
|
|
MAPSEC_TERRA_CAVE,
|
|
|
|
MAPSEC_UNDERWATER_TERRA_CAVE,
|
|
|
|
MAPSEC_UNDERWATER_UNK1,
|
|
|
|
MAPSEC_UNDERWATER_UNK2,
|
|
|
|
MAPSEC_DESERT_UNDERPASS,
|
|
|
|
MAPSEC_ALTERING_CAVE_2,
|
|
|
|
MAPSEC_NAVEL_ROCK2,
|
|
|
|
MAPSEC_TRAINER_HILL
|
2017-10-13 15:09:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// Exported RAM declarations
|
|
|
|
|
|
|
|
// Exported ROM declarations
|
|
|
|
void GetMapName(u8 *, u16, u16);
|
2017-10-29 14:58:33 +00:00
|
|
|
void sub_8122CDC(void *data, u8 argument);
|
|
|
|
void sub_8124288(u16 x, u16 y);
|
|
|
|
void sub_81240D4(u16 x, u16 y);
|
|
|
|
u8 sub_81230AC(void);
|
|
|
|
void sub_812305C(void);
|
2017-10-13 15:09:36 +00:00
|
|
|
|
|
|
|
#endif //GUARD_REGION_MAP_H
|