diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-07-08 16:03:32 -0400 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2020-07-08 16:03:32 -0400 |
commit | beeb673ba16e02cacadb2de0ee3608d2106ed14a (patch) | |
tree | 8924e783fc8af67286cf45abcef95c065a3fd223 /src/secret_base.c | |
parent | 2ed1f7c6f92abe93d86b921709576b82970f0848 (diff) | |
parent | ebade7affb31d5bcdc17cdcd3895758010ee6f66 (diff) |
Merge branch 'master' of https://github.com/pret/pokeemerald into add-flagvarsave
Diffstat (limited to 'src/secret_base.c')
-rw-r--r-- | src/secret_base.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/secret_base.c b/src/secret_base.c index 172568db6..83626710f 100644 --- a/src/secret_base.c +++ b/src/secret_base.c @@ -37,6 +37,7 @@ #include "constants/event_bg.h" #include "constants/decorations.h" #include "constants/event_objects.h" +#include "constants/field_specials.h" #include "constants/items.h" #include "constants/maps.h" #include "constants/map_types.h" @@ -1120,7 +1121,7 @@ const u8 *GetSecretBaseTrainerLoseText(void) void PrepSecretBaseBattleFlags(void) { - TryGainNewFanFromCounter(1); + TryGainNewFanFromCounter(FANCOUNTER_BATTLED_AT_BASE); gTrainerBattleOpponent_A = TRAINER_SECRET_BASE; gBattleTypeFlags = BATTLE_TYPE_TRAINER | BATTLE_TYPE_SECRET_BASE; } |