summaryrefslogtreecommitdiff
path: root/src/tv.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2018-05-24 10:26:55 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2018-05-24 10:26:55 -0400
commit6ae395a6366ceefffe8f492911a4e517bdbbc7b2 (patch)
treec4b431e94d3877897f8f26e68a7a39a2dce0cd9d /src/tv.c
parent5539e282a39c34a278d1ea2fdc53ee46ffe154d5 (diff)
parentde60bdf2febff1879d7a1985a009dc439a546497 (diff)
Merge branch 'master' into contest
Diffstat (limited to 'src/tv.c')
-rw-r--r--src/tv.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/tv.c b/src/tv.c
index 13d522f10..de7d6728a 100644
--- a/src/tv.c
+++ b/src/tv.c
@@ -3557,7 +3557,7 @@ void GetMomOrDadStringForTVMessage(void)
if (gSaveBlock1Ptr->location.mapNum == MAP_NUM(LITTLEROOT_TOWN_BRENDANS_HOUSE_1F))
{
StringCopy(gStringVar1, gText_Mom);
- VarSet(VAR_0x4003, 1);
+ VarSet(VAR_TEMP_3, 1);
}
}
else
@@ -3565,21 +3565,21 @@ void GetMomOrDadStringForTVMessage(void)
if (gSaveBlock1Ptr->location.mapNum == MAP_NUM(LITTLEROOT_TOWN_MAYS_HOUSE_1F))
{
StringCopy(gStringVar1, gText_Mom);
- VarSet(VAR_0x4003, 1);
+ VarSet(VAR_TEMP_3, 1);
}
}
}
- if (VarGet(VAR_0x4003) == 1)
+ if (VarGet(VAR_TEMP_3) == 1)
{
StringCopy(gStringVar1, gText_Mom);
}
- else if (VarGet(VAR_0x4003) == 2)
+ else if (VarGet(VAR_TEMP_3) == 2)
{
StringCopy(gStringVar1, gText_Dad);
}
- else if (VarGet(VAR_0x4003) > 2)
+ else if (VarGet(VAR_TEMP_3) > 2)
{
- if (VarGet(VAR_0x4003) % 2 == 0)
+ if (VarGet(VAR_TEMP_3) % 2 == 0)
StringCopy(gStringVar1, gText_Mom);
else
StringCopy(gStringVar1, gText_Dad);
@@ -3589,12 +3589,12 @@ void GetMomOrDadStringForTVMessage(void)
if (Random() % 2 != 0)
{
StringCopy(gStringVar1, gText_Mom);
- VarSet(VAR_0x4003, 1);
+ VarSet(VAR_TEMP_3, 1);
}
else
{
StringCopy(gStringVar1, gText_Dad);
- VarSet(VAR_0x4003, 2);
+ VarSet(VAR_TEMP_3, 2);
}
}
}