mirror of
https://github.com/pret/pokeemerald.git
synced 2026-09-08 11:06:29 -05:00
Cleaned up code to align with previous review comments
This commit is contained in:
@@ -13,4 +13,27 @@ on separate lines to mark those colors as being light-blended, i.e:
|
||||
1
|
||||
9
|
||||
10
|
||||
```
|
||||
```
|
||||
|
||||
### Q: How do I limit what species can be used as followers?
|
||||
You may use the following configs in `include/config/overworld.h`
|
||||
```c
|
||||
#define OW_FOLLOWERS_ALLOWED_SPECIES (0)
|
||||
#define OW_FOLLOWERS_ALLOWED_MET_LVL (0)
|
||||
#define OW_FOLLOWERS_ALLOWED_MET_LOC (0)
|
||||
```
|
||||
Examples:
|
||||
```c
|
||||
// Yellow Pikachu:
|
||||
#define OW_FOLLOWERS_ALLOWED_SPECIES (SPECIES_PIKACHU)
|
||||
#define OW_FOLLOWERS_ALLOWED_MET_LVL (0)
|
||||
#define OW_FOLLOWERS_ALLOWED_MET_LOC (MAPSEC_PALLET_TOWN)
|
||||
// Hoenn Starter:
|
||||
#define OW_FOLLOWERS_ALLOWED_SPECIES (0)
|
||||
#define OW_FOLLOWERS_ALLOWED_MET_LVL (5)
|
||||
#define OW_FOLLOWERS_ALLOWED_MET_LOC (MAPSEC_ROUTE_101)
|
||||
// Species set in VAR_XXXX:
|
||||
#define OW_FOLLOWERS_ALLOWED_SPECIES (VAR_XXXX)
|
||||
#define OW_FOLLOWERS_ALLOWED_MET_LVL (0)
|
||||
#define OW_FOLLOWERS_ALLOWED_MET_LOC (0)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user