summaryrefslogtreecommitdiff
path: root/include/constants/map_types.h
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-02-18 16:42:47 -0500
committerGitHub <noreply@github.com>2020-02-18 16:42:47 -0500
commitf9c1b6101495f09cf797cf0cb466ec4cc5838e72 (patch)
treea9928af64ee6a0ee6c9409ca40d43ddefe14c27d /include/constants/map_types.h
parente4d15a2338500e91e1f2a9723c48ecf25ae8111e (diff)
parent753e894b6a9aa9f51789d4e1945d310749fd6c54 (diff)
Merge pull request #258 from GriffinRichards/doc-headers
Document some header properties
Diffstat (limited to 'include/constants/map_types.h')
-rw-r--r--include/constants/map_types.h22
1 files changed, 16 insertions, 6 deletions
diff --git a/include/constants/map_types.h b/include/constants/map_types.h
index 96ea73702..d32a4e2a4 100644
--- a/include/constants/map_types.h
+++ b/include/constants/map_types.h
@@ -1,15 +1,25 @@
#ifndef GUARD_CONSTANTS_MAP_TYPES_H
#define GUARD_CONSTANTS_MAP_TYPES_H
-#define MAP_TYPE_0 0
+#define MAP_TYPE_NONE 0
#define MAP_TYPE_TOWN 1
-#define MAP_TYPE_CITY 2
+#define MAP_TYPE_CITY 2 // Unused. RSE use this map type to distinguish Town and City. FRLG make no distinction
#define MAP_TYPE_ROUTE 3
#define MAP_TYPE_UNDERGROUND 4
-#define MAP_TYPE_UNDERWATER 5
-#define MAP_TYPE_OCEAN_ROUTE 6
-#define MAP_TYPE_7 7
+#define MAP_TYPE_UNDERWATER 5 // Unused
+#define MAP_TYPE_OCEAN_ROUTE 6 // Unused
+#define MAP_TYPE_UNKNOWN 7 // Unused
#define MAP_TYPE_INDOOR 8
-#define MAP_TYPE_SECRET_BASE 9
+#define MAP_TYPE_SECRET_BASE 9 // Unused
+
+#define MAP_BATTLE_SCENE_NORMAL 0
+#define MAP_BATTLE_SCENE_GYM 1
+#define MAP_BATTLE_SCENE_INDOOR_1 2 // Pokemon Tower, Tanoby ruins
+#define MAP_BATTLE_SCENE_INDOOR_2 3 // Pokemon Mansion, Power Plant, Rocket Hideout/Warehouse
+#define MAP_BATTLE_SCENE_LORELEI 4
+#define MAP_BATTLE_SCENE_BRUNO 5
+#define MAP_BATTLE_SCENE_AGATHA 6
+#define MAP_BATTLE_SCENE_LANCE 7
+#define MAP_BATTLE_SCENE_LINK 8
#endif // GUARD_CONSTANTS_MAP_TYPES_H