pokeemerald/include/constants/secret_bases.h

172 lines
5.1 KiB
C
Raw Normal View History

2018-07-11 18:12:26 +02:00
#ifndef GUARD_CONSTANTS_SECRET_BASES_H
#define GUARD_CONSTANTS_SECRET_BASES_H
2019-01-05 21:12:50 +01:00
#define SECRET_BASE_RED_CAVE 1
#define SECRET_BASE_BROWN_CAVE 2
#define SECRET_BASE_BLUE_CAVE 3
#define SECRET_BASE_YELLOW_CAVE 4
#define SECRET_BASE_TREE 5
#define SECRET_BASE_SHRUB 6
2018-07-11 18:12:26 +02:00
// Each secret base location is assigned an identifier value.
// The secret base's map is determined by (id / 10). The ones
// digit is used to differentiate secret bases using the same map.
// Therefore, each secret base map can be used by up to 10 different
2021-02-05 18:08:25 +01:00
// secret bases in the game.
// * 4 is for each byte of data per secret base group in sSecretBaseEntrancePositions
// They are the map number, the entrance warp id, and the x/y position in front of the computer
#define SECRET_BASE_GROUP(idx) ((idx) * 4)
#define SECRET_BASE_ID_TO_GROUP(baseId) SECRET_BASE_GROUP((baseId) / 10)
2018-07-11 18:12:26 +02:00
#define SECRET_BASE_RED_CAVE1_1 1
#define SECRET_BASE_RED_CAVE1_2 2
#define SECRET_BASE_RED_CAVE1_3 3
2021-02-05 18:08:25 +01:00
#define SECRET_BASE_RED_CAVE1 SECRET_BASE_GROUP(0)
2018-07-11 18:12:26 +02:00
#define SECRET_BASE_RED_CAVE2_1 11
#define SECRET_BASE_RED_CAVE2_2 12
#define SECRET_BASE_RED_CAVE2_3 13
2021-02-05 18:08:25 +01:00
#define SECRET_BASE_RED_CAVE2 SECRET_BASE_GROUP(1)
2018-07-11 18:12:26 +02:00
#define SECRET_BASE_RED_CAVE3_1 21
#define SECRET_BASE_RED_CAVE3_2 22
#define SECRET_BASE_RED_CAVE3_3 23
2021-02-05 18:08:25 +01:00
#define SECRET_BASE_RED_CAVE3 SECRET_BASE_GROUP(2)
2018-07-11 18:12:26 +02:00
#define SECRET_BASE_RED_CAVE4_1 31
#define SECRET_BASE_RED_CAVE4_2 32
#define SECRET_BASE_RED_CAVE4_3 33
2021-02-05 18:08:25 +01:00
#define SECRET_BASE_RED_CAVE4 SECRET_BASE_GROUP(3)
2018-07-11 18:12:26 +02:00
#define SECRET_BASE_BROWN_CAVE1_1 41
#define SECRET_BASE_BROWN_CAVE1_2 42
#define SECRET_BASE_BROWN_CAVE1_3 43
2021-02-05 18:08:25 +01:00
#define SECRET_BASE_BROWN_CAVE1 SECRET_BASE_GROUP(4)
2018-07-11 18:12:26 +02:00
#define SECRET_BASE_BROWN_CAVE2_1 51
#define SECRET_BASE_BROWN_CAVE2_2 52
#define SECRET_BASE_BROWN_CAVE2_3 53
2021-02-05 18:08:25 +01:00
#define SECRET_BASE_BROWN_CAVE2 SECRET_BASE_GROUP(5)
2018-07-11 18:12:26 +02:00
#define SECRET_BASE_BROWN_CAVE3_1 61
#define SECRET_BASE_BROWN_CAVE3_2 62
#define SECRET_BASE_BROWN_CAVE3_3 63
2021-02-05 18:08:25 +01:00
#define SECRET_BASE_BROWN_CAVE3 SECRET_BASE_GROUP(6)
2018-07-11 18:12:26 +02:00
#define SECRET_BASE_BROWN_CAVE4_1 71
#define SECRET_BASE_BROWN_CAVE4_2 72
#define SECRET_BASE_BROWN_CAVE4_3 73
2021-02-05 18:08:25 +01:00
#define SECRET_BASE_BROWN_CAVE4 SECRET_BASE_GROUP(7)
2018-07-11 18:12:26 +02:00
#define SECRET_BASE_BLUE_CAVE1_1 81
#define SECRET_BASE_BLUE_CAVE1_2 82
#define SECRET_BASE_BLUE_CAVE1_3 83
2021-02-05 18:08:25 +01:00
#define SECRET_BASE_BLUE_CAVE1 SECRET_BASE_GROUP(8)
2018-07-11 18:12:26 +02:00
#define SECRET_BASE_BLUE_CAVE2_1 91
#define SECRET_BASE_BLUE_CAVE2_2 92
#define SECRET_BASE_BLUE_CAVE2_3 93
2021-02-05 18:08:25 +01:00
#define SECRET_BASE_BLUE_CAVE2 SECRET_BASE_GROUP(9)
2018-07-11 18:12:26 +02:00
#define SECRET_BASE_BLUE_CAVE3_1 101
#define SECRET_BASE_BLUE_CAVE3_2 102
#define SECRET_BASE_BLUE_CAVE3_3 103
2021-02-05 18:08:25 +01:00
#define SECRET_BASE_BLUE_CAVE3 SECRET_BASE_GROUP(10)
2018-07-11 18:12:26 +02:00
#define SECRET_BASE_BLUE_CAVE4_1 111
#define SECRET_BASE_BLUE_CAVE4_2 112
#define SECRET_BASE_BLUE_CAVE4_3 113
2021-02-05 18:08:25 +01:00
#define SECRET_BASE_BLUE_CAVE4 SECRET_BASE_GROUP(11)
2018-07-11 18:12:26 +02:00
#define SECRET_BASE_YELLOW_CAVE1_1 121
#define SECRET_BASE_YELLOW_CAVE1_2 122
#define SECRET_BASE_YELLOW_CAVE1_3 123
2021-02-05 18:08:25 +01:00
#define SECRET_BASE_YELLOW_CAVE1 SECRET_BASE_GROUP(12)
2018-07-11 18:12:26 +02:00
#define SECRET_BASE_YELLOW_CAVE2_1 131
#define SECRET_BASE_YELLOW_CAVE2_2 132
#define SECRET_BASE_YELLOW_CAVE2_3 133
2021-02-05 18:08:25 +01:00
#define SECRET_BASE_YELLOW_CAVE2 SECRET_BASE_GROUP(13)
2018-07-11 18:12:26 +02:00
#define SECRET_BASE_YELLOW_CAVE3_1 141
#define SECRET_BASE_YELLOW_CAVE3_2 142
#define SECRET_BASE_YELLOW_CAVE3_3 143
2021-02-05 18:08:25 +01:00
#define SECRET_BASE_YELLOW_CAVE3 SECRET_BASE_GROUP(14)
2018-07-11 18:12:26 +02:00
#define SECRET_BASE_YELLOW_CAVE4_1 151
#define SECRET_BASE_YELLOW_CAVE4_2 152
#define SECRET_BASE_YELLOW_CAVE4_3 153
2021-02-05 18:08:25 +01:00
#define SECRET_BASE_YELLOW_CAVE4 SECRET_BASE_GROUP(15)
2018-07-11 18:12:26 +02:00
#define SECRET_BASE_TREE1_1 161
#define SECRET_BASE_TREE1_2 162
#define SECRET_BASE_TREE1_3 163
#define SECRET_BASE_TREE1_4 164
2021-02-05 18:08:25 +01:00
#define SECRET_BASE_TREE1 SECRET_BASE_GROUP(16)
2018-07-11 18:12:26 +02:00
#define SECRET_BASE_TREE2_1 171
#define SECRET_BASE_TREE2_2 172
#define SECRET_BASE_TREE2_3 173
#define SECRET_BASE_TREE2_4 174
2021-02-05 18:08:25 +01:00
#define SECRET_BASE_TREE2 SECRET_BASE_GROUP(17)
2018-07-11 18:12:26 +02:00
#define SECRET_BASE_TREE3_1 181
#define SECRET_BASE_TREE3_2 182
#define SECRET_BASE_TREE3_3 183
2021-02-05 18:08:25 +01:00
#define SECRET_BASE_TREE3 SECRET_BASE_GROUP(18)
2018-07-11 18:12:26 +02:00
#define SECRET_BASE_TREE4_1 191
#define SECRET_BASE_TREE4_2 192
#define SECRET_BASE_TREE4_3 193
2021-02-05 18:08:25 +01:00
#define SECRET_BASE_TREE4 SECRET_BASE_GROUP(19)
2018-07-11 18:12:26 +02:00
#define SECRET_BASE_SHRUB1_1 201
#define SECRET_BASE_SHRUB1_2 202
#define SECRET_BASE_SHRUB1_3 203
#define SECRET_BASE_SHRUB1_4 204
2021-02-05 18:08:25 +01:00
#define SECRET_BASE_SHRUB1 SECRET_BASE_GROUP(20)
2018-07-11 18:12:26 +02:00
#define SECRET_BASE_SHRUB2_1 211
#define SECRET_BASE_SHRUB2_2 212
#define SECRET_BASE_SHRUB2_3 213
2021-02-05 18:08:25 +01:00
#define SECRET_BASE_SHRUB2 SECRET_BASE_GROUP(21)
2018-07-11 18:12:26 +02:00
#define SECRET_BASE_SHRUB3_1 221
#define SECRET_BASE_SHRUB3_2 222
#define SECRET_BASE_SHRUB3_3 223
2021-02-05 18:08:25 +01:00
#define SECRET_BASE_SHRUB3 SECRET_BASE_GROUP(22)
2018-07-11 18:12:26 +02:00
#define SECRET_BASE_SHRUB4_1 231
#define SECRET_BASE_SHRUB4_2 232
#define SECRET_BASE_SHRUB4_3 233
2021-02-05 18:08:25 +01:00
#define SECRET_BASE_SHRUB4 SECRET_BASE_GROUP(23)
#define NUM_SECRET_BASE_GROUPS 24
2018-07-11 18:12:26 +02:00
#endif // GUARD_CONSTANTS_SECRET_BASES_H