summaryrefslogtreecommitdiff
path: root/src/battle
diff options
context:
space:
mode:
authorgarak <garakmon@gmail.com>2018-08-10 00:56:13 -0400
committergarak <garakmon@gmail.com>2018-08-10 00:56:13 -0400
commit96063d86d6634ac6fb580a1ed1af1c91351800ba (patch)
treeac69b2441729913b85f198357e321fde276609fb /src/battle
parent4ebe2448a4dff2e36ca3c11496c68bcf3767b6cc (diff)
use heal location constants
Diffstat (limited to 'src/battle')
-rw-r--r--src/battle/post_battle_event_funcs.c5
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;