summaryrefslogtreecommitdiff
path: root/include/constants
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-01-10 16:55:58 -0500
committerGriffinR <griffin.g.richards@gmail.com>2020-01-11 00:47:47 -0500
commit0bb7f18b8e609f76a9021420470737bbd16cc2bd (patch)
treea7c9d6efbc2588c3b73b59d55012386958373ae5 /include/constants
parenta5375776714b126dbe478a4f535392373f3ba9f0 (diff)
Sync Cable Club scripts
Diffstat (limited to 'include/constants')
-rw-r--r--include/constants/layouts.h10
-rw-r--r--include/constants/map_groups.h10
-rw-r--r--include/constants/pokemon.h4
-rw-r--r--include/constants/union_room.h28
4 files changed, 42 insertions, 10 deletions
diff --git a/include/constants/layouts.h b/include/constants/layouts.h
index 24cdcec13..a9d40220f 100644
--- a/include/constants/layouts.h
+++ b/include/constants/layouts.h
@@ -36,10 +36,10 @@
#define LAYOUT_CINNABAR_ISLAND_GYM 36
#define LAYOUT_VIRIDIAN_CITY_GYM 37
#define LAYOUT_UNUSED_LAYOUT_82D88C8 46
-#define LAYOUT_UNKNOWN_MAP_00_00 47
-#define LAYOUT_UNKNOWN_MAP_00_01 48
-#define LAYOUT_UNKNOWN_MAP_00_02 49
-#define LAYOUT_UNKNOWN_MAP_00_03 50
+#define LAYOUT_BATTLE_COLOSSEUM_2P 47
+#define LAYOUT_TRADE_CENTER 48
+#define LAYOUT_RECORD_CENTER 49
+#define LAYOUT_BATTLE_COLOSSEUM_4P 50
#define LAYOUT_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE 51
#define LAYOUT_UNUSED_LAYOUT_82D9B24 52
#define LAYOUT_UNUSED_LAYOUT_82DA7C8 53
@@ -244,7 +244,7 @@
#define LAYOUT_UNUSED_LAYOUT_83377F0 259
#define LAYOUT_UNUSED_LAYOUT_8338354 260
#define LAYOUT_UNUSED_LAYOUT_8338738 261
-#define LAYOUT_UNKNOWN_MAP_00_04 262
+#define LAYOUT_UNION_ROOM 262
#define LAYOUT_SAFFRON_CITY_POKEMON_TRAINER_FAN_CLUB 263
#define LAYOUT_UNUSED_LAYOUT_8338B4C 264
#define LAYOUT_SEVEN_ISLAND_HOUSE_ROOM2 265
diff --git a/include/constants/map_groups.h b/include/constants/map_groups.h
index 13862d6c7..4d37b0dc8 100644
--- a/include/constants/map_groups.h
+++ b/include/constants/map_groups.h
@@ -2,11 +2,11 @@
#define GUARD_CONSTANTS_MAP_GROUPS_H
// Map Group 0
-#define MAP_UNKNOWN_MAP_00_00 (0 | (0 << 8))
-#define MAP_UNKNOWN_MAP_00_01 (1 | (0 << 8))
-#define MAP_UNKNOWN_MAP_00_02 (2 | (0 << 8))
-#define MAP_UNKNOWN_MAP_00_03 (3 | (0 << 8))
-#define MAP_UNKNOWN_MAP_00_04 (4 | (0 << 8))
+#define MAP_BATTLE_COLOSSEUM_2P (0 | (0 << 8))
+#define MAP_TRADE_CENTER (1 | (0 << 8))
+#define MAP_RECORD_CENTER (2 | (0 << 8))
+#define MAP_BATTLE_COLOSSEUM_4P (3 | (0 << 8))
+#define MAP_UNION_ROOM (4 | (0 << 8))
// Map Group 1
#define MAP_VIRIDIAN_FOREST (0 | (1 << 8))
diff --git a/include/constants/pokemon.h b/include/constants/pokemon.h
index a2ad90776..c6fc55003 100644
--- a/include/constants/pokemon.h
+++ b/include/constants/pokemon.h
@@ -87,4 +87,8 @@
#define MON_ALREADY_KNOWS_MOVE 0xFFFE
#define MON_HAS_MAX_MOVES 0xFFFF
+#define PLAYER_HAS_TWO_USABLE_MONS 0x0
+#define PLAYER_HAS_ONE_MON 0x1
+#define PLAYER_HAS_ONE_USABLE_MON 0x2
+
#endif // GUARD_CONSTANTS_POKEMON_H
diff --git a/include/constants/union_room.h b/include/constants/union_room.h
new file mode 100644
index 000000000..2314f85a0
--- /dev/null
+++ b/include/constants/union_room.h
@@ -0,0 +1,28 @@
+#ifndef GUARD_CONSTANTS_UNION_ROOM_H
+#define GUARD_CONSTANTS_UNION_ROOM_H
+
+#define LINK_GROUP_SINGLE_BATTLE 0
+#define LINK_GROUP_DOUBLE_BATTLE 1
+#define LINK_GROUP_MULTI_BATTLE 2
+#define LINK_GROUP_TRADE 3
+#define LINK_GROUP_POKEMON_JUMP 4
+#define LINK_GROUP_BERRY_CRUSH 5
+#define LINK_GROUP_BERRY_PICKING 6
+#define LINK_GROUP_WONDER_CARD 7
+#define LINK_GROUP_WONDER_NEWS 8
+#define LINK_GROUP_UNK_9 9
+#define LINK_GROUP_UNK_10 10
+#define LINK_GROUP_UNK_11 11
+#define LINK_GROUP_RECORD_CORNER 12
+#define LINK_GROUP_BERRY_BLENDER 13
+#define LINK_GROUP_UNK_14 14
+#define LINK_GROUP_COOL_CONTEST 15
+#define LINK_GROUP_BEAUTY_CONTEST 16
+#define LINK_GROUP_CUTE_CONTEST 17
+#define LINK_GROUP_SMART_CONTEST 18
+#define LINK_GROUP_TOUGH_CONTEST 19
+#define LINK_GROUP_BATTLE_TOWER 20
+#define LINK_GROUP_BATTLE_TOWER_OPEN 21
+#define NUM_LINK_GROUP_TYPES 22
+
+#endif //GUARD_CONSTANTS_UNION_ROOM_H