diff options
author | GriffinR <griffin.richards@comcast.net> | 2020-01-05 10:50:32 -0500 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2020-01-07 22:30:37 -0500 |
commit | fb5bea98ce28044917451d83695991693fb0b64a (patch) | |
tree | 95d2f85fc852fa0b00ba23022f8bd7732ff30c59 /src/battle_factory.c | |
parent | bb692a03eb6ac886524e917ed3548d769ac2f6d8 (diff) |
More battle_dome.c doc
Diffstat (limited to 'src/battle_factory.c')
-rw-r--r-- | src/battle_factory.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/battle_factory.c b/src/battle_factory.c index 9216e2416..569d665e1 100644 --- a/src/battle_factory.c +++ b/src/battle_factory.c @@ -12,6 +12,7 @@ #include "constants/battle_ai.h" #include "constants/battle_factory.h" #include "constants/battle_frontier.h" +#include "constants/battle_frontier_mons.h" #include "constants/frontier_util.h" #include "constants/layouts.h" #include "constants/trainers.h" @@ -331,7 +332,7 @@ static void GenerateOpponentMons(void) if (j != 6) continue; - if (lvlMode == FRONTIER_LVL_50 && monSetId > 849) + if (lvlMode == FRONTIER_LVL_50 && monSetId > FRONTIER_MONS_HIGH_TIER) continue; for (k = firstMonId; k < firstMonId + i; k++) @@ -727,7 +728,7 @@ void FillFactoryBrainParty(void) if (gFacilityTrainerMons[monSetId].species == SPECIES_UNOWN) continue; - if (monLevel == 50 && monSetId > 849) + if (monLevel == 50 && monSetId > FRONTIER_MONS_HIGH_TIER) continue; for (j = 0; j < 6; j++) |