diff options
| author | Marcus Huderle <huderlem@gmail.com> | 2018-08-12 15:03:15 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-12 15:03:15 -0500 |
| commit | dcf8c33a3b48ede46cf7e96491c0dbc2eb6c8073 (patch) | |
| tree | daeb03dd78a33badc1a67f6e94f4d5608be18004 /src/battle | |
| parent | 3940d36755da01324850b179c674fb36522ed71e (diff) | |
| parent | ac4a3357755d79505c6ef2daafe7f0d8535a7279 (diff) | |
Merge pull request #667 from garakmon/heal-loc
Use constants for heal locations
Diffstat (limited to 'src/battle')
| -rw-r--r-- | src/battle/post_battle_event_funcs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/battle/post_battle_event_funcs.c b/src/battle/post_battle_event_funcs.c index a44cf028b..d0fbbec85 100644 --- a/src/battle/post_battle_event_funcs.c +++ b/src/battle/post_battle_event_funcs.c @@ -6,6 +6,7 @@ #include "pokemon.h" #include "overworld.h" #include "script_pokemon_80C4.h" +#include "constants/heal_locations.h" extern u8 gUnknown_02039324; @@ -32,9 +33,9 @@ int GameClear(void) SetSecretBase2Field_9(); if (gSaveBlock2.playerGender == MALE) - sub_80537CC(1); + sub_80537CC(HEAL_LOCATION_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F); else - sub_80537CC(2); + sub_80537CC(HEAL_LOCATION_LITTLEROOT_TOWN_MAYS_HOUSE_2F); ribbonGet = FALSE; |
