summaryrefslogtreecommitdiff
path: root/src/heal_location.c
diff options
context:
space:
mode:
authorjiangzhengwenjz <jiangzhengwenjzw@qq.com>2019-10-24 01:42:52 +0800
committerjiangzhengwenjz <jiangzhengwenjzw@qq.com>2019-10-24 01:42:52 +0800
commit1dc0b25c1e58e422883e16ce7fb4f6bea1e9a0bb (patch)
tree867d72df6ebe9b2d1f3ff72503879640322ec224 /src/heal_location.c
parent9a53686a4eb595c288758486af5fea9b7805283f (diff)
parent6e36c229200e083ca005cbc448e99210d111f3b2 (diff)
Merge branch 'master' into battle
Diffstat (limited to 'src/heal_location.c')
-rw-r--r--src/heal_location.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/heal_location.c b/src/heal_location.c
index 5c6dbc882..89d9478c0 100644
--- a/src/heal_location.c
+++ b/src/heal_location.c
@@ -122,10 +122,10 @@ void SetBlackoutRespawnWarpAndHealerNpc(struct WarpData * warp)
{
u32 healLocationIdx;
- if (VarGet(VAR_0x4082) == 1)
+ if (VarGet(VAR_MAP_SCENE_TRAINER_TOWER) == 1)
{
if (!gSaveBlock1Ptr->unkArray[gSaveBlock1Ptr->unkArrayIdx].unkA_2)
- VarSet(VAR_0x4082, 0);
+ VarSet(VAR_MAP_SCENE_TRAINER_TOWER, 0);
gSpecialVar_LastTalked = 1;
warp->x = 4;
warp->y = 11;
@@ -159,7 +159,7 @@ void SetBlackoutRespawnWarpAndHealerNpc(struct WarpData * warp)
{
warp->x = 4;
warp->y = 11;
- VarSet(VAR_0x4082, 0);
+ VarSet(VAR_MAP_SCENE_TRAINER_TOWER, 0);
}
else
{