diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2022-01-06 23:02:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-06 23:02:23 -0500 |
commit | 577e6cc740c4fc5418bf38d182012f5f9819e616 (patch) | |
tree | 583db3a43fff5a4be05ad6cd0c8c5546de25e028 /include | |
parent | 71e0b480a93b083f0cf3d404e6ff65325f0cc512 (diff) | |
parent | 713cd6616ea8c159bbcaeba223cbb6097a74e393 (diff) |
Merge pull request #1586 from GriffinRichards/clean-areascreen
Clean up pokedex_area_screen
Diffstat (limited to 'include')
-rw-r--r-- | include/constants/maps.h | 6 | ||||
-rw-r--r-- | include/constants/wild_encounter.h | 11 | ||||
-rw-r--r-- | include/wild_encounter.h | 5 |
3 files changed, 12 insertions, 10 deletions
diff --git a/include/constants/maps.h b/include/constants/maps.h index 6524f8c14..2ad4ea8df 100644 --- a/include/constants/maps.h +++ b/include/constants/maps.h @@ -9,12 +9,6 @@ #define MAP_GROUP(map) (MAP_##map >> 8) #define MAP_NUM(map) (MAP_##map & 0xFF) -// These groups are used by pokedex_area_screen.c to find wild -// pokemon locations. -#define MAP_GROUP_OVERWORLD_MONS MAP_GROUP(PETALBURG_CITY) -#define MAP_GROUP_SPECIAL_MONS_1 MAP_GROUP(METEOR_FALLS_1F_1R) -#define MAP_GROUP_SPECIAL_MONS_2 MAP_GROUP(SAFARI_ZONE_NORTHWEST) - // IDs for dynamic warps. Both are used in the dest_warp_id field for warp events, but they // are never read in practice. A dest_map of MAP_NONE is used to indicate that a // dynamic warp should be used, at which point the warp id is ignored. It can be passed to diff --git a/include/constants/wild_encounter.h b/include/constants/wild_encounter.h new file mode 100644 index 000000000..a78cd126f --- /dev/null +++ b/include/constants/wild_encounter.h @@ -0,0 +1,11 @@ +#ifndef GUARD_CONSTANTS_WILD_ENCOUNTER_H +#define GUARD_CONSTANTS_WILD_ENCOUNTER_H + +#define LAND_WILD_COUNT 12 +#define WATER_WILD_COUNT 5 +#define ROCK_WILD_COUNT 5 +#define FISH_WILD_COUNT 10 + +#define NUM_ALTERING_CAVE_TABLES 9 + +#endif // GUARD_CONSTANTS_WILD_ENCOUNTER_H diff --git a/include/wild_encounter.h b/include/wild_encounter.h index 09525beff..8608ec5b1 100644 --- a/include/wild_encounter.h +++ b/include/wild_encounter.h @@ -1,10 +1,7 @@ #ifndef GUARD_WILD_ENCOUNTER_H #define GUARD_WILD_ENCOUNTER_H -#define LAND_WILD_COUNT 12 -#define WATER_WILD_COUNT 5 -#define ROCK_WILD_COUNT 5 -#define FISH_WILD_COUNT 10 +#include "constants/wild_encounter.h" struct WildPokemon { |